diff --git a/gen/download-generator.sh b/gen/download-generator.sh new file mode 100755 index 0000000..cb8b8bf --- /dev/null +++ b/gen/download-generator.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash +GENERATOR_JAR_URL="https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.14.0/openapi-generator-cli-7.14.0.jar" + +SRC=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) +if [ -z "$1" ]; then + >&2 echo "ERROR: destination file name not passed" + exit 1 +fi +destfile=$1 +shafile="${SRC}/${destfile}.sha1sum" +if ! [ -f "${shafile}" ]; then + >&2 echo "ERROR: missing sha1sum file" + >&2 echo " at: ${shafile}" + exit 2 +fi + +# --no-use-server-timestamps is necessary to make `make` work with the output. +# Otherwise, the downloaded file will always have an old timestamp, which is likely +# older than the sha1sum file's. +#wget --no-use-server-timestamps "${GENERATOR_JAR_URL}" -O ${destfile} +curl "${GENERATOR_JAR_URL}" > ${destfile} +sha1sum -c "${shafile}" diff --git a/gen/generate.jl b/gen/generate.jl index a456e00..0506b6c 100755 --- a/gen/generate.jl +++ b/gen/generate.jl @@ -6,32 +6,32 @@ const SRCDIR = abspath(joinpath(DIR, "..", "src")) const SPECS = [ ("DataLakeStoreAccountManagementClient", "DataLakeStore", "2016-11-01", "specification/datalake-store/resource-manager/Microsoft.DataLakeStore/stable/{VER}/account.json"), ("DataLakeStoreFileSystemManagementClient", "DataLakeStore", "2016-11-01", "specification/datalake-store/data-plane/Microsoft.DataLakeStore/stable/{VER}/filesystem.json"), - ("StorageManagementClient", "Storage", "2019-06-01", "specification/storage/resource-manager/Microsoft.Storage/stable/{VER}/storage.json"), - ("ComputeManagementClient", "Compute", "2020-06-01", "specification/compute/resource-manager/Microsoft.Compute/stable/{VER}/compute.json"), - ("DiskResourceProviderClient", "Compute", "2020-05-01", "specification/compute/resource-manager/Microsoft.Compute/stable/{VER}/disk.json"), - ("RunCommandsClient", "Compute", "2020-06-01", "specification/compute/resource-manager/Microsoft.Compute/stable/{VER}/runCommands.json"), + ("StorageManagementClient", "Storage", "2025-01-01", "specification/storage/resource-manager/Microsoft.Storage/stable/{VER}/storage.json"), + ("ComputeManagementClient", "Compute", "2021-11-01", "specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{VER}/compute.json"), + ("DiskResourceProviderClient", "Compute", "2023-10-02", "specification/compute/resource-manager/Microsoft.Compute/DiskRP/stable/{VER}/disk.json"), + ("RunCommandsClient", "Compute", "2021-11-01", "specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{VER}/runCommands.json"), ("ContainerServiceClient", "Compute", "2017-01-31", "specification/compute/resource-manager/Microsoft.ContainerService/stable/{VER}/containerService.json"), - ("ApplicationGatewayClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/applicationGateway.json"), - ("CheckDnsAvailabilityClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/checkDnsAvailability.json"), - ("ExpressRouteCircuitClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/expressRouteCircuit.json"), - ("LoadBalancerClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/loadBalancer.json"), - ("NetworkManagementClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/network.json"), - ("NetworkInterfaceClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/networkInterface.json"), - ("NetworkSecurityGroupClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/networkSecurityGroup.json"), - ("NetworkWatcherClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/networkWatcher.json"), - ("PublicIpAddressClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/publicIpAddress.json"), - ("RouteFilterClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/routeFilter.json"), - ("RouteTableClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/routeTable.json"), - ("ServiceCommunityClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/serviceCommunity.json"), - ("UsageClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/usage.json"), - ("VirtualNetworkClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/virtualNetwork.json"), - ("VirtualNetworkGatewayClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/virtualNetworkGateway.json"), - ("VmssNetworkInterfaceClient", "Network", "2020-05-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/vmssNetworkInterface.json"), - ("ResourceManagementClient", "Resource", "2020-06-01", "specification/resources/resource-manager/Microsoft.Resources/stable/{VER}/resources.json"), - ("SubscriptionClient", "Resource", "2020-01-01", "specification/resources/resource-manager/Microsoft.Resources/stable/{VER}/subscriptions.json"), - ("PolicyAssignmentsClient", "Resource", "2019-09-01", "specification/resources/resource-manager/Microsoft.Authorization/stable/{VER}/policyAssignments.json"), - ("PolicyDefinitionsClient", "Resource", "2019-09-01", "specification/resources/resource-manager/Microsoft.Authorization/stable/{VER}/policyDefinitions.json"), - ("PolicySetDefinitionsClient", "Resource", "2019-09-01", "specification/resources/resource-manager/Microsoft.Authorization/stable/{VER}/policySetDefinitions.json"), + ("ApplicationGatewayClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/applicationGateway.json"), + ("CheckDnsAvailabilityClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/checkDnsAvailability.json"), + ("ExpressRouteCircuitClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/expressRouteCircuit.json"), + ("LoadBalancerClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/loadBalancer.json"), + ("NetworkManagementClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/network.json"), + ("NetworkInterfaceClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/networkInterface.json"), + ("NetworkSecurityGroupClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/networkSecurityGroup.json"), + ("NetworkWatcherClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/networkWatcher.json"), + ("PublicIpAddressClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/publicIpAddress.json"), + ("RouteFilterClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/routeFilter.json"), + ("RouteTableClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/routeTable.json"), + ("ServiceCommunityClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/serviceCommunity.json"), + ("UsageClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/usage.json"), + ("VirtualNetworkClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/virtualNetwork.json"), + ("VirtualNetworkGatewayClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/virtualNetworkGateway.json"), + ("VmssNetworkInterfaceClient", "Network", "2024-07-01", "specification/network/resource-manager/Microsoft.Network/stable/{VER}/vmssNetworkInterface.json"), + ("ResourceManagementClient", "Resource", "2025-04-01", "specification/resources/resource-manager/Microsoft.Resources/stable/{VER}/resources.json"), + ("SubscriptionClient", "Resource", "2022-12-01", "specification/resources/resource-manager/Microsoft.Resources/stable/{VER}/subscriptions.json"), + ("PolicyAssignmentsClient", "Resource", "2025-03-01", "specification/resources/resource-manager/Microsoft.Authorization/stable/{VER}/policyAssignments.json"), + ("PolicyDefinitionsClient", "Resource", "2025-03-01", "specification/resources/resource-manager/Microsoft.Authorization/stable/{VER}/policyDefinitions.json"), + ("PolicySetDefinitionsClient", "Resource", "2025-03-01", "specification/resources/resource-manager/Microsoft.Authorization/stable/{VER}/policySetDefinitions.json"), ("UsageManagementClient", "Commerce", "2015-06-01-preview", "specification/commerce/resource-manager/Microsoft.Commerce/preview/{VER}/commerce.json"), ] @@ -62,7 +62,8 @@ end # module Azure""" function commands(pkg, outpath, specfile) # add --global-property debugModels=true to turn on model debug output - gencmd = `java -jar openapi-generator-cli.jar generate -i $specfile -g julia-client -o $outpath --additional-properties=packageName=$pkg` + jarpath = abspath(joinpath(dirname(@__FILE__), "openapi-generator-cli.jar")) + gencmd = `java -jar $jarpath generate -i $specfile -g julia-client -o $outpath --additional-properties=packageName=$pkg` cleancmd = `rm -rf $outpath` return cleancmd, gencmd @@ -119,8 +120,10 @@ end const USAGE = """Usage: julia generate.jl Specifications: - git clone https://github.com/tanmaykm/azure-rest-api-specs.git - cd azure-rest-api-specs && git checkout juliarun""" + git clone https://github.com/Azure/azure-rest-api-specs.git +OpenAPI Generator: + download-generator.sh openapi-generator-cli.jar +""" if isempty(ARGS) println(USAGE) diff --git a/gen/openapi-generator-cli.jar.sha1sum b/gen/openapi-generator-cli.jar.sha1sum new file mode 100644 index 0000000..d9708aa --- /dev/null +++ b/gen/openapi-generator-cli.jar.sha1sum @@ -0,0 +1 @@ +d4fb1233b57b165728ecdcacf3fc0146b816e159 openapi-generator-cli.jar diff --git a/src/Azure.jl b/src/Azure.jl index ac2acfd..10cd43f 100644 --- a/src/Azure.jl +++ b/src/Azure.jl @@ -28,52 +28,59 @@ _module_versions[DataLakeStoreFileSystemManagementClient] = "2016-11-01" _api_versions[DataLakeStoreFileSystemManagementClient.FileSystemApi] = "2016-11-01" include("Storage/StorageManagementClient/src/StorageManagementClient.jl") -_module_versions[StorageManagementClient] = "2019-06-01" -_api_versions[StorageManagementClient.EncryptionScopesApi] = "2019-06-01" -_api_versions[StorageManagementClient.LocationUsageApi] = "2019-06-01" -_api_versions[StorageManagementClient.ManagementPoliciesApi] = "2019-06-01" -_api_versions[StorageManagementClient.ObjectReplicationPoliciesApi] = "2019-06-01" -_api_versions[StorageManagementClient.OperationsApi] = "2019-06-01" -_api_versions[StorageManagementClient.PrivateEndpointConnectionsApi] = "2019-06-01" -_api_versions[StorageManagementClient.PrivateLinkResourcesApi] = "2019-06-01" -_api_versions[StorageManagementClient.SkusApi] = "2019-06-01" -_api_versions[StorageManagementClient.StorageAccountsApi] = "2019-06-01" +_module_versions[StorageManagementClient] = "2025-01-01" +_api_versions[StorageManagementClient.AccountMigrationsApi] = "2025-01-01" +_api_versions[StorageManagementClient.BlobInventoryPoliciesApi] = "2025-01-01" +_api_versions[StorageManagementClient.DeletedAccountsApi] = "2025-01-01" +_api_versions[StorageManagementClient.EncryptionScopesApi] = "2025-01-01" +_api_versions[StorageManagementClient.LocalUsersApi] = "2025-01-01" +_api_versions[StorageManagementClient.LocationUsageApi] = "2025-01-01" +_api_versions[StorageManagementClient.ManagementPoliciesApi] = "2025-01-01" +_api_versions[StorageManagementClient.ObjectReplicationPoliciesApi] = "2025-01-01" +_api_versions[StorageManagementClient.OperationsApi] = "2025-01-01" +_api_versions[StorageManagementClient.PrivateEndpointConnectionsApi] = "2025-01-01" +_api_versions[StorageManagementClient.PrivateLinkResourcesApi] = "2025-01-01" +_api_versions[StorageManagementClient.SkusApi] = "2025-01-01" +_api_versions[StorageManagementClient.StorageAccountsApi] = "2025-01-01" include("Compute/ComputeManagementClient/src/ComputeManagementClient.jl") -_module_versions[ComputeManagementClient] = "2020-06-01" -_api_versions[ComputeManagementClient.AvailabilitySetsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.ComputeOperationsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.DedicatedHostApi] = "2020-06-01" -_api_versions[ComputeManagementClient.DedicatedHostGroupsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.DedicatedHostsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.ImagesApi] = "2020-06-01" -_api_versions[ComputeManagementClient.LogAnalyticsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.ProximityPlacementGroupsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.SshPublicKeysApi] = "2020-06-01" -_api_versions[ComputeManagementClient.UsageApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineExtensionImagesApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineExtensionsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineImagesApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineScaleSetExtensionsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineScaleSetRollingUpgradesApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineScaleSetVMExtensionsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineScaleSetVMsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineScaleSetsApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachineSizesApi] = "2020-06-01" -_api_versions[ComputeManagementClient.VirtualMachinesApi] = "2020-06-01" +_module_versions[ComputeManagementClient] = "2021-11-01" +_api_versions[ComputeManagementClient.AvailabilitySetsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.CapacityReservationApi] = "2021-11-01" +_api_versions[ComputeManagementClient.CapacityReservationGroupsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.CapacityReservationsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.ComputeOperationsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.DedicatedHostApi] = "2021-11-01" +_api_versions[ComputeManagementClient.DedicatedHostGroupsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.DedicatedHostsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.DefaultApi] = "2021-11-01" +_api_versions[ComputeManagementClient.ImagesApi] = "2021-11-01" +_api_versions[ComputeManagementClient.LogAnalyticsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.ProximityPlacementGroupsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.RestorePointCollectionsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.SshPublicKeysApi] = "2021-11-01" +_api_versions[ComputeManagementClient.UsageApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineExtensionImagesApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineExtensionsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineImagesApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineScaleSetExtensionsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineScaleSetRollingUpgradesApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineScaleSetVMExtensionsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineScaleSetVMsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineScaleSetsApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachineSizesApi] = "2021-11-01" +_api_versions[ComputeManagementClient.VirtualMachinesApi] = "2021-11-01" include("Compute/DiskResourceProviderClient/src/DiskResourceProviderClient.jl") -_module_versions[DiskResourceProviderClient] = "2020-05-01" -_api_versions[DiskResourceProviderClient.DiskAccessesApi] = "2020-05-01" -_api_versions[DiskResourceProviderClient.DiskEncryptionSetsApi] = "2020-05-01" -_api_versions[DiskResourceProviderClient.DisksApi] = "2020-05-01" -_api_versions[DiskResourceProviderClient.SnapshotsApi] = "2020-05-01" +_module_versions[DiskResourceProviderClient] = "2023-10-02" +_api_versions[DiskResourceProviderClient.DisksApi] = "2023-10-02" include("Compute/RunCommandsClient/src/RunCommandsClient.jl") -_module_versions[RunCommandsClient] = "2020-06-01" -_api_versions[RunCommandsClient.VirtualMachineRunCommandsApi] = "2020-06-01" -_api_versions[RunCommandsClient.VirtualMachineScaleSetVMsApi] = "2020-06-01" -_api_versions[RunCommandsClient.VirtualMachinesApi] = "2020-06-01" +_module_versions[RunCommandsClient] = "2021-11-01" +_api_versions[RunCommandsClient.VirtualMachineRunCommandsApi] = "2021-11-01" +_api_versions[RunCommandsClient.VirtualMachineScaleSetVMRunCommandsApi] = "2021-11-01" +_api_versions[RunCommandsClient.VirtualMachineScaleSetVMsApi] = "2021-11-01" +_api_versions[RunCommandsClient.VirtualMachinesApi] = "2021-11-01" include("Compute/ContainerServiceClient/src/ContainerServiceClient.jl") _module_versions[ContainerServiceClient] = "2017-01-31" @@ -81,118 +88,117 @@ _api_versions[ContainerServiceClient.ContainerServiceApi] = "2017-01-31" _api_versions[ContainerServiceClient.ContainerServicesApi] = "2017-01-31" include("Network/ApplicationGatewayClient/src/ApplicationGatewayClient.jl") -_module_versions[ApplicationGatewayClient] = "2020-05-01" -_api_versions[ApplicationGatewayClient.ApplicationGatewayPrivateEndpointConnectionsApi] = "2020-05-01" -_api_versions[ApplicationGatewayClient.ApplicationGatewayPrivateLinkResourcesApi] = "2020-05-01" -_api_versions[ApplicationGatewayClient.ApplicationGatewaysApi] = "2020-05-01" +_module_versions[ApplicationGatewayClient] = "2024-07-01" +_api_versions[ApplicationGatewayClient.ApplicationGatewayPrivateEndpointConnectionsApi] = "2024-07-01" +_api_versions[ApplicationGatewayClient.ApplicationGatewayPrivateLinkResourcesApi] = "2024-07-01" +_api_versions[ApplicationGatewayClient.ApplicationGatewaysApi] = "2024-07-01" include("Network/CheckDnsAvailabilityClient/src/CheckDnsAvailabilityClient.jl") -_module_versions[CheckDnsAvailabilityClient] = "2020-05-01" -_api_versions[CheckDnsAvailabilityClient.DefaultApi] = "2020-05-01" +_module_versions[CheckDnsAvailabilityClient] = "2024-07-01" +_api_versions[CheckDnsAvailabilityClient.DefaultApi] = "2024-07-01" include("Network/ExpressRouteCircuitClient/src/ExpressRouteCircuitClient.jl") -_module_versions[ExpressRouteCircuitClient] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitArpTableApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitAuthorizationsApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitConnectionsApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitPeeringsApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitRoutesTableApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitRoutesTableSummaryApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitStatsApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitsApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.ExpressRouteServiceProvidersApi] = "2020-05-01" -_api_versions[ExpressRouteCircuitClient.PeerExpressRouteCircuitConnectionsApi] = "2020-05-01" +_module_versions[ExpressRouteCircuitClient] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitArpTableApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitAuthorizationsApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitConnectionsApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitPeeringsApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitRoutesTableApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitRoutesTableSummaryApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitStatsApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteCircuitsApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.ExpressRouteServiceProvidersApi] = "2024-07-01" +_api_versions[ExpressRouteCircuitClient.PeerExpressRouteCircuitConnectionsApi] = "2024-07-01" include("Network/LoadBalancerClient/src/LoadBalancerClient.jl") -_module_versions[LoadBalancerClient] = "2020-05-01" -_api_versions[LoadBalancerClient.LoadBalancersApi] = "2020-05-01" +_module_versions[LoadBalancerClient] = "2024-07-01" +_api_versions[LoadBalancerClient.LoadBalancersApi] = "2024-07-01" include("Network/NetworkManagementClient/src/NetworkManagementClient.jl") -_module_versions[NetworkManagementClient] = "2020-05-01" +_module_versions[NetworkManagementClient] = "2024-07-01" include("Network/NetworkInterfaceClient/src/NetworkInterfaceClient.jl") -_module_versions[NetworkInterfaceClient] = "2020-05-01" -_api_versions[NetworkInterfaceClient.NetworkInterfacesApi] = "2020-05-01" +_module_versions[NetworkInterfaceClient] = "2024-07-01" +_api_versions[NetworkInterfaceClient.NetworkInterfacesApi] = "2024-07-01" include("Network/NetworkSecurityGroupClient/src/NetworkSecurityGroupClient.jl") -_module_versions[NetworkSecurityGroupClient] = "2020-05-01" -_api_versions[NetworkSecurityGroupClient.NetworkSecurityGroupsApi] = "2020-05-01" -_api_versions[NetworkSecurityGroupClient.SecurityRulesApi] = "2020-05-01" +_module_versions[NetworkSecurityGroupClient] = "2024-07-01" +_api_versions[NetworkSecurityGroupClient.NetworkSecurityGroupsApi] = "2024-07-01" +_api_versions[NetworkSecurityGroupClient.SecurityRulesApi] = "2024-07-01" include("Network/NetworkWatcherClient/src/NetworkWatcherClient.jl") -_module_versions[NetworkWatcherClient] = "2020-05-01" -_api_versions[NetworkWatcherClient.ConnectionMonitorsApi] = "2020-05-01" -_api_versions[NetworkWatcherClient.FlowLogsApi] = "2020-05-01" -_api_versions[NetworkWatcherClient.NetworkWatchersApi] = "2020-05-01" -_api_versions[NetworkWatcherClient.PacketCapturesApi] = "2020-05-01" -_api_versions[NetworkWatcherClient.TrafficAnalyticsApi] = "2020-05-01" +_module_versions[NetworkWatcherClient] = "2024-07-01" +_api_versions[NetworkWatcherClient.ConnectionMonitorsApi] = "2024-07-01" +_api_versions[NetworkWatcherClient.FlowLogsApi] = "2024-07-01" +_api_versions[NetworkWatcherClient.NetworkWatchersApi] = "2024-07-01" +_api_versions[NetworkWatcherClient.PacketCapturesApi] = "2024-07-01" +_api_versions[NetworkWatcherClient.TrafficAnalyticsApi] = "2024-07-01" include("Network/PublicIpAddressClient/src/PublicIpAddressClient.jl") -_module_versions[PublicIpAddressClient] = "2020-05-01" -_api_versions[PublicIpAddressClient.PublicIPAddressesApi] = "2020-05-01" +_module_versions[PublicIpAddressClient] = "2024-07-01" +_api_versions[PublicIpAddressClient.PublicIPAddressesApi] = "2024-07-01" include("Network/RouteFilterClient/src/RouteFilterClient.jl") -_module_versions[RouteFilterClient] = "2020-05-01" -_api_versions[RouteFilterClient.RouteFilterRulesApi] = "2020-05-01" -_api_versions[RouteFilterClient.RouteFiltersApi] = "2020-05-01" +_module_versions[RouteFilterClient] = "2024-07-01" +_api_versions[RouteFilterClient.RouteFilterRulesApi] = "2024-07-01" +_api_versions[RouteFilterClient.RouteFiltersApi] = "2024-07-01" include("Network/RouteTableClient/src/RouteTableClient.jl") -_module_versions[RouteTableClient] = "2020-05-01" -_api_versions[RouteTableClient.RouteTablesApi] = "2020-05-01" -_api_versions[RouteTableClient.RoutesApi] = "2020-05-01" +_module_versions[RouteTableClient] = "2024-07-01" +_api_versions[RouteTableClient.RouteTablesApi] = "2024-07-01" +_api_versions[RouteTableClient.RoutesApi] = "2024-07-01" include("Network/ServiceCommunityClient/src/ServiceCommunityClient.jl") -_module_versions[ServiceCommunityClient] = "2020-05-01" -_api_versions[ServiceCommunityClient.BgpServiceCommunitiesApi] = "2020-05-01" +_module_versions[ServiceCommunityClient] = "2024-07-01" +_api_versions[ServiceCommunityClient.BgpServiceCommunitiesApi] = "2024-07-01" include("Network/UsageClient/src/UsageClient.jl") -_module_versions[UsageClient] = "2020-05-01" -_api_versions[UsageClient.UsagesApi] = "2020-05-01" +_module_versions[UsageClient] = "2024-07-01" +_api_versions[UsageClient.UsagesApi] = "2024-07-01" include("Network/VirtualNetworkClient/src/VirtualNetworkClient.jl") -_module_versions[VirtualNetworkClient] = "2020-05-01" -_api_versions[VirtualNetworkClient.DefaultApi] = "2020-05-01" -_api_versions[VirtualNetworkClient.SubnetsApi] = "2020-05-01" -_api_versions[VirtualNetworkClient.VirtualNetworkPeeringsApi] = "2020-05-01" -_api_versions[VirtualNetworkClient.VirtualNetworksApi] = "2020-05-01" +_module_versions[VirtualNetworkClient] = "2024-07-01" +_api_versions[VirtualNetworkClient.DefaultApi] = "2024-07-01" +_api_versions[VirtualNetworkClient.SubnetsApi] = "2024-07-01" +_api_versions[VirtualNetworkClient.VirtualNetworkPeeringsApi] = "2024-07-01" +_api_versions[VirtualNetworkClient.VirtualNetworksApi] = "2024-07-01" include("Network/VirtualNetworkGatewayClient/src/VirtualNetworkGatewayClient.jl") -_module_versions[VirtualNetworkGatewayClient] = "2020-05-01" -_api_versions[VirtualNetworkGatewayClient.LocalNetworkGatewaysApi] = "2020-05-01" -_api_versions[VirtualNetworkGatewayClient.VirtualNetworkGatewayConnectionsApi] = "2020-05-01" -_api_versions[VirtualNetworkGatewayClient.VirtualNetworkGatewaysApi] = "2020-05-01" +_module_versions[VirtualNetworkGatewayClient] = "2024-07-01" +_api_versions[VirtualNetworkGatewayClient.DefaultApi] = "2024-07-01" +_api_versions[VirtualNetworkGatewayClient.LocalNetworkGatewaysApi] = "2024-07-01" +_api_versions[VirtualNetworkGatewayClient.VirtualNetworkGatewayConnectionsApi] = "2024-07-01" +_api_versions[VirtualNetworkGatewayClient.VirtualNetworkGatewaysApi] = "2024-07-01" include("Network/VmssNetworkInterfaceClient/src/VmssNetworkInterfaceClient.jl") -_module_versions[VmssNetworkInterfaceClient] = "2020-05-01" -_api_versions[VmssNetworkInterfaceClient.NetworkInterfacesApi] = "2020-05-01" +_module_versions[VmssNetworkInterfaceClient] = "2024-07-01" +_api_versions[VmssNetworkInterfaceClient.NetworkInterfacesApi] = "2024-07-01" include("Resource/ResourceManagementClient/src/ResourceManagementClient.jl") -_module_versions[ResourceManagementClient] = "2020-06-01" -_api_versions[ResourceManagementClient.DeploymentOperationsApi] = "2020-06-01" -_api_versions[ResourceManagementClient.DeploymentsApi] = "2020-06-01" -_api_versions[ResourceManagementClient.OperationsApi] = "2020-06-01" -_api_versions[ResourceManagementClient.ProvidersApi] = "2020-06-01" -_api_versions[ResourceManagementClient.ResourceGroupsApi] = "2020-06-01" -_api_versions[ResourceManagementClient.ResourcesApi] = "2020-06-01" -_api_versions[ResourceManagementClient.TagsApi] = "2020-06-01" +_module_versions[ResourceManagementClient] = "2025-04-01" +_api_versions[ResourceManagementClient.OperationsApi] = "2025-04-01" +_api_versions[ResourceManagementClient.ProvidersApi] = "2025-04-01" +_api_versions[ResourceManagementClient.ResourceGroupsApi] = "2025-04-01" +_api_versions[ResourceManagementClient.ResourcesApi] = "2025-04-01" +_api_versions[ResourceManagementClient.TagsApi] = "2025-04-01" include("Resource/SubscriptionClient/src/SubscriptionClient.jl") -_module_versions[SubscriptionClient] = "2020-01-01" -_api_versions[SubscriptionClient.OperationsApi] = "2020-01-01" -_api_versions[SubscriptionClient.SubscriptionsApi] = "2020-01-01" -_api_versions[SubscriptionClient.TenantsApi] = "2020-01-01" +_module_versions[SubscriptionClient] = "2022-12-01" +_api_versions[SubscriptionClient.OperationsApi] = "2022-12-01" +_api_versions[SubscriptionClient.SubscriptionsApi] = "2022-12-01" +_api_versions[SubscriptionClient.TenantsApi] = "2022-12-01" include("Resource/PolicyAssignmentsClient/src/PolicyAssignmentsClient.jl") -_module_versions[PolicyAssignmentsClient] = "2019-09-01" -_api_versions[PolicyAssignmentsClient.PolicyAssignmentsApi] = "2019-09-01" +_module_versions[PolicyAssignmentsClient] = "2025-03-01" +_api_versions[PolicyAssignmentsClient.PolicyAssignmentsApi] = "2025-03-01" include("Resource/PolicyDefinitionsClient/src/PolicyDefinitionsClient.jl") -_module_versions[PolicyDefinitionsClient] = "2019-09-01" -_api_versions[PolicyDefinitionsClient.PolicyDefinitionsApi] = "2019-09-01" +_module_versions[PolicyDefinitionsClient] = "2025-03-01" +_api_versions[PolicyDefinitionsClient.PolicyDefinitionsApi] = "2025-03-01" include("Resource/PolicySetDefinitionsClient/src/PolicySetDefinitionsClient.jl") -_module_versions[PolicySetDefinitionsClient] = "2019-09-01" -_api_versions[PolicySetDefinitionsClient.PolicySetDefinitionsApi] = "2019-09-01" +_module_versions[PolicySetDefinitionsClient] = "2025-03-01" +_api_versions[PolicySetDefinitionsClient.PolicySetDefinitionsApi] = "2025-03-01" include("Commerce/UsageManagementClient/src/UsageManagementClient.jl") _module_versions[UsageManagementClient] = "2015-06-01-preview" diff --git a/src/Commerce/UsageManagementClient/.openapi-generator/FILES b/src/Commerce/UsageManagementClient/.openapi-generator/FILES index 1cc25db..03eebb7 100644 --- a/src/Commerce/UsageManagementClient/.openapi-generator/FILES +++ b/src/Commerce/UsageManagementClient/.openapi-generator/FILES @@ -1,7 +1,7 @@ .openapi-generator-ignore README.md +docs/ErrorObjectResponse.md docs/ErrorResponse.md -docs/InfoField.md docs/MeterInfo.md docs/MonetaryCommitment.md docs/MonetaryCredit.md @@ -18,8 +18,8 @@ src/UsageManagementClient.jl src/apis/api_RateCardApi.jl src/apis/api_UsageAggregatesApi.jl src/modelincludes.jl +src/models/model_ErrorObjectResponse.jl src/models/model_ErrorResponse.jl -src/models/model_InfoField.jl src/models/model_MeterInfo.jl src/models/model_MonetaryCommitment.jl src/models/model_MonetaryCredit.jl diff --git a/src/Commerce/UsageManagementClient/.openapi-generator/VERSION b/src/Commerce/UsageManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Commerce/UsageManagementClient/.openapi-generator/VERSION +++ b/src/Commerce/UsageManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Commerce/UsageManagementClient/README.md b/src/Commerce/UsageManagementClient/README.md index a093dbc..9172fea 100644 --- a/src/Commerce/UsageManagementClient/README.md +++ b/src/Commerce/UsageManagementClient/README.md @@ -6,6 +6,7 @@ No description provided (generated by Openapi Generator https://github.com/opena This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 2015-06-01-preview +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -26,8 +27,8 @@ Class | Method ## Models + - [ErrorObjectResponse](docs/ErrorObjectResponse.md) - [ErrorResponse](docs/ErrorResponse.md) - - [InfoField](docs/InfoField.md) - [MeterInfo](docs/MeterInfo.md) - [MonetaryCommitment](docs/MonetaryCommitment.md) - [MonetaryCredit](docs/MonetaryCredit.md) @@ -40,8 +41,9 @@ Class | Method - [UsageSample](docs/UsageSample.md) + ## Authorization - Endpoints do not require authorization. +Endpoints do not require authorization. ## Author diff --git a/src/Commerce/UsageManagementClient/docs/ErrorObjectResponse.md b/src/Commerce/UsageManagementClient/docs/ErrorObjectResponse.md new file mode 100644 index 0000000..285dc08 --- /dev/null +++ b/src/Commerce/UsageManagementClient/docs/ErrorObjectResponse.md @@ -0,0 +1,12 @@ +# ErrorObjectResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Commerce/UsageManagementClient/docs/InfoField.md b/src/Commerce/UsageManagementClient/docs/InfoField.md deleted file mode 100644 index df8300d..0000000 --- a/src/Commerce/UsageManagementClient/docs/InfoField.md +++ /dev/null @@ -1,12 +0,0 @@ -# InfoField - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**project** | **String** | Identifies the name of the instance provisioned by the user. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Commerce/UsageManagementClient/docs/RateCardApi.md b/src/Commerce/UsageManagementClient/docs/RateCardApi.md index 33067fe..3095b77 100644 --- a/src/Commerce/UsageManagementClient/docs/RateCardApi.md +++ b/src/Commerce/UsageManagementClient/docs/RateCardApi.md @@ -20,9 +20,9 @@ Enables you to query for the resource/meter metadata and related prices used in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RateCardApi** | API context | -**filter** | **String**| The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part of the $filter. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| It uniquely identifies Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**filter** | **String** | The filter to apply on the operation. It ONLY supports the 'eq' and 'and' logical operators at this time. All the 4 query parameters 'OfferDurableId', 'Currency', 'Locale', 'Region' are required to be a part of the $filter. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | It uniquely identifies Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Commerce/UsageManagementClient/docs/UsageAggregatesApi.md b/src/Commerce/UsageManagementClient/docs/UsageAggregatesApi.md index f854a80..fbb59ca 100644 --- a/src/Commerce/UsageManagementClient/docs/UsageAggregatesApi.md +++ b/src/Commerce/UsageManagementClient/docs/UsageAggregatesApi.md @@ -20,18 +20,18 @@ Query aggregated Azure subscription consumption data for a date range. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **UsageAggregatesApi** | API context | -**reported_start_time** | **ZonedDateTime**| The start of the time range to retrieve data for. | [default to nothing] -**reported_end_time** | **ZonedDateTime**| The end of the time range to retrieve data for. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| It uniquely identifies Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**reported_start_time** | **ZonedDateTime** | The start of the time range to retrieve data for. | +**reported_end_time** | **ZonedDateTime** | The end of the time range to retrieve data for. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | It uniquely identifies Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **show_details** | **Bool**| `True` returns usage data in instance-level detail, `false` causes server-side aggregation with fewer details. For example, if you have 3 website instances, by default you will get 3 line items for website consumption. If you specify showDetails = false, the data will be aggregated as a single line item for website consumption within the time period (for the given subscriptionId, meterId, usageStartTime and usageEndTime). | [default to nothing] - **aggregation_granularity** | **String**| `Daily` (default) returns the data in daily granularity, `Hourly` returns the data in hourly granularity. | [default to Daily] - **continuation_token** | **String**| Used when a continuation token string is provided in the response body of the previous call, enabling paging through a large result set. If not present, the data is retrieved from the beginning of the day/hour (based on the granularity) passed in. | [default to nothing] + **show_details** | **Bool** | `True` returns usage data in instance-level detail, `false` causes server-side aggregation with fewer details. For example, if you have 3 website instances, by default you will get 3 line items for website consumption. If you specify showDetails = false, the data will be aggregated as a single line item for website consumption within the time period (for the given subscriptionId, meterId, usageStartTime and usageEndTime). | [default to nothing] + **aggregation_granularity** | **String** | `Daily` (default) returns the data in daily granularity, `Hourly` returns the data in hourly granularity. | [default to "Daily"] + **continuation_token** | **String** | Used when a continuation token string is provided in the response body of the previous call, enabling paging through a large result set. If not present, the data is retrieved from the beginning of the day/hour (based on the granularity) passed in. | [default to nothing] ### Return type diff --git a/src/Commerce/UsageManagementClient/docs/UsageSample.md b/src/Commerce/UsageManagementClient/docs/UsageSample.md index 4c632ba..1203a70 100644 --- a/src/Commerce/UsageManagementClient/docs/UsageSample.md +++ b/src/Commerce/UsageManagementClient/docs/UsageSample.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **meterCategory** | **String** | Category of the consumed resource. | [optional] [default to nothing] **meterSubCategory** | **String** | Sub-category of the consumed resource. | [optional] [default to nothing] **meterRegion** | **String** | Region of the meterId used for billing purposes | [optional] [default to nothing] -**infoFields** | [***InfoField**](InfoField.md) | | [optional] [default to nothing] +**infoFields** | **Any** | Key-value pairs of instance details in the legacy format. | [optional] [default to nothing] **instanceData** | **String** | Key-value pairs of instance details represented as a string. | [optional] [default to nothing] diff --git a/src/Commerce/UsageManagementClient/src/apis/api_RateCardApi.jl b/src/Commerce/UsageManagementClient/src/apis/api_RateCardApi.jl index ef913b8..8f581da 100644 --- a/src/Commerce/UsageManagementClient/src/apis/api_RateCardApi.jl +++ b/src/Commerce/UsageManagementClient/src/apis/api_RateCardApi.jl @@ -19,8 +19,8 @@ const _returntypes_rate_card_get_RateCardApi = Dict{Regex,Type}( function _oacinternal_rate_card_get(_api::RateCardApi, filter::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_rate_card_get_RateCardApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/RateCard", []) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Commerce/UsageManagementClient/src/apis/api_UsageAggregatesApi.jl b/src/Commerce/UsageManagementClient/src/apis/api_UsageAggregatesApi.jl index edd7796..36c11d9 100644 --- a/src/Commerce/UsageManagementClient/src/apis/api_UsageAggregatesApi.jl +++ b/src/Commerce/UsageManagementClient/src/apis/api_UsageAggregatesApi.jl @@ -13,18 +13,19 @@ basepath(::Type{ UsageAggregatesApi }) = "https://management.azure.com" const _returntypes_usage_aggregates_list_UsageAggregatesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => UsageAggregationListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, + Regex("^" * replace("202", "x"=>".") * "\$") => ErrorObjectResponse, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorObjectResponse, ) function _oacinternal_usage_aggregates_list(_api::UsageAggregatesApi, reported_start_time::ZonedDateTime, reported_end_time::ZonedDateTime, api_version::String, subscription_id::String; show_details=nothing, aggregation_granularity=nothing, continuation_token=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_usage_aggregates_list_UsageAggregatesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Commerce/UsageAggregates", []) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "reportedStartTime", reported_start_time) # type ZonedDateTime - OpenAPI.Clients.set_param(_ctx.query, "reportedEndTime", reported_end_time) # type ZonedDateTime - OpenAPI.Clients.set_param(_ctx.query, "showDetails", show_details) # type Bool - OpenAPI.Clients.set_param(_ctx.query, "aggregationGranularity", aggregation_granularity) # type String - OpenAPI.Clients.set_param(_ctx.query, "continuationToken", continuation_token) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "reportedStartTime", reported_start_time; style="", is_explode=false) # type ZonedDateTime + OpenAPI.Clients.set_param(_ctx.query, "reportedEndTime", reported_end_time; style="", is_explode=false) # type ZonedDateTime + OpenAPI.Clients.set_param(_ctx.query, "showDetails", show_details; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "aggregationGranularity", aggregation_granularity; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "continuationToken", continuation_token; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Commerce/UsageManagementClient/src/modelincludes.jl b/src/Commerce/UsageManagementClient/src/modelincludes.jl index 697aa5e..6f47de6 100644 --- a/src/Commerce/UsageManagementClient/src/modelincludes.jl +++ b/src/Commerce/UsageManagementClient/src/modelincludes.jl @@ -1,8 +1,8 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. +include("models/model_ErrorObjectResponse.jl") include("models/model_ErrorResponse.jl") -include("models/model_InfoField.jl") include("models/model_MeterInfo.jl") include("models/model_MonetaryCommitment.jl") include("models/model_MonetaryCredit.jl") diff --git a/src/Commerce/UsageManagementClient/src/models/model_ErrorObjectResponse.jl b/src/Commerce/UsageManagementClient/src/models/model_ErrorObjectResponse.jl new file mode 100644 index 0000000..1101aa6 --- /dev/null +++ b/src/Commerce/UsageManagementClient/src/models/model_ErrorObjectResponse.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorObjectResponse +Describes the format of Error response with a wrapper object + + ErrorObjectResponse(; + error=nothing, + ) + + - error::ErrorResponse +""" +Base.@kwdef mutable struct ErrorObjectResponse <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, ErrorResponse } + + function ErrorObjectResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorObjectResponse + +const _property_types_ErrorObjectResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse", ) +OpenAPI.property_type(::Type{ ErrorObjectResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorObjectResponse[name]))} + +function OpenAPI.check_required(o::ErrorObjectResponse) + true +end + +function OpenAPI.validate_properties(o::ErrorObjectResponse) + OpenAPI.validate_property(ErrorObjectResponse, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ ErrorObjectResponse }, name::Symbol, val) + +end diff --git a/src/Commerce/UsageManagementClient/src/models/model_ErrorResponse.jl b/src/Commerce/UsageManagementClient/src/models/model_ErrorResponse.jl index ffdc1f5..2a97028 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_ErrorResponse.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_ErrorResponse.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ErrorResponse(code, message, ) - OpenAPI.validate_property(ErrorResponse, Symbol("code"), code) - OpenAPI.validate_property(ErrorResponse, Symbol("message"), message) - return new(code, message, ) + o = new(code, message, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorResponse, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + + end diff --git a/src/Commerce/UsageManagementClient/src/models/model_InfoField.jl b/src/Commerce/UsageManagementClient/src/models/model_InfoField.jl deleted file mode 100644 index 4df8924..0000000 --- a/src/Commerce/UsageManagementClient/src/models/model_InfoField.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""InfoField -Key-value pairs of instance details in the legacy format. - - InfoField(; - project=nothing, - ) - - - project::String : Identifies the name of the instance provisioned by the user. -""" -Base.@kwdef mutable struct InfoField <: OpenAPI.APIModel - project::Union{Nothing, String} = nothing - - function InfoField(project, ) - OpenAPI.validate_property(InfoField, Symbol("project"), project) - return new(project, ) - end -end # type InfoField - -const _property_types_InfoField = Dict{Symbol,String}(Symbol("project")=>"String", ) -OpenAPI.property_type(::Type{ InfoField }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InfoField[name]))} - -function check_required(o::InfoField) - true -end - -function OpenAPI.validate_property(::Type{ InfoField }, name::Symbol, val) -end diff --git a/src/Commerce/UsageManagementClient/src/models/model_MeterInfo.jl b/src/Commerce/UsageManagementClient/src/models/model_MeterInfo.jl index 3943d41..18bffae 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_MeterInfo.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_MeterInfo.jl @@ -42,34 +42,49 @@ Base.@kwdef mutable struct MeterInfo <: OpenAPI.APIModel IncludedQuantity::Union{Nothing, Float32} = nothing function MeterInfo(MeterId, MeterName, MeterCategory, MeterSubCategory, Unit, MeterTags, MeterRegion, MeterRates, EffectiveDate, IncludedQuantity, ) - OpenAPI.validate_property(MeterInfo, Symbol("MeterId"), MeterId) - OpenAPI.validate_property(MeterInfo, Symbol("MeterName"), MeterName) - OpenAPI.validate_property(MeterInfo, Symbol("MeterCategory"), MeterCategory) - OpenAPI.validate_property(MeterInfo, Symbol("MeterSubCategory"), MeterSubCategory) - OpenAPI.validate_property(MeterInfo, Symbol("Unit"), Unit) - OpenAPI.validate_property(MeterInfo, Symbol("MeterTags"), MeterTags) - OpenAPI.validate_property(MeterInfo, Symbol("MeterRegion"), MeterRegion) - OpenAPI.validate_property(MeterInfo, Symbol("MeterRates"), MeterRates) - OpenAPI.validate_property(MeterInfo, Symbol("EffectiveDate"), EffectiveDate) - OpenAPI.validate_property(MeterInfo, Symbol("IncludedQuantity"), IncludedQuantity) - return new(MeterId, MeterName, MeterCategory, MeterSubCategory, Unit, MeterTags, MeterRegion, MeterRates, EffectiveDate, IncludedQuantity, ) + o = new(MeterId, MeterName, MeterCategory, MeterSubCategory, Unit, MeterTags, MeterRegion, MeterRates, EffectiveDate, IncludedQuantity, ) + OpenAPI.validate_properties(o) + return o end end # type MeterInfo const _property_types_MeterInfo = Dict{Symbol,String}(Symbol("MeterId")=>"String", Symbol("MeterName")=>"String", Symbol("MeterCategory")=>"String", Symbol("MeterSubCategory")=>"String", Symbol("Unit")=>"String", Symbol("MeterTags")=>"Vector{String}", Symbol("MeterRegion")=>"String", Symbol("MeterRates")=>"Dict{String, Float32}", Symbol("EffectiveDate")=>"ZonedDateTime", Symbol("IncludedQuantity")=>"Float32", ) OpenAPI.property_type(::Type{ MeterInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MeterInfo[name]))} -function check_required(o::MeterInfo) +function OpenAPI.check_required(o::MeterInfo) true end +function OpenAPI.validate_properties(o::MeterInfo) + OpenAPI.validate_property(MeterInfo, Symbol("MeterId"), o.MeterId) + OpenAPI.validate_property(MeterInfo, Symbol("MeterName"), o.MeterName) + OpenAPI.validate_property(MeterInfo, Symbol("MeterCategory"), o.MeterCategory) + OpenAPI.validate_property(MeterInfo, Symbol("MeterSubCategory"), o.MeterSubCategory) + OpenAPI.validate_property(MeterInfo, Symbol("Unit"), o.Unit) + OpenAPI.validate_property(MeterInfo, Symbol("MeterTags"), o.MeterTags) + OpenAPI.validate_property(MeterInfo, Symbol("MeterRegion"), o.MeterRegion) + OpenAPI.validate_property(MeterInfo, Symbol("MeterRates"), o.MeterRates) + OpenAPI.validate_property(MeterInfo, Symbol("EffectiveDate"), o.EffectiveDate) + OpenAPI.validate_property(MeterInfo, Symbol("IncludedQuantity"), o.IncludedQuantity) +end + function OpenAPI.validate_property(::Type{ MeterInfo }, name::Symbol, val) + if name === Symbol("MeterId") OpenAPI.validate_param(name, "MeterInfo", :format, val, "uuid") end + + + + + + + + if name === Symbol("EffectiveDate") OpenAPI.validate_param(name, "MeterInfo", :format, val, "date-time") end + if name === Symbol("IncludedQuantity") OpenAPI.validate_param(name, "MeterInfo", :format, val, "float") end diff --git a/src/Commerce/UsageManagementClient/src/models/model_MonetaryCommitment.jl b/src/Commerce/UsageManagementClient/src/models/model_MonetaryCommitment.jl index 0c1a55f..3a2da51 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_MonetaryCommitment.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_MonetaryCommitment.jl @@ -24,26 +24,36 @@ Base.@kwdef mutable struct MonetaryCommitment <: OpenAPI.APIModel EffectiveDate::Union{Nothing, ZonedDateTime} = nothing function MonetaryCommitment(TieredDiscount, ExcludedMeterIds, Name, EffectiveDate, ) - OpenAPI.validate_property(MonetaryCommitment, Symbol("TieredDiscount"), TieredDiscount) - OpenAPI.validate_property(MonetaryCommitment, Symbol("ExcludedMeterIds"), ExcludedMeterIds) - OpenAPI.validate_property(MonetaryCommitment, Symbol("Name"), Name) - OpenAPI.validate_property(MonetaryCommitment, Symbol("EffectiveDate"), EffectiveDate) - return new(TieredDiscount, ExcludedMeterIds, Name, EffectiveDate, ) + o = new(TieredDiscount, ExcludedMeterIds, Name, EffectiveDate, ) + OpenAPI.validate_properties(o) + return o end end # type MonetaryCommitment const _property_types_MonetaryCommitment = Dict{Symbol,String}(Symbol("TieredDiscount")=>"Dict{String, Float64}", Symbol("ExcludedMeterIds")=>"Vector{String}", Symbol("Name")=>"String", Symbol("EffectiveDate")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ MonetaryCommitment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MonetaryCommitment[name]))} -function check_required(o::MonetaryCommitment) +function OpenAPI.check_required(o::MonetaryCommitment) o.Name === nothing && (return false) true end +function OpenAPI.validate_properties(o::MonetaryCommitment) + OpenAPI.validate_property(MonetaryCommitment, Symbol("TieredDiscount"), o.TieredDiscount) + OpenAPI.validate_property(MonetaryCommitment, Symbol("ExcludedMeterIds"), o.ExcludedMeterIds) + OpenAPI.validate_property(MonetaryCommitment, Symbol("Name"), o.Name) + OpenAPI.validate_property(MonetaryCommitment, Symbol("EffectiveDate"), o.EffectiveDate) +end + function OpenAPI.validate_property(::Type{ MonetaryCommitment }, name::Symbol, val) + + + if name === Symbol("Name") OpenAPI.validate_param(name, "MonetaryCommitment", :enum, val, ["Recurring Charge", "Monetary Commitment", "Monetary Credit"]) end + + if name === Symbol("EffectiveDate") OpenAPI.validate_param(name, "MonetaryCommitment", :format, val, "date-time") end diff --git a/src/Commerce/UsageManagementClient/src/models/model_MonetaryCredit.jl b/src/Commerce/UsageManagementClient/src/models/model_MonetaryCredit.jl index 9064cd2..d1b469d 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_MonetaryCredit.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_MonetaryCredit.jl @@ -24,29 +24,39 @@ Base.@kwdef mutable struct MonetaryCredit <: OpenAPI.APIModel EffectiveDate::Union{Nothing, ZonedDateTime} = nothing function MonetaryCredit(Credit, ExcludedMeterIds, Name, EffectiveDate, ) - OpenAPI.validate_property(MonetaryCredit, Symbol("Credit"), Credit) - OpenAPI.validate_property(MonetaryCredit, Symbol("ExcludedMeterIds"), ExcludedMeterIds) - OpenAPI.validate_property(MonetaryCredit, Symbol("Name"), Name) - OpenAPI.validate_property(MonetaryCredit, Symbol("EffectiveDate"), EffectiveDate) - return new(Credit, ExcludedMeterIds, Name, EffectiveDate, ) + o = new(Credit, ExcludedMeterIds, Name, EffectiveDate, ) + OpenAPI.validate_properties(o) + return o end end # type MonetaryCredit const _property_types_MonetaryCredit = Dict{Symbol,String}(Symbol("Credit")=>"Float64", Symbol("ExcludedMeterIds")=>"Vector{String}", Symbol("Name")=>"String", Symbol("EffectiveDate")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ MonetaryCredit }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MonetaryCredit[name]))} -function check_required(o::MonetaryCredit) +function OpenAPI.check_required(o::MonetaryCredit) o.Name === nothing && (return false) true end +function OpenAPI.validate_properties(o::MonetaryCredit) + OpenAPI.validate_property(MonetaryCredit, Symbol("Credit"), o.Credit) + OpenAPI.validate_property(MonetaryCredit, Symbol("ExcludedMeterIds"), o.ExcludedMeterIds) + OpenAPI.validate_property(MonetaryCredit, Symbol("Name"), o.Name) + OpenAPI.validate_property(MonetaryCredit, Symbol("EffectiveDate"), o.EffectiveDate) +end + function OpenAPI.validate_property(::Type{ MonetaryCredit }, name::Symbol, val) + if name === Symbol("Credit") OpenAPI.validate_param(name, "MonetaryCredit", :format, val, "decimal") end + + if name === Symbol("Name") OpenAPI.validate_param(name, "MonetaryCredit", :enum, val, ["Recurring Charge", "Monetary Commitment", "Monetary Credit"]) end + + if name === Symbol("EffectiveDate") OpenAPI.validate_param(name, "MonetaryCredit", :format, val, "date-time") end diff --git a/src/Commerce/UsageManagementClient/src/models/model_OfferTermInfo.jl b/src/Commerce/UsageManagementClient/src/models/model_OfferTermInfo.jl index e5d8ed0..949a078 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_OfferTermInfo.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_OfferTermInfo.jl @@ -18,24 +18,32 @@ Base.@kwdef mutable struct OfferTermInfo <: OpenAPI.APIModel EffectiveDate::Union{Nothing, ZonedDateTime} = nothing function OfferTermInfo(Name, EffectiveDate, ) - OpenAPI.validate_property(OfferTermInfo, Symbol("Name"), Name) - OpenAPI.validate_property(OfferTermInfo, Symbol("EffectiveDate"), EffectiveDate) - return new(Name, EffectiveDate, ) + o = new(Name, EffectiveDate, ) + OpenAPI.validate_properties(o) + return o end end # type OfferTermInfo const _property_types_OfferTermInfo = Dict{Symbol,String}(Symbol("Name")=>"String", Symbol("EffectiveDate")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ OfferTermInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OfferTermInfo[name]))} -function check_required(o::OfferTermInfo) +function OpenAPI.check_required(o::OfferTermInfo) o.Name === nothing && (return false) true end +function OpenAPI.validate_properties(o::OfferTermInfo) + OpenAPI.validate_property(OfferTermInfo, Symbol("Name"), o.Name) + OpenAPI.validate_property(OfferTermInfo, Symbol("EffectiveDate"), o.EffectiveDate) +end + function OpenAPI.validate_property(::Type{ OfferTermInfo }, name::Symbol, val) + if name === Symbol("Name") OpenAPI.validate_param(name, "OfferTermInfo", :enum, val, ["Recurring Charge", "Monetary Commitment", "Monetary Credit"]) end + + if name === Symbol("EffectiveDate") OpenAPI.validate_param(name, "OfferTermInfo", :format, val, "date-time") end diff --git a/src/Commerce/UsageManagementClient/src/models/model_RateCardQueryParameters.jl b/src/Commerce/UsageManagementClient/src/models/model_RateCardQueryParameters.jl index 8b9bb83..18bfa42 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_RateCardQueryParameters.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_RateCardQueryParameters.jl @@ -24,18 +24,16 @@ Base.@kwdef mutable struct RateCardQueryParameters <: OpenAPI.APIModel RegionInfo::Union{Nothing, String} = nothing function RateCardQueryParameters(OfferDurableId, Currency, Locale, RegionInfo, ) - OpenAPI.validate_property(RateCardQueryParameters, Symbol("OfferDurableId"), OfferDurableId) - OpenAPI.validate_property(RateCardQueryParameters, Symbol("Currency"), Currency) - OpenAPI.validate_property(RateCardQueryParameters, Symbol("Locale"), Locale) - OpenAPI.validate_property(RateCardQueryParameters, Symbol("RegionInfo"), RegionInfo) - return new(OfferDurableId, Currency, Locale, RegionInfo, ) + o = new(OfferDurableId, Currency, Locale, RegionInfo, ) + OpenAPI.validate_properties(o) + return o end end # type RateCardQueryParameters const _property_types_RateCardQueryParameters = Dict{Symbol,String}(Symbol("OfferDurableId")=>"String", Symbol("Currency")=>"String", Symbol("Locale")=>"String", Symbol("RegionInfo")=>"String", ) OpenAPI.property_type(::Type{ RateCardQueryParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RateCardQueryParameters[name]))} -function check_required(o::RateCardQueryParameters) +function OpenAPI.check_required(o::RateCardQueryParameters) o.OfferDurableId === nothing && (return false) o.Currency === nothing && (return false) o.Locale === nothing && (return false) @@ -43,8 +41,19 @@ function check_required(o::RateCardQueryParameters) true end +function OpenAPI.validate_properties(o::RateCardQueryParameters) + OpenAPI.validate_property(RateCardQueryParameters, Symbol("OfferDurableId"), o.OfferDurableId) + OpenAPI.validate_property(RateCardQueryParameters, Symbol("Currency"), o.Currency) + OpenAPI.validate_property(RateCardQueryParameters, Symbol("Locale"), o.Locale) + OpenAPI.validate_property(RateCardQueryParameters, Symbol("RegionInfo"), o.RegionInfo) +end + function OpenAPI.validate_property(::Type{ RateCardQueryParameters }, name::Symbol, val) + if name === Symbol("OfferDurableId") OpenAPI.validate_param(name, "RateCardQueryParameters", :pattern, val, r"^MS-AZR-\d{4}P(-\d{4}P)*$") end + + + end diff --git a/src/Commerce/UsageManagementClient/src/models/model_RecurringCharge.jl b/src/Commerce/UsageManagementClient/src/models/model_RecurringCharge.jl index 7006000..2b44ea6 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_RecurringCharge.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_RecurringCharge.jl @@ -21,25 +21,34 @@ Base.@kwdef mutable struct RecurringCharge <: OpenAPI.APIModel EffectiveDate::Union{Nothing, ZonedDateTime} = nothing function RecurringCharge(RecurringCharge, Name, EffectiveDate, ) - OpenAPI.validate_property(RecurringCharge, Symbol("RecurringCharge"), RecurringCharge) - OpenAPI.validate_property(RecurringCharge, Symbol("Name"), Name) - OpenAPI.validate_property(RecurringCharge, Symbol("EffectiveDate"), EffectiveDate) - return new(RecurringCharge, Name, EffectiveDate, ) + o = new(RecurringCharge, Name, EffectiveDate, ) + OpenAPI.validate_properties(o) + return o end end # type RecurringCharge const _property_types_RecurringCharge = Dict{Symbol,String}(Symbol("RecurringCharge")=>"Int64", Symbol("Name")=>"String", Symbol("EffectiveDate")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ RecurringCharge }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RecurringCharge[name]))} -function check_required(o::RecurringCharge) +function OpenAPI.check_required(o::RecurringCharge) o.Name === nothing && (return false) true end +function OpenAPI.validate_properties(o::RecurringCharge) + OpenAPI.validate_property(RecurringCharge, Symbol("RecurringCharge"), o.RecurringCharge) + OpenAPI.validate_property(RecurringCharge, Symbol("Name"), o.Name) + OpenAPI.validate_property(RecurringCharge, Symbol("EffectiveDate"), o.EffectiveDate) +end + function OpenAPI.validate_property(::Type{ RecurringCharge }, name::Symbol, val) + + if name === Symbol("Name") OpenAPI.validate_param(name, "RecurringCharge", :enum, val, ["Recurring Charge", "Monetary Commitment", "Monetary Credit"]) end + + if name === Symbol("EffectiveDate") OpenAPI.validate_param(name, "RecurringCharge", :format, val, "date-time") end diff --git a/src/Commerce/UsageManagementClient/src/models/model_ResourceRateCardInfo.jl b/src/Commerce/UsageManagementClient/src/models/model_ResourceRateCardInfo.jl index 2fa80d3..5f7b76c 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_ResourceRateCardInfo.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_ResourceRateCardInfo.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceRateCardInfo <: OpenAPI.APIModel Meters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{MeterInfo} } function ResourceRateCardInfo(Currency, Locale, IsTaxIncluded, OfferTerms, Meters, ) - OpenAPI.validate_property(ResourceRateCardInfo, Symbol("Currency"), Currency) - OpenAPI.validate_property(ResourceRateCardInfo, Symbol("Locale"), Locale) - OpenAPI.validate_property(ResourceRateCardInfo, Symbol("IsTaxIncluded"), IsTaxIncluded) - OpenAPI.validate_property(ResourceRateCardInfo, Symbol("OfferTerms"), OfferTerms) - OpenAPI.validate_property(ResourceRateCardInfo, Symbol("Meters"), Meters) - return new(Currency, Locale, IsTaxIncluded, OfferTerms, Meters, ) + o = new(Currency, Locale, IsTaxIncluded, OfferTerms, Meters, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceRateCardInfo const _property_types_ResourceRateCardInfo = Dict{Symbol,String}(Symbol("Currency")=>"String", Symbol("Locale")=>"String", Symbol("IsTaxIncluded")=>"Bool", Symbol("OfferTerms")=>"Vector{OfferTermInfo}", Symbol("Meters")=>"Vector{MeterInfo}", ) OpenAPI.property_type(::Type{ ResourceRateCardInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceRateCardInfo[name]))} -function check_required(o::ResourceRateCardInfo) +function OpenAPI.check_required(o::ResourceRateCardInfo) true end +function OpenAPI.validate_properties(o::ResourceRateCardInfo) + OpenAPI.validate_property(ResourceRateCardInfo, Symbol("Currency"), o.Currency) + OpenAPI.validate_property(ResourceRateCardInfo, Symbol("Locale"), o.Locale) + OpenAPI.validate_property(ResourceRateCardInfo, Symbol("IsTaxIncluded"), o.IsTaxIncluded) + OpenAPI.validate_property(ResourceRateCardInfo, Symbol("OfferTerms"), o.OfferTerms) + OpenAPI.validate_property(ResourceRateCardInfo, Symbol("Meters"), o.Meters) +end + function OpenAPI.validate_property(::Type{ ResourceRateCardInfo }, name::Symbol, val) + + + + + end diff --git a/src/Commerce/UsageManagementClient/src/models/model_UsageAggregation.jl b/src/Commerce/UsageManagementClient/src/models/model_UsageAggregation.jl index d7672dd..1c63b58 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_UsageAggregation.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_UsageAggregation.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct UsageAggregation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, UsageSample } function UsageAggregation(id, name, type, properties, ) - OpenAPI.validate_property(UsageAggregation, Symbol("id"), id) - OpenAPI.validate_property(UsageAggregation, Symbol("name"), name) - OpenAPI.validate_property(UsageAggregation, Symbol("type"), type) - OpenAPI.validate_property(UsageAggregation, Symbol("properties"), properties) - return new(id, name, type, properties, ) + o = new(id, name, type, properties, ) + OpenAPI.validate_properties(o) + return o end end # type UsageAggregation const _property_types_UsageAggregation = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"UsageSample", ) OpenAPI.property_type(::Type{ UsageAggregation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageAggregation[name]))} -function check_required(o::UsageAggregation) +function OpenAPI.check_required(o::UsageAggregation) true end +function OpenAPI.validate_properties(o::UsageAggregation) + OpenAPI.validate_property(UsageAggregation, Symbol("id"), o.id) + OpenAPI.validate_property(UsageAggregation, Symbol("name"), o.name) + OpenAPI.validate_property(UsageAggregation, Symbol("type"), o.type) + OpenAPI.validate_property(UsageAggregation, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UsageAggregation }, name::Symbol, val) + + + + end diff --git a/src/Commerce/UsageManagementClient/src/models/model_UsageAggregationListResult.jl b/src/Commerce/UsageManagementClient/src/models/model_UsageAggregationListResult.jl index bf81c09..4c7bbb7 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_UsageAggregationListResult.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_UsageAggregationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UsageAggregationListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function UsageAggregationListResult(value, nextLink, ) - OpenAPI.validate_property(UsageAggregationListResult, Symbol("value"), value) - OpenAPI.validate_property(UsageAggregationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type UsageAggregationListResult const _property_types_UsageAggregationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{UsageAggregation}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ UsageAggregationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageAggregationListResult[name]))} -function check_required(o::UsageAggregationListResult) +function OpenAPI.check_required(o::UsageAggregationListResult) true end +function OpenAPI.validate_properties(o::UsageAggregationListResult) + OpenAPI.validate_property(UsageAggregationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(UsageAggregationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ UsageAggregationListResult }, name::Symbol, val) + + end diff --git a/src/Commerce/UsageManagementClient/src/models/model_UsageSample.jl b/src/Commerce/UsageManagementClient/src/models/model_UsageSample.jl index 2f31ee1..57ea4c2 100644 --- a/src/Commerce/UsageManagementClient/src/models/model_UsageSample.jl +++ b/src/Commerce/UsageManagementClient/src/models/model_UsageSample.jl @@ -30,7 +30,7 @@ Describes a sample of the usageAggregation. - meterCategory::String : Category of the consumed resource. - meterSubCategory::String : Sub-category of the consumed resource. - meterRegion::String : Region of the meterId used for billing purposes - - infoFields::InfoField + - infoFields::Any : Key-value pairs of instance details in the legacy format. - instanceData::String : Key-value pairs of instance details represented as a string. """ Base.@kwdef mutable struct UsageSample <: OpenAPI.APIModel @@ -44,44 +44,61 @@ Base.@kwdef mutable struct UsageSample <: OpenAPI.APIModel meterCategory::Union{Nothing, String} = nothing meterSubCategory::Union{Nothing, String} = nothing meterRegion::Union{Nothing, String} = nothing - infoFields = nothing # spec type: Union{ Nothing, InfoField } + infoFields::Union{Nothing, Any} = nothing instanceData::Union{Nothing, String} = nothing function UsageSample(subscriptionId, meterId, usageStartTime, usageEndTime, quantity, unit, meterName, meterCategory, meterSubCategory, meterRegion, infoFields, instanceData, ) - OpenAPI.validate_property(UsageSample, Symbol("subscriptionId"), subscriptionId) - OpenAPI.validate_property(UsageSample, Symbol("meterId"), meterId) - OpenAPI.validate_property(UsageSample, Symbol("usageStartTime"), usageStartTime) - OpenAPI.validate_property(UsageSample, Symbol("usageEndTime"), usageEndTime) - OpenAPI.validate_property(UsageSample, Symbol("quantity"), quantity) - OpenAPI.validate_property(UsageSample, Symbol("unit"), unit) - OpenAPI.validate_property(UsageSample, Symbol("meterName"), meterName) - OpenAPI.validate_property(UsageSample, Symbol("meterCategory"), meterCategory) - OpenAPI.validate_property(UsageSample, Symbol("meterSubCategory"), meterSubCategory) - OpenAPI.validate_property(UsageSample, Symbol("meterRegion"), meterRegion) - OpenAPI.validate_property(UsageSample, Symbol("infoFields"), infoFields) - OpenAPI.validate_property(UsageSample, Symbol("instanceData"), instanceData) - return new(subscriptionId, meterId, usageStartTime, usageEndTime, quantity, unit, meterName, meterCategory, meterSubCategory, meterRegion, infoFields, instanceData, ) + o = new(subscriptionId, meterId, usageStartTime, usageEndTime, quantity, unit, meterName, meterCategory, meterSubCategory, meterRegion, infoFields, instanceData, ) + OpenAPI.validate_properties(o) + return o end end # type UsageSample -const _property_types_UsageSample = Dict{Symbol,String}(Symbol("subscriptionId")=>"String", Symbol("meterId")=>"String", Symbol("usageStartTime")=>"ZonedDateTime", Symbol("usageEndTime")=>"ZonedDateTime", Symbol("quantity")=>"Float32", Symbol("unit")=>"String", Symbol("meterName")=>"String", Symbol("meterCategory")=>"String", Symbol("meterSubCategory")=>"String", Symbol("meterRegion")=>"String", Symbol("infoFields")=>"InfoField", Symbol("instanceData")=>"String", ) +const _property_types_UsageSample = Dict{Symbol,String}(Symbol("subscriptionId")=>"String", Symbol("meterId")=>"String", Symbol("usageStartTime")=>"ZonedDateTime", Symbol("usageEndTime")=>"ZonedDateTime", Symbol("quantity")=>"Float32", Symbol("unit")=>"String", Symbol("meterName")=>"String", Symbol("meterCategory")=>"String", Symbol("meterSubCategory")=>"String", Symbol("meterRegion")=>"String", Symbol("infoFields")=>"Any", Symbol("instanceData")=>"String", ) OpenAPI.property_type(::Type{ UsageSample }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageSample[name]))} -function check_required(o::UsageSample) +function OpenAPI.check_required(o::UsageSample) true end +function OpenAPI.validate_properties(o::UsageSample) + OpenAPI.validate_property(UsageSample, Symbol("subscriptionId"), o.subscriptionId) + OpenAPI.validate_property(UsageSample, Symbol("meterId"), o.meterId) + OpenAPI.validate_property(UsageSample, Symbol("usageStartTime"), o.usageStartTime) + OpenAPI.validate_property(UsageSample, Symbol("usageEndTime"), o.usageEndTime) + OpenAPI.validate_property(UsageSample, Symbol("quantity"), o.quantity) + OpenAPI.validate_property(UsageSample, Symbol("unit"), o.unit) + OpenAPI.validate_property(UsageSample, Symbol("meterName"), o.meterName) + OpenAPI.validate_property(UsageSample, Symbol("meterCategory"), o.meterCategory) + OpenAPI.validate_property(UsageSample, Symbol("meterSubCategory"), o.meterSubCategory) + OpenAPI.validate_property(UsageSample, Symbol("meterRegion"), o.meterRegion) + OpenAPI.validate_property(UsageSample, Symbol("infoFields"), o.infoFields) + OpenAPI.validate_property(UsageSample, Symbol("instanceData"), o.instanceData) +end + function OpenAPI.validate_property(::Type{ UsageSample }, name::Symbol, val) + if name === Symbol("subscriptionId") OpenAPI.validate_param(name, "UsageSample", :format, val, "uuid") end + + if name === Symbol("usageStartTime") OpenAPI.validate_param(name, "UsageSample", :format, val, "date-time") end + if name === Symbol("usageEndTime") OpenAPI.validate_param(name, "UsageSample", :format, val, "date-time") end + if name === Symbol("quantity") OpenAPI.validate_param(name, "UsageSample", :format, val, "float") end + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/.openapi-generator/FILES b/src/Compute/ComputeManagementClient/.openapi-generator/FILES index d175527..7497d90 100644 --- a/src/Compute/ComputeManagementClient/.openapi-generator/FILES +++ b/src/Compute/ComputeManagementClient/.openapi-generator/FILES @@ -5,20 +5,38 @@ docs/AdditionalUnattendContent.md docs/ApiEntityReference.md docs/ApiError.md docs/ApiErrorBase.md +docs/ApplicationProfile.md +docs/ArchitectureType.md docs/AutomaticOSUpgradePolicy.md docs/AutomaticOSUpgradeProperties.md docs/AutomaticRepairsPolicy.md docs/AvailabilitySet.md -docs/AvailabilitySetAllOf.md docs/AvailabilitySetListResult.md docs/AvailabilitySetProperties.md docs/AvailabilitySetSkuType.md docs/AvailabilitySetUpdate.md docs/AvailabilitySetsApi.md +docs/AvailablePatchSummary.md docs/BillingProfile.md docs/BootDiagnostics.md docs/BootDiagnosticsInstanceView.md docs/Caching.md +docs/CapacityReservation.md +docs/CapacityReservationApi.md +docs/CapacityReservationGroup.md +docs/CapacityReservationGroupInstanceView.md +docs/CapacityReservationGroupListResult.md +docs/CapacityReservationGroupProperties.md +docs/CapacityReservationGroupUpdate.md +docs/CapacityReservationGroupsApi.md +docs/CapacityReservationInstanceView.md +docs/CapacityReservationInstanceViewWithName.md +docs/CapacityReservationListResult.md +docs/CapacityReservationProfile.md +docs/CapacityReservationProperties.md +docs/CapacityReservationUpdate.md +docs/CapacityReservationUtilization.md +docs/CapacityReservationsApi.md docs/CloudError.md docs/ComputeOperationListResult.md docs/ComputeOperationValue.md @@ -44,6 +62,9 @@ docs/DedicatedHostListResult.md docs/DedicatedHostProperties.md docs/DedicatedHostUpdate.md docs/DedicatedHostsApi.md +docs/DefaultApi.md +docs/DeleteOption.md +docs/DetachOption.md docs/DiagnosticsProfile.md docs/DiffDiskOption.md docs/DiffDiskPlacement.md @@ -52,18 +73,20 @@ docs/DisallowedConfiguration.md docs/DiskEncryptionSetParameters.md docs/DiskEncryptionSettings.md docs/DiskInstanceView.md +docs/DiskRestorePointInstanceView.md +docs/DiskRestorePointReplicationStatus.md docs/EvictionPolicy.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/HardwareProfile.md docs/HyperVGenerationType.md docs/Image.md -docs/ImageAllOf.md docs/ImageDataDisk.md docs/ImageDisk.md docs/ImageListResult.md docs/ImageOSDisk.md docs/ImageProperties.md docs/ImageReference.md -docs/ImageReferenceAllOf.md docs/ImageStorageProfile.md docs/ImageUpdate.md docs/ImagesApi.md @@ -71,7 +94,10 @@ docs/InnerError.md docs/InstanceViewStatus.md docs/KeyVaultKeyReference.md docs/KeyVaultSecretReference.md +docs/LastPatchInstallationSummary.md docs/LinuxConfiguration.md +docs/LinuxParameters.md +docs/LinuxPatchSettings.md docs/ListUsagesResult.md docs/LogAnalyticsApi.md docs/LogAnalyticsInputBase.md @@ -79,16 +105,16 @@ docs/LogAnalyticsOperationResult.md docs/LogAnalyticsOutput.md docs/MaintenanceRedeployStatus.md docs/ManagedDiskParameters.md -docs/ManagedDiskParametersAllOf.md docs/NetworkInterfaceReference.md -docs/NetworkInterfaceReferenceAllOf.md docs/NetworkInterfaceReferenceProperties.md docs/NetworkProfile.md docs/OSDisk.md docs/OSDiskImage.md docs/OSProfile.md +docs/OrchestrationMode.md docs/OrchestrationServiceStateInput.md docs/OrchestrationServiceSummary.md +docs/PatchInstallationDetail.md docs/PatchSettings.md docs/Plan.md docs/Priority.md @@ -97,10 +123,25 @@ docs/ProximityPlacementGroupListResult.md docs/ProximityPlacementGroupProperties.md docs/ProximityPlacementGroupUpdate.md docs/ProximityPlacementGroupsApi.md +docs/ProxyResource.md +docs/PublicIPAddressSku.md docs/PurchasePlan.md docs/RecoveryWalkResponse.md docs/RequestRateByIntervalInput.md docs/Resource.md +docs/RestorePoint.md +docs/RestorePointCollection.md +docs/RestorePointCollectionListResult.md +docs/RestorePointCollectionProperties.md +docs/RestorePointCollectionSourceProperties.md +docs/RestorePointCollectionUpdate.md +docs/RestorePointCollectionsApi.md +docs/RestorePointInstanceView.md +docs/RestorePointProperties.md +docs/RestorePointSourceMetadata.md +docs/RestorePointSourceVMDataDisk.md +docs/RestorePointSourceVMOSDisk.md +docs/RestorePointSourceVMStorageProfile.md docs/RetrieveBootDiagnosticsDataResult.md docs/RollbackStatusInfo.md docs/RollingUpgradePolicy.md @@ -112,6 +153,7 @@ docs/ScaleInPolicy.md docs/ScheduledEventsProfile.md docs/SecurityProfile.md docs/Sku.md +docs/SpotRestorePolicy.md docs/SshConfiguration.md docs/SshPublicKey.md docs/SshPublicKeyGenerateKeyPairResult.md @@ -127,6 +169,7 @@ docs/SubResourceReadOnly.md docs/SubResourceWithColocationStatus.md docs/TerminateNotificationProfile.md docs/ThrottledRequestsInput.md +docs/UefiSettings.md docs/UpdateResource.md docs/UpgradeOperationHistoricalStatusInfo.md docs/UpgradeOperationHistoricalStatusInfoProperties.md @@ -135,22 +178,21 @@ docs/UpgradePolicy.md docs/Usage.md docs/UsageApi.md docs/UsageName.md +docs/VMDiskSecurityProfile.md +docs/VMGalleryApplication.md docs/VMScaleSetConvertToSinglePlacementGroupInput.md +docs/VMSizeProperties.md docs/VaultCertificate.md docs/VaultSecretGroup.md docs/VirtualHardDisk.md docs/VirtualMachine.md docs/VirtualMachineAgentInstanceView.md -docs/VirtualMachineAllOf.md docs/VirtualMachineAssessPatchesResult.md docs/VirtualMachineCaptureParameters.md docs/VirtualMachineCaptureResult.md -docs/VirtualMachineCaptureResultAllOf.md docs/VirtualMachineExtension.md -docs/VirtualMachineExtensionAllOf.md docs/VirtualMachineExtensionHandlerInstanceView.md docs/VirtualMachineExtensionImage.md -docs/VirtualMachineExtensionImageAllOf.md docs/VirtualMachineExtensionImageProperties.md docs/VirtualMachineExtensionImagesApi.md docs/VirtualMachineExtensionInstanceView.md @@ -163,29 +205,39 @@ docs/VirtualMachineHealthStatus.md docs/VirtualMachineIdentity.md docs/VirtualMachineIdentityUserAssignedIdentitiesValue.md docs/VirtualMachineImage.md -docs/VirtualMachineImageAllOf.md +docs/VirtualMachineImageFeature.md docs/VirtualMachineImageProperties.md docs/VirtualMachineImageResource.md -docs/VirtualMachineImageResourceAllOf.md docs/VirtualMachineImagesApi.md +docs/VirtualMachineInstallPatchesParameters.md +docs/VirtualMachineInstallPatchesResult.md docs/VirtualMachineInstanceView.md +docs/VirtualMachineIpTag.md docs/VirtualMachineListResult.md +docs/VirtualMachineNetworkInterfaceConfiguration.md +docs/VirtualMachineNetworkInterfaceConfigurationProperties.md +docs/VirtualMachineNetworkInterfaceDnsSettingsConfiguration.md +docs/VirtualMachineNetworkInterfaceIPConfiguration.md +docs/VirtualMachineNetworkInterfaceIPConfigurationProperties.md +docs/VirtualMachinePatchStatus.md docs/VirtualMachineProperties.md +docs/VirtualMachinePublicIPAddressConfiguration.md +docs/VirtualMachinePublicIPAddressConfigurationProperties.md +docs/VirtualMachinePublicIPAddressDnsSettingsConfiguration.md docs/VirtualMachineReimageParameters.md docs/VirtualMachineScaleSet.md -docs/VirtualMachineScaleSetAllOf.md docs/VirtualMachineScaleSetDataDisk.md docs/VirtualMachineScaleSetExtension.md -docs/VirtualMachineScaleSetExtensionAllOf.md docs/VirtualMachineScaleSetExtensionListResult.md docs/VirtualMachineScaleSetExtensionProfile.md docs/VirtualMachineScaleSetExtensionProperties.md docs/VirtualMachineScaleSetExtensionUpdate.md docs/VirtualMachineScaleSetExtensionsApi.md +docs/VirtualMachineScaleSetHardwareProfile.md docs/VirtualMachineScaleSetIPConfiguration.md -docs/VirtualMachineScaleSetIPConfigurationAllOf.md docs/VirtualMachineScaleSetIPConfigurationProperties.md docs/VirtualMachineScaleSetIdentity.md +docs/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.md docs/VirtualMachineScaleSetInstanceView.md docs/VirtualMachineScaleSetInstanceViewStatusesSummary.md docs/VirtualMachineScaleSetIpTag.md @@ -195,7 +247,6 @@ docs/VirtualMachineScaleSetListSkusResult.md docs/VirtualMachineScaleSetListWithLinkResult.md docs/VirtualMachineScaleSetManagedDiskParameters.md docs/VirtualMachineScaleSetNetworkConfiguration.md -docs/VirtualMachineScaleSetNetworkConfigurationAllOf.md docs/VirtualMachineScaleSetNetworkConfigurationDnsSettings.md docs/VirtualMachineScaleSetNetworkConfigurationProperties.md docs/VirtualMachineScaleSetNetworkProfile.md @@ -224,8 +275,10 @@ docs/VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.md docs/VirtualMachineScaleSetUpdateStorageProfile.md docs/VirtualMachineScaleSetUpdateVMProfile.md docs/VirtualMachineScaleSetVM.md -docs/VirtualMachineScaleSetVMAllOf.md +docs/VirtualMachineScaleSetVMExtension.md +docs/VirtualMachineScaleSetVMExtensionUpdate.md docs/VirtualMachineScaleSetVMExtensionsApi.md +docs/VirtualMachineScaleSetVMExtensionsListResult.md docs/VirtualMachineScaleSetVMExtensionsSummary.md docs/VirtualMachineScaleSetVMInstanceIDs.md docs/VirtualMachineScaleSetVMInstanceRequiredIDs.md @@ -248,15 +301,21 @@ docs/VirtualMachinesApi.md docs/WinRMConfiguration.md docs/WinRMListener.md docs/WindowsConfiguration.md +docs/WindowsParameters.md src/ComputeManagementClient.jl src/apis/api_AvailabilitySetsApi.jl +src/apis/api_CapacityReservationApi.jl +src/apis/api_CapacityReservationGroupsApi.jl +src/apis/api_CapacityReservationsApi.jl src/apis/api_ComputeOperationsApi.jl src/apis/api_DedicatedHostApi.jl src/apis/api_DedicatedHostGroupsApi.jl src/apis/api_DedicatedHostsApi.jl +src/apis/api_DefaultApi.jl src/apis/api_ImagesApi.jl src/apis/api_LogAnalyticsApi.jl src/apis/api_ProximityPlacementGroupsApi.jl +src/apis/api_RestorePointCollectionsApi.jl src/apis/api_SshPublicKeysApi.jl src/apis/api_UsageApi.jl src/apis/api_VirtualMachineExtensionImagesApi.jl @@ -275,19 +334,34 @@ src/models/model_AdditionalUnattendContent.jl src/models/model_ApiEntityReference.jl src/models/model_ApiError.jl src/models/model_ApiErrorBase.jl +src/models/model_ApplicationProfile.jl +src/models/model_ArchitectureType.jl src/models/model_AutomaticOSUpgradePolicy.jl src/models/model_AutomaticOSUpgradeProperties.jl src/models/model_AutomaticRepairsPolicy.jl src/models/model_AvailabilitySet.jl -src/models/model_AvailabilitySetAllOf.jl src/models/model_AvailabilitySetListResult.jl src/models/model_AvailabilitySetProperties.jl src/models/model_AvailabilitySetSkuType.jl src/models/model_AvailabilitySetUpdate.jl +src/models/model_AvailablePatchSummary.jl src/models/model_BillingProfile.jl src/models/model_BootDiagnostics.jl src/models/model_BootDiagnosticsInstanceView.jl src/models/model_Caching.jl +src/models/model_CapacityReservation.jl +src/models/model_CapacityReservationGroup.jl +src/models/model_CapacityReservationGroupInstanceView.jl +src/models/model_CapacityReservationGroupListResult.jl +src/models/model_CapacityReservationGroupProperties.jl +src/models/model_CapacityReservationGroupUpdate.jl +src/models/model_CapacityReservationInstanceView.jl +src/models/model_CapacityReservationInstanceViewWithName.jl +src/models/model_CapacityReservationListResult.jl +src/models/model_CapacityReservationProfile.jl +src/models/model_CapacityReservationProperties.jl +src/models/model_CapacityReservationUpdate.jl +src/models/model_CapacityReservationUtilization.jl src/models/model_CloudError.jl src/models/model_ComputeOperationListResult.jl src/models/model_ComputeOperationValue.jl @@ -309,6 +383,8 @@ src/models/model_DedicatedHostLicenseType.jl src/models/model_DedicatedHostListResult.jl src/models/model_DedicatedHostProperties.jl src/models/model_DedicatedHostUpdate.jl +src/models/model_DeleteOption.jl +src/models/model_DetachOption.jl src/models/model_DiagnosticsProfile.jl src/models/model_DiffDiskOption.jl src/models/model_DiffDiskPlacement.jl @@ -317,41 +393,46 @@ src/models/model_DisallowedConfiguration.jl src/models/model_DiskEncryptionSetParameters.jl src/models/model_DiskEncryptionSettings.jl src/models/model_DiskInstanceView.jl +src/models/model_DiskRestorePointInstanceView.jl +src/models/model_DiskRestorePointReplicationStatus.jl src/models/model_EvictionPolicy.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_HardwareProfile.jl src/models/model_HyperVGenerationType.jl src/models/model_Image.jl -src/models/model_ImageAllOf.jl src/models/model_ImageDataDisk.jl src/models/model_ImageDisk.jl src/models/model_ImageListResult.jl src/models/model_ImageOSDisk.jl src/models/model_ImageProperties.jl src/models/model_ImageReference.jl -src/models/model_ImageReferenceAllOf.jl src/models/model_ImageStorageProfile.jl src/models/model_ImageUpdate.jl src/models/model_InnerError.jl src/models/model_InstanceViewStatus.jl src/models/model_KeyVaultKeyReference.jl src/models/model_KeyVaultSecretReference.jl +src/models/model_LastPatchInstallationSummary.jl src/models/model_LinuxConfiguration.jl +src/models/model_LinuxParameters.jl +src/models/model_LinuxPatchSettings.jl src/models/model_ListUsagesResult.jl src/models/model_LogAnalyticsInputBase.jl src/models/model_LogAnalyticsOperationResult.jl src/models/model_LogAnalyticsOutput.jl src/models/model_MaintenanceRedeployStatus.jl src/models/model_ManagedDiskParameters.jl -src/models/model_ManagedDiskParametersAllOf.jl src/models/model_NetworkInterfaceReference.jl -src/models/model_NetworkInterfaceReferenceAllOf.jl src/models/model_NetworkInterfaceReferenceProperties.jl src/models/model_NetworkProfile.jl src/models/model_OSDisk.jl src/models/model_OSDiskImage.jl src/models/model_OSProfile.jl +src/models/model_OrchestrationMode.jl src/models/model_OrchestrationServiceStateInput.jl src/models/model_OrchestrationServiceSummary.jl +src/models/model_PatchInstallationDetail.jl src/models/model_PatchSettings.jl src/models/model_Plan.jl src/models/model_Priority.jl @@ -359,10 +440,24 @@ src/models/model_ProximityPlacementGroup.jl src/models/model_ProximityPlacementGroupListResult.jl src/models/model_ProximityPlacementGroupProperties.jl src/models/model_ProximityPlacementGroupUpdate.jl +src/models/model_ProxyResource.jl +src/models/model_PublicIPAddressSku.jl src/models/model_PurchasePlan.jl src/models/model_RecoveryWalkResponse.jl src/models/model_RequestRateByIntervalInput.jl src/models/model_Resource.jl +src/models/model_RestorePoint.jl +src/models/model_RestorePointCollection.jl +src/models/model_RestorePointCollectionListResult.jl +src/models/model_RestorePointCollectionProperties.jl +src/models/model_RestorePointCollectionSourceProperties.jl +src/models/model_RestorePointCollectionUpdate.jl +src/models/model_RestorePointInstanceView.jl +src/models/model_RestorePointProperties.jl +src/models/model_RestorePointSourceMetadata.jl +src/models/model_RestorePointSourceVMDataDisk.jl +src/models/model_RestorePointSourceVMOSDisk.jl +src/models/model_RestorePointSourceVMStorageProfile.jl src/models/model_RetrieveBootDiagnosticsDataResult.jl src/models/model_RollbackStatusInfo.jl src/models/model_RollingUpgradePolicy.jl @@ -374,6 +469,7 @@ src/models/model_ScaleInPolicy.jl src/models/model_ScheduledEventsProfile.jl src/models/model_SecurityProfile.jl src/models/model_Sku.jl +src/models/model_SpotRestorePolicy.jl src/models/model_SshConfiguration.jl src/models/model_SshPublicKey.jl src/models/model_SshPublicKeyGenerateKeyPairResult.jl @@ -388,6 +484,7 @@ src/models/model_SubResourceReadOnly.jl src/models/model_SubResourceWithColocationStatus.jl src/models/model_TerminateNotificationProfile.jl src/models/model_ThrottledRequestsInput.jl +src/models/model_UefiSettings.jl src/models/model_UpdateResource.jl src/models/model_UpgradeOperationHistoricalStatusInfo.jl src/models/model_UpgradeOperationHistoricalStatusInfoProperties.jl @@ -395,22 +492,21 @@ src/models/model_UpgradeOperationHistoryStatus.jl src/models/model_UpgradePolicy.jl src/models/model_Usage.jl src/models/model_UsageName.jl +src/models/model_VMDiskSecurityProfile.jl +src/models/model_VMGalleryApplication.jl src/models/model_VMScaleSetConvertToSinglePlacementGroupInput.jl +src/models/model_VMSizeProperties.jl src/models/model_VaultCertificate.jl src/models/model_VaultSecretGroup.jl src/models/model_VirtualHardDisk.jl src/models/model_VirtualMachine.jl src/models/model_VirtualMachineAgentInstanceView.jl -src/models/model_VirtualMachineAllOf.jl src/models/model_VirtualMachineAssessPatchesResult.jl src/models/model_VirtualMachineCaptureParameters.jl src/models/model_VirtualMachineCaptureResult.jl -src/models/model_VirtualMachineCaptureResultAllOf.jl src/models/model_VirtualMachineExtension.jl -src/models/model_VirtualMachineExtensionAllOf.jl src/models/model_VirtualMachineExtensionHandlerInstanceView.jl src/models/model_VirtualMachineExtensionImage.jl -src/models/model_VirtualMachineExtensionImageAllOf.jl src/models/model_VirtualMachineExtensionImageProperties.jl src/models/model_VirtualMachineExtensionInstanceView.jl src/models/model_VirtualMachineExtensionProperties.jl @@ -421,27 +517,37 @@ src/models/model_VirtualMachineHealthStatus.jl src/models/model_VirtualMachineIdentity.jl src/models/model_VirtualMachineIdentityUserAssignedIdentitiesValue.jl src/models/model_VirtualMachineImage.jl -src/models/model_VirtualMachineImageAllOf.jl +src/models/model_VirtualMachineImageFeature.jl src/models/model_VirtualMachineImageProperties.jl src/models/model_VirtualMachineImageResource.jl -src/models/model_VirtualMachineImageResourceAllOf.jl +src/models/model_VirtualMachineInstallPatchesParameters.jl +src/models/model_VirtualMachineInstallPatchesResult.jl src/models/model_VirtualMachineInstanceView.jl +src/models/model_VirtualMachineIpTag.jl src/models/model_VirtualMachineListResult.jl +src/models/model_VirtualMachineNetworkInterfaceConfiguration.jl +src/models/model_VirtualMachineNetworkInterfaceConfigurationProperties.jl +src/models/model_VirtualMachineNetworkInterfaceDnsSettingsConfiguration.jl +src/models/model_VirtualMachineNetworkInterfaceIPConfiguration.jl +src/models/model_VirtualMachineNetworkInterfaceIPConfigurationProperties.jl +src/models/model_VirtualMachinePatchStatus.jl src/models/model_VirtualMachineProperties.jl +src/models/model_VirtualMachinePublicIPAddressConfiguration.jl +src/models/model_VirtualMachinePublicIPAddressConfigurationProperties.jl +src/models/model_VirtualMachinePublicIPAddressDnsSettingsConfiguration.jl src/models/model_VirtualMachineReimageParameters.jl src/models/model_VirtualMachineScaleSet.jl -src/models/model_VirtualMachineScaleSetAllOf.jl src/models/model_VirtualMachineScaleSetDataDisk.jl src/models/model_VirtualMachineScaleSetExtension.jl -src/models/model_VirtualMachineScaleSetExtensionAllOf.jl src/models/model_VirtualMachineScaleSetExtensionListResult.jl src/models/model_VirtualMachineScaleSetExtensionProfile.jl src/models/model_VirtualMachineScaleSetExtensionProperties.jl src/models/model_VirtualMachineScaleSetExtensionUpdate.jl +src/models/model_VirtualMachineScaleSetHardwareProfile.jl src/models/model_VirtualMachineScaleSetIPConfiguration.jl -src/models/model_VirtualMachineScaleSetIPConfigurationAllOf.jl src/models/model_VirtualMachineScaleSetIPConfigurationProperties.jl src/models/model_VirtualMachineScaleSetIdentity.jl +src/models/model_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.jl src/models/model_VirtualMachineScaleSetInstanceView.jl src/models/model_VirtualMachineScaleSetInstanceViewStatusesSummary.jl src/models/model_VirtualMachineScaleSetIpTag.jl @@ -451,7 +557,6 @@ src/models/model_VirtualMachineScaleSetListSkusResult.jl src/models/model_VirtualMachineScaleSetListWithLinkResult.jl src/models/model_VirtualMachineScaleSetManagedDiskParameters.jl src/models/model_VirtualMachineScaleSetNetworkConfiguration.jl -src/models/model_VirtualMachineScaleSetNetworkConfigurationAllOf.jl src/models/model_VirtualMachineScaleSetNetworkConfigurationDnsSettings.jl src/models/model_VirtualMachineScaleSetNetworkConfigurationProperties.jl src/models/model_VirtualMachineScaleSetNetworkProfile.jl @@ -479,7 +584,9 @@ src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationPropert src/models/model_VirtualMachineScaleSetUpdateStorageProfile.jl src/models/model_VirtualMachineScaleSetUpdateVMProfile.jl src/models/model_VirtualMachineScaleSetVM.jl -src/models/model_VirtualMachineScaleSetVMAllOf.jl +src/models/model_VirtualMachineScaleSetVMExtension.jl +src/models/model_VirtualMachineScaleSetVMExtensionUpdate.jl +src/models/model_VirtualMachineScaleSetVMExtensionsListResult.jl src/models/model_VirtualMachineScaleSetVMExtensionsSummary.jl src/models/model_VirtualMachineScaleSetVMInstanceIDs.jl src/models/model_VirtualMachineScaleSetVMInstanceRequiredIDs.jl @@ -498,3 +605,4 @@ src/models/model_VirtualMachineUpdate.jl src/models/model_WinRMConfiguration.jl src/models/model_WinRMListener.jl src/models/model_WindowsConfiguration.jl +src/models/model_WindowsParameters.jl diff --git a/src/Compute/ComputeManagementClient/.openapi-generator/VERSION b/src/Compute/ComputeManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Compute/ComputeManagementClient/.openapi-generator/VERSION +++ b/src/Compute/ComputeManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Compute/ComputeManagementClient/README.md b/src/Compute/ComputeManagementClient/README.md index cad74ce..27e346f 100644 --- a/src/Compute/ComputeManagementClient/README.md +++ b/src/Compute/ComputeManagementClient/README.md @@ -5,7 +5,8 @@ The Compute Management Client. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-06-01 +- API version: 2021-11-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -27,8 +28,20 @@ Class | Method *AvailabilitySetsApi* | [**availability_sets_list_available_sizes**](docs/AvailabilitySetsApi.md#availability_sets_list_available_sizes)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}/vmSizes
*AvailabilitySetsApi* | [**availability_sets_list_by_subscription**](docs/AvailabilitySetsApi.md#availability_sets_list_by_subscription)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets
*AvailabilitySetsApi* | [**availability_sets_update**](docs/AvailabilitySetsApi.md#availability_sets_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets/{availabilitySetName}
+*CapacityReservationApi* | [**capacity_reservations_list_by_capacity_reservation_group**](docs/CapacityReservationApi.md#capacity_reservations_list_by_capacity_reservation_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations
+*CapacityReservationGroupsApi* | [**capacity_reservation_groups_create_or_update**](docs/CapacityReservationGroupsApi.md#capacity_reservation_groups_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}
+*CapacityReservationGroupsApi* | [**capacity_reservation_groups_delete**](docs/CapacityReservationGroupsApi.md#capacity_reservation_groups_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}
+*CapacityReservationGroupsApi* | [**capacity_reservation_groups_get**](docs/CapacityReservationGroupsApi.md#capacity_reservation_groups_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}
+*CapacityReservationGroupsApi* | [**capacity_reservation_groups_list_by_resource_group**](docs/CapacityReservationGroupsApi.md#capacity_reservation_groups_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups
+*CapacityReservationGroupsApi* | [**capacity_reservation_groups_list_by_subscription**](docs/CapacityReservationGroupsApi.md#capacity_reservation_groups_list_by_subscription)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups
+*CapacityReservationGroupsApi* | [**capacity_reservation_groups_update**](docs/CapacityReservationGroupsApi.md#capacity_reservation_groups_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}
+*CapacityReservationsApi* | [**capacity_reservations_create_or_update**](docs/CapacityReservationsApi.md#capacity_reservations_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}
+*CapacityReservationsApi* | [**capacity_reservations_delete**](docs/CapacityReservationsApi.md#capacity_reservations_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}
+*CapacityReservationsApi* | [**capacity_reservations_get**](docs/CapacityReservationsApi.md#capacity_reservations_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}
+*CapacityReservationsApi* | [**capacity_reservations_update**](docs/CapacityReservationsApi.md#capacity_reservations_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}
*ComputeOperationsApi* | [**operations_list**](docs/ComputeOperationsApi.md#operations_list)
**GET** /providers/Microsoft.Compute/operations
*DedicatedHostApi* | [**dedicated_hosts_list_by_host_group**](docs/DedicatedHostApi.md#dedicated_hosts_list_by_host_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts
+*DedicatedHostApi* | [**dedicated_hosts_restart**](docs/DedicatedHostApi.md#dedicated_hosts_restart)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart
*DedicatedHostGroupsApi* | [**dedicated_host_groups_create_or_update**](docs/DedicatedHostGroupsApi.md#dedicated_host_groups_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
*DedicatedHostGroupsApi* | [**dedicated_host_groups_delete**](docs/DedicatedHostGroupsApi.md#dedicated_host_groups_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
*DedicatedHostGroupsApi* | [**dedicated_host_groups_get**](docs/DedicatedHostGroupsApi.md#dedicated_host_groups_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}
@@ -39,6 +52,9 @@ Class | Method *DedicatedHostsApi* | [**dedicated_hosts_delete**](docs/DedicatedHostsApi.md#dedicated_hosts_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}
*DedicatedHostsApi* | [**dedicated_hosts_get**](docs/DedicatedHostsApi.md#dedicated_hosts_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}
*DedicatedHostsApi* | [**dedicated_hosts_update**](docs/DedicatedHostsApi.md#dedicated_hosts_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}
+*DefaultApi* | [**restore_points_create**](docs/DefaultApi.md#restore_points_create)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}
+*DefaultApi* | [**restore_points_delete**](docs/DefaultApi.md#restore_points_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}
+*DefaultApi* | [**restore_points_get**](docs/DefaultApi.md#restore_points_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}
*ImagesApi* | [**images_create_or_update**](docs/ImagesApi.md#images_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
*ImagesApi* | [**images_delete**](docs/ImagesApi.md#images_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
*ImagesApi* | [**images_get**](docs/ImagesApi.md#images_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images/{imageName}
@@ -53,6 +69,12 @@ Class | Method *ProximityPlacementGroupsApi* | [**proximity_placement_groups_list_by_resource_group**](docs/ProximityPlacementGroupsApi.md#proximity_placement_groups_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups
*ProximityPlacementGroupsApi* | [**proximity_placement_groups_list_by_subscription**](docs/ProximityPlacementGroupsApi.md#proximity_placement_groups_list_by_subscription)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups
*ProximityPlacementGroupsApi* | [**proximity_placement_groups_update**](docs/ProximityPlacementGroupsApi.md#proximity_placement_groups_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups/{proximityPlacementGroupName}
+*RestorePointCollectionsApi* | [**restore_point_collections_create_or_update**](docs/RestorePointCollectionsApi.md#restore_point_collections_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
+*RestorePointCollectionsApi* | [**restore_point_collections_delete**](docs/RestorePointCollectionsApi.md#restore_point_collections_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
+*RestorePointCollectionsApi* | [**restore_point_collections_get**](docs/RestorePointCollectionsApi.md#restore_point_collections_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
+*RestorePointCollectionsApi* | [**restore_point_collections_list**](docs/RestorePointCollectionsApi.md#restore_point_collections_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections
+*RestorePointCollectionsApi* | [**restore_point_collections_list_all**](docs/RestorePointCollectionsApi.md#restore_point_collections_list_all)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections
+*RestorePointCollectionsApi* | [**restore_point_collections_update**](docs/RestorePointCollectionsApi.md#restore_point_collections_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}
*SshPublicKeysApi* | [**ssh_public_keys_create**](docs/SshPublicKeysApi.md#ssh_public_keys_create)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}
*SshPublicKeysApi* | [**ssh_public_keys_delete**](docs/SshPublicKeysApi.md#ssh_public_keys_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}
*SshPublicKeysApi* | [**ssh_public_keys_generate_key_pair**](docs/SshPublicKeysApi.md#ssh_public_keys_generate_key_pair)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys/{sshPublicKeyName}/generateKeyPair
@@ -69,6 +91,11 @@ Class | Method *VirtualMachineExtensionsApi* | [**virtual_machine_extensions_get**](docs/VirtualMachineExtensionsApi.md#virtual_machine_extensions_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}
*VirtualMachineExtensionsApi* | [**virtual_machine_extensions_list**](docs/VirtualMachineExtensionsApi.md#virtual_machine_extensions_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions
*VirtualMachineExtensionsApi* | [**virtual_machine_extensions_update**](docs/VirtualMachineExtensionsApi.md#virtual_machine_extensions_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/extensions/{vmExtensionName}
+*VirtualMachineImagesApi* | [**virtual_machine_images_edge_zone_get**](docs/VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_get)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
+*VirtualMachineImagesApi* | [**virtual_machine_images_edge_zone_list**](docs/VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
+*VirtualMachineImagesApi* | [**virtual_machine_images_edge_zone_list_offers**](docs/VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list_offers)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers
+*VirtualMachineImagesApi* | [**virtual_machine_images_edge_zone_list_publishers**](docs/VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list_publishers)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers
+*VirtualMachineImagesApi* | [**virtual_machine_images_edge_zone_list_skus**](docs/VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list_skus)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus
*VirtualMachineImagesApi* | [**virtual_machine_images_get**](docs/VirtualMachineImagesApi.md#virtual_machine_images_get)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}
*VirtualMachineImagesApi* | [**virtual_machine_images_list**](docs/VirtualMachineImagesApi.md#virtual_machine_images_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions
*VirtualMachineImagesApi* | [**virtual_machine_images_list_offers**](docs/VirtualMachineImagesApi.md#virtual_machine_images_list_offers)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers
@@ -88,21 +115,21 @@ Class | Method *VirtualMachineScaleSetVMExtensionsApi* | [**virtual_machine_scale_set_v_m_extensions_get**](docs/VirtualMachineScaleSetVMExtensionsApi.md#virtual_machine_scale_set_v_m_extensions_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}
*VirtualMachineScaleSetVMExtensionsApi* | [**virtual_machine_scale_set_v_m_extensions_list**](docs/VirtualMachineScaleSetVMExtensionsApi.md#virtual_machine_scale_set_v_m_extensions_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions
*VirtualMachineScaleSetVMExtensionsApi* | [**virtual_machine_scale_set_v_m_extensions_update**](docs/VirtualMachineScaleSetVMExtensionsApi.md#virtual_machine_scale_set_v_m_extensions_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_deallocate**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_deallocate)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_delete**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_get**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_get_instance_view**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get_instance_view)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_deallocate**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_deallocate)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_delete**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_get**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_get_instance_view**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get_instance_view)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_list**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_perform_maintenance**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_perform_maintenance)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_power_off**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_power_off)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_redeploy**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_redeploy)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_reimage**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_reimage_all**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage_all)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_reimage**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_reimage_all**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage_all)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_restart**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_restart)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_retrieve_boot_diagnostics_data**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_retrieve_boot_diagnostics_data)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/retrieveBootDiagnosticsData
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_simulate_eviction**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_simulate_eviction)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_start**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_start)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start
-*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_update**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}
+*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_update**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_convert_to_single_placement_group**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_convert_to_single_placement_group)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/convertToSinglePlacementGroup
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_create_or_update**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_deallocate**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_deallocate)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/deallocate
@@ -114,6 +141,7 @@ Class | Method *VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_get_o_s_upgrade_history**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_get_o_s_upgrade_history)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_list**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_list_all**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list_all)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets
+*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_list_by_location**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list_by_location)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_list_skus**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list_skus)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_perform_maintenance**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_perform_maintenance)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance
*VirtualMachineScaleSetsApi* | [**virtual_machine_scale_sets_power_off**](docs/VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_power_off)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff
@@ -134,6 +162,7 @@ Class | Method *VirtualMachinesApi* | [**virtual_machines_delete**](docs/VirtualMachinesApi.md#virtual_machines_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}
*VirtualMachinesApi* | [**virtual_machines_generalize**](docs/VirtualMachinesApi.md#virtual_machines_generalize)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize
*VirtualMachinesApi* | [**virtual_machines_get**](docs/VirtualMachinesApi.md#virtual_machines_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}
+*VirtualMachinesApi* | [**virtual_machines_install_patches**](docs/VirtualMachinesApi.md#virtual_machines_install_patches)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches
*VirtualMachinesApi* | [**virtual_machines_instance_view**](docs/VirtualMachinesApi.md#virtual_machines_instance_view)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView
*VirtualMachinesApi* | [**virtual_machines_list**](docs/VirtualMachinesApi.md#virtual_machines_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines
*VirtualMachinesApi* | [**virtual_machines_list_all**](docs/VirtualMachinesApi.md#virtual_machines_list_all)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines
@@ -158,19 +187,34 @@ Class | Method - [ApiEntityReference](docs/ApiEntityReference.md) - [ApiError](docs/ApiError.md) - [ApiErrorBase](docs/ApiErrorBase.md) + - [ApplicationProfile](docs/ApplicationProfile.md) + - [ArchitectureType](docs/ArchitectureType.md) - [AutomaticOSUpgradePolicy](docs/AutomaticOSUpgradePolicy.md) - [AutomaticOSUpgradeProperties](docs/AutomaticOSUpgradeProperties.md) - [AutomaticRepairsPolicy](docs/AutomaticRepairsPolicy.md) - [AvailabilitySet](docs/AvailabilitySet.md) - - [AvailabilitySetAllOf](docs/AvailabilitySetAllOf.md) - [AvailabilitySetListResult](docs/AvailabilitySetListResult.md) - [AvailabilitySetProperties](docs/AvailabilitySetProperties.md) - [AvailabilitySetSkuType](docs/AvailabilitySetSkuType.md) - [AvailabilitySetUpdate](docs/AvailabilitySetUpdate.md) + - [AvailablePatchSummary](docs/AvailablePatchSummary.md) - [BillingProfile](docs/BillingProfile.md) - [BootDiagnostics](docs/BootDiagnostics.md) - [BootDiagnosticsInstanceView](docs/BootDiagnosticsInstanceView.md) - [Caching](docs/Caching.md) + - [CapacityReservation](docs/CapacityReservation.md) + - [CapacityReservationGroup](docs/CapacityReservationGroup.md) + - [CapacityReservationGroupInstanceView](docs/CapacityReservationGroupInstanceView.md) + - [CapacityReservationGroupListResult](docs/CapacityReservationGroupListResult.md) + - [CapacityReservationGroupProperties](docs/CapacityReservationGroupProperties.md) + - [CapacityReservationGroupUpdate](docs/CapacityReservationGroupUpdate.md) + - [CapacityReservationInstanceView](docs/CapacityReservationInstanceView.md) + - [CapacityReservationInstanceViewWithName](docs/CapacityReservationInstanceViewWithName.md) + - [CapacityReservationListResult](docs/CapacityReservationListResult.md) + - [CapacityReservationProfile](docs/CapacityReservationProfile.md) + - [CapacityReservationProperties](docs/CapacityReservationProperties.md) + - [CapacityReservationUpdate](docs/CapacityReservationUpdate.md) + - [CapacityReservationUtilization](docs/CapacityReservationUtilization.md) - [CloudError](docs/CloudError.md) - [ComputeOperationListResult](docs/ComputeOperationListResult.md) - [ComputeOperationValue](docs/ComputeOperationValue.md) @@ -192,6 +236,8 @@ Class | Method - [DedicatedHostListResult](docs/DedicatedHostListResult.md) - [DedicatedHostProperties](docs/DedicatedHostProperties.md) - [DedicatedHostUpdate](docs/DedicatedHostUpdate.md) + - [DeleteOption](docs/DeleteOption.md) + - [DetachOption](docs/DetachOption.md) - [DiagnosticsProfile](docs/DiagnosticsProfile.md) - [DiffDiskOption](docs/DiffDiskOption.md) - [DiffDiskPlacement](docs/DiffDiskPlacement.md) @@ -200,41 +246,46 @@ Class | Method - [DiskEncryptionSetParameters](docs/DiskEncryptionSetParameters.md) - [DiskEncryptionSettings](docs/DiskEncryptionSettings.md) - [DiskInstanceView](docs/DiskInstanceView.md) + - [DiskRestorePointInstanceView](docs/DiskRestorePointInstanceView.md) + - [DiskRestorePointReplicationStatus](docs/DiskRestorePointReplicationStatus.md) - [EvictionPolicy](docs/EvictionPolicy.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [HardwareProfile](docs/HardwareProfile.md) - [HyperVGenerationType](docs/HyperVGenerationType.md) - [Image](docs/Image.md) - - [ImageAllOf](docs/ImageAllOf.md) - [ImageDataDisk](docs/ImageDataDisk.md) - [ImageDisk](docs/ImageDisk.md) - [ImageListResult](docs/ImageListResult.md) - [ImageOSDisk](docs/ImageOSDisk.md) - [ImageProperties](docs/ImageProperties.md) - [ImageReference](docs/ImageReference.md) - - [ImageReferenceAllOf](docs/ImageReferenceAllOf.md) - [ImageStorageProfile](docs/ImageStorageProfile.md) - [ImageUpdate](docs/ImageUpdate.md) - [InnerError](docs/InnerError.md) - [InstanceViewStatus](docs/InstanceViewStatus.md) - [KeyVaultKeyReference](docs/KeyVaultKeyReference.md) - [KeyVaultSecretReference](docs/KeyVaultSecretReference.md) + - [LastPatchInstallationSummary](docs/LastPatchInstallationSummary.md) - [LinuxConfiguration](docs/LinuxConfiguration.md) + - [LinuxParameters](docs/LinuxParameters.md) + - [LinuxPatchSettings](docs/LinuxPatchSettings.md) - [ListUsagesResult](docs/ListUsagesResult.md) - [LogAnalyticsInputBase](docs/LogAnalyticsInputBase.md) - [LogAnalyticsOperationResult](docs/LogAnalyticsOperationResult.md) - [LogAnalyticsOutput](docs/LogAnalyticsOutput.md) - [MaintenanceRedeployStatus](docs/MaintenanceRedeployStatus.md) - [ManagedDiskParameters](docs/ManagedDiskParameters.md) - - [ManagedDiskParametersAllOf](docs/ManagedDiskParametersAllOf.md) - [NetworkInterfaceReference](docs/NetworkInterfaceReference.md) - - [NetworkInterfaceReferenceAllOf](docs/NetworkInterfaceReferenceAllOf.md) - [NetworkInterfaceReferenceProperties](docs/NetworkInterfaceReferenceProperties.md) - [NetworkProfile](docs/NetworkProfile.md) - [OSDisk](docs/OSDisk.md) - [OSDiskImage](docs/OSDiskImage.md) - [OSProfile](docs/OSProfile.md) + - [OrchestrationMode](docs/OrchestrationMode.md) - [OrchestrationServiceStateInput](docs/OrchestrationServiceStateInput.md) - [OrchestrationServiceSummary](docs/OrchestrationServiceSummary.md) + - [PatchInstallationDetail](docs/PatchInstallationDetail.md) - [PatchSettings](docs/PatchSettings.md) - [Plan](docs/Plan.md) - [Priority](docs/Priority.md) @@ -242,10 +293,24 @@ Class | Method - [ProximityPlacementGroupListResult](docs/ProximityPlacementGroupListResult.md) - [ProximityPlacementGroupProperties](docs/ProximityPlacementGroupProperties.md) - [ProximityPlacementGroupUpdate](docs/ProximityPlacementGroupUpdate.md) + - [ProxyResource](docs/ProxyResource.md) + - [PublicIPAddressSku](docs/PublicIPAddressSku.md) - [PurchasePlan](docs/PurchasePlan.md) - [RecoveryWalkResponse](docs/RecoveryWalkResponse.md) - [RequestRateByIntervalInput](docs/RequestRateByIntervalInput.md) - [Resource](docs/Resource.md) + - [RestorePoint](docs/RestorePoint.md) + - [RestorePointCollection](docs/RestorePointCollection.md) + - [RestorePointCollectionListResult](docs/RestorePointCollectionListResult.md) + - [RestorePointCollectionProperties](docs/RestorePointCollectionProperties.md) + - [RestorePointCollectionSourceProperties](docs/RestorePointCollectionSourceProperties.md) + - [RestorePointCollectionUpdate](docs/RestorePointCollectionUpdate.md) + - [RestorePointInstanceView](docs/RestorePointInstanceView.md) + - [RestorePointProperties](docs/RestorePointProperties.md) + - [RestorePointSourceMetadata](docs/RestorePointSourceMetadata.md) + - [RestorePointSourceVMDataDisk](docs/RestorePointSourceVMDataDisk.md) + - [RestorePointSourceVMOSDisk](docs/RestorePointSourceVMOSDisk.md) + - [RestorePointSourceVMStorageProfile](docs/RestorePointSourceVMStorageProfile.md) - [RetrieveBootDiagnosticsDataResult](docs/RetrieveBootDiagnosticsDataResult.md) - [RollbackStatusInfo](docs/RollbackStatusInfo.md) - [RollingUpgradePolicy](docs/RollingUpgradePolicy.md) @@ -257,6 +322,7 @@ Class | Method - [ScheduledEventsProfile](docs/ScheduledEventsProfile.md) - [SecurityProfile](docs/SecurityProfile.md) - [Sku](docs/Sku.md) + - [SpotRestorePolicy](docs/SpotRestorePolicy.md) - [SshConfiguration](docs/SshConfiguration.md) - [SshPublicKey](docs/SshPublicKey.md) - [SshPublicKeyGenerateKeyPairResult](docs/SshPublicKeyGenerateKeyPairResult.md) @@ -271,6 +337,7 @@ Class | Method - [SubResourceWithColocationStatus](docs/SubResourceWithColocationStatus.md) - [TerminateNotificationProfile](docs/TerminateNotificationProfile.md) - [ThrottledRequestsInput](docs/ThrottledRequestsInput.md) + - [UefiSettings](docs/UefiSettings.md) - [UpdateResource](docs/UpdateResource.md) - [UpgradeOperationHistoricalStatusInfo](docs/UpgradeOperationHistoricalStatusInfo.md) - [UpgradeOperationHistoricalStatusInfoProperties](docs/UpgradeOperationHistoricalStatusInfoProperties.md) @@ -278,22 +345,21 @@ Class | Method - [UpgradePolicy](docs/UpgradePolicy.md) - [Usage](docs/Usage.md) - [UsageName](docs/UsageName.md) + - [VMDiskSecurityProfile](docs/VMDiskSecurityProfile.md) + - [VMGalleryApplication](docs/VMGalleryApplication.md) - [VMScaleSetConvertToSinglePlacementGroupInput](docs/VMScaleSetConvertToSinglePlacementGroupInput.md) + - [VMSizeProperties](docs/VMSizeProperties.md) - [VaultCertificate](docs/VaultCertificate.md) - [VaultSecretGroup](docs/VaultSecretGroup.md) - [VirtualHardDisk](docs/VirtualHardDisk.md) - [VirtualMachine](docs/VirtualMachine.md) - [VirtualMachineAgentInstanceView](docs/VirtualMachineAgentInstanceView.md) - - [VirtualMachineAllOf](docs/VirtualMachineAllOf.md) - [VirtualMachineAssessPatchesResult](docs/VirtualMachineAssessPatchesResult.md) - [VirtualMachineCaptureParameters](docs/VirtualMachineCaptureParameters.md) - [VirtualMachineCaptureResult](docs/VirtualMachineCaptureResult.md) - - [VirtualMachineCaptureResultAllOf](docs/VirtualMachineCaptureResultAllOf.md) - [VirtualMachineExtension](docs/VirtualMachineExtension.md) - - [VirtualMachineExtensionAllOf](docs/VirtualMachineExtensionAllOf.md) - [VirtualMachineExtensionHandlerInstanceView](docs/VirtualMachineExtensionHandlerInstanceView.md) - [VirtualMachineExtensionImage](docs/VirtualMachineExtensionImage.md) - - [VirtualMachineExtensionImageAllOf](docs/VirtualMachineExtensionImageAllOf.md) - [VirtualMachineExtensionImageProperties](docs/VirtualMachineExtensionImageProperties.md) - [VirtualMachineExtensionInstanceView](docs/VirtualMachineExtensionInstanceView.md) - [VirtualMachineExtensionProperties](docs/VirtualMachineExtensionProperties.md) @@ -304,27 +370,37 @@ Class | Method - [VirtualMachineIdentity](docs/VirtualMachineIdentity.md) - [VirtualMachineIdentityUserAssignedIdentitiesValue](docs/VirtualMachineIdentityUserAssignedIdentitiesValue.md) - [VirtualMachineImage](docs/VirtualMachineImage.md) - - [VirtualMachineImageAllOf](docs/VirtualMachineImageAllOf.md) + - [VirtualMachineImageFeature](docs/VirtualMachineImageFeature.md) - [VirtualMachineImageProperties](docs/VirtualMachineImageProperties.md) - [VirtualMachineImageResource](docs/VirtualMachineImageResource.md) - - [VirtualMachineImageResourceAllOf](docs/VirtualMachineImageResourceAllOf.md) + - [VirtualMachineInstallPatchesParameters](docs/VirtualMachineInstallPatchesParameters.md) + - [VirtualMachineInstallPatchesResult](docs/VirtualMachineInstallPatchesResult.md) - [VirtualMachineInstanceView](docs/VirtualMachineInstanceView.md) + - [VirtualMachineIpTag](docs/VirtualMachineIpTag.md) - [VirtualMachineListResult](docs/VirtualMachineListResult.md) + - [VirtualMachineNetworkInterfaceConfiguration](docs/VirtualMachineNetworkInterfaceConfiguration.md) + - [VirtualMachineNetworkInterfaceConfigurationProperties](docs/VirtualMachineNetworkInterfaceConfigurationProperties.md) + - [VirtualMachineNetworkInterfaceDnsSettingsConfiguration](docs/VirtualMachineNetworkInterfaceDnsSettingsConfiguration.md) + - [VirtualMachineNetworkInterfaceIPConfiguration](docs/VirtualMachineNetworkInterfaceIPConfiguration.md) + - [VirtualMachineNetworkInterfaceIPConfigurationProperties](docs/VirtualMachineNetworkInterfaceIPConfigurationProperties.md) + - [VirtualMachinePatchStatus](docs/VirtualMachinePatchStatus.md) - [VirtualMachineProperties](docs/VirtualMachineProperties.md) + - [VirtualMachinePublicIPAddressConfiguration](docs/VirtualMachinePublicIPAddressConfiguration.md) + - [VirtualMachinePublicIPAddressConfigurationProperties](docs/VirtualMachinePublicIPAddressConfigurationProperties.md) + - [VirtualMachinePublicIPAddressDnsSettingsConfiguration](docs/VirtualMachinePublicIPAddressDnsSettingsConfiguration.md) - [VirtualMachineReimageParameters](docs/VirtualMachineReimageParameters.md) - [VirtualMachineScaleSet](docs/VirtualMachineScaleSet.md) - - [VirtualMachineScaleSetAllOf](docs/VirtualMachineScaleSetAllOf.md) - [VirtualMachineScaleSetDataDisk](docs/VirtualMachineScaleSetDataDisk.md) - [VirtualMachineScaleSetExtension](docs/VirtualMachineScaleSetExtension.md) - - [VirtualMachineScaleSetExtensionAllOf](docs/VirtualMachineScaleSetExtensionAllOf.md) - [VirtualMachineScaleSetExtensionListResult](docs/VirtualMachineScaleSetExtensionListResult.md) - [VirtualMachineScaleSetExtensionProfile](docs/VirtualMachineScaleSetExtensionProfile.md) - [VirtualMachineScaleSetExtensionProperties](docs/VirtualMachineScaleSetExtensionProperties.md) - [VirtualMachineScaleSetExtensionUpdate](docs/VirtualMachineScaleSetExtensionUpdate.md) + - [VirtualMachineScaleSetHardwareProfile](docs/VirtualMachineScaleSetHardwareProfile.md) - [VirtualMachineScaleSetIPConfiguration](docs/VirtualMachineScaleSetIPConfiguration.md) - - [VirtualMachineScaleSetIPConfigurationAllOf](docs/VirtualMachineScaleSetIPConfigurationAllOf.md) - [VirtualMachineScaleSetIPConfigurationProperties](docs/VirtualMachineScaleSetIPConfigurationProperties.md) - [VirtualMachineScaleSetIdentity](docs/VirtualMachineScaleSetIdentity.md) + - [VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue](docs/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.md) - [VirtualMachineScaleSetInstanceView](docs/VirtualMachineScaleSetInstanceView.md) - [VirtualMachineScaleSetInstanceViewStatusesSummary](docs/VirtualMachineScaleSetInstanceViewStatusesSummary.md) - [VirtualMachineScaleSetIpTag](docs/VirtualMachineScaleSetIpTag.md) @@ -334,7 +410,6 @@ Class | Method - [VirtualMachineScaleSetListWithLinkResult](docs/VirtualMachineScaleSetListWithLinkResult.md) - [VirtualMachineScaleSetManagedDiskParameters](docs/VirtualMachineScaleSetManagedDiskParameters.md) - [VirtualMachineScaleSetNetworkConfiguration](docs/VirtualMachineScaleSetNetworkConfiguration.md) - - [VirtualMachineScaleSetNetworkConfigurationAllOf](docs/VirtualMachineScaleSetNetworkConfigurationAllOf.md) - [VirtualMachineScaleSetNetworkConfigurationDnsSettings](docs/VirtualMachineScaleSetNetworkConfigurationDnsSettings.md) - [VirtualMachineScaleSetNetworkConfigurationProperties](docs/VirtualMachineScaleSetNetworkConfigurationProperties.md) - [VirtualMachineScaleSetNetworkProfile](docs/VirtualMachineScaleSetNetworkProfile.md) @@ -362,7 +437,9 @@ Class | Method - [VirtualMachineScaleSetUpdateStorageProfile](docs/VirtualMachineScaleSetUpdateStorageProfile.md) - [VirtualMachineScaleSetUpdateVMProfile](docs/VirtualMachineScaleSetUpdateVMProfile.md) - [VirtualMachineScaleSetVM](docs/VirtualMachineScaleSetVM.md) - - [VirtualMachineScaleSetVMAllOf](docs/VirtualMachineScaleSetVMAllOf.md) + - [VirtualMachineScaleSetVMExtension](docs/VirtualMachineScaleSetVMExtension.md) + - [VirtualMachineScaleSetVMExtensionUpdate](docs/VirtualMachineScaleSetVMExtensionUpdate.md) + - [VirtualMachineScaleSetVMExtensionsListResult](docs/VirtualMachineScaleSetVMExtensionsListResult.md) - [VirtualMachineScaleSetVMExtensionsSummary](docs/VirtualMachineScaleSetVMExtensionsSummary.md) - [VirtualMachineScaleSetVMInstanceIDs](docs/VirtualMachineScaleSetVMInstanceIDs.md) - [VirtualMachineScaleSetVMInstanceRequiredIDs](docs/VirtualMachineScaleSetVMInstanceRequiredIDs.md) @@ -381,11 +458,15 @@ Class | Method - [WinRMConfiguration](docs/WinRMConfiguration.md) - [WinRMListener](docs/WinRMListener.md) - [WindowsConfiguration](docs/WindowsConfiguration.md) + - [WindowsParameters](docs/WindowsParameters.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Compute/ComputeManagementClient/docs/AdditionalCapabilities.md b/src/Compute/ComputeManagementClient/docs/AdditionalCapabilities.md index d990e79..57356ed 100644 --- a/src/Compute/ComputeManagementClient/docs/AdditionalCapabilities.md +++ b/src/Compute/ComputeManagementClient/docs/AdditionalCapabilities.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ultraSSDEnabled** | **Bool** | The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. | [optional] [default to nothing] +**hibernationEnabled** | **Bool** | The flag that enables or disables hibernation capability on the VM. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ApplicationProfile.md b/src/Compute/ComputeManagementClient/docs/ApplicationProfile.md new file mode 100644 index 0000000..440f37a --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/ApplicationProfile.md @@ -0,0 +1,12 @@ +# ApplicationProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**galleryApplications** | [**Vector{VMGalleryApplication}**](VMGalleryApplication.md) | Specifies the gallery applications that should be made available to the VM/VMSS | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/ArchitectureType.md b/src/Compute/ComputeManagementClient/docs/ArchitectureType.md new file mode 100644 index 0000000..03e0ce0 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/ArchitectureType.md @@ -0,0 +1,11 @@ +# ArchitectureType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/AutomaticRepairsPolicy.md b/src/Compute/ComputeManagementClient/docs/AutomaticRepairsPolicy.md index f7085f7..165d08b 100644 --- a/src/Compute/ComputeManagementClient/docs/AutomaticRepairsPolicy.md +++ b/src/Compute/ComputeManagementClient/docs/AutomaticRepairsPolicy.md @@ -5,7 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **enabled** | **Bool** | Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. | [optional] [default to nothing] -**gracePeriod** | **String** | The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). | [optional] [default to nothing] +**gracePeriod** | **String** | The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). | [optional] [default to nothing] +**repairAction** | **String** | Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/AvailabilitySet.md b/src/Compute/ComputeManagementClient/docs/AvailabilitySet.md index 14fed1c..47ca726 100644 --- a/src/Compute/ComputeManagementClient/docs/AvailabilitySet.md +++ b/src/Compute/ComputeManagementClient/docs/AvailabilitySet.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**properties** | [***AvailabilitySetProperties**](AvailabilitySetProperties.md) | | [optional] [default to nothing] +**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] **id** | **String** | Resource Id | [optional] [readonly] [default to nothing] **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] -**properties** | [***AvailabilitySetProperties**](AvailabilitySetProperties.md) | | [optional] [default to nothing] -**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/AvailabilitySetAllOf.md b/src/Compute/ComputeManagementClient/docs/AvailabilitySetAllOf.md deleted file mode 100644 index b345ee7..0000000 --- a/src/Compute/ComputeManagementClient/docs/AvailabilitySetAllOf.md +++ /dev/null @@ -1,13 +0,0 @@ -# AvailabilitySetAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***AvailabilitySetProperties**](AvailabilitySetProperties.md) | | [optional] [default to nothing] -**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/AvailabilitySetsApi.md b/src/Compute/ComputeManagementClient/docs/AvailabilitySetsApi.md index 602c3c1..2818956 100644 --- a/src/Compute/ComputeManagementClient/docs/AvailabilitySetsApi.md +++ b/src/Compute/ComputeManagementClient/docs/AvailabilitySetsApi.md @@ -26,11 +26,11 @@ Create or update an availability set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**availability_set_name** | **String**| The name of the availability set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**AvailabilitySet**](AvailabilitySet.md)| Parameters supplied to the Create Availability Set operation. | +**resource_group_name** | **String** | The name of the resource group. | +**availability_set_name** | **String** | The name of the availability set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**AvailabilitySet**](AvailabilitySet.md) | Parameters supplied to the Create Availability Set operation. | ### Return type @@ -60,10 +60,10 @@ Delete an availability set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**availability_set_name** | **String**| The name of the availability set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**availability_set_name** | **String** | The name of the availability set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -76,7 +76,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -93,10 +93,10 @@ Retrieves information about an availability set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**availability_set_name** | **String**| The name of the availability set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**availability_set_name** | **String** | The name of the availability set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,9 +126,9 @@ Lists all availability sets in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -158,10 +158,10 @@ Lists all available virtual machine sizes that can be used to create a new virtu Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**availability_set_name** | **String**| The name of the availability set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**availability_set_name** | **String** | The name of the availability set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -191,14 +191,14 @@ Lists all availability sets in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply to the operation. Allowed values are 'instanceView'. | [default to nothing] + **expand** | **String** | The expand expression to apply to the operation. Allowed values are 'instanceView'. | [default to nothing] ### Return type @@ -228,11 +228,11 @@ Update an availability set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AvailabilitySetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**availability_set_name** | **String**| The name of the availability set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**AvailabilitySetUpdate**](AvailabilitySetUpdate.md)| Parameters supplied to the Update Availability Set operation. | +**resource_group_name** | **String** | The name of the resource group. | +**availability_set_name** | **String** | The name of the availability set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**AvailabilitySetUpdate**](AvailabilitySetUpdate.md) | Parameters supplied to the Update Availability Set operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/AvailablePatchSummary.md b/src/Compute/ComputeManagementClient/docs/AvailablePatchSummary.md new file mode 100644 index 0000000..e560204 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/AvailablePatchSummary.md @@ -0,0 +1,19 @@ +# AvailablePatchSummary + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **String** | The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" | [optional] [readonly] [default to nothing] +**assessmentActivityId** | **String** | The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. | [optional] [readonly] [default to nothing] +**rebootPending** | **Bool** | The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. | [optional] [readonly] [default to nothing] +**criticalAndSecurityPatchCount** | **Int64** | The number of critical or security patches that have been detected as available and not yet installed. | [optional] [readonly] [default to nothing] +**otherPatchCount** | **Int64** | The number of all available patches excluding critical and security. | [optional] [readonly] [default to nothing] +**startTime** | **ZonedDateTime** | The UTC timestamp when the operation began. | [optional] [readonly] [default to nothing] +**lastModifiedTime** | **ZonedDateTime** | The UTC timestamp when the operation began. | [optional] [readonly] [default to nothing] +**error** | [***ApiError**](ApiError.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservation.md b/src/Compute/ComputeManagementClient/docs/CapacityReservation.md new file mode 100644 index 0000000..d28ba53 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservation.md @@ -0,0 +1,19 @@ +# CapacityReservation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***CapacityReservationProperties**](CapacityReservationProperties.md) | | [optional] [default to nothing] +**sku** | [***Sku**](Sku.md) | | [default to nothing] +**zones** | **Vector{String}** | Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone. | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationApi.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationApi.md new file mode 100644 index 0000000..85a9425 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationApi.md @@ -0,0 +1,42 @@ +# CapacityReservationApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**capacity_reservations_list_by_capacity_reservation_group**](CapacityReservationApi.md#capacity_reservations_list_by_capacity_reservation_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations | + + +# **capacity_reservations_list_by_capacity_reservation_group** +> capacity_reservations_list_by_capacity_reservation_group(_api::CapacityReservationApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> CapacityReservationListResult, OpenAPI.Clients.ApiResponse
+> capacity_reservations_list_by_capacity_reservation_group(_api::CapacityReservationApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ CapacityReservationListResult }, OpenAPI.Clients.ApiResponse + + + +Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**CapacityReservationListResult**](CapacityReservationListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationGroup.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroup.md new file mode 100644 index 0000000..ec435f2 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroup.md @@ -0,0 +1,18 @@ +# CapacityReservationGroup + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***CapacityReservationGroupProperties**](CapacityReservationGroupProperties.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones. | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupInstanceView.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupInstanceView.md new file mode 100644 index 0000000..dface60 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupInstanceView.md @@ -0,0 +1,12 @@ +# CapacityReservationGroupInstanceView + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capacityReservations** | [**Vector{CapacityReservationInstanceViewWithName}**](CapacityReservationInstanceViewWithName.md) | List of instance view of the capacity reservations under the capacity reservation group. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupListResult.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupListResult.md new file mode 100644 index 0000000..e632a38 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupListResult.md @@ -0,0 +1,13 @@ +# CapacityReservationGroupListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{CapacityReservationGroup}**](CapacityReservationGroup.md) | The list of capacity reservation groups | [default to nothing] +**nextLink** | **String** | The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupProperties.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupProperties.md new file mode 100644 index 0000000..8ce7642 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupProperties.md @@ -0,0 +1,14 @@ +# CapacityReservationGroupProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capacityReservations** | [**Vector{SubResourceReadOnly}**](SubResourceReadOnly.md) | A list of all capacity reservation resource ids that belong to capacity reservation group. | [optional] [readonly] [default to nothing] +**virtualMachinesAssociated** | [**Vector{SubResourceReadOnly}**](SubResourceReadOnly.md) | A list of references to all virtual machines associated to the capacity reservation group. | [optional] [readonly] [default to nothing] +**instanceView** | [***CapacityReservationGroupInstanceView**](CapacityReservationGroupInstanceView.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupUpdate.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupUpdate.md new file mode 100644 index 0000000..bd9d8e0 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupUpdate.md @@ -0,0 +1,13 @@ +# CapacityReservationGroupUpdate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***CapacityReservationGroupProperties**](CapacityReservationGroupProperties.md) | | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupsApi.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupsApi.md new file mode 100644 index 0000000..bc0bf4c --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationGroupsApi.md @@ -0,0 +1,229 @@ +# CapacityReservationGroupsApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**capacity_reservation_groups_create_or_update**](CapacityReservationGroupsApi.md#capacity_reservation_groups_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName} | +[**capacity_reservation_groups_delete**](CapacityReservationGroupsApi.md#capacity_reservation_groups_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName} | +[**capacity_reservation_groups_get**](CapacityReservationGroupsApi.md#capacity_reservation_groups_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName} | +[**capacity_reservation_groups_list_by_resource_group**](CapacityReservationGroupsApi.md#capacity_reservation_groups_list_by_resource_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups | +[**capacity_reservation_groups_list_by_subscription**](CapacityReservationGroupsApi.md#capacity_reservation_groups_list_by_subscription) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups | +[**capacity_reservation_groups_update**](CapacityReservationGroupsApi.md#capacity_reservation_groups_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName} | + + +# **capacity_reservation_groups_create_or_update** +> capacity_reservation_groups_create_or_update(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroup; _mediaType=nothing) -> CapacityReservationGroup, OpenAPI.Clients.ApiResponse
+> capacity_reservation_groups_create_or_update(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroup; _mediaType=nothing) -> Channel{ CapacityReservationGroup }, OpenAPI.Clients.ApiResponse + + + +The operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationGroupsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**CapacityReservationGroup**](CapacityReservationGroup.md) | Parameters supplied to the Create capacity reservation Group. | + +### Return type + +[**CapacityReservationGroup**](CapacityReservationGroup.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservation_groups_delete** +> capacity_reservation_groups_delete(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> capacity_reservation_groups_delete(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationGroupsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservation_groups_get** +> capacity_reservation_groups_get(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> CapacityReservationGroup, OpenAPI.Clients.ApiResponse
+> capacity_reservation_groups_get(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ CapacityReservationGroup }, OpenAPI.Clients.ApiResponse + + + +The operation that retrieves information about a capacity reservation group. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationGroupsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the capacity reservations under the capacity reservation group which is a snapshot of the runtime properties of a capacity reservation that is managed by the platform and can change outside of control plane operations. | [default to nothing] + +### Return type + +[**CapacityReservationGroup**](CapacityReservationGroup.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservation_groups_list_by_resource_group** +> capacity_reservation_groups_list_by_resource_group(_api::CapacityReservationGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> CapacityReservationGroupListResult, OpenAPI.Clients.ApiResponse
+> capacity_reservation_groups_list_by_resource_group(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ CapacityReservationGroupListResult }, OpenAPI.Clients.ApiResponse + + + +Lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationGroupsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. | [default to nothing] + +### Return type + +[**CapacityReservationGroupListResult**](CapacityReservationGroupListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservation_groups_list_by_subscription** +> capacity_reservation_groups_list_by_subscription(_api::CapacityReservationGroupsApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> CapacityReservationGroupListResult, OpenAPI.Clients.ApiResponse
+> capacity_reservation_groups_list_by_subscription(_api::CapacityReservationGroupsApi, response_stream::Channel, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ CapacityReservationGroupListResult }, OpenAPI.Clients.ApiResponse + + + +Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationGroupsApi** | API context | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. Based on the expand param(s) specified we return Virtual Machine or ScaleSet VM Instance or both resource Ids which are associated to capacity reservation group in the response. | [default to nothing] + +### Return type + +[**CapacityReservationGroupListResult**](CapacityReservationGroupListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservation_groups_update** +> capacity_reservation_groups_update(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroupUpdate; _mediaType=nothing) -> CapacityReservationGroup, OpenAPI.Clients.ApiResponse
+> capacity_reservation_groups_update(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroupUpdate; _mediaType=nothing) -> Channel{ CapacityReservationGroup }, OpenAPI.Clients.ApiResponse + + + +The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationGroupsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**CapacityReservationGroupUpdate**](CapacityReservationGroupUpdate.md) | Parameters supplied to the Update capacity reservation Group operation. | + +### Return type + +[**CapacityReservationGroup**](CapacityReservationGroup.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationInstanceView.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationInstanceView.md new file mode 100644 index 0000000..89cf5e4 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationInstanceView.md @@ -0,0 +1,13 @@ +# CapacityReservationInstanceView + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**utilizationInfo** | [***CapacityReservationUtilization**](CapacityReservationUtilization.md) | | [optional] [default to nothing] +**statuses** | [**Vector{InstanceViewStatus}**](InstanceViewStatus.md) | The resource status information. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationInstanceViewWithName.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationInstanceViewWithName.md new file mode 100644 index 0000000..29881ac --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationInstanceViewWithName.md @@ -0,0 +1,14 @@ +# CapacityReservationInstanceViewWithName + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the capacity reservation. | [optional] [readonly] [default to nothing] +**utilizationInfo** | [***CapacityReservationUtilization**](CapacityReservationUtilization.md) | | [optional] [default to nothing] +**statuses** | [**Vector{InstanceViewStatus}**](InstanceViewStatus.md) | The resource status information. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationListResult.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationListResult.md new file mode 100644 index 0000000..f99b405 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationListResult.md @@ -0,0 +1,13 @@ +# CapacityReservationListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{CapacityReservation}**](CapacityReservation.md) | The list of capacity reservations | [default to nothing] +**nextLink** | **String** | The URI to fetch the next page of capacity reservations. Call ListNext() with this URI to fetch the next page of capacity reservations. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationProfile.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationProfile.md new file mode 100644 index 0000000..8c18360 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationProfile.md @@ -0,0 +1,12 @@ +# CapacityReservationProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**capacityReservationGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationProperties.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationProperties.md new file mode 100644 index 0000000..5ccf496 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationProperties.md @@ -0,0 +1,17 @@ +# CapacityReservationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**reservationId** | **String** | A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. | [optional] [readonly] [default to nothing] +**virtualMachinesAssociated** | [**Vector{SubResourceReadOnly}**](SubResourceReadOnly.md) | A list of all virtual machine resource ids that are associated with the capacity reservation. | [optional] [readonly] [default to nothing] +**provisioningTime** | **ZonedDateTime** | The date time when the capacity reservation was last updated. | [optional] [readonly] [default to nothing] +**provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] +**instanceView** | [***CapacityReservationInstanceView**](CapacityReservationInstanceView.md) | | [optional] [default to nothing] +**timeCreated** | **ZonedDateTime** | Specifies the time at which the Capacity Reservation resource was created.<br><br>Minimum api-version: 2021-11-01. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationUpdate.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationUpdate.md new file mode 100644 index 0000000..204153c --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationUpdate.md @@ -0,0 +1,14 @@ +# CapacityReservationUpdate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***CapacityReservationProperties**](CapacityReservationProperties.md) | | [optional] [default to nothing] +**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationUtilization.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationUtilization.md new file mode 100644 index 0000000..e9bdfd3 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationUtilization.md @@ -0,0 +1,12 @@ +# CapacityReservationUtilization + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**virtualMachinesAllocated** | [**Vector{SubResourceReadOnly}**](SubResourceReadOnly.md) | A list of all virtual machines resource ids allocated against the capacity reservation. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/CapacityReservationsApi.md b/src/Compute/ComputeManagementClient/docs/CapacityReservationsApi.md new file mode 100644 index 0000000..97cac7e --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/CapacityReservationsApi.md @@ -0,0 +1,156 @@ +# CapacityReservationsApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**capacity_reservations_create_or_update**](CapacityReservationsApi.md#capacity_reservations_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName} | +[**capacity_reservations_delete**](CapacityReservationsApi.md#capacity_reservations_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName} | +[**capacity_reservations_get**](CapacityReservationsApi.md#capacity_reservations_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName} | +[**capacity_reservations_update**](CapacityReservationsApi.md#capacity_reservations_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName} | + + +# **capacity_reservations_create_or_update** +> capacity_reservations_create_or_update(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservation; _mediaType=nothing) -> CapacityReservation, OpenAPI.Clients.ApiResponse
+> capacity_reservations_create_or_update(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservation; _mediaType=nothing) -> Channel{ CapacityReservation }, OpenAPI.Clients.ApiResponse + + + +The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**capacity_reservation_name** | **String** | The name of the capacity reservation. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**CapacityReservation**](CapacityReservation.md) | Parameters supplied to the Create capacity reservation. | + +### Return type + +[**CapacityReservation**](CapacityReservation.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservations_delete** +> capacity_reservations_delete(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> capacity_reservations_delete(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**capacity_reservation_name** | **String** | The name of the capacity reservation. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservations_get** +> capacity_reservations_get(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> CapacityReservation, OpenAPI.Clients.ApiResponse
+> capacity_reservations_get(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ CapacityReservation }, OpenAPI.Clients.ApiResponse + + + +The operation that retrieves information about the capacity reservation. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**capacity_reservation_name** | **String** | The name of the capacity reservation. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. | [default to nothing] + +### Return type + +[**CapacityReservation**](CapacityReservation.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **capacity_reservations_update** +> capacity_reservations_update(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationUpdate; _mediaType=nothing) -> CapacityReservation, OpenAPI.Clients.ApiResponse
+> capacity_reservations_update(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationUpdate; _mediaType=nothing) -> Channel{ CapacityReservation }, OpenAPI.Clients.ApiResponse + + + +The operation to update a capacity reservation. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **CapacityReservationsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**capacity_reservation_group_name** | **String** | The name of the capacity reservation group. | +**capacity_reservation_name** | **String** | The name of the capacity reservation. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**CapacityReservationUpdate**](CapacityReservationUpdate.md) | Parameters supplied to the Update capacity reservation operation. | + +### Return type + +[**CapacityReservation**](CapacityReservation.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/ComputeManagementClient/docs/ComputeOperationsApi.md b/src/Compute/ComputeManagementClient/docs/ComputeOperationsApi.md index 7ead14b..2aa1609 100644 --- a/src/Compute/ComputeManagementClient/docs/ComputeOperationsApi.md +++ b/src/Compute/ComputeManagementClient/docs/ComputeOperationsApi.md @@ -20,7 +20,7 @@ Gets a list of compute operations. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ComputeOperationsApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] +**api_version** | **String** | Client Api Version. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/DataDisk.md b/src/Compute/ComputeManagementClient/docs/DataDisk.md index af2e2a7..552bd0e 100644 --- a/src/Compute/ComputeManagementClient/docs/DataDisk.md +++ b/src/Compute/ComputeManagementClient/docs/DataDisk.md @@ -16,6 +16,8 @@ Name | Type | Description | Notes **toBeDetached** | **Bool** | Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset | [optional] [default to nothing] **diskIOPSReadWrite** | **Int64** | Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. | [optional] [readonly] [default to nothing] **diskMBpsReadWrite** | **Int64** | Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. | [optional] [readonly] [default to nothing] +**detachOption** | [***DetachOption**](DetachOption.md) | | [optional] [default to nothing] +**deleteOption** | [***DeleteOption**](DeleteOption.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/DedicatedHostApi.md b/src/Compute/ComputeManagementClient/docs/DedicatedHostApi.md index 1c8ae47..0e88507 100644 --- a/src/Compute/ComputeManagementClient/docs/DedicatedHostApi.md +++ b/src/Compute/ComputeManagementClient/docs/DedicatedHostApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**dedicated_hosts_list_by_host_group**](DedicatedHostApi.md#dedicated_hosts_list_by_host_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts | +[**dedicated_hosts_restart**](DedicatedHostApi.md#dedicated_hosts_restart) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart | # **dedicated_hosts_list_by_host_group** @@ -20,10 +21,10 @@ Lists all of the dedicated hosts in the specified dedicated host group. Use the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -40,3 +41,37 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **dedicated_hosts_restart** +> dedicated_hosts_restart(_api::DedicatedHostApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> dedicated_hosts_restart(_api::DedicatedHostApi, response_stream::Channel, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DedicatedHostApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**host_name** | **String** | The name of the dedicated host. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupProperties.md b/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupProperties.md index 25618a5..fb5ddfc 100644 --- a/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupProperties.md +++ b/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupProperties.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **platformFaultDomainCount** | **Int64** | Number of fault domains that the host group can span. | [default to nothing] **hosts** | [**Vector{SubResourceReadOnly}**](SubResourceReadOnly.md) | A list of references to all dedicated hosts in the dedicated host group. | [optional] [readonly] [default to nothing] **instanceView** | [***DedicatedHostGroupInstanceView**](DedicatedHostGroupInstanceView.md) | | [optional] [default to nothing] -**supportAutomaticPlacement** | **Bool** | Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'true' when not provided. <br><br>Minimum api-version: 2020-06-01. | [optional] [default to nothing] +**supportAutomaticPlacement** | **Bool** | Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupsApi.md b/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupsApi.md index 57622ad..be3955a 100644 --- a/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupsApi.md +++ b/src/Compute/ComputeManagementClient/docs/DedicatedHostGroupsApi.md @@ -25,11 +25,11 @@ Create or update a dedicated host group. For details of Dedicated Host and Dedic Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**DedicatedHostGroup**](DedicatedHostGroup.md)| Parameters supplied to the Create Dedicated Host Group. | +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**DedicatedHostGroup**](DedicatedHostGroup.md) | Parameters supplied to the Create Dedicated Host Group. | ### Return type @@ -59,10 +59,10 @@ Delete a dedicated host group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -75,7 +75,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -92,16 +92,16 @@ Retrieves information about a dedicated host group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. The response shows the list of instance view of the dedicated hosts under the dedicated host group. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated hosts under the dedicated host group. 'UserData' is not supported for dedicated host group. | [default to nothing] ### Return type @@ -131,9 +131,9 @@ Lists all of the dedicated host groups in the specified resource group. Use the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -163,8 +163,8 @@ Lists all of the dedicated host groups in the subscription. Use the nextLink pro Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostGroupsApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Update an dedicated host group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**DedicatedHostGroupUpdate**](DedicatedHostGroupUpdate.md)| Parameters supplied to the Update Dedicated Host Group operation. | +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**DedicatedHostGroupUpdate**](DedicatedHostGroupUpdate.md) | Parameters supplied to the Update Dedicated Host Group operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/DedicatedHostProperties.md b/src/Compute/ComputeManagementClient/docs/DedicatedHostProperties.md index b2d4b10..9dd9642 100644 --- a/src/Compute/ComputeManagementClient/docs/DedicatedHostProperties.md +++ b/src/Compute/ComputeManagementClient/docs/DedicatedHostProperties.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **provisioningTime** | **ZonedDateTime** | The date when the host was first provisioned. | [optional] [readonly] [default to nothing] **provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] **instanceView** | [***DedicatedHostInstanceView**](DedicatedHostInstanceView.md) | | [optional] [default to nothing] +**timeCreated** | **ZonedDateTime** | Specifies the time at which the Dedicated Host resource was created.<br><br>Minimum api-version: 2021-11-01. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/DedicatedHostsApi.md b/src/Compute/ComputeManagementClient/docs/DedicatedHostsApi.md index d84ec40..17d262e 100644 --- a/src/Compute/ComputeManagementClient/docs/DedicatedHostsApi.md +++ b/src/Compute/ComputeManagementClient/docs/DedicatedHostsApi.md @@ -23,12 +23,12 @@ Create or update a dedicated host . Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**host_name** | **String**| The name of the dedicated host . | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**DedicatedHost**](DedicatedHost.md)| Parameters supplied to the Create Dedicated Host. | +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**host_name** | **String** | The name of the dedicated host . | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**DedicatedHost**](DedicatedHost.md) | Parameters supplied to the Create Dedicated Host. | ### Return type @@ -58,11 +58,11 @@ Delete a dedicated host. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**host_name** | **String**| The name of the dedicated host. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**host_name** | **String** | The name of the dedicated host. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -75,7 +75,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -92,17 +92,17 @@ Retrieves information about a dedicated host. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**host_name** | **String**| The name of the dedicated host. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**host_name** | **String** | The name of the dedicated host. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' will retrieve the list of instance views of the dedicated host. 'UserData' is not supported for dedicated host. | [default to nothing] ### Return type @@ -132,12 +132,12 @@ Update an dedicated host . Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DedicatedHostsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**host_group_name** | **String**| The name of the dedicated host group. | [default to nothing] -**host_name** | **String**| The name of the dedicated host . | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**DedicatedHostUpdate**](DedicatedHostUpdate.md)| Parameters supplied to the Update Dedicated Host operation. | +**resource_group_name** | **String** | The name of the resource group. | +**host_group_name** | **String** | The name of the dedicated host group. | +**host_name** | **String** | The name of the dedicated host . | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**DedicatedHostUpdate**](DedicatedHostUpdate.md) | Parameters supplied to the Update Dedicated Host operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/DefaultApi.md b/src/Compute/ComputeManagementClient/docs/DefaultApi.md new file mode 100644 index 0000000..9334e32 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/DefaultApi.md @@ -0,0 +1,120 @@ +# DefaultApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**restore_points_create**](DefaultApi.md#restore_points_create) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName} | +[**restore_points_delete**](DefaultApi.md#restore_points_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName} | +[**restore_points_get**](DefaultApi.md#restore_points_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName} | + + +# **restore_points_create** +> restore_points_create(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String, parameters::RestorePoint; _mediaType=nothing) -> RestorePoint, OpenAPI.Clients.ApiResponse
+> restore_points_create(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String, parameters::RestorePoint; _mediaType=nothing) -> Channel{ RestorePoint }, OpenAPI.Clients.ApiResponse + + + +The operation to create the restore point. Updating properties of an existing restore point is not allowed + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the restore point collection. | +**restore_point_name** | **String** | The name of the restore point. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**RestorePoint**](RestorePoint.md) | Parameters supplied to the Create restore point operation. | + +### Return type + +[**RestorePoint**](RestorePoint.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_points_delete** +> restore_points_delete(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> restore_points_delete(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +The operation to delete the restore point. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the Restore Point Collection. | +**restore_point_name** | **String** | The name of the restore point. | +**api_version** | **String** | Client Api Version. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_points_get** +> restore_points_get(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> RestorePoint, OpenAPI.Clients.ApiResponse
+> restore_points_get(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ RestorePoint }, OpenAPI.Clients.ApiResponse + + + +The operation to get the restore point. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the restore point collection. | +**restore_point_name** | **String** | The name of the restore point. | +**api_version** | **String** | Client Api Version. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point. | [default to nothing] + +### Return type + +[**RestorePoint**](RestorePoint.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/ComputeManagementClient/docs/DeleteOption.md b/src/Compute/ComputeManagementClient/docs/DeleteOption.md new file mode 100644 index 0000000..cbe6087 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/DeleteOption.md @@ -0,0 +1,11 @@ +# DeleteOption + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/DetachOption.md b/src/Compute/ComputeManagementClient/docs/DetachOption.md new file mode 100644 index 0000000..b1e0336 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/DetachOption.md @@ -0,0 +1,11 @@ +# DetachOption + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/DiskRestorePointInstanceView.md b/src/Compute/ComputeManagementClient/docs/DiskRestorePointInstanceView.md new file mode 100644 index 0000000..a2d2f4b --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/DiskRestorePointInstanceView.md @@ -0,0 +1,13 @@ +# DiskRestorePointInstanceView + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Disk restore point Id. | [optional] [default to nothing] +**replicationStatus** | **Any** | The disk restore point replication status information. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/DiskRestorePointReplicationStatus.md b/src/Compute/ComputeManagementClient/docs/DiskRestorePointReplicationStatus.md new file mode 100644 index 0000000..4e24511 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/DiskRestorePointReplicationStatus.md @@ -0,0 +1,12 @@ +# DiskRestorePointReplicationStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **Any** | The resource status information. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/ExtendedLocation.md b/src/Compute/ComputeManagementClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/ExtendedLocationType.md b/src/Compute/ComputeManagementClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/HardwareProfile.md b/src/Compute/ComputeManagementClient/docs/HardwareProfile.md index ff4385b..1d7e604 100644 --- a/src/Compute/ComputeManagementClient/docs/HardwareProfile.md +++ b/src/Compute/ComputeManagementClient/docs/HardwareProfile.md @@ -4,7 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**vmSize** | **String** | Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> The available VM sizes depend on region and availability set. For a list of available sizes use these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes) | [optional] [default to nothing] +**vmSize** | **String** | Specifies the size of the virtual machine. <br><br> The enum data type is currently deprecated and will be removed by December 23rd 2023. <br><br> Recommended way to get the list of available sizes is using these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set. | [optional] [default to nothing] +**vmSizeProperties** | [***VMSizeProperties**](VMSizeProperties.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/Image.md b/src/Compute/ComputeManagementClient/docs/Image.md index bd82cf3..86a6722 100644 --- a/src/Compute/ComputeManagementClient/docs/Image.md +++ b/src/Compute/ComputeManagementClient/docs/Image.md @@ -4,12 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**properties** | [***ImageProperties**](ImageProperties.md) | | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **id** | **String** | Resource Id | [optional] [readonly] [default to nothing] **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] -**properties** | [***ImageProperties**](ImageProperties.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ImageAllOf.md b/src/Compute/ComputeManagementClient/docs/ImageAllOf.md deleted file mode 100644 index d335f92..0000000 --- a/src/Compute/ComputeManagementClient/docs/ImageAllOf.md +++ /dev/null @@ -1,12 +0,0 @@ -# ImageAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***ImageProperties**](ImageProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/ImageReference.md b/src/Compute/ComputeManagementClient/docs/ImageReference.md index 031dffd..482a38b 100644 --- a/src/Compute/ComputeManagementClient/docs/ImageReference.md +++ b/src/Compute/ComputeManagementClient/docs/ImageReference.md @@ -4,12 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **publisher** | **String** | The image publisher. | [optional] [default to nothing] **offer** | **String** | Specifies the offer of the platform image or marketplace image used to create the virtual machine. | [optional] [default to nothing] **sku** | **String** | The image SKU. | [optional] [default to nothing] -**version** | **String** | Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. | [optional] [default to nothing] +**version** | **String** | Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. | [optional] [default to nothing] **exactVersion** | **String** | Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. | [optional] [readonly] [default to nothing] +**sharedGalleryImageId** | **String** | Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. | [optional] [default to nothing] +**communityGalleryImageId** | **String** | Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ImageReferenceAllOf.md b/src/Compute/ComputeManagementClient/docs/ImageReferenceAllOf.md deleted file mode 100644 index 855d2d6..0000000 --- a/src/Compute/ComputeManagementClient/docs/ImageReferenceAllOf.md +++ /dev/null @@ -1,16 +0,0 @@ -# ImageReferenceAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**publisher** | **String** | The image publisher. | [optional] [default to nothing] -**offer** | **String** | Specifies the offer of the platform image or marketplace image used to create the virtual machine. | [optional] [default to nothing] -**sku** | **String** | The image SKU. | [optional] [default to nothing] -**version** | **String** | Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. | [optional] [default to nothing] -**exactVersion** | **String** | Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/ImageStorageProfile.md b/src/Compute/ComputeManagementClient/docs/ImageStorageProfile.md index bcc99a8..236d06a 100644 --- a/src/Compute/ComputeManagementClient/docs/ImageStorageProfile.md +++ b/src/Compute/ComputeManagementClient/docs/ImageStorageProfile.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **osDisk** | [***ImageOSDisk**](ImageOSDisk.md) | | [optional] [default to nothing] -**dataDisks** | [**Vector{ImageDataDisk}**](ImageDataDisk.md) | Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). | [optional] [default to nothing] +**dataDisks** | [**Vector{ImageDataDisk}**](ImageDataDisk.md) | Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). | [optional] [default to nothing] **zoneResilient** | **Bool** | Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). | [optional] [default to nothing] diff --git a/src/Compute/ComputeManagementClient/docs/ImagesApi.md b/src/Compute/ComputeManagementClient/docs/ImagesApi.md index 09e5768..752839a 100644 --- a/src/Compute/ComputeManagementClient/docs/ImagesApi.md +++ b/src/Compute/ComputeManagementClient/docs/ImagesApi.md @@ -25,11 +25,11 @@ Create or update an image. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ImagesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**image_name** | **String**| The name of the image. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**Image**](Image.md)| Parameters supplied to the Create Image operation. | +**resource_group_name** | **String** | The name of the resource group. | +**image_name** | **String** | The name of the image. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**Image**](Image.md) | Parameters supplied to the Create Image operation. | ### Return type @@ -59,10 +59,10 @@ Deletes an Image. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ImagesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**image_name** | **String**| The name of the image. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**image_name** | **String** | The name of the image. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -75,7 +75,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -92,16 +92,16 @@ Gets an image. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ImagesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**image_name** | **String**| The name of the image. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**image_name** | **String** | The name of the image. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] ### Return type @@ -131,8 +131,8 @@ Gets the list of Images in the subscription. Use nextLink property in the respon Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ImagesApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -162,9 +162,9 @@ Gets the list of images under a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ImagesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Update an image. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ImagesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**image_name** | **String**| The name of the image. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ImageUpdate**](ImageUpdate.md)| Parameters supplied to the Update Image operation. | +**resource_group_name** | **String** | The name of the resource group. | +**image_name** | **String** | The name of the image. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ImageUpdate**](ImageUpdate.md) | Parameters supplied to the Update Image operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/LastPatchInstallationSummary.md b/src/Compute/ComputeManagementClient/docs/LastPatchInstallationSummary.md new file mode 100644 index 0000000..be81912 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/LastPatchInstallationSummary.md @@ -0,0 +1,22 @@ +# LastPatchInstallationSummary + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **String** | The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" | [optional] [readonly] [default to nothing] +**installationActivityId** | **String** | The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. | [optional] [readonly] [default to nothing] +**maintenanceWindowExceeded** | **Bool** | Describes whether the operation ran out of time before it completed all its intended actions | [optional] [readonly] [default to nothing] +**notSelectedPatchCount** | **Int64** | The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. | [optional] [readonly] [default to nothing] +**excludedPatchCount** | **Int64** | The number of all available patches but excluded explicitly by a customer-specified exclusion list match. | [optional] [readonly] [default to nothing] +**pendingPatchCount** | **Int64** | The number of all available patches expected to be installed over the course of the patch installation operation. | [optional] [readonly] [default to nothing] +**installedPatchCount** | **Int64** | The count of patches that successfully installed. | [optional] [readonly] [default to nothing] +**failedPatchCount** | **Int64** | The count of patches that failed installation. | [optional] [readonly] [default to nothing] +**startTime** | **ZonedDateTime** | The UTC timestamp when the operation began. | [optional] [readonly] [default to nothing] +**lastModifiedTime** | **ZonedDateTime** | The UTC timestamp when the operation began. | [optional] [readonly] [default to nothing] +**error** | [***ApiError**](ApiError.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/LinuxConfiguration.md b/src/Compute/ComputeManagementClient/docs/LinuxConfiguration.md index e2a6994..9ec1959 100644 --- a/src/Compute/ComputeManagementClient/docs/LinuxConfiguration.md +++ b/src/Compute/ComputeManagementClient/docs/LinuxConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **disablePasswordAuthentication** | **Bool** | Specifies whether password authentication should be disabled. | [optional] [default to nothing] **ssh** | [***SshConfiguration**](SshConfiguration.md) | | [optional] [default to nothing] **provisionVMAgent** | **Bool** | Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. | [optional] [default to nothing] +**patchSettings** | [***LinuxPatchSettings**](LinuxPatchSettings.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/LinuxParameters.md b/src/Compute/ComputeManagementClient/docs/LinuxParameters.md new file mode 100644 index 0000000..fe34c33 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/LinuxParameters.md @@ -0,0 +1,15 @@ +# LinuxParameters + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**classificationsToInclude** | **Vector{String}** | The update classifications to select when installing patches for Linux. | [optional] [default to nothing] +**packageNameMasksToInclude** | **Vector{String}** | packages to include in the patch operation. Format: packageName_packageVersion | [optional] [default to nothing] +**packageNameMasksToExclude** | **Vector{String}** | packages to exclude in the patch operation. Format: packageName_packageVersion | [optional] [default to nothing] +**maintenanceRunId** | **String** | This is used as a maintenance run identifier for Auto VM Guest Patching in Linux. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/LinuxPatchSettings.md b/src/Compute/ComputeManagementClient/docs/LinuxPatchSettings.md new file mode 100644 index 0000000..fc92dd2 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/LinuxPatchSettings.md @@ -0,0 +1,13 @@ +# LinuxPatchSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**patchMode** | **String** | Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true | [optional] [default to nothing] +**assessmentMode** | **String** | Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/LogAnalyticsApi.md b/src/Compute/ComputeManagementClient/docs/LogAnalyticsApi.md index 4eeac57..b31ecbf 100644 --- a/src/Compute/ComputeManagementClient/docs/LogAnalyticsApi.md +++ b/src/Compute/ComputeManagementClient/docs/LogAnalyticsApi.md @@ -21,10 +21,10 @@ Export logs that show Api requests made by this subscription in the given time w Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LogAnalyticsApi** | API context | -**location** | **String**| The location upon which virtual-machine-sizes is queried. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**RequestRateByIntervalInput**](RequestRateByIntervalInput.md)| Parameters supplied to the LogAnalytics getRequestRateByInterval Api. | +**location** | **String** | The location upon which virtual-machine-sizes is queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**RequestRateByIntervalInput**](RequestRateByIntervalInput.md) | Parameters supplied to the LogAnalytics getRequestRateByInterval Api. | ### Return type @@ -54,10 +54,10 @@ Export logs that show total throttled Api requests for this subscription in the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LogAnalyticsApi** | API context | -**location** | **String**| The location upon which virtual-machine-sizes is queried. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ThrottledRequestsInput**](ThrottledRequestsInput.md)| Parameters supplied to the LogAnalytics getThrottledRequests Api. | +**location** | **String** | The location upon which virtual-machine-sizes is queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ThrottledRequestsInput**](ThrottledRequestsInput.md) | Parameters supplied to the LogAnalytics getThrottledRequests Api. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/LogAnalyticsInputBase.md b/src/Compute/ComputeManagementClient/docs/LogAnalyticsInputBase.md index 3362abc..d75623b 100644 --- a/src/Compute/ComputeManagementClient/docs/LogAnalyticsInputBase.md +++ b/src/Compute/ComputeManagementClient/docs/LogAnalyticsInputBase.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **groupByThrottlePolicy** | **Bool** | Group query result by Throttle Policy applied. | [optional] [default to nothing] **groupByOperationName** | **Bool** | Group query result by Operation Name. | [optional] [default to nothing] **groupByResourceName** | **Bool** | Group query result by Resource Name. | [optional] [default to nothing] +**groupByClientApplicationId** | **Bool** | Group query result by Client Application ID. | [optional] [default to nothing] +**groupByUserAgent** | **Bool** | Group query result by User Agent. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ManagedDiskParameters.md b/src/Compute/ComputeManagementClient/docs/ManagedDiskParameters.md index 03cd508..1c3a4e7 100644 --- a/src/Compute/ComputeManagementClient/docs/ManagedDiskParameters.md +++ b/src/Compute/ComputeManagementClient/docs/ManagedDiskParameters.md @@ -4,9 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **storageAccountType** | [***StorageAccountType**](StorageAccountType.md) | | [optional] [default to nothing] **diskEncryptionSet** | [***DiskEncryptionSetParameters**](DiskEncryptionSetParameters.md) | | [optional] [default to nothing] +**securityProfile** | [***VMDiskSecurityProfile**](VMDiskSecurityProfile.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ManagedDiskParametersAllOf.md b/src/Compute/ComputeManagementClient/docs/ManagedDiskParametersAllOf.md deleted file mode 100644 index 2b3bf1a..0000000 --- a/src/Compute/ComputeManagementClient/docs/ManagedDiskParametersAllOf.md +++ /dev/null @@ -1,13 +0,0 @@ -# ManagedDiskParametersAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**storageAccountType** | [***StorageAccountType**](StorageAccountType.md) | | [optional] [default to nothing] -**diskEncryptionSet** | [***DiskEncryptionSetParameters**](DiskEncryptionSetParameters.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReference.md b/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReference.md index 4b377bf..47e833f 100644 --- a/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReference.md +++ b/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReference.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **properties** | [***NetworkInterfaceReferenceProperties**](NetworkInterfaceReferenceProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceAllOf.md b/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceAllOf.md deleted file mode 100644 index 7abd269..0000000 --- a/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceAllOf.md +++ /dev/null @@ -1,12 +0,0 @@ -# NetworkInterfaceReferenceAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***NetworkInterfaceReferenceProperties**](NetworkInterfaceReferenceProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceProperties.md b/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceProperties.md index 3641799..8f907c7 100644 --- a/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceProperties.md +++ b/src/Compute/ComputeManagementClient/docs/NetworkInterfaceReferenceProperties.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **primary** | **Bool** | Specifies the primary network interface in case the virtual machine has more than 1 network interface. | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the network interface when the VM is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/NetworkProfile.md b/src/Compute/ComputeManagementClient/docs/NetworkProfile.md index 66031df..dfb9d62 100644 --- a/src/Compute/ComputeManagementClient/docs/NetworkProfile.md +++ b/src/Compute/ComputeManagementClient/docs/NetworkProfile.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **networkInterfaces** | [**Vector{NetworkInterfaceReference}**](NetworkInterfaceReference.md) | Specifies the list of resource Ids for the network interfaces associated with the virtual machine. | [optional] [default to nothing] +**networkApiVersion** | **String** | specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations | [optional] [default to nothing] +**networkInterfaceConfigurations** | [**Vector{VirtualMachineNetworkInterfaceConfiguration}**](VirtualMachineNetworkInterfaceConfiguration.md) | Specifies the networking configurations that will be used to create the virtual machine networking resources. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/OSDisk.md b/src/Compute/ComputeManagementClient/docs/OSDisk.md index 6a3a720..53dce7f 100644 --- a/src/Compute/ComputeManagementClient/docs/OSDisk.md +++ b/src/Compute/ComputeManagementClient/docs/OSDisk.md @@ -15,6 +15,7 @@ Name | Type | Description | Notes **createOption** | [***CreateOption**](CreateOption.md) | | [default to nothing] **diskSizeGB** | **Int64** | Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB | [optional] [default to nothing] **managedDisk** | [***ManagedDiskParameters**](ManagedDiskParameters.md) | | [optional] [default to nothing] +**deleteOption** | [***DeleteOption**](DeleteOption.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/OSProfile.md b/src/Compute/ComputeManagementClient/docs/OSProfile.md index 3dc1c7d..07a4e2a 100644 --- a/src/Compute/ComputeManagementClient/docs/OSProfile.md +++ b/src/Compute/ComputeManagementClient/docs/OSProfile.md @@ -4,15 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**computerName** | **String** | Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions). | [optional] [default to nothing] -**adminUsername** | **String** | Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) | [optional] [default to nothing] -**adminPassword** | **String** | Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) | [optional] [default to nothing] -**customData** | **String** | Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) | [optional] [default to nothing] +**computerName** | **String** | Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). | [optional] [default to nothing] +**adminUsername** | **String** | Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters. | [optional] [default to nothing] +**adminPassword** | **String** | Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) | [optional] [default to nothing] +**customData** | **String** | Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) | [optional] [default to nothing] **windowsConfiguration** | [***WindowsConfiguration**](WindowsConfiguration.md) | | [optional] [default to nothing] **linuxConfiguration** | [***LinuxConfiguration**](LinuxConfiguration.md) | | [optional] [default to nothing] -**secrets** | [**Vector{VaultSecretGroup}**](VaultSecretGroup.md) | Specifies set of certificates that should be installed onto the virtual machine. | [optional] [default to nothing] +**secrets** | [**Vector{VaultSecretGroup}**](VaultSecretGroup.md) | Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). | [optional] [default to nothing] **allowExtensionOperations** | **Bool** | Specifies whether extension operations should be allowed on the virtual machine. <br><br>This may only be set to False when no extensions are present on the virtual machine. | [optional] [default to nothing] -**requireGuestProvisionSignal** | **Bool** | Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.** | [optional] [default to nothing] +**requireGuestProvisionSignal** | **Bool** | Optional property which must either be set to True or omitted. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/OrchestrationMode.md b/src/Compute/ComputeManagementClient/docs/OrchestrationMode.md new file mode 100644 index 0000000..f6a2979 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/OrchestrationMode.md @@ -0,0 +1,11 @@ +# OrchestrationMode + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/PatchInstallationDetail.md b/src/Compute/ComputeManagementClient/docs/PatchInstallationDetail.md new file mode 100644 index 0000000..cbc3f35 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/PatchInstallationDetail.md @@ -0,0 +1,17 @@ +# PatchInstallationDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**patchId** | **String** | A unique identifier for the patch. | [optional] [readonly] [default to nothing] +**name** | **String** | The friendly name of the patch. | [optional] [readonly] [default to nothing] +**version** | **String** | The version string of the package. It may conform to Semantic Versioning. Only applies to Linux. | [optional] [readonly] [default to nothing] +**kbId** | **String** | The KBID of the patch. Only applies to Windows patches. | [optional] [readonly] [default to nothing] +**classifications** | **Vector{String}** | The classification(s) of the patch as provided by the patch publisher. | [optional] [readonly] [default to nothing] +**installationState** | **String** | The state of the patch after the installation operation completed. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/PatchSettings.md b/src/Compute/ComputeManagementClient/docs/PatchSettings.md index b9cf9c4..b52b214 100644 --- a/src/Compute/ComputeManagementClient/docs/PatchSettings.md +++ b/src/Compute/ComputeManagementClient/docs/PatchSettings.md @@ -4,7 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**patchMode** | **String** | Specifies the mode of in-guest patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> ** AutomaticByPlatform** - the virtual machine will automatically updated by the OS. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true | [optional] [default to nothing] +**patchMode** | **String** | Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true | [optional] [default to nothing] +**enableHotpatching** | **Bool** | Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. | [optional] [default to nothing] +**assessmentMode** | **String** | Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ProximityPlacementGroupsApi.md b/src/Compute/ComputeManagementClient/docs/ProximityPlacementGroupsApi.md index 4bca1c1..132a01b 100644 --- a/src/Compute/ComputeManagementClient/docs/ProximityPlacementGroupsApi.md +++ b/src/Compute/ComputeManagementClient/docs/ProximityPlacementGroupsApi.md @@ -25,11 +25,11 @@ Create or update a proximity placement group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProximityPlacementGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**proximity_placement_group_name** | **String**| The name of the proximity placement group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ProximityPlacementGroup**](ProximityPlacementGroup.md)| Parameters supplied to the Create Proximity Placement Group operation. | +**resource_group_name** | **String** | The name of the resource group. | +**proximity_placement_group_name** | **String** | The name of the proximity placement group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ProximityPlacementGroup**](ProximityPlacementGroup.md) | Parameters supplied to the Create Proximity Placement Group operation. | ### Return type @@ -59,10 +59,10 @@ Delete a proximity placement group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProximityPlacementGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**proximity_placement_group_name** | **String**| The name of the proximity placement group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**proximity_placement_group_name** | **String** | The name of the proximity placement group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -75,7 +75,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -92,16 +92,16 @@ Retrieves information about a proximity placement group . Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProximityPlacementGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**proximity_placement_group_name** | **String**| The name of the proximity placement group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**proximity_placement_group_name** | **String** | The name of the proximity placement group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **include_colocation_status** | **String**| includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group. | [default to nothing] + **include_colocation_status** | **String** | includeColocationStatus=true enables fetching the colocation status of all the resources in the proximity placement group. | [default to nothing] ### Return type @@ -131,9 +131,9 @@ Lists all proximity placement groups in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProximityPlacementGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -163,8 +163,8 @@ Lists all proximity placement groups in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProximityPlacementGroupsApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Update a proximity placement group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProximityPlacementGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**proximity_placement_group_name** | **String**| The name of the proximity placement group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ProximityPlacementGroupUpdate**](ProximityPlacementGroupUpdate.md)| Parameters supplied to the Update Proximity Placement Group operation. | +**resource_group_name** | **String** | The name of the resource group. | +**proximity_placement_group_name** | **String** | The name of the proximity placement group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ProximityPlacementGroupUpdate**](ProximityPlacementGroupUpdate.md) | Parameters supplied to the Update Proximity Placement Group operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/ProxyResource.md b/src/Compute/ComputeManagementClient/docs/ProxyResource.md new file mode 100644 index 0000000..e103e0f --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/ProxyResource.md @@ -0,0 +1,14 @@ +# ProxyResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/PublicIPAddressSku.md b/src/Compute/ComputeManagementClient/docs/PublicIPAddressSku.md new file mode 100644 index 0000000..d967a62 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/PublicIPAddressSku.md @@ -0,0 +1,13 @@ +# PublicIPAddressSku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Specify public IP sku name | [optional] [default to nothing] +**tier** | **String** | Specify public IP sku tier | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RequestRateByIntervalInput.md b/src/Compute/ComputeManagementClient/docs/RequestRateByIntervalInput.md index 8ccdc62..f2d64d4 100644 --- a/src/Compute/ComputeManagementClient/docs/RequestRateByIntervalInput.md +++ b/src/Compute/ComputeManagementClient/docs/RequestRateByIntervalInput.md @@ -11,6 +11,8 @@ Name | Type | Description | Notes **groupByThrottlePolicy** | **Bool** | Group query result by Throttle Policy applied. | [optional] [default to nothing] **groupByOperationName** | **Bool** | Group query result by Operation Name. | [optional] [default to nothing] **groupByResourceName** | **Bool** | Group query result by Resource Name. | [optional] [default to nothing] +**groupByClientApplicationId** | **Bool** | Group query result by Client Application ID. | [optional] [default to nothing] +**groupByUserAgent** | **Bool** | Group query result by User Agent. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/RestorePoint.md b/src/Compute/ComputeManagementClient/docs/RestorePoint.md new file mode 100644 index 0000000..0b3e167 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePoint.md @@ -0,0 +1,15 @@ +# RestorePoint + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***RestorePointProperties**](RestorePointProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointCollection.md b/src/Compute/ComputeManagementClient/docs/RestorePointCollection.md new file mode 100644 index 0000000..3f13fe1 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointCollection.md @@ -0,0 +1,17 @@ +# RestorePointCollection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***RestorePointCollectionProperties**](RestorePointCollectionProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointCollectionListResult.md b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionListResult.md new file mode 100644 index 0000000..1d51869 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionListResult.md @@ -0,0 +1,13 @@ +# RestorePointCollectionListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{RestorePointCollection}**](RestorePointCollection.md) | Gets the list of restore point collections. | [optional] [default to nothing] +**nextLink** | **String** | The uri to fetch the next page of RestorePointCollections. Call ListNext() with this to fetch the next page of RestorePointCollections | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointCollectionProperties.md b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionProperties.md new file mode 100644 index 0000000..8ff1e26 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionProperties.md @@ -0,0 +1,15 @@ +# RestorePointCollectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [***RestorePointCollectionSourceProperties**](RestorePointCollectionSourceProperties.md) | | [optional] [default to nothing] +**provisioningState** | **String** | The provisioning state of the restore point collection. | [optional] [readonly] [default to nothing] +**restorePointCollectionId** | **String** | The unique id of the restore point collection. | [optional] [readonly] [default to nothing] +**restorePoints** | [**Vector{RestorePoint}**](RestorePoint.md) | A list containing all restore points created under this restore point collection. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointCollectionSourceProperties.md b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionSourceProperties.md new file mode 100644 index 0000000..7360ffd --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionSourceProperties.md @@ -0,0 +1,13 @@ +# RestorePointCollectionSourceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **String** | Location of the source resource used to create this restore point collection. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource Id of the source resource used to create this restore point collection | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointCollectionUpdate.md b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionUpdate.md new file mode 100644 index 0000000..42600b1 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionUpdate.md @@ -0,0 +1,13 @@ +# RestorePointCollectionUpdate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***RestorePointCollectionProperties**](RestorePointCollectionProperties.md) | | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointCollectionsApi.md b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionsApi.md new file mode 100644 index 0000000..62bbbe1 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointCollectionsApi.md @@ -0,0 +1,217 @@ +# RestorePointCollectionsApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**restore_point_collections_create_or_update**](RestorePointCollectionsApi.md#restore_point_collections_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName} | +[**restore_point_collections_delete**](RestorePointCollectionsApi.md#restore_point_collections_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName} | +[**restore_point_collections_get**](RestorePointCollectionsApi.md#restore_point_collections_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName} | +[**restore_point_collections_list**](RestorePointCollectionsApi.md#restore_point_collections_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections | +[**restore_point_collections_list_all**](RestorePointCollectionsApi.md#restore_point_collections_list_all) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections | +[**restore_point_collections_update**](RestorePointCollectionsApi.md#restore_point_collections_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName} | + + +# **restore_point_collections_create_or_update** +> restore_point_collections_create_or_update(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollection; _mediaType=nothing) -> RestorePointCollection, OpenAPI.Clients.ApiResponse
+> restore_point_collections_create_or_update(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollection; _mediaType=nothing) -> Channel{ RestorePointCollection }, OpenAPI.Clients.ApiResponse + + + +The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **RestorePointCollectionsApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the restore point collection. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**RestorePointCollection**](RestorePointCollection.md) | Parameters supplied to the Create or Update restore point collection operation. | + +### Return type + +[**RestorePointCollection**](RestorePointCollection.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_point_collections_delete** +> restore_point_collections_delete(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> restore_point_collections_delete(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +The operation to delete the restore point collection. This operation will also delete all the contained restore points. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **RestorePointCollectionsApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the Restore Point Collection. | +**api_version** | **String** | Client Api Version. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_point_collections_get** +> restore_point_collections_get(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> RestorePointCollection, OpenAPI.Clients.ApiResponse
+> restore_point_collections_get(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ RestorePointCollection }, OpenAPI.Clients.ApiResponse + + + +The operation to get the restore point collection. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **RestorePointCollectionsApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the restore point collection. | +**api_version** | **String** | Client Api Version. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. If expand=restorePoints, server will return all contained restore points in the restorePointCollection. | [default to nothing] + +### Return type + +[**RestorePointCollection**](RestorePointCollection.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_point_collections_list** +> restore_point_collections_list(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> RestorePointCollectionListResult, OpenAPI.Clients.ApiResponse
+> restore_point_collections_list(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> Channel{ RestorePointCollectionListResult }, OpenAPI.Clients.ApiResponse + + + +Gets the list of restore point collections in a resource group. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **RestorePointCollectionsApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | + +### Return type + +[**RestorePointCollectionListResult**](RestorePointCollectionListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_point_collections_list_all** +> restore_point_collections_list_all(_api::RestorePointCollectionsApi, api_version::String, subscription_id::String; _mediaType=nothing) -> RestorePointCollectionListResult, OpenAPI.Clients.ApiResponse
+> restore_point_collections_list_all(_api::RestorePointCollectionsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ RestorePointCollectionListResult }, OpenAPI.Clients.ApiResponse + + + +Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **RestorePointCollectionsApi** | API context | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**RestorePointCollectionListResult**](RestorePointCollectionListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **restore_point_collections_update** +> restore_point_collections_update(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollectionUpdate; _mediaType=nothing) -> RestorePointCollection, OpenAPI.Clients.ApiResponse
+> restore_point_collections_update(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollectionUpdate; _mediaType=nothing) -> Channel{ RestorePointCollection }, OpenAPI.Clients.ApiResponse + + + +The operation to update the restore point collection. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **RestorePointCollectionsApi** | API context | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**restore_point_collection_name** | **String** | The name of the restore point collection. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**RestorePointCollectionUpdate**](RestorePointCollectionUpdate.md) | Parameters supplied to the Update restore point collection operation. | + +### Return type + +[**RestorePointCollection**](RestorePointCollection.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointInstanceView.md b/src/Compute/ComputeManagementClient/docs/RestorePointInstanceView.md new file mode 100644 index 0000000..7a0c0e7 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointInstanceView.md @@ -0,0 +1,13 @@ +# RestorePointInstanceView + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**diskRestorePoints** | [**Vector{DiskRestorePointInstanceView}**](DiskRestorePointInstanceView.md) | The disk restore points information. | [optional] [default to nothing] +**statuses** | [**Vector{InstanceViewStatus}**](InstanceViewStatus.md) | The resource status information. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointProperties.md b/src/Compute/ComputeManagementClient/docs/RestorePointProperties.md new file mode 100644 index 0000000..37b0cbc --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointProperties.md @@ -0,0 +1,18 @@ +# RestorePointProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**excludeDisks** | [**Vector{ApiEntityReference}**](ApiEntityReference.md) | List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. | [optional] [default to nothing] +**sourceMetadata** | [***RestorePointSourceMetadata**](RestorePointSourceMetadata.md) | | [optional] [default to nothing] +**provisioningState** | **String** | Gets the provisioning state of the restore point. | [optional] [readonly] [default to nothing] +**consistencyMode** | **String** | Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details. | [optional] [readonly] [default to nothing] +**timeCreated** | **ZonedDateTime** | Gets the creation time of the restore point. | [optional] [default to nothing] +**sourceRestorePoint** | [***ApiEntityReference**](ApiEntityReference.md) | | [optional] [default to nothing] +**instanceView** | [***RestorePointInstanceView**](RestorePointInstanceView.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointSourceMetadata.md b/src/Compute/ComputeManagementClient/docs/RestorePointSourceMetadata.md new file mode 100644 index 0000000..cd221ba --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointSourceMetadata.md @@ -0,0 +1,19 @@ +# RestorePointSourceMetadata + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**hardwareProfile** | [***HardwareProfile**](HardwareProfile.md) | | [optional] [default to nothing] +**storageProfile** | [***RestorePointSourceVMStorageProfile**](RestorePointSourceVMStorageProfile.md) | | [optional] [default to nothing] +**osProfile** | [***OSProfile**](OSProfile.md) | | [optional] [default to nothing] +**diagnosticsProfile** | [***DiagnosticsProfile**](DiagnosticsProfile.md) | | [optional] [default to nothing] +**licenseType** | **String** | Gets the license type, which is for bring your own license scenario. | [optional] [default to nothing] +**vmId** | **String** | Gets the virtual machine unique id. | [optional] [default to nothing] +**securityProfile** | [***SecurityProfile**](SecurityProfile.md) | | [optional] [default to nothing] +**location** | **String** | Location of the VM from which the restore point was created. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMDataDisk.md b/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMDataDisk.md new file mode 100644 index 0000000..b51c633 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMDataDisk.md @@ -0,0 +1,17 @@ +# RestorePointSourceVMDataDisk + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lun** | **Int64** | Gets the logical unit number. | [optional] [default to nothing] +**name** | **String** | Gets the disk name. | [optional] [default to nothing] +**caching** | [***Caching**](Caching.md) | | [optional] [default to nothing] +**diskSizeGB** | **Int64** | Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks. | [optional] [default to nothing] +**managedDisk** | [***ManagedDiskParameters**](ManagedDiskParameters.md) | | [optional] [default to nothing] +**diskRestorePoint** | [***ApiEntityReference**](ApiEntityReference.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMOSDisk.md b/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMOSDisk.md new file mode 100644 index 0000000..1b1cc16 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMOSDisk.md @@ -0,0 +1,18 @@ +# RestorePointSourceVMOSDisk + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**osType** | **String** | Gets the Operating System type. | [optional] [default to nothing] +**encryptionSettings** | [***DiskEncryptionSettings**](DiskEncryptionSettings.md) | | [optional] [default to nothing] +**name** | **String** | Gets the disk name. | [optional] [default to nothing] +**caching** | [***Caching**](Caching.md) | | [optional] [default to nothing] +**diskSizeGB** | **Int64** | Gets the disk size in GB. | [optional] [default to nothing] +**managedDisk** | [***ManagedDiskParameters**](ManagedDiskParameters.md) | | [optional] [default to nothing] +**diskRestorePoint** | [***ApiEntityReference**](ApiEntityReference.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMStorageProfile.md b/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMStorageProfile.md new file mode 100644 index 0000000..d9c3901 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/RestorePointSourceVMStorageProfile.md @@ -0,0 +1,13 @@ +# RestorePointSourceVMStorageProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**osDisk** | [***RestorePointSourceVMOSDisk**](RestorePointSourceVMOSDisk.md) | | [optional] [default to nothing] +**dataDisks** | [**Vector{RestorePointSourceVMDataDisk}**](RestorePointSourceVMDataDisk.md) | Gets the data disks of the VM captured at the time of the restore point creation. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/RollingUpgradePolicy.md b/src/Compute/ComputeManagementClient/docs/RollingUpgradePolicy.md index c8531f1..f2a2dfb 100644 --- a/src/Compute/ComputeManagementClient/docs/RollingUpgradePolicy.md +++ b/src/Compute/ComputeManagementClient/docs/RollingUpgradePolicy.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **maxUnhealthyInstancePercent** | **Int64** | The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. | [optional] [default to nothing] **maxUnhealthyUpgradedInstancePercent** | **Int64** | The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. | [optional] [default to nothing] **pauseTimeBetweenBatches** | **String** | The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). | [optional] [default to nothing] +**enableCrossZoneUpgrade** | **Bool** | Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. | [optional] [default to nothing] +**prioritizeUnhealthyInstances** | **Bool** | Upgrade all unhealthy instances in a scale set before any healthy instances. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ScaleInPolicy.md b/src/Compute/ComputeManagementClient/docs/ScaleInPolicy.md index cd23e2c..6d6fab3 100644 --- a/src/Compute/ComputeManagementClient/docs/ScaleInPolicy.md +++ b/src/Compute/ComputeManagementClient/docs/ScaleInPolicy.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **rules** | **Vector{String}** | The rules to be followed when scaling-in a virtual machine scale set. <br><br> Possible values are: <br><br> **Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. <br><br> **OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. <br><br> **NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal. <br><br> | [optional] [default to nothing] +**forceDeletion** | **Bool** | This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview) | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/SecurityProfile.md b/src/Compute/ComputeManagementClient/docs/SecurityProfile.md index ad9b2c8..8b7c7ae 100644 --- a/src/Compute/ComputeManagementClient/docs/SecurityProfile.md +++ b/src/Compute/ComputeManagementClient/docs/SecurityProfile.md @@ -4,7 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**uefiSettings** | [***UefiSettings**](UefiSettings.md) | | [optional] [default to nothing] **encryptionAtHost** | **Bool** | This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource. | [optional] [default to nothing] +**securityType** | **String** | Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/SpotRestorePolicy.md b/src/Compute/ComputeManagementClient/docs/SpotRestorePolicy.md new file mode 100644 index 0000000..0587c2e --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/SpotRestorePolicy.md @@ -0,0 +1,13 @@ +# SpotRestorePolicy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Bool** | Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints | [optional] [default to nothing] +**restoreTimeout** | **String** | Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/SshPublicKey.md b/src/Compute/ComputeManagementClient/docs/SshPublicKey.md index d07eda8..ce661e7 100644 --- a/src/Compute/ComputeManagementClient/docs/SshPublicKey.md +++ b/src/Compute/ComputeManagementClient/docs/SshPublicKey.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **path** | **String** | Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys | [optional] [default to nothing] -**keyData** | **String** | SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). | [optional] [default to nothing] +**keyData** | **String** | SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/SshPublicKeysApi.md b/src/Compute/ComputeManagementClient/docs/SshPublicKeysApi.md index f0ef353..d1849fc 100644 --- a/src/Compute/ComputeManagementClient/docs/SshPublicKeysApi.md +++ b/src/Compute/ComputeManagementClient/docs/SshPublicKeysApi.md @@ -26,11 +26,11 @@ Creates a new SSH public key resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**ssh_public_key_name** | **String**| The name of the SSH public key. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**SshPublicKeyResource**](SshPublicKeyResource.md)| Parameters supplied to create the SSH public key. | +**resource_group_name** | **String** | The name of the resource group. | +**ssh_public_key_name** | **String** | The name of the SSH public key. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**SshPublicKeyResource**](SshPublicKeyResource.md) | Parameters supplied to create the SSH public key. | ### Return type @@ -60,10 +60,10 @@ Delete an SSH public key. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**ssh_public_key_name** | **String**| The name of the SSH public key. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**ssh_public_key_name** | **String** | The name of the SSH public key. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -76,7 +76,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -93,10 +93,10 @@ Generates and returns a public/private key pair and populates the SSH public key Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**ssh_public_key_name** | **String**| The name of the SSH public key. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**ssh_public_key_name** | **String** | The name of the SSH public key. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +126,10 @@ Retrieves information about an SSH public key. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**ssh_public_key_name** | **String**| The name of the SSH public key. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**ssh_public_key_name** | **String** | The name of the SSH public key. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -159,9 +159,9 @@ Lists all of the SSH public keys in the specified resource group. Use the nextLi Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -191,8 +191,8 @@ Lists all of the SSH public keys in the subscription. Use the nextLink property Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -222,11 +222,11 @@ Updates a new SSH public key resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SshPublicKeysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**ssh_public_key_name** | **String**| The name of the SSH public key. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**SshPublicKeyUpdateResource**](SshPublicKeyUpdateResource.md)| Parameters supplied to update the SSH public key. | +**resource_group_name** | **String** | The name of the resource group. | +**ssh_public_key_name** | **String** | The name of the SSH public key. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**SshPublicKeyUpdateResource**](SshPublicKeyUpdateResource.md) | Parameters supplied to update the SSH public key. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/StorageProfile.md b/src/Compute/ComputeManagementClient/docs/StorageProfile.md index 7ceabeb..a973e49 100644 --- a/src/Compute/ComputeManagementClient/docs/StorageProfile.md +++ b/src/Compute/ComputeManagementClient/docs/StorageProfile.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **imageReference** | [***ImageReference**](ImageReference.md) | | [optional] [default to nothing] **osDisk** | [***OSDisk**](OSDisk.md) | | [optional] [default to nothing] -**dataDisks** | [**Vector{DataDisk}**](DataDisk.md) | Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). | [optional] [default to nothing] +**dataDisks** | [**Vector{DataDisk}**](DataDisk.md) | Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/ThrottledRequestsInput.md b/src/Compute/ComputeManagementClient/docs/ThrottledRequestsInput.md index b20061e..ffdd8b5 100644 --- a/src/Compute/ComputeManagementClient/docs/ThrottledRequestsInput.md +++ b/src/Compute/ComputeManagementClient/docs/ThrottledRequestsInput.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **groupByThrottlePolicy** | **Bool** | Group query result by Throttle Policy applied. | [optional] [default to nothing] **groupByOperationName** | **Bool** | Group query result by Operation Name. | [optional] [default to nothing] **groupByResourceName** | **Bool** | Group query result by Resource Name. | [optional] [default to nothing] +**groupByClientApplicationId** | **Bool** | Group query result by Client Application ID. | [optional] [default to nothing] +**groupByUserAgent** | **Bool** | Group query result by User Agent. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/UefiSettings.md b/src/Compute/ComputeManagementClient/docs/UefiSettings.md new file mode 100644 index 0000000..56d2901 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/UefiSettings.md @@ -0,0 +1,13 @@ +# UefiSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**secureBootEnabled** | **Bool** | Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01 | [optional] [default to nothing] +**vTpmEnabled** | **Bool** | Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01 | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/UsageApi.md b/src/Compute/ComputeManagementClient/docs/UsageApi.md index f929c91..452b8bb 100644 --- a/src/Compute/ComputeManagementClient/docs/UsageApi.md +++ b/src/Compute/ComputeManagementClient/docs/UsageApi.md @@ -20,9 +20,9 @@ Gets, for the specified location, the current compute resource usage information Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **UsageApi** | API context | -**location** | **String**| The location for which resource usage is queried. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location for which resource usage is queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VMDiskSecurityProfile.md b/src/Compute/ComputeManagementClient/docs/VMDiskSecurityProfile.md new file mode 100644 index 0000000..0f2e40b --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VMDiskSecurityProfile.md @@ -0,0 +1,13 @@ +# VMDiskSecurityProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**securityEncryptionType** | **String** | Specifies the EncryptionType of the managed disk. <br> It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. <br><br> NOTE: It can be set for only Confidential VMs. | [optional] [default to nothing] +**diskEncryptionSet** | [***DiskEncryptionSetParameters**](DiskEncryptionSetParameters.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VMGalleryApplication.md b/src/Compute/ComputeManagementClient/docs/VMGalleryApplication.md new file mode 100644 index 0000000..ada310a --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VMGalleryApplication.md @@ -0,0 +1,15 @@ +# VMGalleryApplication + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tags** | **String** | Optional, Specifies a passthrough value for more generic context. | [optional] [default to nothing] +**order** | **Int64** | Optional, Specifies the order in which the packages have to be installed | [optional] [default to nothing] +**packageReferenceId** | **String** | Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} | [default to nothing] +**configurationReference** | **String** | Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VMSizeProperties.md b/src/Compute/ComputeManagementClient/docs/VMSizeProperties.md new file mode 100644 index 0000000..31cfc7f --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VMSizeProperties.md @@ -0,0 +1,13 @@ +# VMSizeProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vCPUsAvailable** | **Int64** | Specifies the number of vCPUs available for the VM. <br><br> When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) . | [optional] [default to nothing] +**vCPUsPerCore** | **Int64** | Specifies the vCPU to physical core ratio. <br><br> When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) <br><br> Setting this property to 1 also means that hyper-threading is disabled. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VaultCertificate.md b/src/Compute/ComputeManagementClient/docs/VaultCertificate.md index 9f2e1ee..3b8d62a 100644 --- a/src/Compute/ComputeManagementClient/docs/VaultCertificate.md +++ b/src/Compute/ComputeManagementClient/docs/VaultCertificate.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**certificateUrl** | **String** | This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} | [optional] [default to nothing] +**certificateUrl** | **String** | This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). | [optional] [default to nothing] **certificateStore** | **String** | For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted. | [optional] [default to nothing] diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachine.md b/src/Compute/ComputeManagementClient/docs/VirtualMachine.md index 660a9c6..3f1e1d0 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachine.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachine.md @@ -4,16 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] **plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] **properties** | [***VirtualMachineProperties**](VirtualMachineProperties.md) | | [optional] [default to nothing] **resources** | [**Vector{VirtualMachineExtension}**](VirtualMachineExtension.md) | The virtual machine child extension resources. | [optional] [readonly] [default to nothing] **identity** | [***VirtualMachineIdentity**](VirtualMachineIdentity.md) | | [optional] [default to nothing] **zones** | **Vector{String}** | The virtual machine zones. | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineAllOf.md deleted file mode 100644 index ae9d80c..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineAllOf.md +++ /dev/null @@ -1,16 +0,0 @@ -# VirtualMachineAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] -**properties** | [***VirtualMachineProperties**](VirtualMachineProperties.md) | | [optional] [default to nothing] -**resources** | [**Vector{VirtualMachineExtension}**](VirtualMachineExtension.md) | The virtual machine child extension resources. | [optional] [readonly] [default to nothing] -**identity** | [***VirtualMachineIdentity**](VirtualMachineIdentity.md) | | [optional] [default to nothing] -**zones** | **Vector{String}** | The virtual machine zones. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineAssessPatchesResult.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineAssessPatchesResult.md index 6c694e5..8ec2303 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineAssessPatchesResult.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineAssessPatchesResult.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**status** | **String** | The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" | [optional] [readonly] [default to nothing] +**status** | **String** | The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" | [optional] [readonly] [default to nothing] **assessmentActivityId** | **String** | The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. | [optional] [readonly] [default to nothing] **rebootPending** | **Bool** | The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. | [optional] [readonly] [default to nothing] **criticalAndSecurityPatchCount** | **Int64** | The number of critical or security patches that have been detected as available and not yet installed. | [optional] [readonly] [default to nothing] **otherPatchCount** | **Int64** | The number of all available patches excluding critical and security. | [optional] [readonly] [default to nothing] **startDateTime** | **ZonedDateTime** | The UTC timestamp when the operation began. | [optional] [readonly] [default to nothing] -**patches** | [**Vector{VirtualMachineSoftwarePatchProperties}**](VirtualMachineSoftwarePatchProperties.md) | The list of patches that have been detected as available for installation. | [optional] [readonly] [default to nothing] +**availablePatches** | [**Vector{VirtualMachineSoftwarePatchProperties}**](VirtualMachineSoftwarePatchProperties.md) | The list of patches that have been detected as available for installation. | [optional] [readonly] [default to nothing] **error** | [***ApiError**](ApiError.md) | | [optional] [default to nothing] diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResult.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResult.md index c9e3015..ab1284e 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResult.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResult.md @@ -4,11 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **var"$schema"** | **String** | the schema of the captured virtual machine | [optional] [readonly] [default to nothing] **contentVersion** | **String** | the version of the content | [optional] [readonly] [default to nothing] **parameters** | **Any** | parameters of the captured virtual machine | [optional] [readonly] [default to nothing] **resources** | **Vector{Any}** | a list of resource items of the captured virtual machine | [optional] [readonly] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResultAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResultAllOf.md deleted file mode 100644 index 8d0e6a2..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineCaptureResultAllOf.md +++ /dev/null @@ -1,15 +0,0 @@ -# VirtualMachineCaptureResultAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**var"$schema"** | **String** | the schema of the captured virtual machine | [optional] [readonly] [default to nothing] -**contentVersion** | **String** | the version of the content | [optional] [readonly] [default to nothing] -**parameters** | **Any** | parameters of the captured virtual machine | [optional] [readonly] [default to nothing] -**resources** | **Vector{Any}** | a list of resource items of the captured virtual machine | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtension.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtension.md index 7586612..0fb8740 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtension.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtension.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**properties** | [***VirtualMachineExtensionProperties**](VirtualMachineExtensionProperties.md) | | [optional] [default to nothing] **id** | **String** | Resource Id | [optional] [readonly] [default to nothing] **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] -**properties** | [***VirtualMachineExtensionProperties**](VirtualMachineExtensionProperties.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionAllOf.md deleted file mode 100644 index f85529d..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionAllOf.md +++ /dev/null @@ -1,12 +0,0 @@ -# VirtualMachineExtensionAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***VirtualMachineExtensionProperties**](VirtualMachineExtensionProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImage.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImage.md index b33629d..9438188 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImage.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImage.md @@ -4,12 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**properties** | [***VirtualMachineExtensionImageProperties**](VirtualMachineExtensionImageProperties.md) | | [optional] [default to nothing] **id** | **String** | Resource Id | [optional] [readonly] [default to nothing] **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] -**properties** | [***VirtualMachineExtensionImageProperties**](VirtualMachineExtensionImageProperties.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImageAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImageAllOf.md deleted file mode 100644 index 2582b75..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImageAllOf.md +++ /dev/null @@ -1,12 +0,0 @@ -# VirtualMachineExtensionImageAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***VirtualMachineExtensionImageProperties**](VirtualMachineExtensionImageProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImagesApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImagesApi.md index 71fafb4..d1aea79 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImagesApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionImagesApi.md @@ -22,12 +22,12 @@ Gets a virtual machine extension image. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| | [default to nothing] -**type** | **String**| | [default to nothing] -**version** | **String**| | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | | +**type** | **String** | | +**version** | **String** | | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -57,10 +57,10 @@ Gets a list of virtual machine extension image types. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -90,19 +90,19 @@ Gets a list of virtual machine extension image versions. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| | [default to nothing] -**type** | **String**| | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | | +**type** | **String** | | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. | [default to nothing] - **top** | **Int64**| | [default to nothing] - **orderby** | **String**| | [default to nothing] + **filter** | **String** | The filter to apply on the operation. | [default to nothing] + **top** | **Int64** | | [default to nothing] + **orderby** | **String** | | [default to nothing] ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionProperties.md index 9c9d24c..d2b1b8c 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionProperties.md @@ -9,10 +9,13 @@ Name | Type | Description | Notes **type** | **String** | Specifies the type of the extension; an example is \"CustomScriptExtension\". | [optional] [default to nothing] **typeHandlerVersion** | **String** | Specifies the version of the script handler. | [optional] [default to nothing] **autoUpgradeMinorVersion** | **Bool** | Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. | [optional] [default to nothing] +**enableAutomaticUpgrade** | **Bool** | Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. | [optional] [default to nothing] **settings** | **Any** | Json formatted public settings for the extension. | [optional] [default to nothing] **protectedSettings** | **Any** | The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. | [optional] [default to nothing] **provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] **instanceView** | [***VirtualMachineExtensionInstanceView**](VirtualMachineExtensionInstanceView.md) | | [optional] [default to nothing] +**suppressFailures** | **Bool** | Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. | [optional] [default to nothing] +**protectedSettingsFromKeyVault** | **Any** | The extensions protected settings that are passed by reference, and consumed from key vault | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionUpdateProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionUpdateProperties.md index a9e07ed..649c6d5 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionUpdateProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionUpdateProperties.md @@ -9,8 +9,11 @@ Name | Type | Description | Notes **type** | **String** | Specifies the type of the extension; an example is \"CustomScriptExtension\". | [optional] [default to nothing] **typeHandlerVersion** | **String** | Specifies the version of the script handler. | [optional] [default to nothing] **autoUpgradeMinorVersion** | **Bool** | Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. | [optional] [default to nothing] +**enableAutomaticUpgrade** | **Bool** | Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. | [optional] [default to nothing] **settings** | **Any** | Json formatted public settings for the extension. | [optional] [default to nothing] **protectedSettings** | **Any** | The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. | [optional] [default to nothing] +**suppressFailures** | **Bool** | Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. | [optional] [default to nothing] +**protectedSettingsFromKeyVault** | **Any** | The extensions protected settings that are passed by reference, and consumed from key vault | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionsApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionsApi.md index b3377fc..6fe62fb 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionsApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineExtensionsApi.md @@ -24,12 +24,12 @@ The operation to create or update the extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine where the extension should be created or updated. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**extension_parameters** | [**VirtualMachineExtension**](VirtualMachineExtension.md)| Parameters supplied to the Create Virtual Machine Extension operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine where the extension should be created or updated. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**extension_parameters** | [**VirtualMachineExtension**](VirtualMachineExtension.md) | Parameters supplied to the Create Virtual Machine Extension operation. | ### Return type @@ -59,11 +59,11 @@ The operation to delete the extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine where the extension should be deleted. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine where the extension should be deleted. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -76,7 +76,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -93,17 +93,17 @@ The operation to get the extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine containing the extension. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine containing the extension. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] ### Return type @@ -133,16 +133,16 @@ The operation to get all extensions of a Virtual Machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine containing the extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine containing the extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] ### Return type @@ -172,12 +172,12 @@ The operation to update the extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine where the extension should be updated. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**extension_parameters** | [**VirtualMachineExtensionUpdate**](VirtualMachineExtensionUpdate.md)| Parameters supplied to the Update Virtual Machine Extension operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine where the extension should be updated. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**extension_parameters** | [**VirtualMachineExtensionUpdate**](VirtualMachineExtensionUpdate.md) | Parameters supplied to the Update Virtual Machine Extension operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImage.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImage.md index 3f99785..483a6c4 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineImage.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineImage.md @@ -4,11 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] +**properties** | [***VirtualMachineImageProperties**](VirtualMachineImageProperties.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource. | [default to nothing] **location** | **String** | The supported Azure location of the resource. | [default to nothing] **tags** | **Dict{String, String}** | Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). | [optional] [default to nothing] -**properties** | [***VirtualMachineImageProperties**](VirtualMachineImageProperties.md) | | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageAllOf.md deleted file mode 100644 index a3ff8fb..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageAllOf.md +++ /dev/null @@ -1,12 +0,0 @@ -# VirtualMachineImageAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***VirtualMachineImageProperties**](VirtualMachineImageProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageFeature.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageFeature.md new file mode 100644 index 0000000..0bcb243 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageFeature.md @@ -0,0 +1,13 @@ +# VirtualMachineImageFeature + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the feature. | [optional] [default to nothing] +**value** | **String** | The corresponding value for the feature. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageProperties.md index d7ee97c..03ff0c2 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageProperties.md @@ -10,6 +10,8 @@ Name | Type | Description | Notes **automaticOSUpgradeProperties** | [***AutomaticOSUpgradeProperties**](AutomaticOSUpgradeProperties.md) | | [optional] [default to nothing] **hyperVGeneration** | [***HyperVGenerationType**](HyperVGenerationType.md) | | [optional] [default to nothing] **disallowed** | [***DisallowedConfiguration**](DisallowedConfiguration.md) | | [optional] [default to nothing] +**features** | [**Vector{VirtualMachineImageFeature}**](VirtualMachineImageFeature.md) | | [optional] [default to nothing] +**architecture** | [***ArchitectureType**](ArchitectureType.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResource.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResource.md index 6297833..5a1261d 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResource.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResource.md @@ -4,10 +4,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **name** | **String** | The name of the resource. | [default to nothing] **location** | **String** | The supported Azure location of the resource. | [default to nothing] **tags** | **Dict{String, String}** | Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResourceAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResourceAllOf.md deleted file mode 100644 index 1e8af67..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineImageResourceAllOf.md +++ /dev/null @@ -1,14 +0,0 @@ -# VirtualMachineImageResourceAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the resource. | [default to nothing] -**location** | **String** | The supported Azure location of the resource. | [default to nothing] -**tags** | **Dict{String, String}** | Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineImagesApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineImagesApi.md index a5a99c9..a91b632 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineImagesApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineImagesApi.md @@ -4,6 +4,11 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**virtual_machine_images_edge_zone_get**](VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_get) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version} | +[**virtual_machine_images_edge_zone_list**](VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions | +[**virtual_machine_images_edge_zone_list_offers**](VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list_offers) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers | +[**virtual_machine_images_edge_zone_list_publishers**](VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list_publishers) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers | +[**virtual_machine_images_edge_zone_list_skus**](VirtualMachineImagesApi.md#virtual_machine_images_edge_zone_list_skus) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus | [**virtual_machine_images_get**](VirtualMachineImagesApi.md#virtual_machine_images_get) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version} | [**virtual_machine_images_list**](VirtualMachineImagesApi.md#virtual_machine_images_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions | [**virtual_machine_images_list_offers**](VirtualMachineImagesApi.md#virtual_machine_images_list_offers) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers | @@ -11,6 +16,189 @@ Method | HTTP request | Description [**virtual_machine_images_list_skus**](VirtualMachineImagesApi.md#virtual_machine_images_list_skus) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus | +# **virtual_machine_images_edge_zone_get** +> virtual_machine_images_edge_zone_get(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineImage, OpenAPI.Clients.ApiResponse
+> virtual_machine_images_edge_zone_get(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineImage }, OpenAPI.Clients.ApiResponse + + + +Gets a virtual machine image in an edge zone. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineImagesApi** | API context | +**location** | **String** | The name of a supported Azure region. | +**edge_zone** | **String** | The name of the edge zone. | +**publisher_name** | **String** | A valid image publisher. | +**offer** | **String** | A valid image publisher offer. | +**skus** | **String** | A valid image SKU. | +**version** | **String** | A valid image SKU version. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**VirtualMachineImage**](VirtualMachineImage.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_images_edge_zone_list** +> virtual_machine_images_edge_zone_list(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, api_version::String, subscription_id::String; expand=nothing, top=nothing, orderby=nothing, _mediaType=nothing) -> Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse
+> virtual_machine_images_edge_zone_list(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, api_version::String, subscription_id::String; expand=nothing, top=nothing, orderby=nothing, _mediaType=nothing) -> Channel{ Vector{VirtualMachineImageResource} }, OpenAPI.Clients.ApiResponse + + + +Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineImagesApi** | API context | +**location** | **String** | The name of a supported Azure region. | +**edge_zone** | **String** | The name of the edge zone. | +**publisher_name** | **String** | A valid image publisher. | +**offer** | **String** | A valid image publisher offer. | +**skus** | **String** | A valid image SKU. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] + **top** | **Int64** | An integer value specifying the number of images to return that matches supplied values. | [default to nothing] + **orderby** | **String** | Specifies the order of the results returned. Formatted as an OData query. | [default to nothing] + +### Return type + +[**Vector{VirtualMachineImageResource}**](VirtualMachineImageResource.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_images_edge_zone_list_offers** +> virtual_machine_images_edge_zone_list_offers(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse
+> virtual_machine_images_edge_zone_list_offers(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Vector{VirtualMachineImageResource} }, OpenAPI.Clients.ApiResponse + + + +Gets a list of virtual machine image offers for the specified location, edge zone and publisher. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineImagesApi** | API context | +**location** | **String** | The name of a supported Azure region. | +**edge_zone** | **String** | The name of the edge zone. | +**publisher_name** | **String** | A valid image publisher. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**Vector{VirtualMachineImageResource}**](VirtualMachineImageResource.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_images_edge_zone_list_publishers** +> virtual_machine_images_edge_zone_list_publishers(_api::VirtualMachineImagesApi, location::String, edge_zone::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse
+> virtual_machine_images_edge_zone_list_publishers(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Vector{VirtualMachineImageResource} }, OpenAPI.Clients.ApiResponse + + + +Gets a list of virtual machine image publishers for the specified Azure location and edge zone. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineImagesApi** | API context | +**location** | **String** | The name of a supported Azure region. | +**edge_zone** | **String** | The name of the edge zone. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**Vector{VirtualMachineImageResource}**](VirtualMachineImageResource.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_images_edge_zone_list_skus** +> virtual_machine_images_edge_zone_list_skus(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse
+> virtual_machine_images_edge_zone_list_skus(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, offer::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Vector{VirtualMachineImageResource} }, OpenAPI.Clients.ApiResponse + + + +Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineImagesApi** | API context | +**location** | **String** | The name of a supported Azure region. | +**edge_zone** | **String** | The name of the edge zone. | +**publisher_name** | **String** | A valid image publisher. | +**offer** | **String** | A valid image publisher offer. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**Vector{VirtualMachineImageResource}**](VirtualMachineImageResource.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_machine_images_get** > virtual_machine_images_get(_api::VirtualMachineImagesApi, location::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineImage, OpenAPI.Clients.ApiResponse
> virtual_machine_images_get(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineImage }, OpenAPI.Clients.ApiResponse @@ -24,13 +212,13 @@ Gets a virtual machine image. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| A valid image publisher. | [default to nothing] -**offer** | **String**| A valid image publisher offer. | [default to nothing] -**skus** | **String**| A valid image SKU. | [default to nothing] -**version** | **String**| A valid image SKU version. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | A valid image publisher. | +**offer** | **String** | A valid image publisher offer. | +**skus** | **String** | A valid image SKU. | +**version** | **String** | A valid image SKU version. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -60,20 +248,20 @@ Gets a list of all virtual machine image versions for the specified location, pu Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| A valid image publisher. | [default to nothing] -**offer** | **String**| A valid image publisher offer. | [default to nothing] -**skus** | **String**| A valid image SKU. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | A valid image publisher. | +**offer** | **String** | A valid image publisher offer. | +**skus** | **String** | A valid image SKU. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] - **top** | **Int64**| | [default to nothing] - **orderby** | **String**| | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] + **top** | **Int64** | | [default to nothing] + **orderby** | **String** | | [default to nothing] ### Return type @@ -103,10 +291,10 @@ Gets a list of virtual machine image offers for the specified location and publi Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| A valid image publisher. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | A valid image publisher. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -136,9 +324,9 @@ Gets a list of virtual machine image publishers for the specified Azure location Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -168,11 +356,11 @@ Gets a list of virtual machine image SKUs for the specified location, publisher, Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineImagesApi** | API context | -**location** | **String**| The name of a supported Azure region. | [default to nothing] -**publisher_name** | **String**| A valid image publisher. | [default to nothing] -**offer** | **String**| A valid image publisher offer. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The name of a supported Azure region. | +**publisher_name** | **String** | A valid image publisher. | +**offer** | **String** | A valid image publisher offer. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineInstallPatchesParameters.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineInstallPatchesParameters.md new file mode 100644 index 0000000..b8df70d --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineInstallPatchesParameters.md @@ -0,0 +1,15 @@ +# VirtualMachineInstallPatchesParameters + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**maximumDuration** | **String** | Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours) | [optional] [default to nothing] +**rebootSetting** | **String** | Defines when it is acceptable to reboot a VM during a software update operation. | [default to nothing] +**windowsParameters** | [***WindowsParameters**](WindowsParameters.md) | | [optional] [default to nothing] +**linuxParameters** | [***LinuxParameters**](LinuxParameters.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineInstallPatchesResult.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineInstallPatchesResult.md new file mode 100644 index 0000000..a2821b7 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineInstallPatchesResult.md @@ -0,0 +1,23 @@ +# VirtualMachineInstallPatchesResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**status** | **String** | The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"Unknown\" or \"CompletedWithWarnings.\" | [optional] [readonly] [default to nothing] +**installationActivityId** | **String** | The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. | [optional] [readonly] [default to nothing] +**rebootStatus** | **String** | The reboot state of the VM following completion of the operation. | [optional] [readonly] [default to nothing] +**maintenanceWindowExceeded** | **Bool** | Whether the operation ran out of time before it completed all its intended actions. | [optional] [readonly] [default to nothing] +**excludedPatchCount** | **Int64** | The number of patches that were not installed due to the user blocking their installation. | [optional] [readonly] [default to nothing] +**notSelectedPatchCount** | **Int64** | The number of patches that were detected as available for install, but did not meet the operation's criteria. | [optional] [readonly] [default to nothing] +**pendingPatchCount** | **Int64** | The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true. | [optional] [readonly] [default to nothing] +**installedPatchCount** | **Int64** | The number of patches successfully installed. | [optional] [readonly] [default to nothing] +**failedPatchCount** | **Int64** | The number of patches that could not be installed due to some issue. See errors for details. | [optional] [readonly] [default to nothing] +**patches** | [**Vector{PatchInstallationDetail}**](PatchInstallationDetail.md) | The patches that were installed during the operation. | [optional] [readonly] [default to nothing] +**startDateTime** | **ZonedDateTime** | The UTC timestamp when the operation began. | [optional] [readonly] [default to nothing] +**error** | [***ApiError**](ApiError.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineInstanceView.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineInstanceView.md index f6617b3..8d4bbe2 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineInstanceView.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineInstanceView.md @@ -15,9 +15,11 @@ Name | Type | Description | Notes **maintenanceRedeployStatus** | [***MaintenanceRedeployStatus**](MaintenanceRedeployStatus.md) | | [optional] [default to nothing] **disks** | [**Vector{DiskInstanceView}**](DiskInstanceView.md) | The virtual machine disk information. | [optional] [default to nothing] **extensions** | [**Vector{VirtualMachineExtensionInstanceView}**](VirtualMachineExtensionInstanceView.md) | The extensions information. | [optional] [default to nothing] +**vmHealth** | [***VirtualMachineHealthStatus**](VirtualMachineHealthStatus.md) | | [optional] [default to nothing] **bootDiagnostics** | [***BootDiagnosticsInstanceView**](BootDiagnosticsInstanceView.md) | | [optional] [default to nothing] **assignedHost** | **String** | Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01. | [optional] [readonly] [default to nothing] **statuses** | [**Vector{InstanceViewStatus}**](InstanceViewStatus.md) | The resource status information. | [optional] [default to nothing] +**patchStatus** | [***VirtualMachinePatchStatus**](VirtualMachinePatchStatus.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineIpTag.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineIpTag.md new file mode 100644 index 0000000..1d6cad4 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineIpTag.md @@ -0,0 +1,13 @@ +# VirtualMachineIpTag + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipTagType** | **String** | IP tag type. Example: FirstPartyUsage. | [optional] [default to nothing] +**tag** | **String** | IP tag associated with the public IP. Example: SQL, Storage etc. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceConfiguration.md new file mode 100644 index 0000000..3e9a04b --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceConfiguration.md @@ -0,0 +1,13 @@ +# VirtualMachineNetworkInterfaceConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The network interface configuration name. | [default to nothing] +**properties** | [***VirtualMachineNetworkInterfaceConfigurationProperties**](VirtualMachineNetworkInterfaceConfigurationProperties.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceConfigurationProperties.md new file mode 100644 index 0000000..9cca506 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceConfigurationProperties.md @@ -0,0 +1,20 @@ +# VirtualMachineNetworkInterfaceConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**primary** | **Bool** | Specifies the primary network interface in case the virtual machine has more than 1 network interface. | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the network interface when the VM is deleted | [optional] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | Specifies whether the network interface is accelerated networking-enabled. | [optional] [default to nothing] +**enableFpga** | **Bool** | Specifies whether the network interface is FPGA networking-enabled. | [optional] [default to nothing] +**enableIPForwarding** | **Bool** | Whether IP forwarding enabled on this NIC. | [optional] [default to nothing] +**networkSecurityGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**dnsSettings** | [***VirtualMachineNetworkInterfaceDnsSettingsConfiguration**](VirtualMachineNetworkInterfaceDnsSettingsConfiguration.md) | | [optional] [default to nothing] +**ipConfigurations** | [**Vector{VirtualMachineNetworkInterfaceIPConfiguration}**](VirtualMachineNetworkInterfaceIPConfiguration.md) | Specifies the IP configurations of the network interface. | [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceDnsSettingsConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceDnsSettingsConfiguration.md new file mode 100644 index 0000000..b96199f --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceDnsSettingsConfiguration.md @@ -0,0 +1,12 @@ +# VirtualMachineNetworkInterfaceDnsSettingsConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**dnsServers** | **Vector{String}** | List of DNS servers IP addresses | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceIPConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceIPConfiguration.md new file mode 100644 index 0000000..5a31c00 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceIPConfiguration.md @@ -0,0 +1,13 @@ +# VirtualMachineNetworkInterfaceIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The IP configuration name. | [default to nothing] +**properties** | [***VirtualMachineNetworkInterfaceIPConfigurationProperties**](VirtualMachineNetworkInterfaceIPConfigurationProperties.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceIPConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceIPConfigurationProperties.md new file mode 100644 index 0000000..d3c4754 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineNetworkInterfaceIPConfigurationProperties.md @@ -0,0 +1,18 @@ +# VirtualMachineNetworkInterfaceIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**primary** | **Bool** | Specifies the primary network interface in case the virtual machine has more than 1 network interface. | [optional] [default to nothing] +**publicIPAddressConfiguration** | [***VirtualMachinePublicIPAddressConfiguration**](VirtualMachinePublicIPAddressConfiguration.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | **String** | Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{SubResource}**](SubResource.md) | Specifies an array of references to application security group. | [optional] [default to nothing] +**applicationGatewayBackendAddressPools** | [**Vector{SubResource}**](SubResource.md) | Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. | [optional] [default to nothing] +**loadBalancerBackendAddressPools** | [**Vector{SubResource}**](SubResource.md) | Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachinePatchStatus.md b/src/Compute/ComputeManagementClient/docs/VirtualMachinePatchStatus.md new file mode 100644 index 0000000..1f23e3b --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachinePatchStatus.md @@ -0,0 +1,14 @@ +# VirtualMachinePatchStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**availablePatchSummary** | [***AvailablePatchSummary**](AvailablePatchSummary.md) | | [optional] [default to nothing] +**lastPatchInstallationSummary** | [***LastPatchInstallationSummary**](LastPatchInstallationSummary.md) | | [optional] [default to nothing] +**configurationStatuses** | [**Vector{InstanceViewStatus}**](InstanceViewStatus.md) | The enablement status of the specified patchMode | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineProperties.md index 1ed4b4b..7ab9658 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineProperties.md @@ -21,9 +21,15 @@ Name | Type | Description | Notes **hostGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] **instanceView** | [***VirtualMachineInstanceView**](VirtualMachineInstanceView.md) | | [optional] [default to nothing] -**licenseType** | **String** | Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 | [optional] [default to nothing] +**licenseType** | **String** | Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 | [optional] [default to nothing] **vmId** | **String** | Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. | [optional] [readonly] [default to nothing] **extensionsTimeBudget** | **String** | Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01 | [optional] [default to nothing] +**platformFaultDomain** | **Int64** | Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01 | [optional] [default to nothing] +**scheduledEventsProfile** | [***ScheduledEventsProfile**](ScheduledEventsProfile.md) | | [optional] [default to nothing] +**userData** | **String** | UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 | [optional] [default to nothing] +**capacityReservation** | [***CapacityReservationProfile**](CapacityReservationProfile.md) | | [optional] [default to nothing] +**applicationProfile** | [***ApplicationProfile**](ApplicationProfile.md) | | [optional] [default to nothing] +**timeCreated** | **ZonedDateTime** | Specifies the time at which the Virtual Machine resource was created.<br><br>Minimum api-version: 2021-11-01. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressConfiguration.md new file mode 100644 index 0000000..9b20a0f --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressConfiguration.md @@ -0,0 +1,14 @@ +# VirtualMachinePublicIPAddressConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The publicIP address configuration name. | [default to nothing] +**properties** | [***VirtualMachinePublicIPAddressConfigurationProperties**](VirtualMachinePublicIPAddressConfigurationProperties.md) | | [optional] [default to nothing] +**sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressConfigurationProperties.md new file mode 100644 index 0000000..facbfbd --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressConfigurationProperties.md @@ -0,0 +1,18 @@ +# VirtualMachinePublicIPAddressConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM is deleted | [optional] [default to nothing] +**dnsSettings** | [***VirtualMachinePublicIPAddressDnsSettingsConfiguration**](VirtualMachinePublicIPAddressDnsSettingsConfiguration.md) | | [optional] [default to nothing] +**ipTags** | [**Vector{VirtualMachineIpTag}**](VirtualMachineIpTag.md) | The list of IP tags associated with the public IP address. | [optional] [default to nothing] +**publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**publicIPAddressVersion** | **String** | Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. | [optional] [default to nothing] +**publicIPAllocationMethod** | **String** | Specify the public IP allocation type | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressDnsSettingsConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressDnsSettingsConfiguration.md new file mode 100644 index 0000000..b906577 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachinePublicIPAddressDnsSettingsConfiguration.md @@ -0,0 +1,12 @@ +# VirtualMachinePublicIPAddressDnsSettingsConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**domainNameLabel** | **String** | The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSet.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSet.md index 4db51d8..2a44e97 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSet.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSet.md @@ -4,16 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] **sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] **plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] **properties** | [***VirtualMachineScaleSetProperties**](VirtualMachineScaleSetProperties.md) | | [optional] [default to nothing] **identity** | [***VirtualMachineScaleSetIdentity**](VirtualMachineScaleSetIdentity.md) | | [optional] [default to nothing] **zones** | **Vector{String}** | The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetAllOf.md deleted file mode 100644 index dacb97d..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetAllOf.md +++ /dev/null @@ -1,16 +0,0 @@ -# VirtualMachineScaleSetAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] -**plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] -**properties** | [***VirtualMachineScaleSetProperties**](VirtualMachineScaleSetProperties.md) | | [optional] [default to nothing] -**identity** | [***VirtualMachineScaleSetIdentity**](VirtualMachineScaleSetIdentity.md) | | [optional] [default to nothing] -**zones** | **Vector{String}** | The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtension.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtension.md index 1706f5b..ae75b71 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtension.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtension.md @@ -4,10 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] **name** | **String** | The name of the extension. | [optional] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **properties** | [***VirtualMachineScaleSetExtensionProperties**](VirtualMachineScaleSetExtensionProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionAllOf.md deleted file mode 100644 index 5476343..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionAllOf.md +++ /dev/null @@ -1,14 +0,0 @@ -# VirtualMachineScaleSetExtensionAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the extension. | [optional] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**properties** | [***VirtualMachineScaleSetExtensionProperties**](VirtualMachineScaleSetExtensionProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionProperties.md index 5de960c..327923d 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionProperties.md @@ -9,10 +9,13 @@ Name | Type | Description | Notes **type** | **String** | Specifies the type of the extension; an example is \"CustomScriptExtension\". | [optional] [default to nothing] **typeHandlerVersion** | **String** | Specifies the version of the script handler. | [optional] [default to nothing] **autoUpgradeMinorVersion** | **Bool** | Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. | [optional] [default to nothing] +**enableAutomaticUpgrade** | **Bool** | Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. | [optional] [default to nothing] **settings** | **Any** | Json formatted public settings for the extension. | [optional] [default to nothing] **protectedSettings** | **Any** | The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. | [optional] [default to nothing] **provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] **provisionAfterExtensions** | **Vector{String}** | Collection of extension names after which this extension needs to be provisioned. | [optional] [default to nothing] +**suppressFailures** | **Bool** | Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. | [optional] [default to nothing] +**protectedSettingsFromKeyVault** | **Any** | The extensions protected settings that are passed by reference, and consumed from key vault | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionsApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionsApi.md index 2b1375e..96f0607 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionsApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetExtensionsApi.md @@ -24,12 +24,12 @@ The operation to create or update an extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set where the extension should be create or updated. | [default to nothing] -**vmss_extension_name** | **String**| The name of the VM scale set extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**extension_parameters** | [**VirtualMachineScaleSetExtension**](VirtualMachineScaleSetExtension.md)| Parameters supplied to the Create VM scale set Extension operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set where the extension should be create or updated. | +**vmss_extension_name** | **String** | The name of the VM scale set extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**extension_parameters** | [**VirtualMachineScaleSetExtension**](VirtualMachineScaleSetExtension.md) | Parameters supplied to the Create VM scale set Extension operation. | ### Return type @@ -59,11 +59,11 @@ The operation to delete the extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set where the extension should be deleted. | [default to nothing] -**vmss_extension_name** | **String**| The name of the VM scale set extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set where the extension should be deleted. | +**vmss_extension_name** | **String** | The name of the VM scale set extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -76,7 +76,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -93,17 +93,17 @@ The operation to get the extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set containing the extension. | [default to nothing] -**vmss_extension_name** | **String**| The name of the VM scale set extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set containing the extension. | +**vmss_extension_name** | **String** | The name of the VM scale set extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] ### Return type @@ -133,10 +133,10 @@ Gets a list of all extensions in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set containing the extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set containing the extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -166,12 +166,12 @@ The operation to update an extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set where the extension should be updated. | [default to nothing] -**vmss_extension_name** | **String**| The name of the VM scale set extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**extension_parameters** | [**VirtualMachineScaleSetExtensionUpdate**](VirtualMachineScaleSetExtensionUpdate.md)| Parameters supplied to the Update VM scale set Extension operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set where the extension should be updated. | +**vmss_extension_name** | **String** | The name of the VM scale set extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**extension_parameters** | [**VirtualMachineScaleSetExtensionUpdate**](VirtualMachineScaleSetExtensionUpdate.md) | Parameters supplied to the Update VM scale set Extension operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetHardwareProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetHardwareProfile.md new file mode 100644 index 0000000..8e2357d --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetHardwareProfile.md @@ -0,0 +1,12 @@ +# VirtualMachineScaleSetHardwareProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vmSizeProperties** | [***VMSizeProperties**](VMSizeProperties.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfiguration.md index db53626..6e6d7db 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfiguration.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfiguration.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **name** | **String** | The IP configuration name. | [default to nothing] **properties** | [***VirtualMachineScaleSetIPConfigurationProperties**](VirtualMachineScaleSetIPConfigurationProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfigurationAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfigurationAllOf.md deleted file mode 100644 index 16e5680..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIPConfigurationAllOf.md +++ /dev/null @@ -1,13 +0,0 @@ -# VirtualMachineScaleSetIPConfigurationAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The IP configuration name. | [default to nothing] -**properties** | [***VirtualMachineScaleSetIPConfigurationProperties**](VirtualMachineScaleSetIPConfigurationProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentity.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentity.md index 49aed59..bf9d932 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentity.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentity.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **principalId** | **String** | The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] **tenantId** | **String** | The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] **type** | **String** | The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. | [optional] [default to nothing] -**userAssignedIdentities** | [**Dict{String, VirtualMachineIdentityUserAssignedIdentitiesValue}**](VirtualMachineIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue}**](VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..01dc8c0 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetManagedDiskParameters.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetManagedDiskParameters.md index 6ffad45..f0850f8 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetManagedDiskParameters.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetManagedDiskParameters.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **storageAccountType** | [***StorageAccountType**](StorageAccountType.md) | | [optional] [default to nothing] **diskEncryptionSet** | [***DiskEncryptionSetParameters**](DiskEncryptionSetParameters.md) | | [optional] [default to nothing] +**securityProfile** | [***VMDiskSecurityProfile**](VMDiskSecurityProfile.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfiguration.md index 5502bbf..652b0d3 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfiguration.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfiguration.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [default to nothing] **name** | **String** | The network configuration name. | [default to nothing] **properties** | [***VirtualMachineScaleSetNetworkConfigurationProperties**](VirtualMachineScaleSetNetworkConfigurationProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationAllOf.md deleted file mode 100644 index b497ea7..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationAllOf.md +++ /dev/null @@ -1,13 +0,0 @@ -# VirtualMachineScaleSetNetworkConfigurationAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The network configuration name. | [default to nothing] -**properties** | [***VirtualMachineScaleSetNetworkConfigurationProperties**](VirtualMachineScaleSetNetworkConfigurationProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationProperties.md index c32872d..bf2292a 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkConfigurationProperties.md @@ -6,10 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **primary** | **Bool** | Specifies the primary network interface in case the virtual machine has more than 1 network interface. | [optional] [default to nothing] **enableAcceleratedNetworking** | **Bool** | Specifies whether the network interface is accelerated networking-enabled. | [optional] [default to nothing] +**enableFpga** | **Bool** | Specifies whether the network interface is FPGA networking-enabled. | [optional] [default to nothing] **networkSecurityGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **dnsSettings** | [***VirtualMachineScaleSetNetworkConfigurationDnsSettings**](VirtualMachineScaleSetNetworkConfigurationDnsSettings.md) | | [optional] [default to nothing] **ipConfigurations** | [**Vector{VirtualMachineScaleSetIPConfiguration}**](VirtualMachineScaleSetIPConfiguration.md) | Specifies the IP configurations of the network interface. | [default to nothing] **enableIPForwarding** | **Bool** | Whether IP forwarding enabled on this NIC. | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the network interface when the VM is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkProfile.md index e217124..ad41372 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkProfile.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetNetworkProfile.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **healthProbe** | [***ApiEntityReference**](ApiEntityReference.md) | | [optional] [default to nothing] **networkInterfaceConfigurations** | [**Vector{VirtualMachineScaleSetNetworkConfiguration}**](VirtualMachineScaleSetNetworkConfiguration.md) | The list of network configurations. | [optional] [default to nothing] +**networkApiVersion** | **String** | specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetOSProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetOSProfile.md index d30d41c..9c021d6 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetOSProfile.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetOSProfile.md @@ -5,12 +5,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **computerNamePrefix** | **String** | Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. | [optional] [default to nothing] -**adminUsername** | **String** | Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) | [optional] [default to nothing] -**adminPassword** | **String** | Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) | [optional] [default to nothing] -**customData** | **String** | Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) | [optional] [default to nothing] +**adminUsername** | **String** | Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters | [optional] [default to nothing] +**adminPassword** | **String** | Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) | [optional] [default to nothing] +**customData** | **String** | Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) | [optional] [default to nothing] **windowsConfiguration** | [***WindowsConfiguration**](WindowsConfiguration.md) | | [optional] [default to nothing] **linuxConfiguration** | [***LinuxConfiguration**](LinuxConfiguration.md) | | [optional] [default to nothing] -**secrets** | [**Vector{VaultSecretGroup}**](VaultSecretGroup.md) | Specifies set of certificates that should be installed onto the virtual machines in the scale set. | [optional] [default to nothing] +**secrets** | [**Vector{VaultSecretGroup}**](VaultSecretGroup.md) | Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). | [optional] [default to nothing] +**allowExtensionOperations** | **Bool** | Specifies whether extension operations should be allowed on the virtual machine scale set. <br><br>This may only be set to False when no extensions are present on the virtual machine scale set. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetProperties.md index 94467ab..36f3d00 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetProperties.md @@ -10,14 +10,17 @@ Name | Type | Description | Notes **provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] **overprovision** | **Bool** | Specifies whether the Virtual Machine Scale Set should be overprovisioned. | [optional] [default to nothing] **doNotRunExtensionsOnOverprovisionedVMs** | **Bool** | When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. | [optional] [default to nothing] -**uniqueId** | **String** | Specifies the ID which uniquely identifies a Virtual Machine Scale Set. | [optional] [default to nothing] +**uniqueId** | **String** | Specifies the ID which uniquely identifies a Virtual Machine Scale Set. | [optional] [readonly] [default to nothing] **singlePlacementGroup** | **Bool** | When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. | [optional] [default to nothing] -**zoneBalance** | **Bool** | Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. | [optional] [default to nothing] +**zoneBalance** | **Bool** | Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set. | [optional] [default to nothing] **platformFaultDomainCount** | **Int64** | Fault Domain count for each placement group. | [optional] [default to nothing] **proximityPlacementGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **hostGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **additionalCapabilities** | [***AdditionalCapabilities**](AdditionalCapabilities.md) | | [optional] [default to nothing] **scaleInPolicy** | [***ScaleInPolicy**](ScaleInPolicy.md) | | [optional] [default to nothing] +**orchestrationMode** | [***OrchestrationMode**](OrchestrationMode.md) | | [optional] [default to nothing] +**spotRestorePolicy** | [***SpotRestorePolicy**](SpotRestorePolicy.md) | | [optional] [default to nothing] +**timeCreated** | **ZonedDateTime** | Specifies the time at which the Virtual Machine Scale Set resource was created.<br><br>Minimum api-version: 2021-11-01. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfiguration.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfiguration.md index 867d716..0bec5d2 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfiguration.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfiguration.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The publicIP address configuration name. | [default to nothing] **properties** | [***VirtualMachineScaleSetPublicIPAddressConfigurationProperties**](VirtualMachineScaleSetPublicIPAddressConfigurationProperties.md) | | [optional] [default to nothing] +**sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfigurationProperties.md index 047c7cf..c061759 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfigurationProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetPublicIPAddressConfigurationProperties.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **ipTags** | [**Vector{VirtualMachineScaleSetIpTag}**](VirtualMachineScaleSetIpTag.md) | The list of IP tags associated with the public IP address. | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **publicIPAddressVersion** | **String** | Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP when the VM is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetRollingUpgradesApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetRollingUpgradesApi.md index 1e31247..d9a03f3 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetRollingUpgradesApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetRollingUpgradesApi.md @@ -23,10 +23,10 @@ Cancels the current virtual machine scale set rolling upgrade. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetRollingUpgradesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -39,7 +39,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -56,10 +56,10 @@ Gets the status of the latest virtual machine scale set rolling upgrade. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetRollingUpgradesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -89,10 +89,10 @@ Starts a rolling upgrade to move all extensions for all virtual machine scale se Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetRollingUpgradesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -105,7 +105,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -122,10 +122,10 @@ Starts a rolling upgrade to move all virtual machine scale set instances to the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetRollingUpgradesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -138,7 +138,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetStorageProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetStorageProfile.md index 0acf76d..97c6ac3 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetStorageProfile.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetStorageProfile.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **imageReference** | [***ImageReference**](ImageReference.md) | | [optional] [default to nothing] **osDisk** | [***VirtualMachineScaleSetOSDisk**](VirtualMachineScaleSetOSDisk.md) | | [optional] [default to nothing] -**dataDisks** | [**Vector{VirtualMachineScaleSetDataDisk}**](VirtualMachineScaleSetDataDisk.md) | Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). | [optional] [default to nothing] +**dataDisks** | [**Vector{VirtualMachineScaleSetDataDisk}**](VirtualMachineScaleSetDataDisk.md) | Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkConfigurationProperties.md index 5022c74..375fc60 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkConfigurationProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkConfigurationProperties.md @@ -6,10 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **primary** | **Bool** | Whether this is a primary NIC on a virtual machine. | [optional] [default to nothing] **enableAcceleratedNetworking** | **Bool** | Specifies whether the network interface is accelerated networking-enabled. | [optional] [default to nothing] +**enableFpga** | **Bool** | Specifies whether the network interface is FPGA networking-enabled. | [optional] [default to nothing] **networkSecurityGroup** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **dnsSettings** | [***VirtualMachineScaleSetNetworkConfigurationDnsSettings**](VirtualMachineScaleSetNetworkConfigurationDnsSettings.md) | | [optional] [default to nothing] **ipConfigurations** | [**Vector{VirtualMachineScaleSetUpdateIPConfiguration}**](VirtualMachineScaleSetUpdateIPConfiguration.md) | The virtual machine scale set IP Configuration. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Whether IP forwarding enabled on this NIC. | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the network interface when the VM is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkProfile.md index 4ebdd31..8273177 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkProfile.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateNetworkProfile.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **healthProbe** | [***ApiEntityReference**](ApiEntityReference.md) | | [optional] [default to nothing] **networkInterfaceConfigurations** | [**Vector{VirtualMachineScaleSetUpdateNetworkConfiguration}**](VirtualMachineScaleSetUpdateNetworkConfiguration.md) | The list of network configurations. | [optional] [default to nothing] +**networkApiVersion** | **String** | specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.md index 292d282..db2eec2 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **dnsSettings** | [***VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings**](VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.md) | | [optional] [default to nothing] +**publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP when the VM is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateVMProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateVMProfile.md index f5b0cf8..8e57c3d 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateVMProfile.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetUpdateVMProfile.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **licenseType** | **String** | The license type, which is for bring your own license scenario. | [optional] [default to nothing] **billingProfile** | [***BillingProfile**](BillingProfile.md) | | [optional] [default to nothing] **scheduledEventsProfile** | [***ScheduledEventsProfile**](ScheduledEventsProfile.md) | | [optional] [default to nothing] +**userData** | **String** | UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVM.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVM.md index aa0223f..8bc8668 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVM.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVM.md @@ -4,17 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] **instanceId** | **String** | The virtual machine instance ID. | [optional] [readonly] [default to nothing] **sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] **properties** | [***VirtualMachineScaleSetVMProperties**](VirtualMachineScaleSetVMProperties.md) | | [optional] [default to nothing] **plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] **resources** | [**Vector{VirtualMachineExtension}**](VirtualMachineExtension.md) | The virtual machine child extension resources. | [optional] [readonly] [default to nothing] **zones** | **Vector{String}** | The virtual machine zones. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMAllOf.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMAllOf.md deleted file mode 100644 index 4d084de..0000000 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMAllOf.md +++ /dev/null @@ -1,17 +0,0 @@ -# VirtualMachineScaleSetVMAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**instanceId** | **String** | The virtual machine instance ID. | [optional] [readonly] [default to nothing] -**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] -**properties** | [***VirtualMachineScaleSetVMProperties**](VirtualMachineScaleSetVMProperties.md) | | [optional] [default to nothing] -**plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] -**resources** | [**Vector{VirtualMachineExtension}**](VirtualMachineExtension.md) | The virtual machine child extension resources. | [optional] [readonly] [default to nothing] -**zones** | **Vector{String}** | The virtual machine zones. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtension.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtension.md new file mode 100644 index 0000000..489df4a --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtension.md @@ -0,0 +1,15 @@ +# VirtualMachineScaleSetVMExtension + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extension. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**properties** | [***VirtualMachineExtensionProperties**](VirtualMachineExtensionProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionUpdate.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionUpdate.md new file mode 100644 index 0000000..9af1711 --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionUpdate.md @@ -0,0 +1,15 @@ +# VirtualMachineScaleSetVMExtensionUpdate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extension. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**properties** | [***VirtualMachineExtensionUpdateProperties**](VirtualMachineExtensionUpdateProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsApi.md index a56b571..3c412fa 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsApi.md @@ -12,8 +12,8 @@ Method | HTTP request | Description # **virtual_machine_scale_set_v_m_extensions_create_or_update** -> virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtension; _mediaType=nothing) -> VirtualMachineExtension, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtension; _mediaType=nothing) -> Channel{ VirtualMachineExtension }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtension; _mediaType=nothing) -> VirtualMachineScaleSetVMExtension, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtension; _mediaType=nothing) -> Channel{ VirtualMachineScaleSetVMExtension }, OpenAPI.Clients.ApiResponse @@ -24,17 +24,17 @@ The operation to create or update the VMSS VM extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**extension_parameters** | [**VirtualMachineExtension**](VirtualMachineExtension.md)| Parameters supplied to the Create Virtual Machine Extension operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**extension_parameters** | [**VirtualMachineScaleSetVMExtension**](VirtualMachineScaleSetVMExtension.md) | Parameters supplied to the Create Virtual Machine Extension operation. | ### Return type -[**VirtualMachineExtension**](VirtualMachineExtension.md) +[**VirtualMachineScaleSetVMExtension**](VirtualMachineScaleSetVMExtension.md) ### Authorization @@ -60,12 +60,12 @@ The operation to delete the VMSS VM extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -83,8 +83,8 @@ Nothing [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_set_v_m_extensions_get** -> virtual_machine_scale_set_v_m_extensions_get(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineExtension, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_set_v_m_extensions_get(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineExtension }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_set_v_m_extensions_get(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineScaleSetVMExtension, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_extensions_get(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineScaleSetVMExtension }, OpenAPI.Clients.ApiResponse @@ -95,22 +95,22 @@ The operation to get the VMSS VM extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] ### Return type -[**VirtualMachineExtension**](VirtualMachineExtension.md) +[**VirtualMachineScaleSetVMExtension**](VirtualMachineScaleSetVMExtension.md) ### Authorization @@ -124,8 +124,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_set_v_m_extensions_list** -> virtual_machine_scale_set_v_m_extensions_list(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineExtensionsListResult, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_set_v_m_extensions_list(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineExtensionsListResult }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_set_v_m_extensions_list(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineScaleSetVMExtensionsListResult, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_extensions_list(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineScaleSetVMExtensionsListResult }, OpenAPI.Clients.ApiResponse @@ -136,21 +136,21 @@ The operation to get all extensions of an instance in Virtual Machine Scaleset. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] ### Return type -[**VirtualMachineExtensionsListResult**](VirtualMachineExtensionsListResult.md) +[**VirtualMachineScaleSetVMExtensionsListResult**](VirtualMachineScaleSetVMExtensionsListResult.md) ### Authorization @@ -164,8 +164,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_set_v_m_extensions_update** -> virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtensionUpdate; _mediaType=nothing) -> VirtualMachineExtension, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtensionUpdate; _mediaType=nothing) -> Channel{ VirtualMachineExtension }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtensionUpdate; _mediaType=nothing) -> VirtualMachineScaleSetVMExtension, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtensionUpdate; _mediaType=nothing) -> Channel{ VirtualMachineScaleSetVMExtension }, OpenAPI.Clients.ApiResponse @@ -176,17 +176,17 @@ The operation to update the VMSS VM extension. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMExtensionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**vm_extension_name** | **String**| The name of the virtual machine extension. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**extension_parameters** | [**VirtualMachineExtensionUpdate**](VirtualMachineExtensionUpdate.md)| Parameters supplied to the Update Virtual Machine Extension operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**vm_extension_name** | **String** | The name of the virtual machine extension. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**extension_parameters** | [**VirtualMachineScaleSetVMExtensionUpdate**](VirtualMachineScaleSetVMExtensionUpdate.md) | Parameters supplied to the Update Virtual Machine Extension operation. | ### Return type -[**VirtualMachineExtension**](VirtualMachineExtension.md) +[**VirtualMachineScaleSetVMExtension**](VirtualMachineScaleSetVMExtension.md) ### Authorization diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsListResult.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsListResult.md new file mode 100644 index 0000000..f333a8a --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMExtensionsListResult.md @@ -0,0 +1,12 @@ +# VirtualMachineScaleSetVMExtensionsListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{VirtualMachineScaleSetVMExtension}**](VirtualMachineScaleSetVMExtension.md) | The list of VMSS VM extensions | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProfile.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProfile.md index b9d64a2..ec18427 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProfile.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProfile.md @@ -10,11 +10,15 @@ Name | Type | Description | Notes **securityProfile** | [***SecurityProfile**](SecurityProfile.md) | | [optional] [default to nothing] **diagnosticsProfile** | [***DiagnosticsProfile**](DiagnosticsProfile.md) | | [optional] [default to nothing] **extensionProfile** | [***VirtualMachineScaleSetExtensionProfile**](VirtualMachineScaleSetExtensionProfile.md) | | [optional] [default to nothing] -**licenseType** | **String** | Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 | [optional] [default to nothing] +**licenseType** | **String** | Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 | [optional] [default to nothing] **priority** | [***Priority**](Priority.md) | | [optional] [default to nothing] **evictionPolicy** | [***EvictionPolicy**](EvictionPolicy.md) | | [optional] [default to nothing] **billingProfile** | [***BillingProfile**](BillingProfile.md) | | [optional] [default to nothing] **scheduledEventsProfile** | [***ScheduledEventsProfile**](ScheduledEventsProfile.md) | | [optional] [default to nothing] +**userData** | **String** | UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 | [optional] [default to nothing] +**capacityReservation** | [***CapacityReservationProfile**](CapacityReservationProfile.md) | | [optional] [default to nothing] +**applicationProfile** | [***ApplicationProfile**](ApplicationProfile.md) | | [optional] [default to nothing] +**hardwareProfile** | [***VirtualMachineScaleSetHardwareProfile**](VirtualMachineScaleSetHardwareProfile.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProperties.md index 4c0ca6c..911da27 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMProperties.md @@ -17,9 +17,10 @@ Name | Type | Description | Notes **diagnosticsProfile** | [***DiagnosticsProfile**](DiagnosticsProfile.md) | | [optional] [default to nothing] **availabilitySet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] -**licenseType** | **String** | Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 | [optional] [default to nothing] +**licenseType** | **String** | Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 | [optional] [default to nothing] **modelDefinitionApplied** | **String** | Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. | [optional] [readonly] [default to nothing] **protectionPolicy** | [***VirtualMachineScaleSetVMProtectionPolicy**](VirtualMachineScaleSetVMProtectionPolicy.md) | | [optional] [default to nothing] +**userData** | **String** | UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMsApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMsApi.md index b70227c..c396e99 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMsApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetVMsApi.md @@ -4,21 +4,21 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- -[**virtual_machine_scale_set_v_ms_deallocate**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_deallocate) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate | -[**virtual_machine_scale_set_v_ms_delete**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId} | -[**virtual_machine_scale_set_v_ms_get**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId} | -[**virtual_machine_scale_set_v_ms_get_instance_view**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get_instance_view) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView | +[**virtual_machine_scale_set_v_ms_deallocate**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_deallocate) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate | +[**virtual_machine_scale_set_v_ms_delete**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId} | +[**virtual_machine_scale_set_v_ms_get**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId} | +[**virtual_machine_scale_set_v_ms_get_instance_view**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_get_instance_view) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView | [**virtual_machine_scale_set_v_ms_list**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines | [**virtual_machine_scale_set_v_ms_perform_maintenance**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_perform_maintenance) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/performMaintenance | [**virtual_machine_scale_set_v_ms_power_off**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_power_off) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/poweroff | [**virtual_machine_scale_set_v_ms_redeploy**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_redeploy) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/redeploy | -[**virtual_machine_scale_set_v_ms_reimage**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage | -[**virtual_machine_scale_set_v_ms_reimage_all**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage_all) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall | +[**virtual_machine_scale_set_v_ms_reimage**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage | +[**virtual_machine_scale_set_v_ms_reimage_all**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_reimage_all) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall | [**virtual_machine_scale_set_v_ms_restart**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_restart) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/restart | [**virtual_machine_scale_set_v_ms_retrieve_boot_diagnostics_data**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_retrieve_boot_diagnostics_data) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/retrieveBootDiagnosticsData | [**virtual_machine_scale_set_v_ms_simulate_eviction**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_simulate_eviction) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/simulateEviction | [**virtual_machine_scale_set_v_ms_start**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_start) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/start | -[**virtual_machine_scale_set_v_ms_update**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId} | +[**virtual_machine_scale_set_v_ms_update**](VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId} | # **virtual_machine_scale_set_v_ms_deallocate** @@ -34,11 +34,11 @@ Deallocates a specific virtual machine in a VM scale set. Shuts down the virtual Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -51,13 +51,13 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_set_v_ms_delete** -> virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -68,11 +68,17 @@ Deletes a virtual machine from a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **force_deletion** | **Bool** | Optional parameter to force delete a virtual machine from a VM scale set. (Feature in Preview) | [default to nothing] ### Return type @@ -85,7 +91,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -102,17 +108,17 @@ Gets a virtual machine from a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' will retrieve the instance view of the virtual machine. 'UserData' will retrieve the UserData of the virtual machine. | [default to nothing] ### Return type @@ -142,11 +148,11 @@ Gets the status of a virtual machine from a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -176,18 +182,18 @@ Gets a list of all virtual machines in a VM scale sets. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_machine_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_machine_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. | [default to nothing] - **select** | **String**| The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. | [default to nothing] - **expand** | **String**| The expand expression to apply to the operation. Allowed values are 'instanceView'. | [default to nothing] + **filter** | **String** | The filter to apply to the operation. Allowed values are 'startswith(instanceView/statuses/code, 'PowerState') eq true', 'properties/latestModelApplied eq true', 'properties/latestModelApplied eq false'. | [default to nothing] + **select** | **String** | The list parameters. Allowed values are 'instanceView', 'instanceView/statuses'. | [default to nothing] + **expand** | **String** | The expand expression to apply to the operation. Allowed values are 'instanceView'. | [default to nothing] ### Return type @@ -217,11 +223,11 @@ Performs maintenance on a virtual machine in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -234,7 +240,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -251,17 +257,17 @@ Power off (stop) a virtual machine in a VM scale set. Note that resources are st Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **skip_shutdown** | **Bool**| The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified | [default to false] + **skip_shutdown** | **Bool** | The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified | [default to false] ### Return type @@ -274,7 +280,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -291,11 +297,11 @@ Shuts down the virtual machine in the virtual machine scale set, moves it to a n Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -308,7 +314,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -325,17 +331,17 @@ Reimages (upgrade the operating system) a specific virtual machine in a VM scale Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_scale_set_v_m_reimage_input** | [**VirtualMachineScaleSetVMReimageParameters**](VirtualMachineScaleSetVMReimageParameters.md)| Parameters for the Reimaging Virtual machine in ScaleSet. | + **vm_scale_set_v_m_reimage_input** | [**VirtualMachineScaleSetVMReimageParameters**](VirtualMachineScaleSetVMReimageParameters.md) | Parameters for the Reimaging Virtual machine in ScaleSet. | ### Return type @@ -348,7 +354,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -365,11 +371,11 @@ Allows you to re-image all the disks ( including data disks ) in the a VM scale Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -382,7 +388,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -399,11 +405,11 @@ Restarts a virtual machine in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -416,7 +422,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -433,17 +439,17 @@ The operation to retrieve SAS URIs of boot diagnostic logs for a virtual machine Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sas_uri_expiration_time_in_minutes** | **Int64**| Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes. | [default to nothing] + **sas_uri_expiration_time_in_minutes** | **Int64** | Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes. | [default to nothing] ### Return type @@ -466,18 +472,18 @@ Name | Type | Description | Notes -The operation to simulate the eviction of spot virtual machine in a VM scale set. The eviction will occur within 30 minutes of calling the API +The operation to simulate the eviction of spot virtual machine in a VM scale set. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -490,7 +496,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -507,11 +513,11 @@ Starts a virtual machine in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -524,7 +530,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -541,12 +547,12 @@ Updates a virtual machine of a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set where the extension should be create or updated. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualMachineScaleSetVM**](VirtualMachineScaleSetVM.md)| Parameters supplied to the Update Virtual Machine Scale Sets VM operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set where the extension should be create or updated. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualMachineScaleSetVM**](VirtualMachineScaleSetVM.md) | Parameters supplied to the Update Virtual Machine Scale Sets VM operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetsApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetsApi.md index 41ad601..e098637 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetsApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineScaleSetsApi.md @@ -15,6 +15,7 @@ Method | HTTP request | Description [**virtual_machine_scale_sets_get_o_s_upgrade_history**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_get_o_s_upgrade_history) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/osUpgradeHistory | [**virtual_machine_scale_sets_list**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets | [**virtual_machine_scale_sets_list_all**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list_all) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets | +[**virtual_machine_scale_sets_list_by_location**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list_by_location) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets | [**virtual_machine_scale_sets_list_skus**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_list_skus) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/skus | [**virtual_machine_scale_sets_perform_maintenance**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_perform_maintenance) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/performMaintenance | [**virtual_machine_scale_sets_power_off**](VirtualMachineScaleSetsApi.md#virtual_machine_scale_sets_power_off) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/poweroff | @@ -41,11 +42,11 @@ Converts SinglePlacementGroup property to false for a existing virtual machine s Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the virtual machine scale set to create or update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VMScaleSetConvertToSinglePlacementGroupInput**](VMScaleSetConvertToSinglePlacementGroupInput.md)| The input object for ConvertToSinglePlacementGroup API. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the virtual machine scale set to create or update. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VMScaleSetConvertToSinglePlacementGroupInput**](VMScaleSetConvertToSinglePlacementGroupInput.md) | The input object for ConvertToSinglePlacementGroup API. | ### Return type @@ -58,7 +59,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -75,11 +76,11 @@ Create or update a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set to create or update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualMachineScaleSet**](VirtualMachineScaleSet.md)| The scale set object. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set to create or update. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualMachineScaleSet**](VirtualMachineScaleSet.md) | The scale set object. | ### Return type @@ -109,16 +110,16 @@ Deallocates specific virtual machines in a VM scale set. Shuts down the virtual Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -131,13 +132,13 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_sets_delete** -> virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -148,10 +149,16 @@ Deletes a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **force_deletion** | **Bool** | Optional parameter to force delete a VM scale set. (Feature in Preview) | [default to nothing] ### Return type @@ -164,13 +171,13 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_sets_delete_instances** -> virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; force_deletion=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; force_deletion=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -181,11 +188,17 @@ Deletes virtual machines in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceRequiredIDs**](VirtualMachineScaleSetVMInstanceRequiredIDs.md)| A list of virtual machine instance IDs from the VM scale set. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceRequiredIDs**](VirtualMachineScaleSetVMInstanceRequiredIDs.md) | A list of virtual machine instance IDs from the VM scale set. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **force_deletion** | **Bool** | Optional parameter to force delete virtual machines from the VM scale set. (Feature in Preview) | [default to nothing] ### Return type @@ -198,13 +211,13 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk** -> virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; _mediaType=nothing) -> RecoveryWalkResponse, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; _mediaType=nothing) -> Channel{ RecoveryWalkResponse }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; zone=nothing, placement_group_id=nothing, _mediaType=nothing) -> RecoveryWalkResponse, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; zone=nothing, placement_group_id=nothing, _mediaType=nothing) -> Channel{ RecoveryWalkResponse }, OpenAPI.Clients.ApiResponse @@ -215,11 +228,18 @@ Manual platform update domain walk to update virtual machines in a service fabri Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**platform_update_domain** | **Int64**| The platform update domain for which a manual recovery walk is requested | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**platform_update_domain** | **Int64** | The platform update domain for which a manual recovery walk is requested | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **zone** | **String** | The zone in which the manual recovery walk is requested for cross zone virtual machine scale set | [default to nothing] + **placement_group_id** | **String** | The placement group id for which the manual recovery walk is requested. | [default to nothing] ### Return type @@ -237,8 +257,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machine_scale_sets_get** -> virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineScaleSet, OpenAPI.Clients.ApiResponse
-> virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineScaleSet }, OpenAPI.Clients.ApiResponse +> virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineScaleSet, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineScaleSet }, OpenAPI.Clients.ApiResponse @@ -249,10 +269,16 @@ Display information about a virtual machine scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. 'UserData' retrieves the UserData property of the VM scale set that was provided by the user during the VM scale set Create/Update operation | [default to nothing] ### Return type @@ -282,10 +308,10 @@ Gets the status of a VM scale set instance. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -315,10 +341,10 @@ Gets list of OS upgrades on a VM scale set instance. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -348,9 +374,9 @@ Gets a list of all VM scale sets under a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -380,8 +406,8 @@ Gets a list of all VM Scale Sets in the subscription, regardless of the associat Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -398,6 +424,38 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_machine_scale_sets_list_by_location** +> virtual_machine_scale_sets_list_by_location(_api::VirtualMachineScaleSetsApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineScaleSetListResult, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_sets_list_by_location(_api::VirtualMachineScaleSetsApi, response_stream::Channel, location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineScaleSetListResult }, OpenAPI.Clients.ApiResponse + + + +Gets all the VM scale sets under the specified subscription for the specified location. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineScaleSetsApi** | API context | +**location** | **String** | The location for which VM scale sets under the subscription are queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**VirtualMachineScaleSetListResult**](VirtualMachineScaleSetListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_machine_scale_sets_list_skus** > virtual_machine_scale_sets_list_skus(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineScaleSetListSkusResult, OpenAPI.Clients.ApiResponse
> virtual_machine_scale_sets_list_skus(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineScaleSetListSkusResult }, OpenAPI.Clients.ApiResponse @@ -411,10 +469,10 @@ Gets a list of SKUs available for your VM scale set, including the minimum and m Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -437,23 +495,23 @@ Name | Type | Description | Notes -Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications +Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -466,7 +524,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -483,17 +541,17 @@ Power off (stop) one or more virtual machines in a VM scale set. Note that resou Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **skip_shutdown** | **Bool**| The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified | [default to false] - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **skip_shutdown** | **Bool** | The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified | [default to false] + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -506,7 +564,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -523,16 +581,16 @@ Shuts down all the virtual machines in the virtual machine scale set, moves them Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -545,7 +603,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -562,16 +620,16 @@ Reimages (upgrade the operating system) one or more virtual machines in a VM sca Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_scale_set_reimage_input** | [**VirtualMachineScaleSetReimageParameters**](VirtualMachineScaleSetReimageParameters.md)| Parameters for Reimaging VM ScaleSet. | + **vm_scale_set_reimage_input** | [**VirtualMachineScaleSetReimageParameters**](VirtualMachineScaleSetReimageParameters.md) | Parameters for Reimaging VM ScaleSet. | ### Return type @@ -584,7 +642,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -601,16 +659,16 @@ Reimages all the disks ( including data disks ) in the virtual machines in a VM Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -623,7 +681,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -640,16 +698,16 @@ Restarts one or more virtual machines in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -662,7 +720,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -679,11 +737,11 @@ Changes ServiceState property for a given service Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the virtual machine scale set to create or update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**OrchestrationServiceStateInput**](OrchestrationServiceStateInput.md)| The input object for SetOrchestrationServiceState API. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the virtual machine scale set to create or update. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**OrchestrationServiceStateInput**](OrchestrationServiceStateInput.md) | The input object for SetOrchestrationServiceState API. | ### Return type @@ -696,7 +754,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -713,16 +771,16 @@ Starts one or more virtual machines in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md)| A list of virtual machine instance IDs from the VM scale set. | + **vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceIDs**](VirtualMachineScaleSetVMInstanceIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -735,7 +793,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -752,11 +810,11 @@ Update a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set to create or update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualMachineScaleSetUpdate**](VirtualMachineScaleSetUpdate.md)| The scale set object. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set to create or update. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualMachineScaleSetUpdate**](VirtualMachineScaleSetUpdate.md) | The scale set object. | ### Return type @@ -786,11 +844,11 @@ Upgrades one or more virtual machines to the latest SKU set in the VM scale set Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceRequiredIDs**](VirtualMachineScaleSetVMInstanceRequiredIDs.md)| A list of virtual machine instance IDs from the VM scale set. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**vm_instance_i_ds** | [**VirtualMachineScaleSetVMInstanceRequiredIDs**](VirtualMachineScaleSetVMInstanceRequiredIDs.md) | A list of virtual machine instance IDs from the VM scale set. | ### Return type @@ -803,7 +861,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineSize.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineSize.md index e9cfc43..c0f5e41 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineSize.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineSize.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the virtual machine size. | [optional] [default to nothing] -**numberOfCores** | **Int64** | The number of cores supported by the virtual machine size. | [optional] [default to nothing] +**numberOfCores** | **Int64** | The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list | [optional] [default to nothing] **osDiskSizeInMB** | **Int64** | The OS disk size, in MB, allowed by the virtual machine size. | [optional] [default to nothing] **resourceDiskSizeInMB** | **Int64** | The resource disk size, in MB, allowed by the virtual machine size. | [optional] [default to nothing] **memoryInMB** | **Int64** | The amount of memory, in MB, supported by the virtual machine size. | [optional] [default to nothing] diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineSizesApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineSizesApi.md index 3ff70a8..84b60ed 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineSizesApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineSizesApi.md @@ -13,16 +13,16 @@ Method | HTTP request | Description -This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) +This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineSizesApi** | API context | -**location** | **String**| The location upon which virtual-machine-sizes is queried. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location upon which virtual-machine-sizes is queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachineSoftwarePatchProperties.md b/src/Compute/ComputeManagementClient/docs/VirtualMachineSoftwarePatchProperties.md index 1f647a4..1498e64 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachineSoftwarePatchProperties.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachineSoftwarePatchProperties.md @@ -7,13 +7,13 @@ Name | Type | Description | Notes **patchId** | **String** | A unique identifier for the patch. | [optional] [readonly] [default to nothing] **name** | **String** | The friendly name of the patch. | [optional] [readonly] [default to nothing] **version** | **String** | The version number of the patch. This property applies only to Linux patches. | [optional] [readonly] [default to nothing] -**kbid** | **String** | The KBID of the patch. Only applies to Windows patches. | [optional] [readonly] [default to nothing] +**kbId** | **String** | The KBID of the patch. Only applies to Windows patches. | [optional] [readonly] [default to nothing] **classifications** | **Vector{String}** | The classification(s) of the patch as provided by the patch publisher. | [optional] [readonly] [default to nothing] **rebootBehavior** | **String** | Describes the reboot requirements of the patch. | [optional] [readonly] [default to nothing] **activityId** | **String** | The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. | [optional] [readonly] [default to nothing] **publishedDate** | **ZonedDateTime** | The UTC timestamp when the repository published this patch. | [optional] [readonly] [default to nothing] **lastModifiedDateTime** | **ZonedDateTime** | The UTC timestamp of the last update to this patch record. | [optional] [readonly] [default to nothing] -**assessmentState** | **String** | Describes the outcome of an install operation for a given patch. | [optional] [readonly] [default to nothing] +**assessmentState** | **String** | Describes the availability of a given patch. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/VirtualMachinesApi.md b/src/Compute/ComputeManagementClient/docs/VirtualMachinesApi.md index a6149f8..fab0c55 100644 --- a/src/Compute/ComputeManagementClient/docs/VirtualMachinesApi.md +++ b/src/Compute/ComputeManagementClient/docs/VirtualMachinesApi.md @@ -12,6 +12,7 @@ Method | HTTP request | Description [**virtual_machines_delete**](VirtualMachinesApi.md#virtual_machines_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName} | [**virtual_machines_generalize**](VirtualMachinesApi.md#virtual_machines_generalize) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/generalize | [**virtual_machines_get**](VirtualMachinesApi.md#virtual_machines_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName} | +[**virtual_machines_install_patches**](VirtualMachinesApi.md#virtual_machines_install_patches) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches | [**virtual_machines_instance_view**](VirtualMachinesApi.md#virtual_machines_instance_view) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/instanceView | [**virtual_machines_list**](VirtualMachinesApi.md#virtual_machines_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines | [**virtual_machines_list_all**](VirtualMachinesApi.md#virtual_machines_list_all) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines | @@ -42,10 +43,10 @@ Assess patches on the VM. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -75,11 +76,11 @@ Captures the VM by copying virtual hard disks of the VM and outputs a template t Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualMachineCaptureParameters**](VirtualMachineCaptureParameters.md)| Parameters supplied to the Capture Virtual Machine operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualMachineCaptureParameters**](VirtualMachineCaptureParameters.md) | Parameters supplied to the Capture Virtual Machine operation. | ### Return type @@ -109,10 +110,10 @@ Converts virtual machine disks from blob-based to managed disks. Virtual machine Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -125,7 +126,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -142,11 +143,11 @@ The operation to create or update a virtual machine. Please note some properties Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualMachine**](VirtualMachine.md)| Parameters supplied to the Create Virtual Machine operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualMachine**](VirtualMachine.md) | Parameters supplied to the Create Virtual Machine operation. | ### Return type @@ -164,8 +165,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machines_deallocate** -> virtual_machines_deallocate(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> virtual_machines_deallocate(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> virtual_machines_deallocate(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; hibernate=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machines_deallocate(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; hibernate=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -176,10 +177,16 @@ Shuts down the virtual machine and releases the compute resources. You are not b Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **hibernate** | **Bool** | Optional parameter to hibernate a virtual machine. (Feature in Preview) | [default to nothing] ### Return type @@ -192,13 +199,13 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machines_delete** -> virtual_machines_delete(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> virtual_machines_delete(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> virtual_machines_delete(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machines_delete(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -209,10 +216,16 @@ The operation to delete a virtual machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **force_deletion** | **Bool** | Optional parameter to force delete virtual machines. | [default to nothing] ### Return type @@ -225,7 +238,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -235,17 +248,17 @@ Nothing -Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image). +Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -258,7 +271,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -275,16 +288,16 @@ Retrieves information about the model view or the instance view of a virtual mac Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The expand expression to apply on the operation. | [default to nothing] + **expand** | **String** | The expand expression to apply on the operation. 'InstanceView' retrieves a snapshot of the runtime properties of the virtual machine that is managed by the platform and can change outside of control plane operations. 'UserData' retrieves the UserData property as part of the VM model view that was provided by the user during the VM Create/Update operation. | [default to nothing] ### Return type @@ -301,6 +314,40 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_machines_install_patches** +> virtual_machines_install_patches(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, install_patches_input::VirtualMachineInstallPatchesParameters; _mediaType=nothing) -> VirtualMachineInstallPatchesResult, OpenAPI.Clients.ApiResponse
+> virtual_machines_install_patches(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, install_patches_input::VirtualMachineInstallPatchesParameters; _mediaType=nothing) -> Channel{ VirtualMachineInstallPatchesResult }, OpenAPI.Clients.ApiResponse + + + +Installs patches on the VM. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachinesApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**install_patches_input** | [**VirtualMachineInstallPatchesParameters**](VirtualMachineInstallPatchesParameters.md) | Input for InstallPatches as directly received by the API | + +### Return type + +[**VirtualMachineInstallPatchesResult**](VirtualMachineInstallPatchesResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_machines_instance_view** > virtual_machines_instance_view(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineInstanceView, OpenAPI.Clients.ApiResponse
> virtual_machines_instance_view(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineInstanceView }, OpenAPI.Clients.ApiResponse @@ -314,10 +361,10 @@ Retrieves information about the run-time state of a virtual machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -335,8 +382,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machines_list** -> virtual_machines_list(_api::VirtualMachinesApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualMachineListResult, OpenAPI.Clients.ApiResponse
-> virtual_machines_list(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualMachineListResult }, OpenAPI.Clients.ApiResponse +> virtual_machines_list(_api::VirtualMachinesApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> VirtualMachineListResult, OpenAPI.Clients.ApiResponse
+> virtual_machines_list(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> Channel{ VirtualMachineListResult }, OpenAPI.Clients.ApiResponse @@ -347,9 +394,15 @@ Lists all of the virtual machines in the specified resource group. Use the nextL Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}' | [default to nothing] ### Return type @@ -367,8 +420,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **virtual_machines_list_all** -> virtual_machines_list_all(_api::VirtualMachinesApi, api_version::String, subscription_id::String; status_only=nothing, _mediaType=nothing) -> VirtualMachineListResult, OpenAPI.Clients.ApiResponse
-> virtual_machines_list_all(_api::VirtualMachinesApi, response_stream::Channel, api_version::String, subscription_id::String; status_only=nothing, _mediaType=nothing) -> Channel{ VirtualMachineListResult }, OpenAPI.Clients.ApiResponse +> virtual_machines_list_all(_api::VirtualMachinesApi, api_version::String, subscription_id::String; status_only=nothing, filter=nothing, _mediaType=nothing) -> VirtualMachineListResult, OpenAPI.Clients.ApiResponse
+> virtual_machines_list_all(_api::VirtualMachinesApi, response_stream::Channel, api_version::String, subscription_id::String; status_only=nothing, filter=nothing, _mediaType=nothing) -> Channel{ VirtualMachineListResult }, OpenAPI.Clients.ApiResponse @@ -379,14 +432,15 @@ Lists all of the virtual machines in the specified subscription. Use the nextLin Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **status_only** | **String**| statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. | [default to nothing] + **status_only** | **String** | statusOnly=true enables fetching run time status of all Virtual Machines in the subscription. | [default to nothing] + **filter** | **String** | The system query option to filter VMs returned in the response. Allowed value is 'virtualMachineScaleSet/id' eq /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmssName}' | [default to nothing] ### Return type @@ -416,10 +470,10 @@ Lists all available virtual machine sizes to which the specified virtual machine Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -449,9 +503,9 @@ Gets all the virtual machines under the specified subscription for the specified Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**location** | **String**| The location for which virtual machines under the subscription are queried. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location for which virtual machines under the subscription are queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -481,10 +535,10 @@ The operation to perform maintenance on a virtual machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -497,7 +551,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -514,16 +568,16 @@ The operation to power off (stop) a virtual machine. The virtual machine can be Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **skip_shutdown** | **Bool**| The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified | [default to false] + **skip_shutdown** | **Bool** | The parameter to request non-graceful VM shutdown. True value for this flag indicates non-graceful shutdown whereas false indicates otherwise. Default value for this flag is false if not specified | [default to false] ### Return type @@ -536,7 +590,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -553,10 +607,10 @@ The operation to reapply a virtual machine's state. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -586,10 +640,10 @@ Shuts down the virtual machine, moves it to a new node, and powers it back on. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -602,7 +656,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -619,16 +673,16 @@ Reimages the virtual machine which has an ephemeral OS disk back to its initial Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **parameters** | [**VirtualMachineReimageParameters**](VirtualMachineReimageParameters.md)| Parameters supplied to the Reimage Virtual Machine operation. | + **parameters** | [**VirtualMachineReimageParameters**](VirtualMachineReimageParameters.md) | Parameters supplied to the Reimage Virtual Machine operation. | ### Return type @@ -641,7 +695,7 @@ Nothing ### HTTP request headers - **Content-Type**: application/json - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -658,10 +712,10 @@ The operation to restart a virtual machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -674,7 +728,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -691,16 +745,16 @@ The operation to retrieve SAS URIs for a virtual machine's boot diagnostic logs. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sas_uri_expiration_time_in_minutes** | **Int64**| Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes. | [default to nothing] + **sas_uri_expiration_time_in_minutes** | **Int64** | Expiration duration in minutes for the SAS URIs with a value between 1 to 1440 minutes. <br><br>NOTE: If not specified, SAS URIs will be generated with a default expiration duration of 120 minutes. | [default to nothing] ### Return type @@ -723,17 +777,17 @@ Name | Type | Description | Notes -The operation to simulate the eviction of spot virtual machine. The eviction will occur within 30 minutes of calling the API +The operation to simulate the eviction of spot virtual machine. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -746,7 +800,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -763,10 +817,10 @@ The operation to start a virtual machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -779,7 +833,7 @@ Nothing ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: Not defined + - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) @@ -796,11 +850,11 @@ The operation to update a virtual machine. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualMachineUpdate**](VirtualMachineUpdate.md)| Parameters supplied to the Update Virtual Machine operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualMachineUpdate**](VirtualMachineUpdate.md) | Parameters supplied to the Update Virtual Machine operation. | ### Return type diff --git a/src/Compute/ComputeManagementClient/docs/WinRMListener.md b/src/Compute/ComputeManagementClient/docs/WinRMListener.md index 8bb9363..1ccf98b 100644 --- a/src/Compute/ComputeManagementClient/docs/WinRMListener.md +++ b/src/Compute/ComputeManagementClient/docs/WinRMListener.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **protocol** | **String** | Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https** | [optional] [default to nothing] -**certificateUrl** | **String** | This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} | [optional] [default to nothing] +**certificateUrl** | **String** | This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/ComputeManagementClient/docs/WindowsConfiguration.md b/src/Compute/ComputeManagementClient/docs/WindowsConfiguration.md index 457a769..703a029 100644 --- a/src/Compute/ComputeManagementClient/docs/WindowsConfiguration.md +++ b/src/Compute/ComputeManagementClient/docs/WindowsConfiguration.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **provisionVMAgent** | **Bool** | Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. | [optional] [default to nothing] **enableAutomaticUpdates** | **Bool** | Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. | [optional] [default to nothing] -**timeZone** | **String** | Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones). | [optional] [default to nothing] +**timeZone** | **String** | Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). | [optional] [default to nothing] **additionalUnattendContent** | [**Vector{AdditionalUnattendContent}**](AdditionalUnattendContent.md) | Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. | [optional] [default to nothing] **patchSettings** | [***PatchSettings**](PatchSettings.md) | | [optional] [default to nothing] **winRM** | [***WinRMConfiguration**](WinRMConfiguration.md) | | [optional] [default to nothing] diff --git a/src/Compute/ComputeManagementClient/docs/WindowsParameters.md b/src/Compute/ComputeManagementClient/docs/WindowsParameters.md new file mode 100644 index 0000000..66e6aba --- /dev/null +++ b/src/Compute/ComputeManagementClient/docs/WindowsParameters.md @@ -0,0 +1,16 @@ +# WindowsParameters + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**classificationsToInclude** | **Vector{String}** | The update classifications to select when installing patches for Windows. | [optional] [default to nothing] +**kbNumbersToInclude** | **Vector{String}** | Kbs to include in the patch operation | [optional] [default to nothing] +**kbNumbersToExclude** | **Vector{String}** | Kbs to exclude in the patch operation | [optional] [default to nothing] +**excludeKbsRequiringReboot** | **Bool** | Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true. | [optional] [default to nothing] +**maxPatchPublishDate** | **ZonedDateTime** | This is used to install patches that were published on or before this given max published date. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/ComputeManagementClient/src/ComputeManagementClient.jl b/src/Compute/ComputeManagementClient/src/ComputeManagementClient.jl index 5670353..294a66e 100644 --- a/src/Compute/ComputeManagementClient/src/ComputeManagementClient.jl +++ b/src/Compute/ComputeManagementClient/src/ComputeManagementClient.jl @@ -7,18 +7,23 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-06-01" +const API_VERSION = "2021-11-01" include("modelincludes.jl") include("apis/api_AvailabilitySetsApi.jl") +include("apis/api_CapacityReservationApi.jl") +include("apis/api_CapacityReservationGroupsApi.jl") +include("apis/api_CapacityReservationsApi.jl") include("apis/api_ComputeOperationsApi.jl") include("apis/api_DedicatedHostApi.jl") include("apis/api_DedicatedHostGroupsApi.jl") include("apis/api_DedicatedHostsApi.jl") +include("apis/api_DefaultApi.jl") include("apis/api_ImagesApi.jl") include("apis/api_LogAnalyticsApi.jl") include("apis/api_ProximityPlacementGroupsApi.jl") +include("apis/api_RestorePointCollectionsApi.jl") include("apis/api_SshPublicKeysApi.jl") include("apis/api_UsageApi.jl") include("apis/api_VirtualMachineExtensionImagesApi.jl") diff --git a/src/Compute/ComputeManagementClient/src/apis/api_AvailabilitySetsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_AvailabilitySetsApi.jl index dea6bbe..5283f3a 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_AvailabilitySetsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_AvailabilitySetsApi.jl @@ -13,6 +13,7 @@ basepath(::Type{ AvailabilitySetsApi }) = "https://management.azure.com" const _returntypes_availability_sets_create_or_update_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => AvailabilitySet, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_create_or_update(_api::AvailabilitySetsApi, resource_group_name::String, availability_set_name::String, api_version::String, subscription_id::String, parameters::AvailabilitySet; _mediaType=nothing) @@ -20,7 +21,7 @@ function _oacinternal_availability_sets_create_or_update(_api::AvailabilitySetsA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "availabilitySetName", availability_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -50,6 +51,7 @@ end const _returntypes_availability_sets_delete_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_delete(_api::AvailabilitySetsApi, resource_group_name::String, availability_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -57,8 +59,8 @@ function _oacinternal_availability_sets_delete(_api::AvailabilitySetsApi, resour OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "availabilitySetName", availability_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -85,6 +87,7 @@ end const _returntypes_availability_sets_get_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => AvailabilitySet, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_get(_api::AvailabilitySetsApi, resource_group_name::String, availability_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -92,7 +95,7 @@ function _oacinternal_availability_sets_get(_api::AvailabilitySetsApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "availabilitySetName", availability_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -120,13 +123,14 @@ end const _returntypes_availability_sets_list_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => AvailabilitySetListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_list(_api::AvailabilitySetsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_availability_sets_list_AvailabilitySetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/availabilitySets", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -153,6 +157,7 @@ end const _returntypes_availability_sets_list_available_sizes_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineSizeListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_list_available_sizes(_api::AvailabilitySetsApi, resource_group_name::String, availability_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -160,7 +165,7 @@ function _oacinternal_availability_sets_list_available_sizes(_api::AvailabilityS OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "availabilitySetName", availability_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -188,13 +193,14 @@ end const _returntypes_availability_sets_list_by_subscription_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => AvailabilitySetListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_list_by_subscription(_api::AvailabilitySetsApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_availability_sets_list_by_subscription_AvailabilitySetsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/availabilitySets", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -221,6 +227,7 @@ end const _returntypes_availability_sets_update_AvailabilitySetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => AvailabilitySet, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_availability_sets_update(_api::AvailabilitySetsApi, resource_group_name::String, availability_set_name::String, api_version::String, subscription_id::String, parameters::AvailabilitySetUpdate; _mediaType=nothing) @@ -228,7 +235,7 @@ function _oacinternal_availability_sets_update(_api::AvailabilitySetsApi, resour OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "availabilitySetName", availability_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationApi.jl new file mode 100644 index 0000000..fd3a1be --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationApi.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CapacityReservationApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CapacityReservationApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CapacityReservationApi }) = "https://management.azure.com" + +const _returntypes_capacity_reservations_list_by_capacity_reservation_group_CapacityReservationApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservationListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservations_list_by_capacity_reservation_group(_api::CapacityReservationApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_capacity_reservations_list_by_capacity_reservation_group_CapacityReservationApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Lists all of the capacity reservations in the specified capacity reservation group. Use the nextLink property in the response to get the next page of capacity reservations. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: CapacityReservationListResult, OpenAPI.Clients.ApiResponse +""" +function capacity_reservations_list_by_capacity_reservation_group(_api::CapacityReservationApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_list_by_capacity_reservation_group(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservations_list_by_capacity_reservation_group(_api::CapacityReservationApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_list_by_capacity_reservation_group(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export capacity_reservations_list_by_capacity_reservation_group diff --git a/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationGroupsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationGroupsApi.jl new file mode 100644 index 0000000..32fe54d --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationGroupsApi.jl @@ -0,0 +1,239 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CapacityReservationGroupsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CapacityReservationGroupsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CapacityReservationGroupsApi }) = "https://management.azure.com" + +const _returntypes_capacity_reservation_groups_create_or_update_CapacityReservationGroupsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservationGroup, + Regex("^" * replace("201", "x"=>".") * "\$") => CapacityReservationGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservation_groups_create_or_update(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroup; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_capacity_reservation_groups_create_or_update_CapacityReservationGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to create or update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. Please refer to https://aka.ms/CapacityReservation for more details. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::CapacityReservationGroup (required) + +Return: CapacityReservationGroup, OpenAPI.Clients.ApiResponse +""" +function capacity_reservation_groups_create_or_update(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroup; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_create_or_update(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservation_groups_create_or_update(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroup; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_create_or_update(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservation_groups_delete_CapacityReservationGroupsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservation_groups_delete(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_capacity_reservation_groups_delete_CapacityReservationGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to delete a capacity reservation group. This operation is allowed only if all the associated resources are disassociated from the reservation group and all capacity reservations under the reservation group have also been deleted. Please refer to https://aka.ms/CapacityReservation for more details. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function capacity_reservation_groups_delete(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_delete(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservation_groups_delete(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_delete(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservation_groups_get_CapacityReservationGroupsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservationGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservation_groups_get(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_capacity_reservation_groups_get_CapacityReservationGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation that retrieves information about a capacity reservation group. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: CapacityReservationGroup, OpenAPI.Clients.ApiResponse +""" +function capacity_reservation_groups_get(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_get(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservation_groups_get(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_get(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservation_groups_list_by_resource_group_CapacityReservationGroupsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservationGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservation_groups_list_by_resource_group(_api::CapacityReservationGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_capacity_reservation_groups_list_by_resource_group_CapacityReservationGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Lists all of the capacity reservation groups in the specified resource group. Use the nextLink property in the response to get the next page of capacity reservation groups. + +Params: +- resource_group_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: CapacityReservationGroupListResult, OpenAPI.Clients.ApiResponse +""" +function capacity_reservation_groups_list_by_resource_group(_api::CapacityReservationGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_list_by_resource_group(_api, resource_group_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservation_groups_list_by_resource_group(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_list_by_resource_group(_api, resource_group_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservation_groups_list_by_subscription_CapacityReservationGroupsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservationGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservation_groups_list_by_subscription(_api::CapacityReservationGroupsApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_capacity_reservation_groups_list_by_subscription_CapacityReservationGroupsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/capacityReservationGroups", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Lists all of the capacity reservation groups in the subscription. Use the nextLink property in the response to get the next page of capacity reservation groups. + +Params: +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: CapacityReservationGroupListResult, OpenAPI.Clients.ApiResponse +""" +function capacity_reservation_groups_list_by_subscription(_api::CapacityReservationGroupsApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_list_by_subscription(_api, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservation_groups_list_by_subscription(_api::CapacityReservationGroupsApi, response_stream::Channel, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_list_by_subscription(_api, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservation_groups_update_CapacityReservationGroupsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservationGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservation_groups_update(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroupUpdate; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_capacity_reservation_groups_update_CapacityReservationGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to update a capacity reservation group. When updating a capacity reservation group, only tags may be modified. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::CapacityReservationGroupUpdate (required) + +Return: CapacityReservationGroup, OpenAPI.Clients.ApiResponse +""" +function capacity_reservation_groups_update(_api::CapacityReservationGroupsApi, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroupUpdate; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_update(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservation_groups_update(_api::CapacityReservationGroupsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationGroupUpdate; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservation_groups_update(_api, resource_group_name, capacity_reservation_group_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export capacity_reservation_groups_create_or_update +export capacity_reservation_groups_delete +export capacity_reservation_groups_get +export capacity_reservation_groups_list_by_resource_group +export capacity_reservation_groups_list_by_subscription +export capacity_reservation_groups_update diff --git a/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationsApi.jl new file mode 100644 index 0000000..3aa5a86 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/apis/api_CapacityReservationsApi.jl @@ -0,0 +1,177 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct CapacityReservationsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `CapacityReservationsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ CapacityReservationsApi }) = "https://management.azure.com" + +const _returntypes_capacity_reservations_create_or_update_CapacityReservationsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservation, + Regex("^" * replace("201", "x"=>".") * "\$") => CapacityReservation, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservations_create_or_update(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservation; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_capacity_reservations_create_or_update_CapacityReservationsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationName", capacity_reservation_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to create or update a capacity reservation. Please note some properties can be set only during capacity reservation creation. Please refer to https://aka.ms/CapacityReservation for more details. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- capacity_reservation_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::CapacityReservation (required) + +Return: CapacityReservation, OpenAPI.Clients.ApiResponse +""" +function capacity_reservations_create_or_update(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservation; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_create_or_update(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservations_create_or_update(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservation; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_create_or_update(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservations_delete_CapacityReservationsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservations_delete(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_capacity_reservations_delete_CapacityReservationsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationName", capacity_reservation_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to delete a capacity reservation. This operation is allowed only when all the associated resources are disassociated from the capacity reservation. Please refer to https://aka.ms/CapacityReservation for more details. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- capacity_reservation_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function capacity_reservations_delete(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_delete(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservations_delete(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_delete(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservations_get_CapacityReservationsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservation, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservations_get(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_capacity_reservations_get_CapacityReservationsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationName", capacity_reservation_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation that retrieves information about the capacity reservation. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- capacity_reservation_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: CapacityReservation, OpenAPI.Clients.ApiResponse +""" +function capacity_reservations_get(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_get(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservations_get(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_get(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_capacity_reservations_update_CapacityReservationsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CapacityReservation, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_capacity_reservations_update(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationUpdate; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_capacity_reservations_update_CapacityReservationsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/capacityReservationGroups/{capacityReservationGroupName}/capacityReservations/{capacityReservationName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationGroupName", capacity_reservation_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "capacityReservationName", capacity_reservation_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to update a capacity reservation. + +Params: +- resource_group_name::String (required) +- capacity_reservation_group_name::String (required) +- capacity_reservation_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::CapacityReservationUpdate (required) + +Return: CapacityReservation, OpenAPI.Clients.ApiResponse +""" +function capacity_reservations_update(_api::CapacityReservationsApi, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationUpdate; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_update(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function capacity_reservations_update(_api::CapacityReservationsApi, response_stream::Channel, resource_group_name::String, capacity_reservation_group_name::String, capacity_reservation_name::String, api_version::String, subscription_id::String, parameters::CapacityReservationUpdate; _mediaType=nothing) + _ctx = _oacinternal_capacity_reservations_update(_api, resource_group_name, capacity_reservation_group_name, capacity_reservation_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export capacity_reservations_create_or_update +export capacity_reservations_delete +export capacity_reservations_get +export capacity_reservations_update diff --git a/src/Compute/ComputeManagementClient/src/apis/api_ComputeOperationsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_ComputeOperationsApi.jl index b75fcbc..893f288 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_ComputeOperationsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_ComputeOperationsApi.jl @@ -13,11 +13,12 @@ basepath(::Type{ ComputeOperationsApi }) = "https://management.azure.com" const _returntypes_operations_list_ComputeOperationsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ComputeOperationListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_operations_list(_api::ComputeOperationsApi, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_operations_list_ComputeOperationsApi, "/providers/Microsoft.Compute/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostApi.jl index 660e77b..611b3a4 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostApi.jl @@ -13,6 +13,7 @@ basepath(::Type{ DedicatedHostApi }) = "https://management.azure.com" const _returntypes_dedicated_hosts_list_by_host_group_DedicatedHostApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHostListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_hosts_list_by_host_group(_api::DedicatedHostApi, resource_group_name::String, host_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -20,7 +21,7 @@ function _oacinternal_dedicated_hosts_list_by_host_group(_api::DedicatedHostApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -46,4 +47,43 @@ function dedicated_hosts_list_by_host_group(_api::DedicatedHostApi, response_str return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_dedicated_hosts_restart_DedicatedHostApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_dedicated_hosts_restart(_api::DedicatedHostApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_dedicated_hosts_restart_DedicatedHostApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups/{hostGroupName}/hosts/{hostName}/restart", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "hostName", host_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Restart the dedicated host. The operation will complete successfully once the dedicated host has restarted and is running. To determine the health of VMs deployed on the dedicated host after the restart check the Resource Health Center in the Azure Portal. Please refer to https://docs.microsoft.com/azure/service-health/resource-health-overview for more details. + +Params: +- resource_group_name::String (required) +- host_group_name::String (required) +- host_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function dedicated_hosts_restart(_api::DedicatedHostApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_dedicated_hosts_restart(_api, resource_group_name, host_group_name, host_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function dedicated_hosts_restart(_api::DedicatedHostApi, response_stream::Channel, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_dedicated_hosts_restart(_api, resource_group_name, host_group_name, host_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + export dedicated_hosts_list_by_host_group +export dedicated_hosts_restart diff --git a/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostGroupsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostGroupsApi.jl index 16a3a29..c091138 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostGroupsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostGroupsApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ DedicatedHostGroupsApi }) = "https://management.azure.com" const _returntypes_dedicated_host_groups_create_or_update_DedicatedHostGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHostGroup, Regex("^" * replace("201", "x"=>".") * "\$") => DedicatedHostGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_host_groups_create_or_update(_api::DedicatedHostGroupsApi, resource_group_name::String, host_group_name::String, api_version::String, subscription_id::String, parameters::DedicatedHostGroup; _mediaType=nothing) @@ -21,7 +22,7 @@ function _oacinternal_dedicated_host_groups_create_or_update(_api::DedicatedHost OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -51,6 +52,7 @@ end const _returntypes_dedicated_host_groups_delete_DedicatedHostGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_host_groups_delete(_api::DedicatedHostGroupsApi, resource_group_name::String, host_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -58,8 +60,8 @@ function _oacinternal_dedicated_host_groups_delete(_api::DedicatedHostGroupsApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -86,6 +88,7 @@ end const _returntypes_dedicated_host_groups_get_DedicatedHostGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHostGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_host_groups_get(_api::DedicatedHostGroupsApi, resource_group_name::String, host_group_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -93,8 +96,8 @@ function _oacinternal_dedicated_host_groups_get(_api::DedicatedHostGroupsApi, re OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -123,13 +126,14 @@ end const _returntypes_dedicated_host_groups_list_by_resource_group_DedicatedHostGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHostGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_host_groups_list_by_resource_group(_api::DedicatedHostGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_dedicated_host_groups_list_by_resource_group_DedicatedHostGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/hostGroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -156,12 +160,13 @@ end const _returntypes_dedicated_host_groups_list_by_subscription_DedicatedHostGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHostGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_host_groups_list_by_subscription(_api::DedicatedHostGroupsApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_dedicated_host_groups_list_by_subscription_DedicatedHostGroupsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/hostGroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -187,6 +192,7 @@ end const _returntypes_dedicated_host_groups_update_DedicatedHostGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHostGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_host_groups_update(_api::DedicatedHostGroupsApi, resource_group_name::String, host_group_name::String, api_version::String, subscription_id::String, parameters::DedicatedHostGroupUpdate; _mediaType=nothing) @@ -194,7 +200,7 @@ function _oacinternal_dedicated_host_groups_update(_api::DedicatedHostGroupsApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostsApi.jl index 71a3b56..fbb1b17 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_DedicatedHostsApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ DedicatedHostsApi }) = "https://management.azure.com" const _returntypes_dedicated_hosts_create_or_update_DedicatedHostsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHost, Regex("^" * replace("201", "x"=>".") * "\$") => DedicatedHost, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_hosts_create_or_update(_api::DedicatedHostsApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String, parameters::DedicatedHost; _mediaType=nothing) @@ -22,7 +23,7 @@ function _oacinternal_dedicated_hosts_create_or_update(_api::DedicatedHostsApi, OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostName", host_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -54,6 +55,7 @@ const _returntypes_dedicated_hosts_delete_DedicatedHostsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_hosts_delete(_api::DedicatedHostsApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -62,8 +64,8 @@ function _oacinternal_dedicated_hosts_delete(_api::DedicatedHostsApi, resource_g OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostName", host_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -91,6 +93,7 @@ end const _returntypes_dedicated_hosts_get_DedicatedHostsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHost, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_hosts_get(_api::DedicatedHostsApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -99,8 +102,8 @@ function _oacinternal_dedicated_hosts_get(_api::DedicatedHostsApi, resource_grou OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostName", host_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -130,6 +133,7 @@ end const _returntypes_dedicated_hosts_update_DedicatedHostsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => DedicatedHost, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_dedicated_hosts_update(_api::DedicatedHostsApi, resource_group_name::String, host_group_name::String, host_name::String, api_version::String, subscription_id::String, parameters::DedicatedHostUpdate; _mediaType=nothing) @@ -138,7 +142,7 @@ function _oacinternal_dedicated_hosts_update(_api::DedicatedHostsApi, resource_g OpenAPI.Clients.set_param(_ctx.path, "hostGroupName", host_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "hostName", host_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_DefaultApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_DefaultApi.jl new file mode 100644 index 0000000..b098381 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/apis/api_DefaultApi.jl @@ -0,0 +1,135 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct DefaultApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `DefaultApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ DefaultApi }) = "https://management.azure.com" + +const _returntypes_restore_points_create_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("201", "x"=>".") * "\$") => RestorePoint, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_points_create(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String, parameters::RestorePoint; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_restore_points_create_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointName", restore_point_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to create the restore point. Updating properties of an existing restore point is not allowed + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- restore_point_name::String (required) +- api_version::String (required) +- parameters::RestorePoint (required) + +Return: RestorePoint, OpenAPI.Clients.ApiResponse +""" +function restore_points_create(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String, parameters::RestorePoint; _mediaType=nothing) + _ctx = _oacinternal_restore_points_create(_api, subscription_id, resource_group_name, restore_point_collection_name, restore_point_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_points_create(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String, parameters::RestorePoint; _mediaType=nothing) + _ctx = _oacinternal_restore_points_create(_api, subscription_id, resource_group_name, restore_point_collection_name, restore_point_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_points_delete_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_points_delete(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_restore_points_delete_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointName", restore_point_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to delete the restore point. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- restore_point_name::String (required) +- api_version::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function restore_points_delete(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_restore_points_delete(_api, subscription_id, resource_group_name, restore_point_collection_name, restore_point_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_points_delete(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_restore_points_delete(_api, subscription_id, resource_group_name, restore_point_collection_name, restore_point_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_points_get_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => RestorePoint, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_points_get(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_restore_points_get_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}/restorePoints/{restorePointName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointName", restore_point_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to get the restore point. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- restore_point_name::String (required) +- api_version::String (required) +- expand::String + +Return: RestorePoint, OpenAPI.Clients.ApiResponse +""" +function restore_points_get(_api::DefaultApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_restore_points_get(_api, subscription_id, resource_group_name, restore_point_collection_name, restore_point_name, api_version; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_points_get(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, restore_point_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_restore_points_get(_api, subscription_id, resource_group_name, restore_point_collection_name, restore_point_name, api_version; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export restore_points_create +export restore_points_delete +export restore_points_get diff --git a/src/Compute/ComputeManagementClient/src/apis/api_ImagesApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_ImagesApi.jl index bf90a8e..9aff957 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_ImagesApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_ImagesApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ ImagesApi }) = "https://management.azure.com" const _returntypes_images_create_or_update_ImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Image, Regex("^" * replace("201", "x"=>".") * "\$") => Image, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_images_create_or_update(_api::ImagesApi, resource_group_name::String, image_name::String, api_version::String, subscription_id::String, parameters::Image; _mediaType=nothing) @@ -21,7 +22,7 @@ function _oacinternal_images_create_or_update(_api::ImagesApi, resource_group_na OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "imageName", image_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -52,6 +53,7 @@ const _returntypes_images_delete_ImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_images_delete(_api::ImagesApi, resource_group_name::String, image_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -59,8 +61,8 @@ function _oacinternal_images_delete(_api::ImagesApi, resource_group_name::String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "imageName", image_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -87,6 +89,7 @@ end const _returntypes_images_get_ImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Image, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_images_get(_api::ImagesApi, resource_group_name::String, image_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -94,8 +97,8 @@ function _oacinternal_images_get(_api::ImagesApi, resource_group_name::String, i OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "imageName", image_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -124,12 +127,13 @@ end const _returntypes_images_list_ImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ImageListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_images_list(_api::ImagesApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_images_list_ImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/images", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -155,13 +159,14 @@ end const _returntypes_images_list_by_resource_group_ImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ImageListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_images_list_by_resource_group(_api::ImagesApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_images_list_by_resource_group_ImagesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/images", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -189,6 +194,7 @@ end const _returntypes_images_update_ImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Image, Regex("^" * replace("201", "x"=>".") * "\$") => Image, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_images_update(_api::ImagesApi, resource_group_name::String, image_name::String, api_version::String, subscription_id::String, parameters::ImageUpdate; _mediaType=nothing) @@ -196,7 +202,7 @@ function _oacinternal_images_update(_api::ImagesApi, resource_group_name::String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "imageName", image_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_LogAnalyticsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_LogAnalyticsApi.jl index 2eb57fb..576604a 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_LogAnalyticsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_LogAnalyticsApi.jl @@ -14,14 +14,16 @@ basepath(::Type{ LogAnalyticsApi }) = "https://management.azure.com" const _returntypes_log_analytics_export_request_rate_by_interval_LogAnalyticsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => LogAnalyticsOperationResult, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_log_analytics_export_request_rate_by_interval(_api::LogAnalyticsApi, location::String, api_version::String, subscription_id::String, parameters::RequestRateByIntervalInput; _mediaType=nothing) + OpenAPI.validate_param("location", "log_analytics_export_request_rate_by_interval", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_log_analytics_export_request_rate_by_interval_LogAnalyticsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getRequestRateByInterval", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -50,14 +52,16 @@ end const _returntypes_log_analytics_export_throttled_requests_LogAnalyticsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => LogAnalyticsOperationResult, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_log_analytics_export_throttled_requests(_api::LogAnalyticsApi, location::String, api_version::String, subscription_id::String, parameters::ThrottledRequestsInput; _mediaType=nothing) + OpenAPI.validate_param("location", "log_analytics_export_throttled_requests", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_log_analytics_export_throttled_requests_LogAnalyticsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/logAnalytics/apiAccess/getThrottledRequests", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_ProximityPlacementGroupsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_ProximityPlacementGroupsApi.jl index bced4a2..827d835 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_ProximityPlacementGroupsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_ProximityPlacementGroupsApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ ProximityPlacementGroupsApi }) = "https://management.azure.com" const _returntypes_proximity_placement_groups_create_or_update_ProximityPlacementGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ProximityPlacementGroup, Regex("^" * replace("201", "x"=>".") * "\$") => ProximityPlacementGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_proximity_placement_groups_create_or_update(_api::ProximityPlacementGroupsApi, resource_group_name::String, proximity_placement_group_name::String, api_version::String, subscription_id::String, parameters::ProximityPlacementGroup; _mediaType=nothing) @@ -21,7 +22,7 @@ function _oacinternal_proximity_placement_groups_create_or_update(_api::Proximit OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "proximityPlacementGroupName", proximity_placement_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -50,6 +51,7 @@ end const _returntypes_proximity_placement_groups_delete_ProximityPlacementGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_proximity_placement_groups_delete(_api::ProximityPlacementGroupsApi, resource_group_name::String, proximity_placement_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -57,8 +59,8 @@ function _oacinternal_proximity_placement_groups_delete(_api::ProximityPlacement OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "proximityPlacementGroupName", proximity_placement_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -85,6 +87,7 @@ end const _returntypes_proximity_placement_groups_get_ProximityPlacementGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ProximityPlacementGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_proximity_placement_groups_get(_api::ProximityPlacementGroupsApi, resource_group_name::String, proximity_placement_group_name::String, api_version::String, subscription_id::String; include_colocation_status=nothing, _mediaType=nothing) @@ -92,8 +95,8 @@ function _oacinternal_proximity_placement_groups_get(_api::ProximityPlacementGro OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "proximityPlacementGroupName", proximity_placement_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "includeColocationStatus", include_colocation_status) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "includeColocationStatus", include_colocation_status; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -122,13 +125,14 @@ end const _returntypes_proximity_placement_groups_list_by_resource_group_ProximityPlacementGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ProximityPlacementGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_proximity_placement_groups_list_by_resource_group(_api::ProximityPlacementGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_proximity_placement_groups_list_by_resource_group_ProximityPlacementGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/proximityPlacementGroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -155,12 +159,13 @@ end const _returntypes_proximity_placement_groups_list_by_subscription_ProximityPlacementGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ProximityPlacementGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_proximity_placement_groups_list_by_subscription(_api::ProximityPlacementGroupsApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_proximity_placement_groups_list_by_subscription_ProximityPlacementGroupsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/proximityPlacementGroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -186,6 +191,7 @@ end const _returntypes_proximity_placement_groups_update_ProximityPlacementGroupsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ProximityPlacementGroup, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_proximity_placement_groups_update(_api::ProximityPlacementGroupsApi, resource_group_name::String, proximity_placement_group_name::String, api_version::String, subscription_id::String, parameters::ProximityPlacementGroupUpdate; _mediaType=nothing) @@ -193,7 +199,7 @@ function _oacinternal_proximity_placement_groups_update(_api::ProximityPlacement OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "proximityPlacementGroupName", proximity_placement_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_RestorePointCollectionsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_RestorePointCollectionsApi.jl new file mode 100644 index 0000000..012ada3 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/apis/api_RestorePointCollectionsApi.jl @@ -0,0 +1,236 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct RestorePointCollectionsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `RestorePointCollectionsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ RestorePointCollectionsApi }) = "https://management.azure.com" + +const _returntypes_restore_point_collections_create_or_update_RestorePointCollectionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => RestorePointCollection, + Regex("^" * replace("201", "x"=>".") * "\$") => RestorePointCollection, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_point_collections_create_or_update(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollection; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_restore_point_collections_create_or_update_RestorePointCollectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- api_version::String (required) +- parameters::RestorePointCollection (required) + +Return: RestorePointCollection, OpenAPI.Clients.ApiResponse +""" +function restore_point_collections_create_or_update(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollection; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_create_or_update(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_point_collections_create_or_update(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollection; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_create_or_update(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_point_collections_delete_RestorePointCollectionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_point_collections_delete(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_restore_point_collections_delete_RestorePointCollectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to delete the restore point collection. This operation will also delete all the contained restore points. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- api_version::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function restore_point_collections_delete(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_delete(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_point_collections_delete(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_delete(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_point_collections_get_RestorePointCollectionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => RestorePointCollection, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_point_collections_get(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_restore_point_collections_get_RestorePointCollectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to get the restore point collection. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- api_version::String (required) +- expand::String + +Return: RestorePointCollection, OpenAPI.Clients.ApiResponse +""" +function restore_point_collections_get(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_get(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_point_collections_get(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_get(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_point_collections_list_RestorePointCollectionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => RestorePointCollectionListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_point_collections_list(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_restore_point_collections_list_RestorePointCollectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the list of restore point collections in a resource group. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- api_version::String (required) + +Return: RestorePointCollectionListResult, OpenAPI.Clients.ApiResponse +""" +function restore_point_collections_list(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_list(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_point_collections_list(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_list(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_point_collections_list_all_RestorePointCollectionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => RestorePointCollectionListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_point_collections_list_all(_api::RestorePointCollectionsApi, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_restore_point_collections_list_all_RestorePointCollectionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/restorePointCollections", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections. + +Params: +- api_version::String (required) +- subscription_id::String (required) + +Return: RestorePointCollectionListResult, OpenAPI.Clients.ApiResponse +""" +function restore_point_collections_list_all(_api::RestorePointCollectionsApi, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_list_all(_api, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_point_collections_list_all(_api::RestorePointCollectionsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_list_all(_api, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_restore_point_collections_update_RestorePointCollectionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => RestorePointCollection, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_restore_point_collections_update(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollectionUpdate; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_restore_point_collections_update_RestorePointCollectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/restorePointCollections/{restorePointCollectionName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "restorePointCollectionName", restore_point_collection_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to update the restore point collection. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- restore_point_collection_name::String (required) +- api_version::String (required) +- parameters::RestorePointCollectionUpdate (required) + +Return: RestorePointCollection, OpenAPI.Clients.ApiResponse +""" +function restore_point_collections_update(_api::RestorePointCollectionsApi, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollectionUpdate; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_update(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function restore_point_collections_update(_api::RestorePointCollectionsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, restore_point_collection_name::String, api_version::String, parameters::RestorePointCollectionUpdate; _mediaType=nothing) + _ctx = _oacinternal_restore_point_collections_update(_api, subscription_id, resource_group_name, restore_point_collection_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export restore_point_collections_create_or_update +export restore_point_collections_delete +export restore_point_collections_get +export restore_point_collections_list +export restore_point_collections_list_all +export restore_point_collections_update diff --git a/src/Compute/ComputeManagementClient/src/apis/api_SshPublicKeysApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_SshPublicKeysApi.jl index aafae05..fd45810 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_SshPublicKeysApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_SshPublicKeysApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ SshPublicKeysApi }) = "https://management.azure.com" const _returntypes_ssh_public_keys_create_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SshPublicKeyResource, Regex("^" * replace("201", "x"=>".") * "\$") => SshPublicKeyResource, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_create(_api::SshPublicKeysApi, resource_group_name::String, ssh_public_key_name::String, api_version::String, subscription_id::String, parameters::SshPublicKeyResource; _mediaType=nothing) @@ -21,7 +22,7 @@ function _oacinternal_ssh_public_keys_create(_api::SshPublicKeysApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "sshPublicKeyName", ssh_public_key_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -51,6 +52,7 @@ end const _returntypes_ssh_public_keys_delete_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_delete(_api::SshPublicKeysApi, resource_group_name::String, ssh_public_key_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -58,8 +60,8 @@ function _oacinternal_ssh_public_keys_delete(_api::SshPublicKeysApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "sshPublicKeyName", ssh_public_key_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -86,6 +88,7 @@ end const _returntypes_ssh_public_keys_generate_key_pair_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SshPublicKeyGenerateKeyPairResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_generate_key_pair(_api::SshPublicKeysApi, resource_group_name::String, ssh_public_key_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -93,7 +96,7 @@ function _oacinternal_ssh_public_keys_generate_key_pair(_api::SshPublicKeysApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "sshPublicKeyName", ssh_public_key_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -121,6 +124,7 @@ end const _returntypes_ssh_public_keys_get_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SshPublicKeyResource, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_get(_api::SshPublicKeysApi, resource_group_name::String, ssh_public_key_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -128,7 +132,7 @@ function _oacinternal_ssh_public_keys_get(_api::SshPublicKeysApi, resource_group OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "sshPublicKeyName", ssh_public_key_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -156,13 +160,14 @@ end const _returntypes_ssh_public_keys_list_by_resource_group_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SshPublicKeysGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_list_by_resource_group(_api::SshPublicKeysApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_ssh_public_keys_list_by_resource_group_SshPublicKeysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/sshPublicKeys", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -189,12 +194,13 @@ end const _returntypes_ssh_public_keys_list_by_subscription_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SshPublicKeysGroupListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_list_by_subscription(_api::SshPublicKeysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_ssh_public_keys_list_by_subscription_SshPublicKeysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/sshPublicKeys", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -220,6 +226,7 @@ end const _returntypes_ssh_public_keys_update_SshPublicKeysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SshPublicKeyResource, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_ssh_public_keys_update(_api::SshPublicKeysApi, resource_group_name::String, ssh_public_key_name::String, api_version::String, subscription_id::String, parameters::SshPublicKeyUpdateResource; _mediaType=nothing) @@ -227,7 +234,7 @@ function _oacinternal_ssh_public_keys_update(_api::SshPublicKeysApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "sshPublicKeyName", ssh_public_key_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_UsageApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_UsageApi.jl index 94792b8..5ae4be2 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_UsageApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_UsageApi.jl @@ -13,14 +13,16 @@ basepath(::Type{ UsageApi }) = "https://management.azure.com" const _returntypes_usage_list_UsageApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ListUsagesResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_usage_list(_api::UsageApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "usage_list", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_usage_list_UsageApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/usages", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionImagesApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionImagesApi.jl index 8ce5fcf..cb317e9 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionImagesApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionImagesApi.jl @@ -13,6 +13,7 @@ basepath(::Type{ VirtualMachineExtensionImagesApi }) = "https://management.azure const _returntypes_virtual_machine_extension_images_get_VirtualMachineExtensionImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtensionImage, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extension_images_get(_api::VirtualMachineExtensionImagesApi, location::String, publisher_name::String, type::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -22,7 +23,7 @@ function _oacinternal_virtual_machine_extension_images_get(_api::VirtualMachineE OpenAPI.Clients.set_param(_ctx.path, "type", type) # type String OpenAPI.Clients.set_param(_ctx.path, "version", version) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -52,6 +53,7 @@ end const _returntypes_virtual_machine_extension_images_list_types_VirtualMachineExtensionImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineExtensionImage}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extension_images_list_types(_api::VirtualMachineExtensionImagesApi, location::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -59,7 +61,7 @@ function _oacinternal_virtual_machine_extension_images_list_types(_api::VirtualM OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -87,6 +89,7 @@ end const _returntypes_virtual_machine_extension_images_list_versions_VirtualMachineExtensionImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineExtensionImage}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extension_images_list_versions(_api::VirtualMachineExtensionImagesApi, location::String, publisher_name::String, type::String, api_version::String, subscription_id::String; filter=nothing, top=nothing, orderby=nothing, _mediaType=nothing) @@ -95,10 +98,10 @@ function _oacinternal_virtual_machine_extension_images_list_versions(_api::Virtu OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "type", type) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionsApi.jl index a267719..2dc66b3 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineExtensionsApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ VirtualMachineExtensionsApi }) = "https://management.azure.com" const _returntypes_virtual_machine_extensions_create_or_update_VirtualMachineExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtension, Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineExtension, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extensions_create_or_update(_api::VirtualMachineExtensionsApi, resource_group_name::String, vm_name::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtension; _mediaType=nothing) @@ -22,7 +23,7 @@ function _oacinternal_virtual_machine_extensions_create_or_update(_api::VirtualM OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -54,6 +55,7 @@ const _returntypes_virtual_machine_extensions_delete_VirtualMachineExtensionsApi Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extensions_delete(_api::VirtualMachineExtensionsApi, resource_group_name::String, vm_name::String, vm_extension_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -62,8 +64,8 @@ function _oacinternal_virtual_machine_extensions_delete(_api::VirtualMachineExte OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -91,6 +93,7 @@ end const _returntypes_virtual_machine_extensions_get_VirtualMachineExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtension, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extensions_get(_api::VirtualMachineExtensionsApi, resource_group_name::String, vm_name::String, vm_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -99,8 +102,8 @@ function _oacinternal_virtual_machine_extensions_get(_api::VirtualMachineExtensi OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -130,6 +133,7 @@ end const _returntypes_virtual_machine_extensions_list_VirtualMachineExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtensionsListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extensions_list(_api::VirtualMachineExtensionsApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -137,8 +141,8 @@ function _oacinternal_virtual_machine_extensions_list(_api::VirtualMachineExtens OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -167,6 +171,7 @@ end const _returntypes_virtual_machine_extensions_update_VirtualMachineExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtension, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_extensions_update(_api::VirtualMachineExtensionsApi, resource_group_name::String, vm_name::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtensionUpdate; _mediaType=nothing) @@ -175,7 +180,7 @@ function _oacinternal_virtual_machine_extensions_update(_api::VirtualMachineExte OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineImagesApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineImagesApi.jl index c2c7d28..489a09b 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineImagesApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineImagesApi.jl @@ -11,8 +11,215 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. """ basepath(::Type{ VirtualMachineImagesApi }) = "https://management.azure.com" +const _returntypes_virtual_machine_images_edge_zone_get_VirtualMachineImagesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineImage, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_images_edge_zone_get(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_images_edge_zone_get_VirtualMachineImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions/{version}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "edgeZone", edge_zone) # type String + OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "offer", offer) # type String + OpenAPI.Clients.set_param(_ctx.path, "skus", skus) # type String + OpenAPI.Clients.set_param(_ctx.path, "version", version) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets a virtual machine image in an edge zone. + +Params: +- location::String (required) +- edge_zone::String (required) +- publisher_name::String (required) +- offer::String (required) +- skus::String (required) +- version::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: VirtualMachineImage, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_images_edge_zone_get(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_get(_api, location, edge_zone, publisher_name, offer, skus, version, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_images_edge_zone_get(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_get(_api, location, edge_zone, publisher_name, offer, skus, version, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_images_edge_zone_list_VirtualMachineImagesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_images_edge_zone_list(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, api_version::String, subscription_id::String; expand=nothing, top=nothing, orderby=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_images_edge_zone_list_VirtualMachineImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus/{skus}/versions", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "edgeZone", edge_zone) # type String + OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "offer", offer) # type String + OpenAPI.Clients.set_param(_ctx.path, "skus", skus) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets a list of all virtual machine image versions for the specified location, edge zone, publisher, offer, and SKU. + +Params: +- location::String (required) +- edge_zone::String (required) +- publisher_name::String (required) +- offer::String (required) +- skus::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String +- top::Int64 +- orderby::String + +Return: Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_images_edge_zone_list(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, api_version::String, subscription_id::String; expand=nothing, top=nothing, orderby=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list(_api, location, edge_zone, publisher_name, offer, skus, api_version, subscription_id; expand=expand, top=top, orderby=orderby, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_images_edge_zone_list(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, offer::String, skus::String, api_version::String, subscription_id::String; expand=nothing, top=nothing, orderby=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list(_api, location, edge_zone, publisher_name, offer, skus, api_version, subscription_id; expand=expand, top=top, orderby=orderby, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_images_edge_zone_list_offers_VirtualMachineImagesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_images_edge_zone_list_offers(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_images_edge_zone_list_offers_VirtualMachineImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "edgeZone", edge_zone) # type String + OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets a list of virtual machine image offers for the specified location, edge zone and publisher. + +Params: +- location::String (required) +- edge_zone::String (required) +- publisher_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_images_edge_zone_list_offers(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list_offers(_api, location, edge_zone, publisher_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_images_edge_zone_list_offers(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list_offers(_api, location, edge_zone, publisher_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_images_edge_zone_list_publishers_VirtualMachineImagesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_images_edge_zone_list_publishers(_api::VirtualMachineImagesApi, location::String, edge_zone::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_images_edge_zone_list_publishers_VirtualMachineImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "edgeZone", edge_zone) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets a list of virtual machine image publishers for the specified Azure location and edge zone. + +Params: +- location::String (required) +- edge_zone::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_images_edge_zone_list_publishers(_api::VirtualMachineImagesApi, location::String, edge_zone::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list_publishers(_api, location, edge_zone, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_images_edge_zone_list_publishers(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list_publishers(_api, location, edge_zone, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_images_edge_zone_list_skus_VirtualMachineImagesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_images_edge_zone_list_skus(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_images_edge_zone_list_skus_VirtualMachineImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/edgeZones/{edgeZone}/publishers/{publisherName}/artifacttypes/vmimage/offers/{offer}/skus", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "edgeZone", edge_zone) # type String + OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "offer", offer) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets a list of virtual machine image SKUs for the specified location, edge zone, publisher, and offer. + +Params: +- location::String (required) +- edge_zone::String (required) +- publisher_name::String (required) +- offer::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Vector{VirtualMachineImageResource}, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_images_edge_zone_list_skus(_api::VirtualMachineImagesApi, location::String, edge_zone::String, publisher_name::String, offer::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list_skus(_api, location, edge_zone, publisher_name, offer, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_images_edge_zone_list_skus(_api::VirtualMachineImagesApi, response_stream::Channel, location::String, edge_zone::String, publisher_name::String, offer::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_images_edge_zone_list_skus(_api, location, edge_zone, publisher_name, offer, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_machine_images_get_VirtualMachineImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineImage, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_images_get(_api::VirtualMachineImagesApi, location::String, publisher_name::String, offer::String, skus::String, version::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -23,7 +230,7 @@ function _oacinternal_virtual_machine_images_get(_api::VirtualMachineImagesApi, OpenAPI.Clients.set_param(_ctx.path, "skus", skus) # type String OpenAPI.Clients.set_param(_ctx.path, "version", version) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -54,6 +261,7 @@ end const _returntypes_virtual_machine_images_list_VirtualMachineImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_images_list(_api::VirtualMachineImagesApi, location::String, publisher_name::String, offer::String, skus::String, api_version::String, subscription_id::String; expand=nothing, top=nothing, orderby=nothing, _mediaType=nothing) @@ -63,10 +271,10 @@ function _oacinternal_virtual_machine_images_list(_api::VirtualMachineImagesApi, OpenAPI.Clients.set_param(_ctx.path, "offer", offer) # type String OpenAPI.Clients.set_param(_ctx.path, "skus", skus) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -99,6 +307,7 @@ end const _returntypes_virtual_machine_images_list_offers_VirtualMachineImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_images_list_offers(_api::VirtualMachineImagesApi, location::String, publisher_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -106,7 +315,7 @@ function _oacinternal_virtual_machine_images_list_offers(_api::VirtualMachineIma OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -134,13 +343,14 @@ end const _returntypes_virtual_machine_images_list_publishers_VirtualMachineImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_images_list_publishers(_api::VirtualMachineImagesApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_images_list_publishers_VirtualMachineImagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/publishers", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -167,6 +377,7 @@ end const _returntypes_virtual_machine_images_list_skus_VirtualMachineImagesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Vector{VirtualMachineImageResource}, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_images_list_skus(_api::VirtualMachineImagesApi, location::String, publisher_name::String, offer::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -175,7 +386,7 @@ function _oacinternal_virtual_machine_images_list_skus(_api::VirtualMachineImage OpenAPI.Clients.set_param(_ctx.path, "publisherName", publisher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "offer", offer) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -202,6 +413,11 @@ function virtual_machine_images_list_skus(_api::VirtualMachineImagesApi, respons return OpenAPI.Clients.exec(_ctx, response_stream) end +export virtual_machine_images_edge_zone_get +export virtual_machine_images_edge_zone_list +export virtual_machine_images_edge_zone_list_offers +export virtual_machine_images_edge_zone_list_publishers +export virtual_machine_images_edge_zone_list_skus export virtual_machine_images_get export virtual_machine_images_list export virtual_machine_images_list_offers diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetExtensionsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetExtensionsApi.jl index 3da47a4..8ad6cc4 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetExtensionsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetExtensionsApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ VirtualMachineScaleSetExtensionsApi }) = "https://management.az const _returntypes_virtual_machine_scale_set_extensions_create_or_update_VirtualMachineScaleSetExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetExtension, Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineScaleSetExtension, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_extensions_create_or_update(_api::VirtualMachineScaleSetExtensionsApi, resource_group_name::String, vm_scale_set_name::String, vmss_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetExtension; _mediaType=nothing) @@ -22,7 +23,7 @@ function _oacinternal_virtual_machine_scale_set_extensions_create_or_update(_api OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmssExtensionName", vmss_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -54,6 +55,7 @@ const _returntypes_virtual_machine_scale_set_extensions_delete_VirtualMachineSca Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_extensions_delete(_api::VirtualMachineScaleSetExtensionsApi, resource_group_name::String, vm_scale_set_name::String, vmss_extension_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -62,8 +64,8 @@ function _oacinternal_virtual_machine_scale_set_extensions_delete(_api::VirtualM OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmssExtensionName", vmss_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -91,6 +93,7 @@ end const _returntypes_virtual_machine_scale_set_extensions_get_VirtualMachineScaleSetExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetExtension, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_extensions_get(_api::VirtualMachineScaleSetExtensionsApi, resource_group_name::String, vm_scale_set_name::String, vmss_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -99,8 +102,8 @@ function _oacinternal_virtual_machine_scale_set_extensions_get(_api::VirtualMach OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmssExtensionName", vmss_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -130,6 +133,7 @@ end const _returntypes_virtual_machine_scale_set_extensions_list_VirtualMachineScaleSetExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetExtensionListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_extensions_list(_api::VirtualMachineScaleSetExtensionsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -137,7 +141,7 @@ function _oacinternal_virtual_machine_scale_set_extensions_list(_api::VirtualMac OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -166,6 +170,7 @@ end const _returntypes_virtual_machine_scale_set_extensions_update_VirtualMachineScaleSetExtensionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetExtension, Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineScaleSetExtension, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_extensions_update(_api::VirtualMachineScaleSetExtensionsApi, resource_group_name::String, vm_scale_set_name::String, vmss_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetExtensionUpdate; _mediaType=nothing) @@ -174,7 +179,7 @@ function _oacinternal_virtual_machine_scale_set_extensions_update(_api::VirtualM OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmssExtensionName", vmss_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetRollingUpgradesApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetRollingUpgradesApi.jl index 9510f42..dcbce81 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetRollingUpgradesApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetRollingUpgradesApi.jl @@ -14,6 +14,7 @@ basepath(::Type{ VirtualMachineScaleSetRollingUpgradesApi }) = "https://manageme const _returntypes_virtual_machine_scale_set_rolling_upgrades_cancel_VirtualMachineScaleSetRollingUpgradesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_rolling_upgrades_cancel(_api::VirtualMachineScaleSetRollingUpgradesApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -21,8 +22,8 @@ function _oacinternal_virtual_machine_scale_set_rolling_upgrades_cancel(_api::Vi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -49,6 +50,7 @@ end const _returntypes_virtual_machine_scale_set_rolling_upgrades_get_latest_VirtualMachineScaleSetRollingUpgradesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => RollingUpgradeStatusInfo, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_rolling_upgrades_get_latest(_api::VirtualMachineScaleSetRollingUpgradesApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -56,7 +58,7 @@ function _oacinternal_virtual_machine_scale_set_rolling_upgrades_get_latest(_api OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -85,6 +87,7 @@ end const _returntypes_virtual_machine_scale_set_rolling_upgrades_start_extension_upgrade_VirtualMachineScaleSetRollingUpgradesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_rolling_upgrades_start_extension_upgrade(_api::VirtualMachineScaleSetRollingUpgradesApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -92,8 +95,8 @@ function _oacinternal_virtual_machine_scale_set_rolling_upgrades_start_extension OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -121,6 +124,7 @@ end const _returntypes_virtual_machine_scale_set_rolling_upgrades_start_o_s_upgrade_VirtualMachineScaleSetRollingUpgradesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_rolling_upgrades_start_o_s_upgrade(_api::VirtualMachineScaleSetRollingUpgradesApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -128,8 +132,8 @@ function _oacinternal_virtual_machine_scale_set_rolling_upgrades_start_o_s_upgra OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMExtensionsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMExtensionsApi.jl index 3c936f2..8bc2d85 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMExtensionsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMExtensionsApi.jl @@ -12,19 +12,19 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. basepath(::Type{ VirtualMachineScaleSetVMExtensionsApi }) = "https://management.azure.com" const _returntypes_virtual_machine_scale_set_v_m_extensions_create_or_update_VirtualMachineScaleSetVMExtensionsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtension, - Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineExtension, + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVMExtension, + Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineScaleSetVMExtension, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtension; _mediaType=nothing) +function _oacinternal_virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtension; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_machine_scale_set_v_m_extensions_create_or_update_VirtualMachineScaleSetVMExtensionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}", ["azure_auth", ], extension_parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -39,16 +39,16 @@ Params: - vm_extension_name::String (required) - api_version::String (required) - subscription_id::String (required) -- extension_parameters::VirtualMachineExtension (required) +- extension_parameters::VirtualMachineScaleSetVMExtension (required) -Return: VirtualMachineExtension, OpenAPI.Clients.ApiResponse +Return: VirtualMachineScaleSetVMExtension, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtension; _mediaType=nothing) +function virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtension; _mediaType=nothing) _ctx = _oacinternal_virtual_machine_scale_set_v_m_extensions_create_or_update(_api, resource_group_name, vm_scale_set_name, instance_id, vm_extension_name, api_version, subscription_id, extension_parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtension; _mediaType=nothing) +function virtual_machine_scale_set_v_m_extensions_create_or_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtension; _mediaType=nothing) _ctx = _oacinternal_virtual_machine_scale_set_v_m_extensions_create_or_update(_api, resource_group_name, vm_scale_set_name, instance_id, vm_extension_name, api_version, subscription_id, extension_parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -67,7 +67,7 @@ function _oacinternal_virtual_machine_scale_set_v_m_extensions_delete(_api::Virt OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -96,7 +96,7 @@ function virtual_machine_scale_set_v_m_extensions_delete(_api::VirtualMachineSca end const _returntypes_virtual_machine_scale_set_v_m_extensions_get_VirtualMachineScaleSetVMExtensionsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtension, + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVMExtension, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) @@ -107,8 +107,8 @@ function _oacinternal_virtual_machine_scale_set_v_m_extensions_get(_api::Virtual OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -125,7 +125,7 @@ Params: - subscription_id::String (required) - expand::String -Return: VirtualMachineExtension, OpenAPI.Clients.ApiResponse +Return: VirtualMachineScaleSetVMExtension, OpenAPI.Clients.ApiResponse """ function virtual_machine_scale_set_v_m_extensions_get(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) _ctx = _oacinternal_virtual_machine_scale_set_v_m_extensions_get(_api, resource_group_name, vm_scale_set_name, instance_id, vm_extension_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) @@ -138,7 +138,7 @@ function virtual_machine_scale_set_v_m_extensions_get(_api::VirtualMachineScaleS end const _returntypes_virtual_machine_scale_set_v_m_extensions_list_VirtualMachineScaleSetVMExtensionsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtensionsListResult, + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVMExtensionsListResult, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) @@ -148,8 +148,8 @@ function _oacinternal_virtual_machine_scale_set_v_m_extensions_list(_api::Virtua OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -165,7 +165,7 @@ Params: - subscription_id::String (required) - expand::String -Return: VirtualMachineExtensionsListResult, OpenAPI.Clients.ApiResponse +Return: VirtualMachineScaleSetVMExtensionsListResult, OpenAPI.Clients.ApiResponse """ function virtual_machine_scale_set_v_m_extensions_list(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) _ctx = _oacinternal_virtual_machine_scale_set_v_m_extensions_list(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; expand=expand, _mediaType=_mediaType) @@ -178,18 +178,18 @@ function virtual_machine_scale_set_v_m_extensions_list(_api::VirtualMachineScale end const _returntypes_virtual_machine_scale_set_v_m_extensions_update_VirtualMachineScaleSetVMExtensionsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineExtension, + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVMExtension, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtensionUpdate; _mediaType=nothing) +function _oacinternal_virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtensionUpdate; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_virtual_machine_scale_set_v_m_extensions_update_VirtualMachineScaleSetVMExtensionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/extensions/{vmExtensionName}", ["azure_auth", ], extension_parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "vmExtensionName", vm_extension_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -204,16 +204,16 @@ Params: - vm_extension_name::String (required) - api_version::String (required) - subscription_id::String (required) -- extension_parameters::VirtualMachineExtensionUpdate (required) +- extension_parameters::VirtualMachineScaleSetVMExtensionUpdate (required) -Return: VirtualMachineExtension, OpenAPI.Clients.ApiResponse +Return: VirtualMachineScaleSetVMExtension, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtensionUpdate; _mediaType=nothing) +function virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtensionUpdate; _mediaType=nothing) _ctx = _oacinternal_virtual_machine_scale_set_v_m_extensions_update(_api, resource_group_name, vm_scale_set_name, instance_id, vm_extension_name, api_version, subscription_id, extension_parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineExtensionUpdate; _mediaType=nothing) +function virtual_machine_scale_set_v_m_extensions_update(_api::VirtualMachineScaleSetVMExtensionsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, vm_extension_name::String, api_version::String, subscription_id::String, extension_parameters::VirtualMachineScaleSetVMExtensionUpdate; _mediaType=nothing) _ctx = _oacinternal_virtual_machine_scale_set_v_m_extensions_update(_api, resource_group_name, vm_scale_set_name, instance_id, vm_extension_name, api_version, subscription_id, extension_parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl index 8a37094..1be7978 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl @@ -14,16 +14,17 @@ basepath(::Type{ VirtualMachineScaleSetVMsApi }) = "https://management.azure.com const _returntypes_virtual_machine_scale_set_v_ms_deallocate_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_deallocate(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_set_v_ms_deallocate_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/deallocate", ["azure_auth", ]) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_set_v_ms_deallocate_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/deallocate", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -53,16 +54,18 @@ const _returntypes_virtual_machine_scale_set_v_ms_delete_VirtualMachineScaleSetV Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_machine_scale_set_v_ms_delete_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", ["azure_auth", ]) +function _oacinternal_virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_machine_scale_set_v_ms_delete_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "forceDeletion", force_deletion; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -75,31 +78,33 @@ Params: - instance_id::String (required) - api_version::String (required) - subscription_id::String (required) +- force_deletion::Bool Return: Nothing, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_set_v_ms_delete(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_ms_delete(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_set_v_ms_delete(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machine_scale_set_v_ms_delete(_api::VirtualMachineScaleSetVMsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_ms_delete(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machine_scale_set_v_ms_get_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVM, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_get(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_set_v_ms_get_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", ["azure_auth", ]) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_set_v_ms_get_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -129,15 +134,16 @@ end const _returntypes_virtual_machine_scale_set_v_ms_get_instance_view_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVMInstanceView, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_get_instance_view(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_set_v_ms_get_instance_view_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/instanceView", ["azure_auth", ]) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_set_v_ms_get_instance_view_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/instanceView", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -166,6 +172,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_list_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVMListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_list(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, virtual_machine_scale_set_name::String, api_version::String, subscription_id::String; filter=nothing, select=nothing, expand=nothing, _mediaType=nothing) @@ -173,10 +180,10 @@ function _oacinternal_virtual_machine_scale_set_v_ms_list(_api::VirtualMachineSc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualMachineScaleSetName", virtual_machine_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$select", select) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$select", select; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -208,6 +215,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_perform_maintenance_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_perform_maintenance(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -216,8 +224,8 @@ function _oacinternal_virtual_machine_scale_set_v_ms_perform_maintenance(_api::V OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -246,6 +254,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_power_off_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_power_off(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; skip_shutdown=nothing, _mediaType=nothing) @@ -254,9 +263,9 @@ function _oacinternal_virtual_machine_scale_set_v_ms_power_off(_api::VirtualMach OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "skipShutdown", skip_shutdown) # type Bool - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "skipShutdown", skip_shutdown; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -286,6 +295,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_redeploy_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_redeploy(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -294,8 +304,8 @@ function _oacinternal_virtual_machine_scale_set_v_ms_redeploy(_api::VirtualMachi OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -324,16 +334,17 @@ end const _returntypes_virtual_machine_scale_set_v_ms_reimage_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_reimage(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; vm_scale_set_v_m_reimage_input=nothing, _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_set_v_ms_reimage_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimage", ["azure_auth", ], vm_scale_set_v_m_reimage_input) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_set_v_ms_reimage_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimage", ["azure_auth", ], vm_scale_set_v_m_reimage_input) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -363,16 +374,17 @@ end const _returntypes_virtual_machine_scale_set_v_ms_reimage_all_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_reimage_all(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_set_v_ms_reimage_all_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/reimageall", ["azure_auth", ]) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_set_v_ms_reimage_all_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/reimageall", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -401,6 +413,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_restart_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_restart(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -409,8 +422,8 @@ function _oacinternal_virtual_machine_scale_set_v_ms_restart(_api::VirtualMachin OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -447,8 +460,8 @@ function _oacinternal_virtual_machine_scale_set_v_ms_retrieve_boot_diagnostics_d OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "sasUriExpirationTimeInMinutes", sas_uri_expiration_time_in_minutes) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "sasUriExpirationTimeInMinutes", sas_uri_expiration_time_in_minutes; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -478,6 +491,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_simulate_eviction_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_simulate_eviction(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -486,13 +500,13 @@ function _oacinternal_virtual_machine_scale_set_v_ms_simulate_eviction(_api::Vir OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""The operation to simulate the eviction of spot virtual machine in a VM scale set. The eviction will occur within 30 minutes of calling the API +@doc raw"""The operation to simulate the eviction of spot virtual machine in a VM scale set. Params: - resource_group_name::String (required) @@ -516,6 +530,7 @@ end const _returntypes_virtual_machine_scale_set_v_ms_start_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_start(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -524,8 +539,8 @@ function _oacinternal_virtual_machine_scale_set_v_ms_start(_api::VirtualMachineS OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -554,15 +569,16 @@ end const _returntypes_virtual_machine_scale_set_v_ms_update_VirtualMachineScaleSetVMsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetVM, Regex("^" * replace("202", "x"=>".") * "\$") => VirtualMachineScaleSetVM, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_set_v_ms_update(_api::VirtualMachineScaleSetVMsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String, parameters::VirtualMachineScaleSetVM; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_machine_scale_set_v_ms_update_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}", ["azure_auth", ], parameters) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_machine_scale_set_v_ms_update_VirtualMachineScaleSetVMsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetsApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetsApi.jl index bf9dbdc..a0f5cc3 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetsApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineScaleSetsApi.jl @@ -13,6 +13,7 @@ basepath(::Type{ VirtualMachineScaleSetsApi }) = "https://management.azure.com" const _returntypes_virtual_machine_scale_sets_convert_to_single_placement_group_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_convert_to_single_placement_group(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, parameters::VMScaleSetConvertToSinglePlacementGroupInput; _mediaType=nothing) @@ -20,8 +21,8 @@ function _oacinternal_virtual_machine_scale_sets_convert_to_single_placement_gro OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -50,6 +51,7 @@ end const _returntypes_virtual_machine_scale_sets_create_or_update_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSet, Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineScaleSet, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_create_or_update(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, parameters::VirtualMachineScaleSet; _mediaType=nothing) @@ -57,7 +59,7 @@ function _oacinternal_virtual_machine_scale_sets_create_or_update(_api::VirtualM OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -87,6 +89,7 @@ end const _returntypes_virtual_machine_scale_sets_deallocate_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_deallocate(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_instance_i_ds=nothing, _mediaType=nothing) @@ -94,8 +97,8 @@ function _oacinternal_virtual_machine_scale_sets_deallocate(_api::VirtualMachine OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -125,15 +128,17 @@ const _returntypes_virtual_machine_scale_sets_delete_VirtualMachineScaleSetsApi Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_machine_scale_sets_delete_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "forceDeletion", force_deletion; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -145,31 +150,34 @@ Params: - vm_scale_set_name::String (required) - api_version::String (required) - subscription_id::String (required) +- force_deletion::Bool Return: Nothing, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_delete(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_delete(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_delete(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machine_scale_sets_delete(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_delete(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machine_scale_sets_delete_instances_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; _mediaType=nothing) +function _oacinternal_virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; force_deletion=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_sets_delete_instances_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/delete", ["azure_auth", ], vm_instance_i_ds) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "forceDeletion", force_deletion; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -182,30 +190,34 @@ Params: - api_version::String (required) - subscription_id::String (required) - vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs (required) +- force_deletion::Bool Return: Nothing, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_delete_instances(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, vm_instance_i_ds; _mediaType=_mediaType) +function virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_delete_instances(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, vm_instance_i_ds; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_delete_instances(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, vm_instance_i_ds; _mediaType=_mediaType) +function virtual_machine_scale_sets_delete_instances(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_delete_instances(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, vm_instance_i_ds; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => RecoveryWalkResponse, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; _mediaType=nothing) +function _oacinternal_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; zone=nothing, placement_group_id=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/forceRecoveryServiceFabricPlatformUpdateDomainWalk", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "platformUpdateDomain", platform_update_domain) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "platformUpdateDomain", platform_update_domain; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "zone", zone; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "placementGroupId", placement_group_id; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -219,29 +231,33 @@ Params: - api_version::String (required) - subscription_id::String (required) - platform_update_domain::Int64 (required) +- zone::String +- placement_group_id::String Return: RecoveryWalkResponse, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, platform_update_domain; _mediaType=_mediaType) +function virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; zone=nothing, placement_group_id=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, platform_update_domain; zone=zone, placement_group_id=placement_group_id, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, platform_update_domain; _mediaType=_mediaType) +function virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, platform_update_domain::Int64; zone=nothing, placement_group_id=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_force_recovery_service_fabric_platform_update_domain_walk(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id, platform_update_domain; zone=zone, placement_group_id=placement_group_id, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machine_scale_sets_get_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSet, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_sets_get_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -254,21 +270,23 @@ Params: - vm_scale_set_name::String (required) - api_version::String (required) - subscription_id::String (required) +- expand::String Return: VirtualMachineScaleSet, OpenAPI.Clients.ApiResponse """ -function virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_get(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_get(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machine_scale_sets_get(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machine_scale_sets_get(_api::VirtualMachineScaleSetsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_get(_api, resource_group_name, vm_scale_set_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machine_scale_sets_get_instance_view_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetInstanceView, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_get_instance_view(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -276,7 +294,7 @@ function _oacinternal_virtual_machine_scale_sets_get_instance_view(_api::Virtual OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -304,6 +322,7 @@ end const _returntypes_virtual_machine_scale_sets_get_o_s_upgrade_history_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetListOSUpgradeHistory, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_get_o_s_upgrade_history(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -311,7 +330,7 @@ function _oacinternal_virtual_machine_scale_sets_get_o_s_upgrade_history(_api::V OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -339,13 +358,14 @@ end const _returntypes_virtual_machine_scale_sets_list_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_list(_api::VirtualMachineScaleSetsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_sets_list_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -372,12 +392,13 @@ end const _returntypes_virtual_machine_scale_sets_list_all_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetListWithLinkResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_list_all(_api::VirtualMachineScaleSetsApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_sets_list_all_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachineScaleSets", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -401,8 +422,45 @@ function virtual_machine_scale_sets_list_all(_api::VirtualMachineScaleSetsApi, r return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_machine_scale_sets_list_by_location_VirtualMachineScaleSetsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_scale_sets_list_by_location(_api::VirtualMachineScaleSetsApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "virtual_machine_scale_sets_list_by_location", :pattern, location, r"^[-\w\._]+$") + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_sets_list_by_location_VirtualMachineScaleSetsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachineScaleSets", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets all the VM scale sets under the specified subscription for the specified location. + +Params: +- location::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: VirtualMachineScaleSetListResult, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_scale_sets_list_by_location(_api::VirtualMachineScaleSetsApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_list_by_location(_api, location, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_scale_sets_list_by_location(_api::VirtualMachineScaleSetsApi, response_stream::Channel, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_sets_list_by_location(_api, location, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_machine_scale_sets_list_skus_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSetListSkusResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_list_skus(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -410,7 +468,7 @@ function _oacinternal_virtual_machine_scale_sets_list_skus(_api::VirtualMachineS OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -439,6 +497,7 @@ end const _returntypes_virtual_machine_scale_sets_perform_maintenance_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_perform_maintenance(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_instance_i_ds=nothing, _mediaType=nothing) @@ -446,13 +505,13 @@ function _oacinternal_virtual_machine_scale_sets_perform_maintenance(_api::Virtu OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end -@doc raw"""Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications +@doc raw"""Perform maintenance on one or more virtual machines in a VM scale set. Operation on instances which are not eligible for perform maintenance will be failed. Please refer to best practices for more details: https://docs.microsoft.com/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-maintenance-notifications Params: - resource_group_name::String (required) @@ -476,6 +535,7 @@ end const _returntypes_virtual_machine_scale_sets_power_off_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_power_off(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; skip_shutdown=nothing, vm_instance_i_ds=nothing, _mediaType=nothing) @@ -483,9 +543,9 @@ function _oacinternal_virtual_machine_scale_sets_power_off(_api::VirtualMachineS OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "skipShutdown", skip_shutdown) # type Bool - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "skipShutdown", skip_shutdown; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -515,6 +575,7 @@ end const _returntypes_virtual_machine_scale_sets_redeploy_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_redeploy(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_instance_i_ds=nothing, _mediaType=nothing) @@ -522,8 +583,8 @@ function _oacinternal_virtual_machine_scale_sets_redeploy(_api::VirtualMachineSc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -552,6 +613,7 @@ end const _returntypes_virtual_machine_scale_sets_reimage_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_reimage(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_scale_set_reimage_input=nothing, _mediaType=nothing) @@ -559,8 +621,8 @@ function _oacinternal_virtual_machine_scale_sets_reimage(_api::VirtualMachineSca OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -589,6 +651,7 @@ end const _returntypes_virtual_machine_scale_sets_reimage_all_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_reimage_all(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_instance_i_ds=nothing, _mediaType=nothing) @@ -596,8 +659,8 @@ function _oacinternal_virtual_machine_scale_sets_reimage_all(_api::VirtualMachin OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -626,6 +689,7 @@ end const _returntypes_virtual_machine_scale_sets_restart_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_restart(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_instance_i_ds=nothing, _mediaType=nothing) @@ -633,8 +697,8 @@ function _oacinternal_virtual_machine_scale_sets_restart(_api::VirtualMachineSca OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -663,6 +727,7 @@ end const _returntypes_virtual_machine_scale_sets_set_orchestration_service_state_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_set_orchestration_service_state(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, parameters::OrchestrationServiceStateInput; _mediaType=nothing) @@ -670,8 +735,8 @@ function _oacinternal_virtual_machine_scale_sets_set_orchestration_service_state OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -700,6 +765,7 @@ end const _returntypes_virtual_machine_scale_sets_start_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_start(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String; vm_instance_i_ds=nothing, _mediaType=nothing) @@ -707,8 +773,8 @@ function _oacinternal_virtual_machine_scale_sets_start(_api::VirtualMachineScale OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -736,6 +802,7 @@ end const _returntypes_virtual_machine_scale_sets_update_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineScaleSet, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_update(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, parameters::VirtualMachineScaleSetUpdate; _mediaType=nothing) @@ -743,7 +810,7 @@ function _oacinternal_virtual_machine_scale_sets_update(_api::VirtualMachineScal OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -773,6 +840,7 @@ end const _returntypes_virtual_machine_scale_sets_update_instances_VirtualMachineScaleSetsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_scale_sets_update_instances(_api::VirtualMachineScaleSetsApi, resource_group_name::String, vm_scale_set_name::String, api_version::String, subscription_id::String, vm_instance_i_ds::VirtualMachineScaleSetVMInstanceRequiredIDs; _mediaType=nothing) @@ -780,8 +848,8 @@ function _oacinternal_virtual_machine_scale_sets_update_instances(_api::VirtualM OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -818,6 +886,7 @@ export virtual_machine_scale_sets_get_instance_view export virtual_machine_scale_sets_get_o_s_upgrade_history export virtual_machine_scale_sets_list export virtual_machine_scale_sets_list_all +export virtual_machine_scale_sets_list_by_location export virtual_machine_scale_sets_list_skus export virtual_machine_scale_sets_perform_maintenance export virtual_machine_scale_sets_power_off diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineSizesApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineSizesApi.jl index fbedf01..69047c4 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineSizesApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachineSizesApi.jl @@ -13,20 +13,22 @@ basepath(::Type{ VirtualMachineSizesApi }) = "https://management.azure.com" const _returntypes_virtual_machine_sizes_list_VirtualMachineSizesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineSizeListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machine_sizes_list(_api::VirtualMachineSizesApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "virtual_machine_sizes_list", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_sizes_list_VirtualMachineSizesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/vmSizes", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/en-us/rest/api/compute/resourceskus/list) +@doc raw"""This API is deprecated. Use [Resources Skus](https://docs.microsoft.com/rest/api/compute/resourceskus/list) Params: - location::String (required) diff --git a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachinesApi.jl b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachinesApi.jl index cb1499c..43f48ec 100644 --- a/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachinesApi.jl +++ b/src/Compute/ComputeManagementClient/src/apis/api_VirtualMachinesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_virtual_machines_assess_patches(_api::VirtualMachinesApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -51,6 +51,7 @@ end const _returntypes_virtual_machines_capture_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineCaptureResult, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_capture(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, parameters::VirtualMachineCaptureParameters; _mediaType=nothing) @@ -58,7 +59,7 @@ function _oacinternal_virtual_machines_capture(_api::VirtualMachinesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -88,6 +89,7 @@ end const _returntypes_virtual_machines_convert_to_managed_disks_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_convert_to_managed_disks(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -95,8 +97,8 @@ function _oacinternal_virtual_machines_convert_to_managed_disks(_api::VirtualMac OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -124,6 +126,7 @@ end const _returntypes_virtual_machines_create_or_update_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachine, Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachine, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_create_or_update(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, parameters::VirtualMachine; _mediaType=nothing) @@ -131,7 +134,7 @@ function _oacinternal_virtual_machines_create_or_update(_api::VirtualMachinesApi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -161,15 +164,17 @@ end const _returntypes_virtual_machines_deallocate_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machines_deallocate(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_virtual_machines_deallocate(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; hibernate=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machines_deallocate_VirtualMachinesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/deallocate", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "hibernate", hibernate; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -181,16 +186,17 @@ Params: - vm_name::String (required) - api_version::String (required) - subscription_id::String (required) +- hibernate::Bool Return: Nothing, OpenAPI.Clients.ApiResponse """ -function virtual_machines_deallocate(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_deallocate(_api, resource_group_name, vm_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machines_deallocate(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; hibernate=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_deallocate(_api, resource_group_name, vm_name, api_version, subscription_id; hibernate=hibernate, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machines_deallocate(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_deallocate(_api, resource_group_name, vm_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machines_deallocate(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; hibernate=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_deallocate(_api, resource_group_name, vm_name, api_version, subscription_id; hibernate=hibernate, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -198,15 +204,17 @@ const _returntypes_virtual_machines_delete_VirtualMachinesApi = Dict{Regex,Type} Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machines_delete(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_virtual_machines_delete(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_machines_delete_VirtualMachinesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "forceDeletion", force_deletion; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -218,21 +226,23 @@ Params: - vm_name::String (required) - api_version::String (required) - subscription_id::String (required) +- force_deletion::Bool Return: Nothing, OpenAPI.Clients.ApiResponse """ -function virtual_machines_delete(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_delete(_api, resource_group_name, vm_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machines_delete(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_delete(_api, resource_group_name, vm_name, api_version, subscription_id; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machines_delete(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_delete(_api, resource_group_name, vm_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machines_delete(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; force_deletion=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_delete(_api, resource_group_name, vm_name, api_version, subscription_id; force_deletion=force_deletion, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machines_generalize_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_generalize(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -240,13 +250,13 @@ function _oacinternal_virtual_machines_generalize(_api::VirtualMachinesApi, reso OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/capture-image). +@doc raw"""Sets the OS state of the virtual machine to generalized. It is recommended to sysprep the virtual machine before performing this operation.
For Windows, please refer to [Create a managed image of a generalized VM in Azure](https://docs.microsoft.com/azure/virtual-machines/windows/capture-image-resource).
For Linux, please refer to [How to create an image of a virtual machine or VHD](https://docs.microsoft.com/azure/virtual-machines/linux/capture-image). Params: - resource_group_name::String (required) @@ -268,6 +278,7 @@ end const _returntypes_virtual_machines_get_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachine, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_get(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) @@ -275,8 +286,8 @@ function _oacinternal_virtual_machines_get(_api::VirtualMachinesApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -303,8 +314,47 @@ function virtual_machines_get(_api::VirtualMachinesApi, response_stream::Channel return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_machines_install_patches_VirtualMachinesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineInstallPatchesResult, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machines_install_patches(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, install_patches_input::VirtualMachineInstallPatchesParameters; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_machines_install_patches_VirtualMachinesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/installPatches", ["azure_auth", ], install_patches_input) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Installs patches on the VM. + +Params: +- resource_group_name::String (required) +- vm_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- install_patches_input::VirtualMachineInstallPatchesParameters (required) + +Return: VirtualMachineInstallPatchesResult, OpenAPI.Clients.ApiResponse +""" +function virtual_machines_install_patches(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, install_patches_input::VirtualMachineInstallPatchesParameters; _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_install_patches(_api, resource_group_name, vm_name, api_version, subscription_id, install_patches_input; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machines_install_patches(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, install_patches_input::VirtualMachineInstallPatchesParameters; _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_install_patches(_api, resource_group_name, vm_name, api_version, subscription_id, install_patches_input; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_machines_instance_view_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineInstanceView, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_instance_view(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -312,7 +362,7 @@ function _oacinternal_virtual_machines_instance_view(_api::VirtualMachinesApi, r OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -340,13 +390,15 @@ end const _returntypes_virtual_machines_list_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machines_list(_api::VirtualMachinesApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_virtual_machines_list(_api::VirtualMachinesApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machines_list_VirtualMachinesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -358,28 +410,31 @@ Params: - resource_group_name::String (required) - api_version::String (required) - subscription_id::String (required) +- filter::String Return: VirtualMachineListResult, OpenAPI.Clients.ApiResponse """ -function virtual_machines_list(_api::VirtualMachinesApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_list(_api, resource_group_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machines_list(_api::VirtualMachinesApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_list(_api, resource_group_name, api_version, subscription_id; filter=filter, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machines_list(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_list(_api, resource_group_name, api_version, subscription_id; _mediaType=_mediaType) +function virtual_machines_list(_api::VirtualMachinesApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_list(_api, resource_group_name, api_version, subscription_id; filter=filter, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machines_list_all_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_machines_list_all(_api::VirtualMachinesApi, api_version::String, subscription_id::String; status_only=nothing, _mediaType=nothing) +function _oacinternal_virtual_machines_list_all(_api::VirtualMachinesApi, api_version::String, subscription_id::String; status_only=nothing, filter=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machines_list_all_VirtualMachinesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/virtualMachines", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "statusOnly", status_only) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "statusOnly", status_only; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -391,21 +446,23 @@ Params: - api_version::String (required) - subscription_id::String (required) - status_only::String +- filter::String Return: VirtualMachineListResult, OpenAPI.Clients.ApiResponse """ -function virtual_machines_list_all(_api::VirtualMachinesApi, api_version::String, subscription_id::String; status_only=nothing, _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_list_all(_api, api_version, subscription_id; status_only=status_only, _mediaType=_mediaType) +function virtual_machines_list_all(_api::VirtualMachinesApi, api_version::String, subscription_id::String; status_only=nothing, filter=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_list_all(_api, api_version, subscription_id; status_only=status_only, filter=filter, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_machines_list_all(_api::VirtualMachinesApi, response_stream::Channel, api_version::String, subscription_id::String; status_only=nothing, _mediaType=nothing) - _ctx = _oacinternal_virtual_machines_list_all(_api, api_version, subscription_id; status_only=status_only, _mediaType=_mediaType) +function virtual_machines_list_all(_api::VirtualMachinesApi, response_stream::Channel, api_version::String, subscription_id::String; status_only=nothing, filter=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machines_list_all(_api, api_version, subscription_id; status_only=status_only, filter=filter, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_virtual_machines_list_available_sizes_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineSizeListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_list_available_sizes(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -413,7 +470,7 @@ function _oacinternal_virtual_machines_list_available_sizes(_api::VirtualMachine OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -441,14 +498,16 @@ end const _returntypes_virtual_machines_list_by_location_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_list_by_location(_api::VirtualMachinesApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "virtual_machines_list_by_location", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machines_list_by_location_VirtualMachinesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/virtualMachines", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -476,6 +535,7 @@ end const _returntypes_virtual_machines_perform_maintenance_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_perform_maintenance(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -483,8 +543,8 @@ function _oacinternal_virtual_machines_perform_maintenance(_api::VirtualMachines OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -512,6 +572,7 @@ end const _returntypes_virtual_machines_power_off_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_power_off(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; skip_shutdown=nothing, _mediaType=nothing) @@ -519,9 +580,9 @@ function _oacinternal_virtual_machines_power_off(_api::VirtualMachinesApi, resou OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "skipShutdown", skip_shutdown) # type Bool - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "skipShutdown", skip_shutdown; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -558,7 +619,7 @@ function _oacinternal_virtual_machines_reapply(_api::VirtualMachinesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -587,6 +648,7 @@ end const _returntypes_virtual_machines_redeploy_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_redeploy(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -594,8 +656,8 @@ function _oacinternal_virtual_machines_redeploy(_api::VirtualMachinesApi, resour OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -623,6 +685,7 @@ end const _returntypes_virtual_machines_reimage_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_reimage(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) @@ -630,8 +693,8 @@ function _oacinternal_virtual_machines_reimage(_api::VirtualMachinesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -660,6 +723,7 @@ end const _returntypes_virtual_machines_restart_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_restart(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -667,8 +731,8 @@ function _oacinternal_virtual_machines_restart(_api::VirtualMachinesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -703,8 +767,8 @@ function _oacinternal_virtual_machines_retrieve_boot_diagnostics_data(_api::Virt OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "sasUriExpirationTimeInMinutes", sas_uri_expiration_time_in_minutes) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "sasUriExpirationTimeInMinutes", sas_uri_expiration_time_in_minutes; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -733,6 +797,7 @@ end const _returntypes_virtual_machines_simulate_eviction_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_simulate_eviction(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -740,13 +805,13 @@ function _oacinternal_virtual_machines_simulate_eviction(_api::VirtualMachinesAp OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""The operation to simulate the eviction of spot virtual machine. The eviction will occur within 30 minutes of calling the API +@doc raw"""The operation to simulate the eviction of spot virtual machine. Params: - resource_group_name::String (required) @@ -769,6 +834,7 @@ end const _returntypes_virtual_machines_start_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_start(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; _mediaType=nothing) @@ -776,8 +842,8 @@ function _oacinternal_virtual_machines_start(_api::VirtualMachinesApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end @@ -804,7 +870,7 @@ end const _returntypes_virtual_machines_update_VirtualMachinesApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachine, - Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachine, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_virtual_machines_update(_api::VirtualMachinesApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String, parameters::VirtualMachineUpdate; _mediaType=nothing) @@ -812,7 +878,7 @@ function _oacinternal_virtual_machines_update(_api::VirtualMachinesApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -847,6 +913,7 @@ export virtual_machines_deallocate export virtual_machines_delete export virtual_machines_generalize export virtual_machines_get +export virtual_machines_install_patches export virtual_machines_instance_view export virtual_machines_list export virtual_machines_list_all diff --git a/src/Compute/ComputeManagementClient/src/modelincludes.jl b/src/Compute/ComputeManagementClient/src/modelincludes.jl index 8c87064..ba85733 100644 --- a/src/Compute/ComputeManagementClient/src/modelincludes.jl +++ b/src/Compute/ComputeManagementClient/src/modelincludes.jl @@ -6,19 +6,34 @@ include("models/model_AdditionalUnattendContent.jl") include("models/model_ApiEntityReference.jl") include("models/model_ApiError.jl") include("models/model_ApiErrorBase.jl") +include("models/model_ApplicationProfile.jl") +include("models/model_ArchitectureType.jl") include("models/model_AutomaticOSUpgradePolicy.jl") include("models/model_AutomaticOSUpgradeProperties.jl") include("models/model_AutomaticRepairsPolicy.jl") include("models/model_AvailabilitySet.jl") -include("models/model_AvailabilitySetAllOf.jl") include("models/model_AvailabilitySetListResult.jl") include("models/model_AvailabilitySetProperties.jl") include("models/model_AvailabilitySetSkuType.jl") include("models/model_AvailabilitySetUpdate.jl") +include("models/model_AvailablePatchSummary.jl") include("models/model_BillingProfile.jl") include("models/model_BootDiagnostics.jl") include("models/model_BootDiagnosticsInstanceView.jl") include("models/model_Caching.jl") +include("models/model_CapacityReservation.jl") +include("models/model_CapacityReservationGroup.jl") +include("models/model_CapacityReservationGroupInstanceView.jl") +include("models/model_CapacityReservationGroupListResult.jl") +include("models/model_CapacityReservationGroupProperties.jl") +include("models/model_CapacityReservationGroupUpdate.jl") +include("models/model_CapacityReservationInstanceView.jl") +include("models/model_CapacityReservationInstanceViewWithName.jl") +include("models/model_CapacityReservationListResult.jl") +include("models/model_CapacityReservationProfile.jl") +include("models/model_CapacityReservationProperties.jl") +include("models/model_CapacityReservationUpdate.jl") +include("models/model_CapacityReservationUtilization.jl") include("models/model_CloudError.jl") include("models/model_ComputeOperationListResult.jl") include("models/model_ComputeOperationValue.jl") @@ -40,6 +55,8 @@ include("models/model_DedicatedHostLicenseType.jl") include("models/model_DedicatedHostListResult.jl") include("models/model_DedicatedHostProperties.jl") include("models/model_DedicatedHostUpdate.jl") +include("models/model_DeleteOption.jl") +include("models/model_DetachOption.jl") include("models/model_DiagnosticsProfile.jl") include("models/model_DiffDiskOption.jl") include("models/model_DiffDiskPlacement.jl") @@ -48,41 +65,46 @@ include("models/model_DisallowedConfiguration.jl") include("models/model_DiskEncryptionSetParameters.jl") include("models/model_DiskEncryptionSettings.jl") include("models/model_DiskInstanceView.jl") +include("models/model_DiskRestorePointInstanceView.jl") +include("models/model_DiskRestorePointReplicationStatus.jl") include("models/model_EvictionPolicy.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_HardwareProfile.jl") include("models/model_HyperVGenerationType.jl") include("models/model_Image.jl") -include("models/model_ImageAllOf.jl") include("models/model_ImageDataDisk.jl") include("models/model_ImageDisk.jl") include("models/model_ImageListResult.jl") include("models/model_ImageOSDisk.jl") include("models/model_ImageProperties.jl") include("models/model_ImageReference.jl") -include("models/model_ImageReferenceAllOf.jl") include("models/model_ImageStorageProfile.jl") include("models/model_ImageUpdate.jl") include("models/model_InnerError.jl") include("models/model_InstanceViewStatus.jl") include("models/model_KeyVaultKeyReference.jl") include("models/model_KeyVaultSecretReference.jl") +include("models/model_LastPatchInstallationSummary.jl") include("models/model_LinuxConfiguration.jl") +include("models/model_LinuxParameters.jl") +include("models/model_LinuxPatchSettings.jl") include("models/model_ListUsagesResult.jl") include("models/model_LogAnalyticsInputBase.jl") include("models/model_LogAnalyticsOperationResult.jl") include("models/model_LogAnalyticsOutput.jl") include("models/model_MaintenanceRedeployStatus.jl") include("models/model_ManagedDiskParameters.jl") -include("models/model_ManagedDiskParametersAllOf.jl") include("models/model_NetworkInterfaceReference.jl") -include("models/model_NetworkInterfaceReferenceAllOf.jl") include("models/model_NetworkInterfaceReferenceProperties.jl") include("models/model_NetworkProfile.jl") include("models/model_OSDisk.jl") include("models/model_OSDiskImage.jl") include("models/model_OSProfile.jl") +include("models/model_OrchestrationMode.jl") include("models/model_OrchestrationServiceStateInput.jl") include("models/model_OrchestrationServiceSummary.jl") +include("models/model_PatchInstallationDetail.jl") include("models/model_PatchSettings.jl") include("models/model_Plan.jl") include("models/model_Priority.jl") @@ -90,10 +112,24 @@ include("models/model_ProximityPlacementGroup.jl") include("models/model_ProximityPlacementGroupListResult.jl") include("models/model_ProximityPlacementGroupProperties.jl") include("models/model_ProximityPlacementGroupUpdate.jl") +include("models/model_ProxyResource.jl") +include("models/model_PublicIPAddressSku.jl") include("models/model_PurchasePlan.jl") include("models/model_RecoveryWalkResponse.jl") include("models/model_RequestRateByIntervalInput.jl") include("models/model_Resource.jl") +include("models/model_RestorePoint.jl") +include("models/model_RestorePointCollection.jl") +include("models/model_RestorePointCollectionListResult.jl") +include("models/model_RestorePointCollectionProperties.jl") +include("models/model_RestorePointCollectionSourceProperties.jl") +include("models/model_RestorePointCollectionUpdate.jl") +include("models/model_RestorePointInstanceView.jl") +include("models/model_RestorePointProperties.jl") +include("models/model_RestorePointSourceMetadata.jl") +include("models/model_RestorePointSourceVMDataDisk.jl") +include("models/model_RestorePointSourceVMOSDisk.jl") +include("models/model_RestorePointSourceVMStorageProfile.jl") include("models/model_RetrieveBootDiagnosticsDataResult.jl") include("models/model_RollbackStatusInfo.jl") include("models/model_RollingUpgradePolicy.jl") @@ -105,6 +141,7 @@ include("models/model_ScaleInPolicy.jl") include("models/model_ScheduledEventsProfile.jl") include("models/model_SecurityProfile.jl") include("models/model_Sku.jl") +include("models/model_SpotRestorePolicy.jl") include("models/model_SshConfiguration.jl") include("models/model_SshPublicKey.jl") include("models/model_SshPublicKeyGenerateKeyPairResult.jl") @@ -119,6 +156,7 @@ include("models/model_SubResourceReadOnly.jl") include("models/model_SubResourceWithColocationStatus.jl") include("models/model_TerminateNotificationProfile.jl") include("models/model_ThrottledRequestsInput.jl") +include("models/model_UefiSettings.jl") include("models/model_UpdateResource.jl") include("models/model_UpgradeOperationHistoricalStatusInfo.jl") include("models/model_UpgradeOperationHistoricalStatusInfoProperties.jl") @@ -126,22 +164,21 @@ include("models/model_UpgradeOperationHistoryStatus.jl") include("models/model_UpgradePolicy.jl") include("models/model_Usage.jl") include("models/model_UsageName.jl") +include("models/model_VMDiskSecurityProfile.jl") +include("models/model_VMGalleryApplication.jl") include("models/model_VMScaleSetConvertToSinglePlacementGroupInput.jl") +include("models/model_VMSizeProperties.jl") include("models/model_VaultCertificate.jl") include("models/model_VaultSecretGroup.jl") include("models/model_VirtualHardDisk.jl") include("models/model_VirtualMachine.jl") include("models/model_VirtualMachineAgentInstanceView.jl") -include("models/model_VirtualMachineAllOf.jl") include("models/model_VirtualMachineAssessPatchesResult.jl") include("models/model_VirtualMachineCaptureParameters.jl") include("models/model_VirtualMachineCaptureResult.jl") -include("models/model_VirtualMachineCaptureResultAllOf.jl") include("models/model_VirtualMachineExtension.jl") -include("models/model_VirtualMachineExtensionAllOf.jl") include("models/model_VirtualMachineExtensionHandlerInstanceView.jl") include("models/model_VirtualMachineExtensionImage.jl") -include("models/model_VirtualMachineExtensionImageAllOf.jl") include("models/model_VirtualMachineExtensionImageProperties.jl") include("models/model_VirtualMachineExtensionInstanceView.jl") include("models/model_VirtualMachineExtensionProperties.jl") @@ -152,27 +189,37 @@ include("models/model_VirtualMachineHealthStatus.jl") include("models/model_VirtualMachineIdentity.jl") include("models/model_VirtualMachineIdentityUserAssignedIdentitiesValue.jl") include("models/model_VirtualMachineImage.jl") -include("models/model_VirtualMachineImageAllOf.jl") +include("models/model_VirtualMachineImageFeature.jl") include("models/model_VirtualMachineImageProperties.jl") include("models/model_VirtualMachineImageResource.jl") -include("models/model_VirtualMachineImageResourceAllOf.jl") +include("models/model_VirtualMachineInstallPatchesParameters.jl") +include("models/model_VirtualMachineInstallPatchesResult.jl") include("models/model_VirtualMachineInstanceView.jl") +include("models/model_VirtualMachineIpTag.jl") include("models/model_VirtualMachineListResult.jl") +include("models/model_VirtualMachineNetworkInterfaceConfiguration.jl") +include("models/model_VirtualMachineNetworkInterfaceConfigurationProperties.jl") +include("models/model_VirtualMachineNetworkInterfaceDnsSettingsConfiguration.jl") +include("models/model_VirtualMachineNetworkInterfaceIPConfiguration.jl") +include("models/model_VirtualMachineNetworkInterfaceIPConfigurationProperties.jl") +include("models/model_VirtualMachinePatchStatus.jl") include("models/model_VirtualMachineProperties.jl") +include("models/model_VirtualMachinePublicIPAddressConfiguration.jl") +include("models/model_VirtualMachinePublicIPAddressConfigurationProperties.jl") +include("models/model_VirtualMachinePublicIPAddressDnsSettingsConfiguration.jl") include("models/model_VirtualMachineReimageParameters.jl") include("models/model_VirtualMachineScaleSet.jl") -include("models/model_VirtualMachineScaleSetAllOf.jl") include("models/model_VirtualMachineScaleSetDataDisk.jl") include("models/model_VirtualMachineScaleSetExtension.jl") -include("models/model_VirtualMachineScaleSetExtensionAllOf.jl") include("models/model_VirtualMachineScaleSetExtensionListResult.jl") include("models/model_VirtualMachineScaleSetExtensionProfile.jl") include("models/model_VirtualMachineScaleSetExtensionProperties.jl") include("models/model_VirtualMachineScaleSetExtensionUpdate.jl") +include("models/model_VirtualMachineScaleSetHardwareProfile.jl") include("models/model_VirtualMachineScaleSetIPConfiguration.jl") -include("models/model_VirtualMachineScaleSetIPConfigurationAllOf.jl") include("models/model_VirtualMachineScaleSetIPConfigurationProperties.jl") include("models/model_VirtualMachineScaleSetIdentity.jl") +include("models/model_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.jl") include("models/model_VirtualMachineScaleSetInstanceView.jl") include("models/model_VirtualMachineScaleSetInstanceViewStatusesSummary.jl") include("models/model_VirtualMachineScaleSetIpTag.jl") @@ -182,7 +229,6 @@ include("models/model_VirtualMachineScaleSetListSkusResult.jl") include("models/model_VirtualMachineScaleSetListWithLinkResult.jl") include("models/model_VirtualMachineScaleSetManagedDiskParameters.jl") include("models/model_VirtualMachineScaleSetNetworkConfiguration.jl") -include("models/model_VirtualMachineScaleSetNetworkConfigurationAllOf.jl") include("models/model_VirtualMachineScaleSetNetworkConfigurationDnsSettings.jl") include("models/model_VirtualMachineScaleSetNetworkConfigurationProperties.jl") include("models/model_VirtualMachineScaleSetNetworkProfile.jl") @@ -210,7 +256,9 @@ include("models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationPr include("models/model_VirtualMachineScaleSetUpdateStorageProfile.jl") include("models/model_VirtualMachineScaleSetUpdateVMProfile.jl") include("models/model_VirtualMachineScaleSetVM.jl") -include("models/model_VirtualMachineScaleSetVMAllOf.jl") +include("models/model_VirtualMachineScaleSetVMExtension.jl") +include("models/model_VirtualMachineScaleSetVMExtensionUpdate.jl") +include("models/model_VirtualMachineScaleSetVMExtensionsListResult.jl") include("models/model_VirtualMachineScaleSetVMExtensionsSummary.jl") include("models/model_VirtualMachineScaleSetVMInstanceIDs.jl") include("models/model_VirtualMachineScaleSetVMInstanceRequiredIDs.jl") @@ -229,3 +277,4 @@ include("models/model_VirtualMachineUpdate.jl") include("models/model_WinRMConfiguration.jl") include("models/model_WinRMListener.jl") include("models/model_WindowsConfiguration.jl") +include("models/model_WindowsParameters.jl") diff --git a/src/Compute/ComputeManagementClient/src/models/model_AdditionalCapabilities.jl b/src/Compute/ComputeManagementClient/src/models/model_AdditionalCapabilities.jl index 3ee0140..692b134 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AdditionalCapabilities.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AdditionalCapabilities.jl @@ -7,25 +7,36 @@ Enables or disables a capability on the virtual machine or virtual machine scale AdditionalCapabilities(; ultraSSDEnabled=nothing, + hibernationEnabled=nothing, ) - ultraSSDEnabled::Bool : The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled. + - hibernationEnabled::Bool : The flag that enables or disables hibernation capability on the VM. """ Base.@kwdef mutable struct AdditionalCapabilities <: OpenAPI.APIModel ultraSSDEnabled::Union{Nothing, Bool} = nothing + hibernationEnabled::Union{Nothing, Bool} = nothing - function AdditionalCapabilities(ultraSSDEnabled, ) - OpenAPI.validate_property(AdditionalCapabilities, Symbol("ultraSSDEnabled"), ultraSSDEnabled) - return new(ultraSSDEnabled, ) + function AdditionalCapabilities(ultraSSDEnabled, hibernationEnabled, ) + o = new(ultraSSDEnabled, hibernationEnabled, ) + OpenAPI.validate_properties(o) + return o end end # type AdditionalCapabilities -const _property_types_AdditionalCapabilities = Dict{Symbol,String}(Symbol("ultraSSDEnabled")=>"Bool", ) +const _property_types_AdditionalCapabilities = Dict{Symbol,String}(Symbol("ultraSSDEnabled")=>"Bool", Symbol("hibernationEnabled")=>"Bool", ) OpenAPI.property_type(::Type{ AdditionalCapabilities }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdditionalCapabilities[name]))} -function check_required(o::AdditionalCapabilities) +function OpenAPI.check_required(o::AdditionalCapabilities) true end +function OpenAPI.validate_properties(o::AdditionalCapabilities) + OpenAPI.validate_property(AdditionalCapabilities, Symbol("ultraSSDEnabled"), o.ultraSSDEnabled) + OpenAPI.validate_property(AdditionalCapabilities, Symbol("hibernationEnabled"), o.hibernationEnabled) +end + function OpenAPI.validate_property(::Type{ AdditionalCapabilities }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AdditionalUnattendContent.jl b/src/Compute/ComputeManagementClient/src/models/model_AdditionalUnattendContent.jl index 14d18aa..a90ee6f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AdditionalUnattendContent.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AdditionalUnattendContent.jl @@ -24,29 +24,41 @@ Base.@kwdef mutable struct AdditionalUnattendContent <: OpenAPI.APIModel content::Union{Nothing, String} = nothing function AdditionalUnattendContent(passName, componentName, settingName, content, ) - OpenAPI.validate_property(AdditionalUnattendContent, Symbol("passName"), passName) - OpenAPI.validate_property(AdditionalUnattendContent, Symbol("componentName"), componentName) - OpenAPI.validate_property(AdditionalUnattendContent, Symbol("settingName"), settingName) - OpenAPI.validate_property(AdditionalUnattendContent, Symbol("content"), content) - return new(passName, componentName, settingName, content, ) + o = new(passName, componentName, settingName, content, ) + OpenAPI.validate_properties(o) + return o end end # type AdditionalUnattendContent const _property_types_AdditionalUnattendContent = Dict{Symbol,String}(Symbol("passName")=>"String", Symbol("componentName")=>"String", Symbol("settingName")=>"String", Symbol("content")=>"String", ) OpenAPI.property_type(::Type{ AdditionalUnattendContent }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdditionalUnattendContent[name]))} -function check_required(o::AdditionalUnattendContent) +function OpenAPI.check_required(o::AdditionalUnattendContent) true end +function OpenAPI.validate_properties(o::AdditionalUnattendContent) + OpenAPI.validate_property(AdditionalUnattendContent, Symbol("passName"), o.passName) + OpenAPI.validate_property(AdditionalUnattendContent, Symbol("componentName"), o.componentName) + OpenAPI.validate_property(AdditionalUnattendContent, Symbol("settingName"), o.settingName) + OpenAPI.validate_property(AdditionalUnattendContent, Symbol("content"), o.content) +end + function OpenAPI.validate_property(::Type{ AdditionalUnattendContent }, name::Symbol, val) + if name === Symbol("passName") OpenAPI.validate_param(name, "AdditionalUnattendContent", :enum, val, ["OobeSystem"]) end + + if name === Symbol("componentName") OpenAPI.validate_param(name, "AdditionalUnattendContent", :enum, val, ["Microsoft-Windows-Shell-Setup"]) end + + if name === Symbol("settingName") OpenAPI.validate_param(name, "AdditionalUnattendContent", :enum, val, ["AutoLogon", "FirstLogonCommands"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ApiEntityReference.jl b/src/Compute/ComputeManagementClient/src/models/model_ApiEntityReference.jl index 01fa744..417209f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ApiEntityReference.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ApiEntityReference.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ApiEntityReference <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApiEntityReference(id, ) - OpenAPI.validate_property(ApiEntityReference, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type ApiEntityReference const _property_types_ApiEntityReference = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApiEntityReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiEntityReference[name]))} -function check_required(o::ApiEntityReference) +function OpenAPI.check_required(o::ApiEntityReference) true end +function OpenAPI.validate_properties(o::ApiEntityReference) + OpenAPI.validate_property(ApiEntityReference, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApiEntityReference }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ApiError.jl b/src/Compute/ComputeManagementClient/src/models/model_ApiError.jl index 4659dda..51a0c28 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ApiError.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ApiError.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApiError <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ApiError(details, innererror, code, target, message, ) - OpenAPI.validate_property(ApiError, Symbol("details"), details) - OpenAPI.validate_property(ApiError, Symbol("innererror"), innererror) - OpenAPI.validate_property(ApiError, Symbol("code"), code) - OpenAPI.validate_property(ApiError, Symbol("target"), target) - OpenAPI.validate_property(ApiError, Symbol("message"), message) - return new(details, innererror, code, target, message, ) + o = new(details, innererror, code, target, message, ) + OpenAPI.validate_properties(o) + return o end end # type ApiError const _property_types_ApiError = Dict{Symbol,String}(Symbol("details")=>"Vector{ApiErrorBase}", Symbol("innererror")=>"InnerError", Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ApiError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiError[name]))} -function check_required(o::ApiError) +function OpenAPI.check_required(o::ApiError) true end +function OpenAPI.validate_properties(o::ApiError) + OpenAPI.validate_property(ApiError, Symbol("details"), o.details) + OpenAPI.validate_property(ApiError, Symbol("innererror"), o.innererror) + OpenAPI.validate_property(ApiError, Symbol("code"), o.code) + OpenAPI.validate_property(ApiError, Symbol("target"), o.target) + OpenAPI.validate_property(ApiError, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ApiError }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ApiErrorBase.jl b/src/Compute/ComputeManagementClient/src/models/model_ApiErrorBase.jl index b3978a1..0c99757 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ApiErrorBase.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ApiErrorBase.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApiErrorBase <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ApiErrorBase(code, target, message, ) - OpenAPI.validate_property(ApiErrorBase, Symbol("code"), code) - OpenAPI.validate_property(ApiErrorBase, Symbol("target"), target) - OpenAPI.validate_property(ApiErrorBase, Symbol("message"), message) - return new(code, target, message, ) + o = new(code, target, message, ) + OpenAPI.validate_properties(o) + return o end end # type ApiErrorBase const _property_types_ApiErrorBase = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ApiErrorBase }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiErrorBase[name]))} -function check_required(o::ApiErrorBase) +function OpenAPI.check_required(o::ApiErrorBase) true end +function OpenAPI.validate_properties(o::ApiErrorBase) + OpenAPI.validate_property(ApiErrorBase, Symbol("code"), o.code) + OpenAPI.validate_property(ApiErrorBase, Symbol("target"), o.target) + OpenAPI.validate_property(ApiErrorBase, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ApiErrorBase }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ApplicationProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_ApplicationProfile.jl new file mode 100644 index 0000000..8fda5f1 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_ApplicationProfile.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationProfile +Contains the list of gallery applications that should be made available to the VM/VMSS + + ApplicationProfile(; + galleryApplications=nothing, + ) + + - galleryApplications::Vector{VMGalleryApplication} : Specifies the gallery applications that should be made available to the VM/VMSS +""" +Base.@kwdef mutable struct ApplicationProfile <: OpenAPI.APIModel + galleryApplications::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VMGalleryApplication} } + + function ApplicationProfile(galleryApplications, ) + o = new(galleryApplications, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationProfile + +const _property_types_ApplicationProfile = Dict{Symbol,String}(Symbol("galleryApplications")=>"Vector{VMGalleryApplication}", ) +OpenAPI.property_type(::Type{ ApplicationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationProfile[name]))} + +function OpenAPI.check_required(o::ApplicationProfile) + true +end + +function OpenAPI.validate_properties(o::ApplicationProfile) + OpenAPI.validate_property(ApplicationProfile, Symbol("galleryApplications"), o.galleryApplications) +end + +function OpenAPI.validate_property(::Type{ ApplicationProfile }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ArchitectureType.jl b/src/Compute/ComputeManagementClient/src/models/model_ArchitectureType.jl new file mode 100644 index 0000000..7789bff --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_ArchitectureType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ArchitectureType) + const ArchitectureType = String +else + @warn("Skipping redefinition of ArchitectureType to String") +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradePolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradePolicy.jl index c0240af..558c6d6 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradePolicy.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradePolicy.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct AutomaticOSUpgradePolicy <: OpenAPI.APIModel disableAutomaticRollback::Union{Nothing, Bool} = nothing function AutomaticOSUpgradePolicy(enableAutomaticOSUpgrade, disableAutomaticRollback, ) - OpenAPI.validate_property(AutomaticOSUpgradePolicy, Symbol("enableAutomaticOSUpgrade"), enableAutomaticOSUpgrade) - OpenAPI.validate_property(AutomaticOSUpgradePolicy, Symbol("disableAutomaticRollback"), disableAutomaticRollback) - return new(enableAutomaticOSUpgrade, disableAutomaticRollback, ) + o = new(enableAutomaticOSUpgrade, disableAutomaticRollback, ) + OpenAPI.validate_properties(o) + return o end end # type AutomaticOSUpgradePolicy const _property_types_AutomaticOSUpgradePolicy = Dict{Symbol,String}(Symbol("enableAutomaticOSUpgrade")=>"Bool", Symbol("disableAutomaticRollback")=>"Bool", ) OpenAPI.property_type(::Type{ AutomaticOSUpgradePolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AutomaticOSUpgradePolicy[name]))} -function check_required(o::AutomaticOSUpgradePolicy) +function OpenAPI.check_required(o::AutomaticOSUpgradePolicy) true end +function OpenAPI.validate_properties(o::AutomaticOSUpgradePolicy) + OpenAPI.validate_property(AutomaticOSUpgradePolicy, Symbol("enableAutomaticOSUpgrade"), o.enableAutomaticOSUpgrade) + OpenAPI.validate_property(AutomaticOSUpgradePolicy, Symbol("disableAutomaticRollback"), o.disableAutomaticRollback) +end + function OpenAPI.validate_property(::Type{ AutomaticOSUpgradePolicy }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradeProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradeProperties.jl index 7371c62..f98e69a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradeProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AutomaticOSUpgradeProperties.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct AutomaticOSUpgradeProperties <: OpenAPI.APIModel automaticOSUpgradeSupported::Union{Nothing, Bool} = nothing function AutomaticOSUpgradeProperties(automaticOSUpgradeSupported, ) - OpenAPI.validate_property(AutomaticOSUpgradeProperties, Symbol("automaticOSUpgradeSupported"), automaticOSUpgradeSupported) - return new(automaticOSUpgradeSupported, ) + o = new(automaticOSUpgradeSupported, ) + OpenAPI.validate_properties(o) + return o end end # type AutomaticOSUpgradeProperties const _property_types_AutomaticOSUpgradeProperties = Dict{Symbol,String}(Symbol("automaticOSUpgradeSupported")=>"Bool", ) OpenAPI.property_type(::Type{ AutomaticOSUpgradeProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AutomaticOSUpgradeProperties[name]))} -function check_required(o::AutomaticOSUpgradeProperties) +function OpenAPI.check_required(o::AutomaticOSUpgradeProperties) o.automaticOSUpgradeSupported === nothing && (return false) true end +function OpenAPI.validate_properties(o::AutomaticOSUpgradeProperties) + OpenAPI.validate_property(AutomaticOSUpgradeProperties, Symbol("automaticOSUpgradeSupported"), o.automaticOSUpgradeSupported) +end + function OpenAPI.validate_property(::Type{ AutomaticOSUpgradeProperties }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AutomaticRepairsPolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_AutomaticRepairsPolicy.jl index 9b0a7a4..81d3742 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AutomaticRepairsPolicy.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AutomaticRepairsPolicy.jl @@ -8,28 +8,44 @@ Specifies the configuration parameters for automatic repairs on the virtual mach AutomaticRepairsPolicy(; enabled=nothing, gracePeriod=nothing, + repairAction=nothing, ) - enabled::Bool : Specifies whether automatic repairs should be enabled on the virtual machine scale set. The default value is false. - - gracePeriod::String : The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 30 minutes (PT30M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). + - gracePeriod::String : The amount of time for which automatic repairs are suspended due to a state change on VM. The grace time starts after the state change has completed. This helps avoid premature or accidental repairs. The time duration should be specified in ISO 8601 format. The minimum allowed grace period is 10 minutes (PT10M), which is also the default value. The maximum allowed grace period is 90 minutes (PT90M). + - repairAction::String : Type of repair action (replace, restart, reimage) that will be used for repairing unhealthy virtual machines in the scale set. Default value is replace. """ Base.@kwdef mutable struct AutomaticRepairsPolicy <: OpenAPI.APIModel enabled::Union{Nothing, Bool} = nothing gracePeriod::Union{Nothing, String} = nothing + repairAction::Union{Nothing, String} = nothing - function AutomaticRepairsPolicy(enabled, gracePeriod, ) - OpenAPI.validate_property(AutomaticRepairsPolicy, Symbol("enabled"), enabled) - OpenAPI.validate_property(AutomaticRepairsPolicy, Symbol("gracePeriod"), gracePeriod) - return new(enabled, gracePeriod, ) + function AutomaticRepairsPolicy(enabled, gracePeriod, repairAction, ) + o = new(enabled, gracePeriod, repairAction, ) + OpenAPI.validate_properties(o) + return o end end # type AutomaticRepairsPolicy -const _property_types_AutomaticRepairsPolicy = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("gracePeriod")=>"String", ) +const _property_types_AutomaticRepairsPolicy = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("gracePeriod")=>"String", Symbol("repairAction")=>"String", ) OpenAPI.property_type(::Type{ AutomaticRepairsPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AutomaticRepairsPolicy[name]))} -function check_required(o::AutomaticRepairsPolicy) +function OpenAPI.check_required(o::AutomaticRepairsPolicy) true end +function OpenAPI.validate_properties(o::AutomaticRepairsPolicy) + OpenAPI.validate_property(AutomaticRepairsPolicy, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(AutomaticRepairsPolicy, Symbol("gracePeriod"), o.gracePeriod) + OpenAPI.validate_property(AutomaticRepairsPolicy, Symbol("repairAction"), o.repairAction) +end + function OpenAPI.validate_property(::Type{ AutomaticRepairsPolicy }, name::Symbol, val) + + + + if name === Symbol("repairAction") + OpenAPI.validate_param(name, "AutomaticRepairsPolicy", :enum, val, ["Replace", "Restart", "Reimage"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySet.jl b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySet.jl index ca73c65..4091c5a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySet.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySet.jl @@ -3,54 +3,66 @@ @doc raw"""AvailabilitySet -Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Manage the availability of virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-manage-availability?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> For more information on Azure planned maintenance, see [Planned maintenance for virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-planned-maintenance?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. +Specifies information about the availability set that the virtual machine should be assigned to. Virtual machines specified in the same availability set are allocated to different nodes to maximize availability. For more information about availability sets, see [Availability sets overview](https://docs.microsoft.com/azure/virtual-machines/availability-set-overview). <br><br> For more information on Azure planned maintenance, see [Maintenance and updates for Virtual Machines in Azure](https://docs.microsoft.com/azure/virtual-machines/maintenance-and-updates) <br><br> Currently, a VM can only be added to availability set at creation time. An existing VM cannot be added to an availability set. AvailabilitySet(; + properties=nothing, + sku=nothing, id=nothing, name=nothing, type=nothing, location=nothing, tags=nothing, - properties=nothing, - sku=nothing, ) + - properties::AvailabilitySetProperties + - sku::Sku - id::String : Resource Id - name::String : Resource name - type::String : Resource type - location::String : Resource location - tags::Dict{String, String} : Resource tags - - properties::AvailabilitySetProperties - - sku::Sku """ Base.@kwdef mutable struct AvailabilitySet <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, AvailabilitySetProperties } + sku = nothing # spec type: Union{ Nothing, Sku } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - properties = nothing # spec type: Union{ Nothing, AvailabilitySetProperties } - sku = nothing # spec type: Union{ Nothing, Sku } - function AvailabilitySet(id, name, type, location, tags, properties, sku, ) - OpenAPI.validate_property(AvailabilitySet, Symbol("id"), id) - OpenAPI.validate_property(AvailabilitySet, Symbol("name"), name) - OpenAPI.validate_property(AvailabilitySet, Symbol("type"), type) - OpenAPI.validate_property(AvailabilitySet, Symbol("location"), location) - OpenAPI.validate_property(AvailabilitySet, Symbol("tags"), tags) - OpenAPI.validate_property(AvailabilitySet, Symbol("properties"), properties) - OpenAPI.validate_property(AvailabilitySet, Symbol("sku"), sku) - return new(id, name, type, location, tags, properties, sku, ) + function AvailabilitySet(properties, sku, id, name, type, location, tags, ) + o = new(properties, sku, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type AvailabilitySet -const _property_types_AvailabilitySet = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"AvailabilitySetProperties", Symbol("sku")=>"Sku", ) +const _property_types_AvailabilitySet = Dict{Symbol,String}(Symbol("properties")=>"AvailabilitySetProperties", Symbol("sku")=>"Sku", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ AvailabilitySet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilitySet[name]))} -function check_required(o::AvailabilitySet) +function OpenAPI.check_required(o::AvailabilitySet) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::AvailabilitySet) + OpenAPI.validate_property(AvailabilitySet, Symbol("properties"), o.properties) + OpenAPI.validate_property(AvailabilitySet, Symbol("sku"), o.sku) + OpenAPI.validate_property(AvailabilitySet, Symbol("id"), o.id) + OpenAPI.validate_property(AvailabilitySet, Symbol("name"), o.name) + OpenAPI.validate_property(AvailabilitySet, Symbol("type"), o.type) + OpenAPI.validate_property(AvailabilitySet, Symbol("location"), o.location) + OpenAPI.validate_property(AvailabilitySet, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ AvailabilitySet }, name::Symbol, val) + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetAllOf.jl deleted file mode 100644 index c492768..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetAllOf.jl +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""AvailabilitySet_allOf - - AvailabilitySetAllOf(; - properties=nothing, - sku=nothing, - ) - - - properties::AvailabilitySetProperties - - sku::Sku -""" -Base.@kwdef mutable struct AvailabilitySetAllOf <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, AvailabilitySetProperties } - sku = nothing # spec type: Union{ Nothing, Sku } - - function AvailabilitySetAllOf(properties, sku, ) - OpenAPI.validate_property(AvailabilitySetAllOf, Symbol("properties"), properties) - OpenAPI.validate_property(AvailabilitySetAllOf, Symbol("sku"), sku) - return new(properties, sku, ) - end -end # type AvailabilitySetAllOf - -const _property_types_AvailabilitySetAllOf = Dict{Symbol,String}(Symbol("properties")=>"AvailabilitySetProperties", Symbol("sku")=>"Sku", ) -OpenAPI.property_type(::Type{ AvailabilitySetAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilitySetAllOf[name]))} - -function check_required(o::AvailabilitySetAllOf) - true -end - -function OpenAPI.validate_property(::Type{ AvailabilitySetAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetListResult.jl index 60bb489..9f6325a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct AvailabilitySetListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function AvailabilitySetListResult(value, nextLink, ) - OpenAPI.validate_property(AvailabilitySetListResult, Symbol("value"), value) - OpenAPI.validate_property(AvailabilitySetListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type AvailabilitySetListResult const _property_types_AvailabilitySetListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{AvailabilitySet}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ AvailabilitySetListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilitySetListResult[name]))} -function check_required(o::AvailabilitySetListResult) +function OpenAPI.check_required(o::AvailabilitySetListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::AvailabilitySetListResult) + OpenAPI.validate_property(AvailabilitySetListResult, Symbol("value"), o.value) + OpenAPI.validate_property(AvailabilitySetListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ AvailabilitySetListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetProperties.jl index ea17656..e35a532 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetProperties.jl @@ -27,27 +27,37 @@ Base.@kwdef mutable struct AvailabilitySetProperties <: OpenAPI.APIModel statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function AvailabilitySetProperties(platformUpdateDomainCount, platformFaultDomainCount, virtualMachines, proximityPlacementGroup, statuses, ) - OpenAPI.validate_property(AvailabilitySetProperties, Symbol("platformUpdateDomainCount"), platformUpdateDomainCount) - OpenAPI.validate_property(AvailabilitySetProperties, Symbol("platformFaultDomainCount"), platformFaultDomainCount) - OpenAPI.validate_property(AvailabilitySetProperties, Symbol("virtualMachines"), virtualMachines) - OpenAPI.validate_property(AvailabilitySetProperties, Symbol("proximityPlacementGroup"), proximityPlacementGroup) - OpenAPI.validate_property(AvailabilitySetProperties, Symbol("statuses"), statuses) - return new(platformUpdateDomainCount, platformFaultDomainCount, virtualMachines, proximityPlacementGroup, statuses, ) + o = new(platformUpdateDomainCount, platformFaultDomainCount, virtualMachines, proximityPlacementGroup, statuses, ) + OpenAPI.validate_properties(o) + return o end end # type AvailabilitySetProperties const _property_types_AvailabilitySetProperties = Dict{Symbol,String}(Symbol("platformUpdateDomainCount")=>"Int64", Symbol("platformFaultDomainCount")=>"Int64", Symbol("virtualMachines")=>"Vector{SubResource}", Symbol("proximityPlacementGroup")=>"SubResource", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ AvailabilitySetProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilitySetProperties[name]))} -function check_required(o::AvailabilitySetProperties) +function OpenAPI.check_required(o::AvailabilitySetProperties) true end +function OpenAPI.validate_properties(o::AvailabilitySetProperties) + OpenAPI.validate_property(AvailabilitySetProperties, Symbol("platformUpdateDomainCount"), o.platformUpdateDomainCount) + OpenAPI.validate_property(AvailabilitySetProperties, Symbol("platformFaultDomainCount"), o.platformFaultDomainCount) + OpenAPI.validate_property(AvailabilitySetProperties, Symbol("virtualMachines"), o.virtualMachines) + OpenAPI.validate_property(AvailabilitySetProperties, Symbol("proximityPlacementGroup"), o.proximityPlacementGroup) + OpenAPI.validate_property(AvailabilitySetProperties, Symbol("statuses"), o.statuses) +end + function OpenAPI.validate_property(::Type{ AvailabilitySetProperties }, name::Symbol, val) + if name === Symbol("platformUpdateDomainCount") OpenAPI.validate_param(name, "AvailabilitySetProperties", :format, val, "int32") end + if name === Symbol("platformFaultDomainCount") OpenAPI.validate_param(name, "AvailabilitySetProperties", :format, val, "int32") end + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetUpdate.jl index 824f6bc..f876912 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_AvailabilitySetUpdate.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct AvailabilitySetUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function AvailabilitySetUpdate(properties, sku, tags, ) - OpenAPI.validate_property(AvailabilitySetUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(AvailabilitySetUpdate, Symbol("sku"), sku) - OpenAPI.validate_property(AvailabilitySetUpdate, Symbol("tags"), tags) - return new(properties, sku, tags, ) + o = new(properties, sku, tags, ) + OpenAPI.validate_properties(o) + return o end end # type AvailabilitySetUpdate const _property_types_AvailabilitySetUpdate = Dict{Symbol,String}(Symbol("properties")=>"AvailabilitySetProperties", Symbol("sku")=>"Sku", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ AvailabilitySetUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilitySetUpdate[name]))} -function check_required(o::AvailabilitySetUpdate) +function OpenAPI.check_required(o::AvailabilitySetUpdate) true end +function OpenAPI.validate_properties(o::AvailabilitySetUpdate) + OpenAPI.validate_property(AvailabilitySetUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(AvailabilitySetUpdate, Symbol("sku"), o.sku) + OpenAPI.validate_property(AvailabilitySetUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ AvailabilitySetUpdate }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_AvailablePatchSummary.jl b/src/Compute/ComputeManagementClient/src/models/model_AvailablePatchSummary.jl new file mode 100644 index 0000000..87fe7f8 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_AvailablePatchSummary.jl @@ -0,0 +1,88 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AvailablePatchSummary +Describes the properties of an virtual machine instance view for available patch summary. + + AvailablePatchSummary(; + status=nothing, + assessmentActivityId=nothing, + rebootPending=nothing, + criticalAndSecurityPatchCount=nothing, + otherPatchCount=nothing, + startTime=nothing, + lastModifiedTime=nothing, + error=nothing, + ) + + - status::String : The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" + - assessmentActivityId::String : The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + - rebootPending::Bool : The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. + - criticalAndSecurityPatchCount::Int64 : The number of critical or security patches that have been detected as available and not yet installed. + - otherPatchCount::Int64 : The number of all available patches excluding critical and security. + - startTime::ZonedDateTime : The UTC timestamp when the operation began. + - lastModifiedTime::ZonedDateTime : The UTC timestamp when the operation began. + - error::ApiError +""" +Base.@kwdef mutable struct AvailablePatchSummary <: OpenAPI.APIModel + status::Union{Nothing, String} = nothing + assessmentActivityId::Union{Nothing, String} = nothing + rebootPending::Union{Nothing, Bool} = nothing + criticalAndSecurityPatchCount::Union{Nothing, Int64} = nothing + otherPatchCount::Union{Nothing, Int64} = nothing + startTime::Union{Nothing, ZonedDateTime} = nothing + lastModifiedTime::Union{Nothing, ZonedDateTime} = nothing + error = nothing # spec type: Union{ Nothing, ApiError } + + function AvailablePatchSummary(status, assessmentActivityId, rebootPending, criticalAndSecurityPatchCount, otherPatchCount, startTime, lastModifiedTime, error, ) + o = new(status, assessmentActivityId, rebootPending, criticalAndSecurityPatchCount, otherPatchCount, startTime, lastModifiedTime, error, ) + OpenAPI.validate_properties(o) + return o + end +end # type AvailablePatchSummary + +const _property_types_AvailablePatchSummary = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("assessmentActivityId")=>"String", Symbol("rebootPending")=>"Bool", Symbol("criticalAndSecurityPatchCount")=>"Int64", Symbol("otherPatchCount")=>"Int64", Symbol("startTime")=>"ZonedDateTime", Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("error")=>"ApiError", ) +OpenAPI.property_type(::Type{ AvailablePatchSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailablePatchSummary[name]))} + +function OpenAPI.check_required(o::AvailablePatchSummary) + true +end + +function OpenAPI.validate_properties(o::AvailablePatchSummary) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("status"), o.status) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("assessmentActivityId"), o.assessmentActivityId) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("rebootPending"), o.rebootPending) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("criticalAndSecurityPatchCount"), o.criticalAndSecurityPatchCount) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("otherPatchCount"), o.otherPatchCount) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(AvailablePatchSummary, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ AvailablePatchSummary }, name::Symbol, val) + + if name === Symbol("status") + OpenAPI.validate_param(name, "AvailablePatchSummary", :enum, val, ["Unknown", "InProgress", "Failed", "Succeeded", "CompletedWithWarnings"]) + end + + + + + if name === Symbol("criticalAndSecurityPatchCount") + OpenAPI.validate_param(name, "AvailablePatchSummary", :format, val, "int32") + end + + if name === Symbol("otherPatchCount") + OpenAPI.validate_param(name, "AvailablePatchSummary", :format, val, "int32") + end + + if name === Symbol("startTime") + OpenAPI.validate_param(name, "AvailablePatchSummary", :format, val, "date-time") + end + + if name === Symbol("lastModifiedTime") + OpenAPI.validate_param(name, "AvailablePatchSummary", :format, val, "date-time") + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_BillingProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_BillingProfile.jl index ab834d2..62cc5e0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_BillingProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_BillingProfile.jl @@ -15,19 +15,25 @@ Base.@kwdef mutable struct BillingProfile <: OpenAPI.APIModel maxPrice::Union{Nothing, Float64} = nothing function BillingProfile(maxPrice, ) - OpenAPI.validate_property(BillingProfile, Symbol("maxPrice"), maxPrice) - return new(maxPrice, ) + o = new(maxPrice, ) + OpenAPI.validate_properties(o) + return o end end # type BillingProfile const _property_types_BillingProfile = Dict{Symbol,String}(Symbol("maxPrice")=>"Float64", ) OpenAPI.property_type(::Type{ BillingProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BillingProfile[name]))} -function check_required(o::BillingProfile) +function OpenAPI.check_required(o::BillingProfile) true end +function OpenAPI.validate_properties(o::BillingProfile) + OpenAPI.validate_property(BillingProfile, Symbol("maxPrice"), o.maxPrice) +end + function OpenAPI.validate_property(::Type{ BillingProfile }, name::Symbol, val) + if name === Symbol("maxPrice") OpenAPI.validate_param(name, "BillingProfile", :format, val, "double") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_BootDiagnostics.jl b/src/Compute/ComputeManagementClient/src/models/model_BootDiagnostics.jl index ff33ff8..b01fae9 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_BootDiagnostics.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_BootDiagnostics.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct BootDiagnostics <: OpenAPI.APIModel storageUri::Union{Nothing, String} = nothing function BootDiagnostics(enabled, storageUri, ) - OpenAPI.validate_property(BootDiagnostics, Symbol("enabled"), enabled) - OpenAPI.validate_property(BootDiagnostics, Symbol("storageUri"), storageUri) - return new(enabled, storageUri, ) + o = new(enabled, storageUri, ) + OpenAPI.validate_properties(o) + return o end end # type BootDiagnostics const _property_types_BootDiagnostics = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("storageUri")=>"String", ) OpenAPI.property_type(::Type{ BootDiagnostics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BootDiagnostics[name]))} -function check_required(o::BootDiagnostics) +function OpenAPI.check_required(o::BootDiagnostics) true end +function OpenAPI.validate_properties(o::BootDiagnostics) + OpenAPI.validate_property(BootDiagnostics, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(BootDiagnostics, Symbol("storageUri"), o.storageUri) +end + function OpenAPI.validate_property(::Type{ BootDiagnostics }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_BootDiagnosticsInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_BootDiagnosticsInstanceView.jl index bbfd126..0f4ebd4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_BootDiagnosticsInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_BootDiagnosticsInstanceView.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct BootDiagnosticsInstanceView <: OpenAPI.APIModel status = nothing # spec type: Union{ Nothing, InstanceViewStatus } function BootDiagnosticsInstanceView(consoleScreenshotBlobUri, serialConsoleLogBlobUri, status, ) - OpenAPI.validate_property(BootDiagnosticsInstanceView, Symbol("consoleScreenshotBlobUri"), consoleScreenshotBlobUri) - OpenAPI.validate_property(BootDiagnosticsInstanceView, Symbol("serialConsoleLogBlobUri"), serialConsoleLogBlobUri) - OpenAPI.validate_property(BootDiagnosticsInstanceView, Symbol("status"), status) - return new(consoleScreenshotBlobUri, serialConsoleLogBlobUri, status, ) + o = new(consoleScreenshotBlobUri, serialConsoleLogBlobUri, status, ) + OpenAPI.validate_properties(o) + return o end end # type BootDiagnosticsInstanceView const _property_types_BootDiagnosticsInstanceView = Dict{Symbol,String}(Symbol("consoleScreenshotBlobUri")=>"String", Symbol("serialConsoleLogBlobUri")=>"String", Symbol("status")=>"InstanceViewStatus", ) OpenAPI.property_type(::Type{ BootDiagnosticsInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BootDiagnosticsInstanceView[name]))} -function check_required(o::BootDiagnosticsInstanceView) +function OpenAPI.check_required(o::BootDiagnosticsInstanceView) true end +function OpenAPI.validate_properties(o::BootDiagnosticsInstanceView) + OpenAPI.validate_property(BootDiagnosticsInstanceView, Symbol("consoleScreenshotBlobUri"), o.consoleScreenshotBlobUri) + OpenAPI.validate_property(BootDiagnosticsInstanceView, Symbol("serialConsoleLogBlobUri"), o.serialConsoleLogBlobUri) + OpenAPI.validate_property(BootDiagnosticsInstanceView, Symbol("status"), o.status) +end + function OpenAPI.validate_property(::Type{ BootDiagnosticsInstanceView }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservation.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservation.jl new file mode 100644 index 0000000..c944c45 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservation.jl @@ -0,0 +1,74 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservation +Specifies information about the capacity reservation. + + CapacityReservation(; + properties=nothing, + sku=nothing, + zones=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - properties::CapacityReservationProperties + - sku::Sku + - zones::Vector{String} : Availability Zone to use for this capacity reservation. The zone has to be single value and also should be part for the list of zones specified during the capacity reservation group creation. The zone can be assigned only during creation. If not provided, the reservation supports only non-zonal deployments. If provided, enforces VM/VMSS using this capacity reservation to be in same zone. + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct CapacityReservation <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, CapacityReservationProperties } + sku = nothing # spec type: Union{ Nothing, Sku } + zones::Union{Nothing, Vector{String}} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function CapacityReservation(properties, sku, zones, id, name, type, location, tags, ) + o = new(properties, sku, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservation + +const _property_types_CapacityReservation = Dict{Symbol,String}(Symbol("properties")=>"CapacityReservationProperties", Symbol("sku")=>"Sku", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ CapacityReservation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservation[name]))} + +function OpenAPI.check_required(o::CapacityReservation) + o.sku === nothing && (return false) + o.location === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::CapacityReservation) + OpenAPI.validate_property(CapacityReservation, Symbol("properties"), o.properties) + OpenAPI.validate_property(CapacityReservation, Symbol("sku"), o.sku) + OpenAPI.validate_property(CapacityReservation, Symbol("zones"), o.zones) + OpenAPI.validate_property(CapacityReservation, Symbol("id"), o.id) + OpenAPI.validate_property(CapacityReservation, Symbol("name"), o.name) + OpenAPI.validate_property(CapacityReservation, Symbol("type"), o.type) + OpenAPI.validate_property(CapacityReservation, Symbol("location"), o.location) + OpenAPI.validate_property(CapacityReservation, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ CapacityReservation }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroup.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroup.jl new file mode 100644 index 0000000..caaf22f --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroup.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationGroup +Specifies information about the capacity reservation group that the capacity reservations should be assigned to. <br><br> Currently, a capacity reservation can only be added to a capacity reservation group at creation time. An existing capacity reservation cannot be added or moved to another capacity reservation group. + + CapacityReservationGroup(; + properties=nothing, + zones=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - properties::CapacityReservationGroupProperties + - zones::Vector{String} : Availability Zones to use for this capacity reservation group. The zones can be assigned only during creation. If not provided, the group supports only regional resources in the region. If provided, enforces each capacity reservation in the group to be in one of the zones. + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct CapacityReservationGroup <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, CapacityReservationGroupProperties } + zones::Union{Nothing, Vector{String}} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function CapacityReservationGroup(properties, zones, id, name, type, location, tags, ) + o = new(properties, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationGroup + +const _property_types_CapacityReservationGroup = Dict{Symbol,String}(Symbol("properties")=>"CapacityReservationGroupProperties", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ CapacityReservationGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationGroup[name]))} + +function OpenAPI.check_required(o::CapacityReservationGroup) + o.location === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationGroup) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("zones"), o.zones) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("id"), o.id) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("name"), o.name) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("type"), o.type) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("location"), o.location) + OpenAPI.validate_property(CapacityReservationGroup, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationGroup }, name::Symbol, val) + + + + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupInstanceView.jl new file mode 100644 index 0000000..0a4ce22 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupInstanceView.jl @@ -0,0 +1,36 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationGroupInstanceView + + CapacityReservationGroupInstanceView(; + capacityReservations=nothing, + ) + + - capacityReservations::Vector{CapacityReservationInstanceViewWithName} : List of instance view of the capacity reservations under the capacity reservation group. +""" +Base.@kwdef mutable struct CapacityReservationGroupInstanceView <: OpenAPI.APIModel + capacityReservations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CapacityReservationInstanceViewWithName} } + + function CapacityReservationGroupInstanceView(capacityReservations, ) + o = new(capacityReservations, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationGroupInstanceView + +const _property_types_CapacityReservationGroupInstanceView = Dict{Symbol,String}(Symbol("capacityReservations")=>"Vector{CapacityReservationInstanceViewWithName}", ) +OpenAPI.property_type(::Type{ CapacityReservationGroupInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationGroupInstanceView[name]))} + +function OpenAPI.check_required(o::CapacityReservationGroupInstanceView) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationGroupInstanceView) + OpenAPI.validate_property(CapacityReservationGroupInstanceView, Symbol("capacityReservations"), o.capacityReservations) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationGroupInstanceView }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupListResult.jl new file mode 100644 index 0000000..8206f75 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupListResult.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationGroupListResult +The List capacity reservation group with resource group response. + + CapacityReservationGroupListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{CapacityReservationGroup} : The list of capacity reservation groups + - nextLink::String : The URI to fetch the next page of capacity reservation groups. Call ListNext() with this URI to fetch the next page of capacity reservation groups. +""" +Base.@kwdef mutable struct CapacityReservationGroupListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CapacityReservationGroup} } + nextLink::Union{Nothing, String} = nothing + + function CapacityReservationGroupListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationGroupListResult + +const _property_types_CapacityReservationGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{CapacityReservationGroup}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ CapacityReservationGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationGroupListResult[name]))} + +function OpenAPI.check_required(o::CapacityReservationGroupListResult) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationGroupListResult) + OpenAPI.validate_property(CapacityReservationGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(CapacityReservationGroupListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationGroupListResult }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupProperties.jl new file mode 100644 index 0000000..d62f094 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationGroupProperties +capacity reservation group Properties. + + CapacityReservationGroupProperties(; + capacityReservations=nothing, + virtualMachinesAssociated=nothing, + instanceView=nothing, + ) + + - capacityReservations::Vector{SubResourceReadOnly} : A list of all capacity reservation resource ids that belong to capacity reservation group. + - virtualMachinesAssociated::Vector{SubResourceReadOnly} : A list of references to all virtual machines associated to the capacity reservation group. + - instanceView::CapacityReservationGroupInstanceView +""" +Base.@kwdef mutable struct CapacityReservationGroupProperties <: OpenAPI.APIModel + capacityReservations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResourceReadOnly} } + virtualMachinesAssociated::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResourceReadOnly} } + instanceView = nothing # spec type: Union{ Nothing, CapacityReservationGroupInstanceView } + + function CapacityReservationGroupProperties(capacityReservations, virtualMachinesAssociated, instanceView, ) + o = new(capacityReservations, virtualMachinesAssociated, instanceView, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationGroupProperties + +const _property_types_CapacityReservationGroupProperties = Dict{Symbol,String}(Symbol("capacityReservations")=>"Vector{SubResourceReadOnly}", Symbol("virtualMachinesAssociated")=>"Vector{SubResourceReadOnly}", Symbol("instanceView")=>"CapacityReservationGroupInstanceView", ) +OpenAPI.property_type(::Type{ CapacityReservationGroupProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationGroupProperties[name]))} + +function OpenAPI.check_required(o::CapacityReservationGroupProperties) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationGroupProperties) + OpenAPI.validate_property(CapacityReservationGroupProperties, Symbol("capacityReservations"), o.capacityReservations) + OpenAPI.validate_property(CapacityReservationGroupProperties, Symbol("virtualMachinesAssociated"), o.virtualMachinesAssociated) + OpenAPI.validate_property(CapacityReservationGroupProperties, Symbol("instanceView"), o.instanceView) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationGroupProperties }, name::Symbol, val) + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupUpdate.jl new file mode 100644 index 0000000..27930f5 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationGroupUpdate.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationGroupUpdate +Specifies information about the capacity reservation group. Only tags can be updated. + + CapacityReservationGroupUpdate(; + properties=nothing, + tags=nothing, + ) + + - properties::CapacityReservationGroupProperties + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct CapacityReservationGroupUpdate <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, CapacityReservationGroupProperties } + tags::Union{Nothing, Dict{String, String}} = nothing + + function CapacityReservationGroupUpdate(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationGroupUpdate + +const _property_types_CapacityReservationGroupUpdate = Dict{Symbol,String}(Symbol("properties")=>"CapacityReservationGroupProperties", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ CapacityReservationGroupUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationGroupUpdate[name]))} + +function OpenAPI.check_required(o::CapacityReservationGroupUpdate) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationGroupUpdate) + OpenAPI.validate_property(CapacityReservationGroupUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(CapacityReservationGroupUpdate, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationGroupUpdate }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationInstanceView.jl new file mode 100644 index 0000000..9899700 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationInstanceView.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationInstanceView +The instance view of a capacity reservation that provides as snapshot of the runtime properties of the capacity reservation that is managed by the platform and can change outside of control plane operations. + + CapacityReservationInstanceView(; + utilizationInfo=nothing, + statuses=nothing, + ) + + - utilizationInfo::CapacityReservationUtilization + - statuses::Vector{InstanceViewStatus} : The resource status information. +""" +Base.@kwdef mutable struct CapacityReservationInstanceView <: OpenAPI.APIModel + utilizationInfo = nothing # spec type: Union{ Nothing, CapacityReservationUtilization } + statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } + + function CapacityReservationInstanceView(utilizationInfo, statuses, ) + o = new(utilizationInfo, statuses, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationInstanceView + +const _property_types_CapacityReservationInstanceView = Dict{Symbol,String}(Symbol("utilizationInfo")=>"CapacityReservationUtilization", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) +OpenAPI.property_type(::Type{ CapacityReservationInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationInstanceView[name]))} + +function OpenAPI.check_required(o::CapacityReservationInstanceView) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationInstanceView) + OpenAPI.validate_property(CapacityReservationInstanceView, Symbol("utilizationInfo"), o.utilizationInfo) + OpenAPI.validate_property(CapacityReservationInstanceView, Symbol("statuses"), o.statuses) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationInstanceView }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationInstanceViewWithName.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationInstanceViewWithName.jl new file mode 100644 index 0000000..51518a3 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationInstanceViewWithName.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationInstanceViewWithName +The instance view of a capacity reservation that includes the name of the capacity reservation. It is used for the response to the instance view of a capacity reservation group. + + CapacityReservationInstanceViewWithName(; + name=nothing, + utilizationInfo=nothing, + statuses=nothing, + ) + + - name::String : The name of the capacity reservation. + - utilizationInfo::CapacityReservationUtilization + - statuses::Vector{InstanceViewStatus} : The resource status information. +""" +Base.@kwdef mutable struct CapacityReservationInstanceViewWithName <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + utilizationInfo = nothing # spec type: Union{ Nothing, CapacityReservationUtilization } + statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } + + function CapacityReservationInstanceViewWithName(name, utilizationInfo, statuses, ) + o = new(name, utilizationInfo, statuses, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationInstanceViewWithName + +const _property_types_CapacityReservationInstanceViewWithName = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("utilizationInfo")=>"CapacityReservationUtilization", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) +OpenAPI.property_type(::Type{ CapacityReservationInstanceViewWithName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationInstanceViewWithName[name]))} + +function OpenAPI.check_required(o::CapacityReservationInstanceViewWithName) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationInstanceViewWithName) + OpenAPI.validate_property(CapacityReservationInstanceViewWithName, Symbol("name"), o.name) + OpenAPI.validate_property(CapacityReservationInstanceViewWithName, Symbol("utilizationInfo"), o.utilizationInfo) + OpenAPI.validate_property(CapacityReservationInstanceViewWithName, Symbol("statuses"), o.statuses) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationInstanceViewWithName }, name::Symbol, val) + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationListResult.jl new file mode 100644 index 0000000..e316f2e --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationListResult.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationListResult +The list capacity reservation operation response. + + CapacityReservationListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{CapacityReservation} : The list of capacity reservations + - nextLink::String : The URI to fetch the next page of capacity reservations. Call ListNext() with this URI to fetch the next page of capacity reservations. +""" +Base.@kwdef mutable struct CapacityReservationListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CapacityReservation} } + nextLink::Union{Nothing, String} = nothing + + function CapacityReservationListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationListResult + +const _property_types_CapacityReservationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{CapacityReservation}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ CapacityReservationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationListResult[name]))} + +function OpenAPI.check_required(o::CapacityReservationListResult) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationListResult) + OpenAPI.validate_property(CapacityReservationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(CapacityReservationListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationListResult }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationProfile.jl new file mode 100644 index 0000000..fe05f9b --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationProfile.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationProfile +The parameters of a capacity reservation Profile. + + CapacityReservationProfile(; + capacityReservationGroup=nothing, + ) + + - capacityReservationGroup::SubResource +""" +Base.@kwdef mutable struct CapacityReservationProfile <: OpenAPI.APIModel + capacityReservationGroup = nothing # spec type: Union{ Nothing, SubResource } + + function CapacityReservationProfile(capacityReservationGroup, ) + o = new(capacityReservationGroup, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationProfile + +const _property_types_CapacityReservationProfile = Dict{Symbol,String}(Symbol("capacityReservationGroup")=>"SubResource", ) +OpenAPI.property_type(::Type{ CapacityReservationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationProfile[name]))} + +function OpenAPI.check_required(o::CapacityReservationProfile) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationProfile) + OpenAPI.validate_property(CapacityReservationProfile, Symbol("capacityReservationGroup"), o.capacityReservationGroup) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationProfile }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationProperties.jl new file mode 100644 index 0000000..2423a9f --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationProperties.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationProperties +Properties of the Capacity reservation. + + CapacityReservationProperties(; + reservationId=nothing, + virtualMachinesAssociated=nothing, + provisioningTime=nothing, + provisioningState=nothing, + instanceView=nothing, + timeCreated=nothing, + ) + + - reservationId::String : A unique id generated and assigned to the capacity reservation by the platform which does not change throughout the lifetime of the resource. + - virtualMachinesAssociated::Vector{SubResourceReadOnly} : A list of all virtual machine resource ids that are associated with the capacity reservation. + - provisioningTime::ZonedDateTime : The date time when the capacity reservation was last updated. + - provisioningState::String : The provisioning state, which only appears in the response. + - instanceView::CapacityReservationInstanceView + - timeCreated::ZonedDateTime : Specifies the time at which the Capacity Reservation resource was created.<br><br>Minimum api-version: 2021-11-01. +""" +Base.@kwdef mutable struct CapacityReservationProperties <: OpenAPI.APIModel + reservationId::Union{Nothing, String} = nothing + virtualMachinesAssociated::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResourceReadOnly} } + provisioningTime::Union{Nothing, ZonedDateTime} = nothing + provisioningState::Union{Nothing, String} = nothing + instanceView = nothing # spec type: Union{ Nothing, CapacityReservationInstanceView } + timeCreated::Union{Nothing, ZonedDateTime} = nothing + + function CapacityReservationProperties(reservationId, virtualMachinesAssociated, provisioningTime, provisioningState, instanceView, timeCreated, ) + o = new(reservationId, virtualMachinesAssociated, provisioningTime, provisioningState, instanceView, timeCreated, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationProperties + +const _property_types_CapacityReservationProperties = Dict{Symbol,String}(Symbol("reservationId")=>"String", Symbol("virtualMachinesAssociated")=>"Vector{SubResourceReadOnly}", Symbol("provisioningTime")=>"ZonedDateTime", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"CapacityReservationInstanceView", Symbol("timeCreated")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ CapacityReservationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationProperties[name]))} + +function OpenAPI.check_required(o::CapacityReservationProperties) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationProperties) + OpenAPI.validate_property(CapacityReservationProperties, Symbol("reservationId"), o.reservationId) + OpenAPI.validate_property(CapacityReservationProperties, Symbol("virtualMachinesAssociated"), o.virtualMachinesAssociated) + OpenAPI.validate_property(CapacityReservationProperties, Symbol("provisioningTime"), o.provisioningTime) + OpenAPI.validate_property(CapacityReservationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(CapacityReservationProperties, Symbol("instanceView"), o.instanceView) + OpenAPI.validate_property(CapacityReservationProperties, Symbol("timeCreated"), o.timeCreated) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationProperties }, name::Symbol, val) + + + + if name === Symbol("provisioningTime") + OpenAPI.validate_param(name, "CapacityReservationProperties", :format, val, "date-time") + end + + + + if name === Symbol("timeCreated") + OpenAPI.validate_param(name, "CapacityReservationProperties", :format, val, "date-time") + end +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationUpdate.jl new file mode 100644 index 0000000..63a43e7 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationUpdate.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationUpdate +Specifies information about the capacity reservation. Only tags and sku.capacity can be updated. + + CapacityReservationUpdate(; + properties=nothing, + sku=nothing, + tags=nothing, + ) + + - properties::CapacityReservationProperties + - sku::Sku + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct CapacityReservationUpdate <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, CapacityReservationProperties } + sku = nothing # spec type: Union{ Nothing, Sku } + tags::Union{Nothing, Dict{String, String}} = nothing + + function CapacityReservationUpdate(properties, sku, tags, ) + o = new(properties, sku, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationUpdate + +const _property_types_CapacityReservationUpdate = Dict{Symbol,String}(Symbol("properties")=>"CapacityReservationProperties", Symbol("sku")=>"Sku", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ CapacityReservationUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationUpdate[name]))} + +function OpenAPI.check_required(o::CapacityReservationUpdate) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationUpdate) + OpenAPI.validate_property(CapacityReservationUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(CapacityReservationUpdate, Symbol("sku"), o.sku) + OpenAPI.validate_property(CapacityReservationUpdate, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationUpdate }, name::Symbol, val) + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationUtilization.jl b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationUtilization.jl new file mode 100644 index 0000000..4a8f283 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_CapacityReservationUtilization.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CapacityReservationUtilization +Represents the capacity reservation utilization in terms of resources allocated. + + CapacityReservationUtilization(; + virtualMachinesAllocated=nothing, + ) + + - virtualMachinesAllocated::Vector{SubResourceReadOnly} : A list of all virtual machines resource ids allocated against the capacity reservation. +""" +Base.@kwdef mutable struct CapacityReservationUtilization <: OpenAPI.APIModel + virtualMachinesAllocated::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResourceReadOnly} } + + function CapacityReservationUtilization(virtualMachinesAllocated, ) + o = new(virtualMachinesAllocated, ) + OpenAPI.validate_properties(o) + return o + end +end # type CapacityReservationUtilization + +const _property_types_CapacityReservationUtilization = Dict{Symbol,String}(Symbol("virtualMachinesAllocated")=>"Vector{SubResourceReadOnly}", ) +OpenAPI.property_type(::Type{ CapacityReservationUtilization }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapacityReservationUtilization[name]))} + +function OpenAPI.check_required(o::CapacityReservationUtilization) + true +end + +function OpenAPI.validate_properties(o::CapacityReservationUtilization) + OpenAPI.validate_property(CapacityReservationUtilization, Symbol("virtualMachinesAllocated"), o.virtualMachinesAllocated) +end + +function OpenAPI.validate_property(::Type{ CapacityReservationUtilization }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_CloudError.jl b/src/Compute/ComputeManagementClient/src/models/model_CloudError.jl index f530546..277bcee 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_CloudError.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, ApiError } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ApiError", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationListResult.jl index d1fe8e6..d7b3ff4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ComputeOperationListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ComputeOperationValue} } function ComputeOperationListResult(value, ) - OpenAPI.validate_property(ComputeOperationListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type ComputeOperationListResult const _property_types_ComputeOperationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ComputeOperationValue}", ) OpenAPI.property_type(::Type{ ComputeOperationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ComputeOperationListResult[name]))} -function check_required(o::ComputeOperationListResult) +function OpenAPI.check_required(o::ComputeOperationListResult) true end +function OpenAPI.validate_properties(o::ComputeOperationListResult) + OpenAPI.validate_property(ComputeOperationListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ ComputeOperationListResult }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValue.jl b/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValue.jl index 3c37aeb..6d5424d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValue.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValue.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ComputeOperationValue <: OpenAPI.APIModel display = nothing # spec type: Union{ Nothing, ComputeOperationValueDisplay } function ComputeOperationValue(origin, name, display, ) - OpenAPI.validate_property(ComputeOperationValue, Symbol("origin"), origin) - OpenAPI.validate_property(ComputeOperationValue, Symbol("name"), name) - OpenAPI.validate_property(ComputeOperationValue, Symbol("display"), display) - return new(origin, name, display, ) + o = new(origin, name, display, ) + OpenAPI.validate_properties(o) + return o end end # type ComputeOperationValue const _property_types_ComputeOperationValue = Dict{Symbol,String}(Symbol("origin")=>"String", Symbol("name")=>"String", Symbol("display")=>"ComputeOperationValueDisplay", ) OpenAPI.property_type(::Type{ ComputeOperationValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ComputeOperationValue[name]))} -function check_required(o::ComputeOperationValue) +function OpenAPI.check_required(o::ComputeOperationValue) true end +function OpenAPI.validate_properties(o::ComputeOperationValue) + OpenAPI.validate_property(ComputeOperationValue, Symbol("origin"), o.origin) + OpenAPI.validate_property(ComputeOperationValue, Symbol("name"), o.name) + OpenAPI.validate_property(ComputeOperationValue, Symbol("display"), o.display) +end + function OpenAPI.validate_property(::Type{ ComputeOperationValue }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValueDisplay.jl b/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValueDisplay.jl index 464d879..2cd701e 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValueDisplay.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ComputeOperationValueDisplay.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ComputeOperationValueDisplay <: OpenAPI.APIModel provider::Union{Nothing, String} = nothing function ComputeOperationValueDisplay(operation, resource, description, provider, ) - OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("operation"), operation) - OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("resource"), resource) - OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("description"), description) - OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("provider"), provider) - return new(operation, resource, description, provider, ) + o = new(operation, resource, description, provider, ) + OpenAPI.validate_properties(o) + return o end end # type ComputeOperationValueDisplay const _property_types_ComputeOperationValueDisplay = Dict{Symbol,String}(Symbol("operation")=>"String", Symbol("resource")=>"String", Symbol("description")=>"String", Symbol("provider")=>"String", ) OpenAPI.property_type(::Type{ ComputeOperationValueDisplay }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ComputeOperationValueDisplay[name]))} -function check_required(o::ComputeOperationValueDisplay) +function OpenAPI.check_required(o::ComputeOperationValueDisplay) true end +function OpenAPI.validate_properties(o::ComputeOperationValueDisplay) + OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("operation"), o.operation) + OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("resource"), o.resource) + OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("description"), o.description) + OpenAPI.validate_property(ComputeOperationValueDisplay, Symbol("provider"), o.provider) +end + function OpenAPI.validate_property(::Type{ ComputeOperationValueDisplay }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DataDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_DataDisk.jl index 0267247..7c968f3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DataDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DataDisk.jl @@ -18,6 +18,8 @@ Describes a data disk. toBeDetached=nothing, diskIOPSReadWrite=nothing, diskMBpsReadWrite=nothing, + detachOption=nothing, + deleteOption=nothing, ) - lun::Int64 : Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. @@ -32,6 +34,8 @@ Describes a data disk. - toBeDetached::Bool : Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset - diskIOPSReadWrite::Int64 : Specifies the Read-Write IOPS for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. - diskMBpsReadWrite::Int64 : Specifies the bandwidth in MB per second for the managed disk when StorageAccountType is UltraSSD_LRS. Returned only for VirtualMachine ScaleSet VM disks. Can be updated only via updates to the VirtualMachine Scale Set. + - detachOption::DetachOption + - deleteOption::DeleteOption """ Base.@kwdef mutable struct DataDisk <: OpenAPI.APIModel lun::Union{Nothing, Int64} = nothing @@ -46,44 +50,67 @@ Base.@kwdef mutable struct DataDisk <: OpenAPI.APIModel toBeDetached::Union{Nothing, Bool} = nothing diskIOPSReadWrite::Union{Nothing, Int64} = nothing diskMBpsReadWrite::Union{Nothing, Int64} = nothing + detachOption = nothing # spec type: Union{ Nothing, DetachOption } + deleteOption = nothing # spec type: Union{ Nothing, DeleteOption } - function DataDisk(lun, name, vhd, image, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, toBeDetached, diskIOPSReadWrite, diskMBpsReadWrite, ) - OpenAPI.validate_property(DataDisk, Symbol("lun"), lun) - OpenAPI.validate_property(DataDisk, Symbol("name"), name) - OpenAPI.validate_property(DataDisk, Symbol("vhd"), vhd) - OpenAPI.validate_property(DataDisk, Symbol("image"), image) - OpenAPI.validate_property(DataDisk, Symbol("caching"), caching) - OpenAPI.validate_property(DataDisk, Symbol("writeAcceleratorEnabled"), writeAcceleratorEnabled) - OpenAPI.validate_property(DataDisk, Symbol("createOption"), createOption) - OpenAPI.validate_property(DataDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(DataDisk, Symbol("managedDisk"), managedDisk) - OpenAPI.validate_property(DataDisk, Symbol("toBeDetached"), toBeDetached) - OpenAPI.validate_property(DataDisk, Symbol("diskIOPSReadWrite"), diskIOPSReadWrite) - OpenAPI.validate_property(DataDisk, Symbol("diskMBpsReadWrite"), diskMBpsReadWrite) - return new(lun, name, vhd, image, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, toBeDetached, diskIOPSReadWrite, diskMBpsReadWrite, ) + function DataDisk(lun, name, vhd, image, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, toBeDetached, diskIOPSReadWrite, diskMBpsReadWrite, detachOption, deleteOption, ) + o = new(lun, name, vhd, image, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, toBeDetached, diskIOPSReadWrite, diskMBpsReadWrite, detachOption, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type DataDisk -const _property_types_DataDisk = Dict{Symbol,String}(Symbol("lun")=>"Int64", Symbol("name")=>"String", Symbol("vhd")=>"VirtualHardDisk", Symbol("image")=>"VirtualHardDisk", Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("createOption")=>"CreateOption", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"ManagedDiskParameters", Symbol("toBeDetached")=>"Bool", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", ) +const _property_types_DataDisk = Dict{Symbol,String}(Symbol("lun")=>"Int64", Symbol("name")=>"String", Symbol("vhd")=>"VirtualHardDisk", Symbol("image")=>"VirtualHardDisk", Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("createOption")=>"CreateOption", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"ManagedDiskParameters", Symbol("toBeDetached")=>"Bool", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", Symbol("detachOption")=>"DetachOption", Symbol("deleteOption")=>"DeleteOption", ) OpenAPI.property_type(::Type{ DataDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataDisk[name]))} -function check_required(o::DataDisk) +function OpenAPI.check_required(o::DataDisk) o.lun === nothing && (return false) o.createOption === nothing && (return false) true end +function OpenAPI.validate_properties(o::DataDisk) + OpenAPI.validate_property(DataDisk, Symbol("lun"), o.lun) + OpenAPI.validate_property(DataDisk, Symbol("name"), o.name) + OpenAPI.validate_property(DataDisk, Symbol("vhd"), o.vhd) + OpenAPI.validate_property(DataDisk, Symbol("image"), o.image) + OpenAPI.validate_property(DataDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(DataDisk, Symbol("writeAcceleratorEnabled"), o.writeAcceleratorEnabled) + OpenAPI.validate_property(DataDisk, Symbol("createOption"), o.createOption) + OpenAPI.validate_property(DataDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(DataDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(DataDisk, Symbol("toBeDetached"), o.toBeDetached) + OpenAPI.validate_property(DataDisk, Symbol("diskIOPSReadWrite"), o.diskIOPSReadWrite) + OpenAPI.validate_property(DataDisk, Symbol("diskMBpsReadWrite"), o.diskMBpsReadWrite) + OpenAPI.validate_property(DataDisk, Symbol("detachOption"), o.detachOption) + OpenAPI.validate_property(DataDisk, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ DataDisk }, name::Symbol, val) + if name === Symbol("lun") OpenAPI.validate_param(name, "DataDisk", :format, val, "int32") end + + + + + + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "DataDisk", :format, val, "int32") end + + + if name === Symbol("diskIOPSReadWrite") OpenAPI.validate_param(name, "DataDisk", :format, val, "int64") end + if name === Symbol("diskMBpsReadWrite") OpenAPI.validate_param(name, "DataDisk", :format, val, "int64") end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DataDiskImage.jl b/src/Compute/ComputeManagementClient/src/models/model_DataDiskImage.jl index 9c379cd..c9f250d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DataDiskImage.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DataDiskImage.jl @@ -15,19 +15,25 @@ Base.@kwdef mutable struct DataDiskImage <: OpenAPI.APIModel lun::Union{Nothing, Int64} = nothing function DataDiskImage(lun, ) - OpenAPI.validate_property(DataDiskImage, Symbol("lun"), lun) - return new(lun, ) + o = new(lun, ) + OpenAPI.validate_properties(o) + return o end end # type DataDiskImage const _property_types_DataDiskImage = Dict{Symbol,String}(Symbol("lun")=>"Int64", ) OpenAPI.property_type(::Type{ DataDiskImage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataDiskImage[name]))} -function check_required(o::DataDiskImage) +function OpenAPI.check_required(o::DataDiskImage) true end +function OpenAPI.validate_properties(o::DataDiskImage) + OpenAPI.validate_property(DataDiskImage, Symbol("lun"), o.lun) +end + function OpenAPI.validate_property(::Type{ DataDiskImage }, name::Symbol, val) + if name === Symbol("lun") OpenAPI.validate_param(name, "DataDiskImage", :format, val, "int32") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHost.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHost.jl index a4f77f3..5c48dd0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHost.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHost.jl @@ -33,25 +33,37 @@ Base.@kwdef mutable struct DedicatedHost <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function DedicatedHost(properties, sku, id, name, type, location, tags, ) - OpenAPI.validate_property(DedicatedHost, Symbol("properties"), properties) - OpenAPI.validate_property(DedicatedHost, Symbol("sku"), sku) - OpenAPI.validate_property(DedicatedHost, Symbol("id"), id) - OpenAPI.validate_property(DedicatedHost, Symbol("name"), name) - OpenAPI.validate_property(DedicatedHost, Symbol("type"), type) - OpenAPI.validate_property(DedicatedHost, Symbol("location"), location) - OpenAPI.validate_property(DedicatedHost, Symbol("tags"), tags) - return new(properties, sku, id, name, type, location, tags, ) + o = new(properties, sku, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHost const _property_types_DedicatedHost = Dict{Symbol,String}(Symbol("properties")=>"DedicatedHostProperties", Symbol("sku")=>"Sku", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ DedicatedHost }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHost[name]))} -function check_required(o::DedicatedHost) +function OpenAPI.check_required(o::DedicatedHost) o.sku === nothing && (return false) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::DedicatedHost) + OpenAPI.validate_property(DedicatedHost, Symbol("properties"), o.properties) + OpenAPI.validate_property(DedicatedHost, Symbol("sku"), o.sku) + OpenAPI.validate_property(DedicatedHost, Symbol("id"), o.id) + OpenAPI.validate_property(DedicatedHost, Symbol("name"), o.name) + OpenAPI.validate_property(DedicatedHost, Symbol("type"), o.type) + OpenAPI.validate_property(DedicatedHost, Symbol("location"), o.location) + OpenAPI.validate_property(DedicatedHost, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ DedicatedHost }, name::Symbol, val) + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAllocatableVM.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAllocatableVM.jl index a9097f5..57f2ed3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAllocatableVM.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAllocatableVM.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct DedicatedHostAllocatableVM <: OpenAPI.APIModel count::Union{Nothing, Float64} = nothing function DedicatedHostAllocatableVM(vmSize, count, ) - OpenAPI.validate_property(DedicatedHostAllocatableVM, Symbol("vmSize"), vmSize) - OpenAPI.validate_property(DedicatedHostAllocatableVM, Symbol("count"), count) - return new(vmSize, count, ) + o = new(vmSize, count, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostAllocatableVM const _property_types_DedicatedHostAllocatableVM = Dict{Symbol,String}(Symbol("vmSize")=>"String", Symbol("count")=>"Float64", ) OpenAPI.property_type(::Type{ DedicatedHostAllocatableVM }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostAllocatableVM[name]))} -function check_required(o::DedicatedHostAllocatableVM) +function OpenAPI.check_required(o::DedicatedHostAllocatableVM) true end +function OpenAPI.validate_properties(o::DedicatedHostAllocatableVM) + OpenAPI.validate_property(DedicatedHostAllocatableVM, Symbol("vmSize"), o.vmSize) + OpenAPI.validate_property(DedicatedHostAllocatableVM, Symbol("count"), o.count) +end + function OpenAPI.validate_property(::Type{ DedicatedHostAllocatableVM }, name::Symbol, val) + + if name === Symbol("count") OpenAPI.validate_param(name, "DedicatedHostAllocatableVM", :format, val, "double") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAvailableCapacity.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAvailableCapacity.jl index f60288b..e0aaa80 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAvailableCapacity.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostAvailableCapacity.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct DedicatedHostAvailableCapacity <: OpenAPI.APIModel allocatableVMs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DedicatedHostAllocatableVM} } function DedicatedHostAvailableCapacity(allocatableVMs, ) - OpenAPI.validate_property(DedicatedHostAvailableCapacity, Symbol("allocatableVMs"), allocatableVMs) - return new(allocatableVMs, ) + o = new(allocatableVMs, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostAvailableCapacity const _property_types_DedicatedHostAvailableCapacity = Dict{Symbol,String}(Symbol("allocatableVMs")=>"Vector{DedicatedHostAllocatableVM}", ) OpenAPI.property_type(::Type{ DedicatedHostAvailableCapacity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostAvailableCapacity[name]))} -function check_required(o::DedicatedHostAvailableCapacity) +function OpenAPI.check_required(o::DedicatedHostAvailableCapacity) true end +function OpenAPI.validate_properties(o::DedicatedHostAvailableCapacity) + OpenAPI.validate_property(DedicatedHostAvailableCapacity, Symbol("allocatableVMs"), o.allocatableVMs) +end + function OpenAPI.validate_property(::Type{ DedicatedHostAvailableCapacity }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroup.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroup.jl index 3c20273..0bfe104 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroup.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroup.jl @@ -33,24 +33,36 @@ Base.@kwdef mutable struct DedicatedHostGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function DedicatedHostGroup(properties, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("properties"), properties) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("zones"), zones) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("id"), id) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("name"), name) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("type"), type) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("location"), location) - OpenAPI.validate_property(DedicatedHostGroup, Symbol("tags"), tags) - return new(properties, zones, id, name, type, location, tags, ) + o = new(properties, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostGroup const _property_types_DedicatedHostGroup = Dict{Symbol,String}(Symbol("properties")=>"DedicatedHostGroupProperties", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ DedicatedHostGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostGroup[name]))} -function check_required(o::DedicatedHostGroup) +function OpenAPI.check_required(o::DedicatedHostGroup) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::DedicatedHostGroup) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("zones"), o.zones) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("id"), o.id) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("name"), o.name) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("type"), o.type) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("location"), o.location) + OpenAPI.validate_property(DedicatedHostGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ DedicatedHostGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupInstanceView.jl index 98e46d4..52be2f0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupInstanceView.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct DedicatedHostGroupInstanceView <: OpenAPI.APIModel hosts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DedicatedHostInstanceViewWithName} } function DedicatedHostGroupInstanceView(hosts, ) - OpenAPI.validate_property(DedicatedHostGroupInstanceView, Symbol("hosts"), hosts) - return new(hosts, ) + o = new(hosts, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostGroupInstanceView const _property_types_DedicatedHostGroupInstanceView = Dict{Symbol,String}(Symbol("hosts")=>"Vector{DedicatedHostInstanceViewWithName}", ) OpenAPI.property_type(::Type{ DedicatedHostGroupInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostGroupInstanceView[name]))} -function check_required(o::DedicatedHostGroupInstanceView) +function OpenAPI.check_required(o::DedicatedHostGroupInstanceView) true end +function OpenAPI.validate_properties(o::DedicatedHostGroupInstanceView) + OpenAPI.validate_property(DedicatedHostGroupInstanceView, Symbol("hosts"), o.hosts) +end + function OpenAPI.validate_property(::Type{ DedicatedHostGroupInstanceView }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupListResult.jl index 3fa0839..abfaea9 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct DedicatedHostGroupListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function DedicatedHostGroupListResult(value, nextLink, ) - OpenAPI.validate_property(DedicatedHostGroupListResult, Symbol("value"), value) - OpenAPI.validate_property(DedicatedHostGroupListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostGroupListResult const _property_types_DedicatedHostGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{DedicatedHostGroup}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ DedicatedHostGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostGroupListResult[name]))} -function check_required(o::DedicatedHostGroupListResult) +function OpenAPI.check_required(o::DedicatedHostGroupListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::DedicatedHostGroupListResult) + OpenAPI.validate_property(DedicatedHostGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(DedicatedHostGroupListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ DedicatedHostGroupListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupProperties.jl index 35bf868..053aba7 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupProperties.jl @@ -15,7 +15,7 @@ Dedicated Host Group Properties. - platformFaultDomainCount::Int64 : Number of fault domains that the host group can span. - hosts::Vector{SubResourceReadOnly} : A list of references to all dedicated hosts in the dedicated host group. - instanceView::DedicatedHostGroupInstanceView - - supportAutomaticPlacement::Bool : Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'true' when not provided. <br><br>Minimum api-version: 2020-06-01. + - supportAutomaticPlacement::Bool : Specifies whether virtual machines or virtual machine scale sets can be placed automatically on the dedicated host group. Automatic placement means resources are allocated on dedicated hosts, that are chosen by Azure, under the dedicated host group. The value is defaulted to 'false' when not provided. <br><br>Minimum api-version: 2020-06-01. """ Base.@kwdef mutable struct DedicatedHostGroupProperties <: OpenAPI.APIModel platformFaultDomainCount::Union{Nothing, Int64} = nothing @@ -24,28 +24,36 @@ Base.@kwdef mutable struct DedicatedHostGroupProperties <: OpenAPI.APIModel supportAutomaticPlacement::Union{Nothing, Bool} = nothing function DedicatedHostGroupProperties(platformFaultDomainCount, hosts, instanceView, supportAutomaticPlacement, ) - OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("platformFaultDomainCount"), platformFaultDomainCount) - OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("hosts"), hosts) - OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("instanceView"), instanceView) - OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("supportAutomaticPlacement"), supportAutomaticPlacement) - return new(platformFaultDomainCount, hosts, instanceView, supportAutomaticPlacement, ) + o = new(platformFaultDomainCount, hosts, instanceView, supportAutomaticPlacement, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostGroupProperties const _property_types_DedicatedHostGroupProperties = Dict{Symbol,String}(Symbol("platformFaultDomainCount")=>"Int64", Symbol("hosts")=>"Vector{SubResourceReadOnly}", Symbol("instanceView")=>"DedicatedHostGroupInstanceView", Symbol("supportAutomaticPlacement")=>"Bool", ) OpenAPI.property_type(::Type{ DedicatedHostGroupProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostGroupProperties[name]))} -function check_required(o::DedicatedHostGroupProperties) +function OpenAPI.check_required(o::DedicatedHostGroupProperties) o.platformFaultDomainCount === nothing && (return false) true end +function OpenAPI.validate_properties(o::DedicatedHostGroupProperties) + OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("platformFaultDomainCount"), o.platformFaultDomainCount) + OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("hosts"), o.hosts) + OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("instanceView"), o.instanceView) + OpenAPI.validate_property(DedicatedHostGroupProperties, Symbol("supportAutomaticPlacement"), o.supportAutomaticPlacement) +end + function OpenAPI.validate_property(::Type{ DedicatedHostGroupProperties }, name::Symbol, val) + if name === Symbol("platformFaultDomainCount") OpenAPI.validate_param(name, "DedicatedHostGroupProperties", :format, val, "int32") end if name === Symbol("platformFaultDomainCount") - OpenAPI.validate_param(name, "DedicatedHostGroupProperties", :maximum, val, 3, false) OpenAPI.validate_param(name, "DedicatedHostGroupProperties", :minimum, val, 1, false) end + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupUpdate.jl index b9f3c87..4d9b75c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostGroupUpdate.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct DedicatedHostGroupUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function DedicatedHostGroupUpdate(properties, zones, tags, ) - OpenAPI.validate_property(DedicatedHostGroupUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(DedicatedHostGroupUpdate, Symbol("zones"), zones) - OpenAPI.validate_property(DedicatedHostGroupUpdate, Symbol("tags"), tags) - return new(properties, zones, tags, ) + o = new(properties, zones, tags, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostGroupUpdate const _property_types_DedicatedHostGroupUpdate = Dict{Symbol,String}(Symbol("properties")=>"DedicatedHostGroupProperties", Symbol("zones")=>"Vector{String}", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ DedicatedHostGroupUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostGroupUpdate[name]))} -function check_required(o::DedicatedHostGroupUpdate) +function OpenAPI.check_required(o::DedicatedHostGroupUpdate) true end +function OpenAPI.validate_properties(o::DedicatedHostGroupUpdate) + OpenAPI.validate_property(DedicatedHostGroupUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(DedicatedHostGroupUpdate, Symbol("zones"), o.zones) + OpenAPI.validate_property(DedicatedHostGroupUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ DedicatedHostGroupUpdate }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceView.jl index 5b65316..df66877 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceView.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct DedicatedHostInstanceView <: OpenAPI.APIModel statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function DedicatedHostInstanceView(assetId, availableCapacity, statuses, ) - OpenAPI.validate_property(DedicatedHostInstanceView, Symbol("assetId"), assetId) - OpenAPI.validate_property(DedicatedHostInstanceView, Symbol("availableCapacity"), availableCapacity) - OpenAPI.validate_property(DedicatedHostInstanceView, Symbol("statuses"), statuses) - return new(assetId, availableCapacity, statuses, ) + o = new(assetId, availableCapacity, statuses, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostInstanceView const _property_types_DedicatedHostInstanceView = Dict{Symbol,String}(Symbol("assetId")=>"String", Symbol("availableCapacity")=>"DedicatedHostAvailableCapacity", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ DedicatedHostInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostInstanceView[name]))} -function check_required(o::DedicatedHostInstanceView) +function OpenAPI.check_required(o::DedicatedHostInstanceView) true end +function OpenAPI.validate_properties(o::DedicatedHostInstanceView) + OpenAPI.validate_property(DedicatedHostInstanceView, Symbol("assetId"), o.assetId) + OpenAPI.validate_property(DedicatedHostInstanceView, Symbol("availableCapacity"), o.availableCapacity) + OpenAPI.validate_property(DedicatedHostInstanceView, Symbol("statuses"), o.statuses) +end + function OpenAPI.validate_property(::Type{ DedicatedHostInstanceView }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceViewWithName.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceViewWithName.jl index 379c477..e9f28a9 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceViewWithName.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostInstanceViewWithName.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct DedicatedHostInstanceViewWithName <: OpenAPI.APIModel statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function DedicatedHostInstanceViewWithName(name, assetId, availableCapacity, statuses, ) - OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("name"), name) - OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("assetId"), assetId) - OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("availableCapacity"), availableCapacity) - OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("statuses"), statuses) - return new(name, assetId, availableCapacity, statuses, ) + o = new(name, assetId, availableCapacity, statuses, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostInstanceViewWithName const _property_types_DedicatedHostInstanceViewWithName = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("assetId")=>"String", Symbol("availableCapacity")=>"DedicatedHostAvailableCapacity", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ DedicatedHostInstanceViewWithName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostInstanceViewWithName[name]))} -function check_required(o::DedicatedHostInstanceViewWithName) +function OpenAPI.check_required(o::DedicatedHostInstanceViewWithName) true end +function OpenAPI.validate_properties(o::DedicatedHostInstanceViewWithName) + OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("name"), o.name) + OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("assetId"), o.assetId) + OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("availableCapacity"), o.availableCapacity) + OpenAPI.validate_property(DedicatedHostInstanceViewWithName, Symbol("statuses"), o.statuses) +end + function OpenAPI.validate_property(::Type{ DedicatedHostInstanceViewWithName }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostListResult.jl index fa57492..fd85f77 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct DedicatedHostListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function DedicatedHostListResult(value, nextLink, ) - OpenAPI.validate_property(DedicatedHostListResult, Symbol("value"), value) - OpenAPI.validate_property(DedicatedHostListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostListResult const _property_types_DedicatedHostListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{DedicatedHost}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ DedicatedHostListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostListResult[name]))} -function check_required(o::DedicatedHostListResult) +function OpenAPI.check_required(o::DedicatedHostListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::DedicatedHostListResult) + OpenAPI.validate_property(DedicatedHostListResult, Symbol("value"), o.value) + OpenAPI.validate_property(DedicatedHostListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ DedicatedHostListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostProperties.jl index ab08995..5820916 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostProperties.jl @@ -14,6 +14,7 @@ Properties of the dedicated host. provisioningTime=nothing, provisioningState=nothing, instanceView=nothing, + timeCreated=nothing, ) - platformFaultDomain::Int64 : Fault domain of the dedicated host within a dedicated host group. @@ -24,6 +25,7 @@ Properties of the dedicated host. - provisioningTime::ZonedDateTime : The date when the host was first provisioned. - provisioningState::String : The provisioning state, which only appears in the response. - instanceView::DedicatedHostInstanceView + - timeCreated::ZonedDateTime : Specifies the time at which the Dedicated Host resource was created.<br><br>Minimum api-version: 2021-11-01. """ Base.@kwdef mutable struct DedicatedHostProperties <: OpenAPI.APIModel platformFaultDomain::Union{Nothing, Int64} = nothing @@ -34,36 +36,54 @@ Base.@kwdef mutable struct DedicatedHostProperties <: OpenAPI.APIModel provisioningTime::Union{Nothing, ZonedDateTime} = nothing provisioningState::Union{Nothing, String} = nothing instanceView = nothing # spec type: Union{ Nothing, DedicatedHostInstanceView } + timeCreated::Union{Nothing, ZonedDateTime} = nothing - function DedicatedHostProperties(platformFaultDomain, autoReplaceOnFailure, hostId, virtualMachines, licenseType, provisioningTime, provisioningState, instanceView, ) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("platformFaultDomain"), platformFaultDomain) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("autoReplaceOnFailure"), autoReplaceOnFailure) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("hostId"), hostId) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("virtualMachines"), virtualMachines) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("licenseType"), licenseType) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("provisioningTime"), provisioningTime) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DedicatedHostProperties, Symbol("instanceView"), instanceView) - return new(platformFaultDomain, autoReplaceOnFailure, hostId, virtualMachines, licenseType, provisioningTime, provisioningState, instanceView, ) + function DedicatedHostProperties(platformFaultDomain, autoReplaceOnFailure, hostId, virtualMachines, licenseType, provisioningTime, provisioningState, instanceView, timeCreated, ) + o = new(platformFaultDomain, autoReplaceOnFailure, hostId, virtualMachines, licenseType, provisioningTime, provisioningState, instanceView, timeCreated, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostProperties -const _property_types_DedicatedHostProperties = Dict{Symbol,String}(Symbol("platformFaultDomain")=>"Int64", Symbol("autoReplaceOnFailure")=>"Bool", Symbol("hostId")=>"String", Symbol("virtualMachines")=>"Vector{SubResourceReadOnly}", Symbol("licenseType")=>"DedicatedHostLicenseType", Symbol("provisioningTime")=>"ZonedDateTime", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"DedicatedHostInstanceView", ) +const _property_types_DedicatedHostProperties = Dict{Symbol,String}(Symbol("platformFaultDomain")=>"Int64", Symbol("autoReplaceOnFailure")=>"Bool", Symbol("hostId")=>"String", Symbol("virtualMachines")=>"Vector{SubResourceReadOnly}", Symbol("licenseType")=>"DedicatedHostLicenseType", Symbol("provisioningTime")=>"ZonedDateTime", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"DedicatedHostInstanceView", Symbol("timeCreated")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ DedicatedHostProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostProperties[name]))} -function check_required(o::DedicatedHostProperties) +function OpenAPI.check_required(o::DedicatedHostProperties) true end +function OpenAPI.validate_properties(o::DedicatedHostProperties) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("platformFaultDomain"), o.platformFaultDomain) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("autoReplaceOnFailure"), o.autoReplaceOnFailure) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("hostId"), o.hostId) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("virtualMachines"), o.virtualMachines) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("licenseType"), o.licenseType) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("provisioningTime"), o.provisioningTime) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("instanceView"), o.instanceView) + OpenAPI.validate_property(DedicatedHostProperties, Symbol("timeCreated"), o.timeCreated) +end + function OpenAPI.validate_property(::Type{ DedicatedHostProperties }, name::Symbol, val) + if name === Symbol("platformFaultDomain") OpenAPI.validate_param(name, "DedicatedHostProperties", :format, val, "int32") end if name === Symbol("platformFaultDomain") - OpenAPI.validate_param(name, "DedicatedHostProperties", :maximum, val, 2, false) OpenAPI.validate_param(name, "DedicatedHostProperties", :minimum, val, 0, false) end + + + + + if name === Symbol("provisioningTime") OpenAPI.validate_param(name, "DedicatedHostProperties", :format, val, "date-time") end + + + + if name === Symbol("timeCreated") + OpenAPI.validate_param(name, "DedicatedHostProperties", :format, val, "date-time") + end end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostUpdate.jl index efcb6d2..dd954b0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DedicatedHostUpdate.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct DedicatedHostUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function DedicatedHostUpdate(properties, tags, ) - OpenAPI.validate_property(DedicatedHostUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(DedicatedHostUpdate, Symbol("tags"), tags) - return new(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o end end # type DedicatedHostUpdate const _property_types_DedicatedHostUpdate = Dict{Symbol,String}(Symbol("properties")=>"DedicatedHostProperties", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ DedicatedHostUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DedicatedHostUpdate[name]))} -function check_required(o::DedicatedHostUpdate) +function OpenAPI.check_required(o::DedicatedHostUpdate) true end +function OpenAPI.validate_properties(o::DedicatedHostUpdate) + OpenAPI.validate_property(DedicatedHostUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(DedicatedHostUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ DedicatedHostUpdate }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DeleteOption.jl b/src/Compute/ComputeManagementClient/src/models/model_DeleteOption.jl new file mode 100644 index 0000000..d0ec2d6 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_DeleteOption.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :DeleteOption) + const DeleteOption = String +else + @warn("Skipping redefinition of DeleteOption to String") +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DetachOption.jl b/src/Compute/ComputeManagementClient/src/models/model_DetachOption.jl new file mode 100644 index 0000000..960ee87 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_DetachOption.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :DetachOption) + const DetachOption = String +else + @warn("Skipping redefinition of DetachOption to String") +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiagnosticsProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_DiagnosticsProfile.jl index e7c4c60..5a8817a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DiagnosticsProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DiagnosticsProfile.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct DiagnosticsProfile <: OpenAPI.APIModel bootDiagnostics = nothing # spec type: Union{ Nothing, BootDiagnostics } function DiagnosticsProfile(bootDiagnostics, ) - OpenAPI.validate_property(DiagnosticsProfile, Symbol("bootDiagnostics"), bootDiagnostics) - return new(bootDiagnostics, ) + o = new(bootDiagnostics, ) + OpenAPI.validate_properties(o) + return o end end # type DiagnosticsProfile const _property_types_DiagnosticsProfile = Dict{Symbol,String}(Symbol("bootDiagnostics")=>"BootDiagnostics", ) OpenAPI.property_type(::Type{ DiagnosticsProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiagnosticsProfile[name]))} -function check_required(o::DiagnosticsProfile) +function OpenAPI.check_required(o::DiagnosticsProfile) true end +function OpenAPI.validate_properties(o::DiagnosticsProfile) + OpenAPI.validate_property(DiagnosticsProfile, Symbol("bootDiagnostics"), o.bootDiagnostics) +end + function OpenAPI.validate_property(::Type{ DiagnosticsProfile }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiffDiskSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_DiffDiskSettings.jl index b75c9cd..2303412 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DiffDiskSettings.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DiffDiskSettings.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct DiffDiskSettings <: OpenAPI.APIModel placement = nothing # spec type: Union{ Nothing, DiffDiskPlacement } function DiffDiskSettings(option, placement, ) - OpenAPI.validate_property(DiffDiskSettings, Symbol("option"), option) - OpenAPI.validate_property(DiffDiskSettings, Symbol("placement"), placement) - return new(option, placement, ) + o = new(option, placement, ) + OpenAPI.validate_properties(o) + return o end end # type DiffDiskSettings const _property_types_DiffDiskSettings = Dict{Symbol,String}(Symbol("option")=>"DiffDiskOption", Symbol("placement")=>"DiffDiskPlacement", ) OpenAPI.property_type(::Type{ DiffDiskSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiffDiskSettings[name]))} -function check_required(o::DiffDiskSettings) +function OpenAPI.check_required(o::DiffDiskSettings) true end +function OpenAPI.validate_properties(o::DiffDiskSettings) + OpenAPI.validate_property(DiffDiskSettings, Symbol("option"), o.option) + OpenAPI.validate_property(DiffDiskSettings, Symbol("placement"), o.placement) +end + function OpenAPI.validate_property(::Type{ DiffDiskSettings }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DisallowedConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_DisallowedConfiguration.jl index 63dd28f..7d6557b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DisallowedConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DisallowedConfiguration.jl @@ -15,20 +15,27 @@ Base.@kwdef mutable struct DisallowedConfiguration <: OpenAPI.APIModel vmDiskType::Union{Nothing, String} = nothing function DisallowedConfiguration(vmDiskType, ) - OpenAPI.validate_property(DisallowedConfiguration, Symbol("vmDiskType"), vmDiskType) - return new(vmDiskType, ) + o = new(vmDiskType, ) + OpenAPI.validate_properties(o) + return o end end # type DisallowedConfiguration const _property_types_DisallowedConfiguration = Dict{Symbol,String}(Symbol("vmDiskType")=>"String", ) OpenAPI.property_type(::Type{ DisallowedConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DisallowedConfiguration[name]))} -function check_required(o::DisallowedConfiguration) +function OpenAPI.check_required(o::DisallowedConfiguration) true end +function OpenAPI.validate_properties(o::DisallowedConfiguration) + OpenAPI.validate_property(DisallowedConfiguration, Symbol("vmDiskType"), o.vmDiskType) +end + function OpenAPI.validate_property(::Type{ DisallowedConfiguration }, name::Symbol, val) + if name === Symbol("vmDiskType") OpenAPI.validate_param(name, "DisallowedConfiguration", :enum, val, ["None", "Unmanaged"]) end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSetParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSetParameters.jl index b39a9c4..d92020a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSetParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSetParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct DiskEncryptionSetParameters <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function DiskEncryptionSetParameters(id, ) - OpenAPI.validate_property(DiskEncryptionSetParameters, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type DiskEncryptionSetParameters const _property_types_DiskEncryptionSetParameters = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ DiskEncryptionSetParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskEncryptionSetParameters[name]))} -function check_required(o::DiskEncryptionSetParameters) +function OpenAPI.check_required(o::DiskEncryptionSetParameters) true end +function OpenAPI.validate_properties(o::DiskEncryptionSetParameters) + OpenAPI.validate_property(DiskEncryptionSetParameters, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ DiskEncryptionSetParameters }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSettings.jl index 3a7a8e5..26d0a2b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSettings.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DiskEncryptionSettings.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct DiskEncryptionSettings <: OpenAPI.APIModel enabled::Union{Nothing, Bool} = nothing function DiskEncryptionSettings(diskEncryptionKey, keyEncryptionKey, enabled, ) - OpenAPI.validate_property(DiskEncryptionSettings, Symbol("diskEncryptionKey"), diskEncryptionKey) - OpenAPI.validate_property(DiskEncryptionSettings, Symbol("keyEncryptionKey"), keyEncryptionKey) - OpenAPI.validate_property(DiskEncryptionSettings, Symbol("enabled"), enabled) - return new(diskEncryptionKey, keyEncryptionKey, enabled, ) + o = new(diskEncryptionKey, keyEncryptionKey, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type DiskEncryptionSettings const _property_types_DiskEncryptionSettings = Dict{Symbol,String}(Symbol("diskEncryptionKey")=>"KeyVaultSecretReference", Symbol("keyEncryptionKey")=>"KeyVaultKeyReference", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ DiskEncryptionSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskEncryptionSettings[name]))} -function check_required(o::DiskEncryptionSettings) +function OpenAPI.check_required(o::DiskEncryptionSettings) true end +function OpenAPI.validate_properties(o::DiskEncryptionSettings) + OpenAPI.validate_property(DiskEncryptionSettings, Symbol("diskEncryptionKey"), o.diskEncryptionKey) + OpenAPI.validate_property(DiskEncryptionSettings, Symbol("keyEncryptionKey"), o.keyEncryptionKey) + OpenAPI.validate_property(DiskEncryptionSettings, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ DiskEncryptionSettings }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiskInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_DiskInstanceView.jl index 9af5404..eee0113 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_DiskInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_DiskInstanceView.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct DiskInstanceView <: OpenAPI.APIModel statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function DiskInstanceView(name, encryptionSettings, statuses, ) - OpenAPI.validate_property(DiskInstanceView, Symbol("name"), name) - OpenAPI.validate_property(DiskInstanceView, Symbol("encryptionSettings"), encryptionSettings) - OpenAPI.validate_property(DiskInstanceView, Symbol("statuses"), statuses) - return new(name, encryptionSettings, statuses, ) + o = new(name, encryptionSettings, statuses, ) + OpenAPI.validate_properties(o) + return o end end # type DiskInstanceView const _property_types_DiskInstanceView = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("encryptionSettings")=>"Vector{DiskEncryptionSettings}", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ DiskInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskInstanceView[name]))} -function check_required(o::DiskInstanceView) +function OpenAPI.check_required(o::DiskInstanceView) true end +function OpenAPI.validate_properties(o::DiskInstanceView) + OpenAPI.validate_property(DiskInstanceView, Symbol("name"), o.name) + OpenAPI.validate_property(DiskInstanceView, Symbol("encryptionSettings"), o.encryptionSettings) + OpenAPI.validate_property(DiskInstanceView, Symbol("statuses"), o.statuses) +end + function OpenAPI.validate_property(::Type{ DiskInstanceView }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiskRestorePointInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_DiskRestorePointInstanceView.jl new file mode 100644 index 0000000..29ce826 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_DiskRestorePointInstanceView.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DiskRestorePointInstanceView +The instance view of a disk restore point. + + DiskRestorePointInstanceView(; + id=nothing, + replicationStatus=nothing, + ) + + - id::String : Disk restore point Id. + - replicationStatus::Any : The disk restore point replication status information. +""" +Base.@kwdef mutable struct DiskRestorePointInstanceView <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + replicationStatus::Union{Nothing, Any} = nothing + + function DiskRestorePointInstanceView(id, replicationStatus, ) + o = new(id, replicationStatus, ) + OpenAPI.validate_properties(o) + return o + end +end # type DiskRestorePointInstanceView + +const _property_types_DiskRestorePointInstanceView = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("replicationStatus")=>"Any", ) +OpenAPI.property_type(::Type{ DiskRestorePointInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskRestorePointInstanceView[name]))} + +function OpenAPI.check_required(o::DiskRestorePointInstanceView) + true +end + +function OpenAPI.validate_properties(o::DiskRestorePointInstanceView) + OpenAPI.validate_property(DiskRestorePointInstanceView, Symbol("id"), o.id) + OpenAPI.validate_property(DiskRestorePointInstanceView, Symbol("replicationStatus"), o.replicationStatus) +end + +function OpenAPI.validate_property(::Type{ DiskRestorePointInstanceView }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_DiskRestorePointReplicationStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_DiskRestorePointReplicationStatus.jl new file mode 100644 index 0000000..939e015 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_DiskRestorePointReplicationStatus.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DiskRestorePointReplicationStatus +The instance view of a disk restore point. + + DiskRestorePointReplicationStatus(; + status=nothing, + ) + + - status::Any : The resource status information. +""" +Base.@kwdef mutable struct DiskRestorePointReplicationStatus <: OpenAPI.APIModel + status::Union{Nothing, Any} = nothing + + function DiskRestorePointReplicationStatus(status, ) + o = new(status, ) + OpenAPI.validate_properties(o) + return o + end +end # type DiskRestorePointReplicationStatus + +const _property_types_DiskRestorePointReplicationStatus = Dict{Symbol,String}(Symbol("status")=>"Any", ) +OpenAPI.property_type(::Type{ DiskRestorePointReplicationStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskRestorePointReplicationStatus[name]))} + +function OpenAPI.check_required(o::DiskRestorePointReplicationStatus) + true +end + +function OpenAPI.validate_properties(o::DiskRestorePointReplicationStatus) + OpenAPI.validate_property(DiskRestorePointReplicationStatus, Symbol("status"), o.status) +end + +function OpenAPI.validate_property(::Type{ DiskRestorePointReplicationStatus }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ExtendedLocation.jl b/src/Compute/ComputeManagementClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..6efe5c5 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +The complex type of the extended location. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ExtendedLocationType.jl b/src/Compute/ComputeManagementClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_HardwareProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_HardwareProfile.jl index 34faec0..f88c437 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_HardwareProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_HardwareProfile.jl @@ -7,28 +7,40 @@ Specifies the hardware settings for the virtual machine. HardwareProfile(; vmSize=nothing, + vmSizeProperties=nothing, ) - - vmSize::String : Specifies the size of the virtual machine. For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-sizes?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). <br><br> The available VM sizes depend on region and availability set. For a list of available sizes use these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region](https://docs.microsoft.com/rest/api/compute/virtualmachinesizes/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes) + - vmSize::String : Specifies the size of the virtual machine. <br><br> The enum data type is currently deprecated and will be removed by December 23rd 2023. <br><br> Recommended way to get the list of available sizes is using these APIs: <br><br> [List all available virtual machine sizes in an availability set](https://docs.microsoft.com/rest/api/compute/availabilitysets/listavailablesizes) <br><br> [List all available virtual machine sizes in a region]( https://docs.microsoft.com/rest/api/compute/resourceskus/list) <br><br> [List all available virtual machine sizes for resizing](https://docs.microsoft.com/rest/api/compute/virtualmachines/listavailablesizes). For more information about virtual machine sizes, see [Sizes for virtual machines](https://docs.microsoft.com/azure/virtual-machines/sizes). <br><br> The available VM sizes depend on region and availability set. + - vmSizeProperties::VMSizeProperties """ Base.@kwdef mutable struct HardwareProfile <: OpenAPI.APIModel vmSize::Union{Nothing, String} = nothing + vmSizeProperties = nothing # spec type: Union{ Nothing, VMSizeProperties } - function HardwareProfile(vmSize, ) - OpenAPI.validate_property(HardwareProfile, Symbol("vmSize"), vmSize) - return new(vmSize, ) + function HardwareProfile(vmSize, vmSizeProperties, ) + o = new(vmSize, vmSizeProperties, ) + OpenAPI.validate_properties(o) + return o end end # type HardwareProfile -const _property_types_HardwareProfile = Dict{Symbol,String}(Symbol("vmSize")=>"String", ) +const _property_types_HardwareProfile = Dict{Symbol,String}(Symbol("vmSize")=>"String", Symbol("vmSizeProperties")=>"VMSizeProperties", ) OpenAPI.property_type(::Type{ HardwareProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HardwareProfile[name]))} -function check_required(o::HardwareProfile) +function OpenAPI.check_required(o::HardwareProfile) true end +function OpenAPI.validate_properties(o::HardwareProfile) + OpenAPI.validate_property(HardwareProfile, Symbol("vmSize"), o.vmSize) + OpenAPI.validate_property(HardwareProfile, Symbol("vmSizeProperties"), o.vmSizeProperties) +end + function OpenAPI.validate_property(::Type{ HardwareProfile }, name::Symbol, val) + if name === Symbol("vmSize") OpenAPI.validate_param(name, "HardwareProfile", :enum, val, ["Basic_A0", "Basic_A1", "Basic_A2", "Basic_A3", "Basic_A4", "Standard_A0", "Standard_A1", "Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A9", "Standard_A10", "Standard_A11", "Standard_A1_v2", "Standard_A2_v2", "Standard_A4_v2", "Standard_A8_v2", "Standard_A2m_v2", "Standard_A4m_v2", "Standard_A8m_v2", "Standard_B1s", "Standard_B1ms", "Standard_B2s", "Standard_B2ms", "Standard_B4ms", "Standard_B8ms", "Standard_D1", "Standard_D2", "Standard_D3", "Standard_D4", "Standard_D11", "Standard_D12", "Standard_D13", "Standard_D14", "Standard_D1_v2", "Standard_D2_v2", "Standard_D3_v2", "Standard_D4_v2", "Standard_D5_v2", "Standard_D2_v3", "Standard_D4_v3", "Standard_D8_v3", "Standard_D16_v3", "Standard_D32_v3", "Standard_D64_v3", "Standard_D2s_v3", "Standard_D4s_v3", "Standard_D8s_v3", "Standard_D16s_v3", "Standard_D32s_v3", "Standard_D64s_v3", "Standard_D11_v2", "Standard_D12_v2", "Standard_D13_v2", "Standard_D14_v2", "Standard_D15_v2", "Standard_DS1", "Standard_DS2", "Standard_DS3", "Standard_DS4", "Standard_DS11", "Standard_DS12", "Standard_DS13", "Standard_DS14", "Standard_DS1_v2", "Standard_DS2_v2", "Standard_DS3_v2", "Standard_DS4_v2", "Standard_DS5_v2", "Standard_DS11_v2", "Standard_DS12_v2", "Standard_DS13_v2", "Standard_DS14_v2", "Standard_DS15_v2", "Standard_DS13-4_v2", "Standard_DS13-2_v2", "Standard_DS14-8_v2", "Standard_DS14-4_v2", "Standard_E2_v3", "Standard_E4_v3", "Standard_E8_v3", "Standard_E16_v3", "Standard_E32_v3", "Standard_E64_v3", "Standard_E2s_v3", "Standard_E4s_v3", "Standard_E8s_v3", "Standard_E16s_v3", "Standard_E32s_v3", "Standard_E64s_v3", "Standard_E32-16_v3", "Standard_E32-8s_v3", "Standard_E64-32s_v3", "Standard_E64-16s_v3", "Standard_F1", "Standard_F2", "Standard_F4", "Standard_F8", "Standard_F16", "Standard_F1s", "Standard_F2s", "Standard_F4s", "Standard_F8s", "Standard_F16s", "Standard_F2s_v2", "Standard_F4s_v2", "Standard_F8s_v2", "Standard_F16s_v2", "Standard_F32s_v2", "Standard_F64s_v2", "Standard_F72s_v2", "Standard_G1", "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_GS1", "Standard_GS2", "Standard_GS3", "Standard_GS4", "Standard_GS5", "Standard_GS4-8", "Standard_GS4-4", "Standard_GS5-16", "Standard_GS5-8", "Standard_H8", "Standard_H16", "Standard_H8m", "Standard_H16m", "Standard_H16r", "Standard_H16mr", "Standard_L4s", "Standard_L8s", "Standard_L16s", "Standard_L32s", "Standard_M64s", "Standard_M64ms", "Standard_M128s", "Standard_M128ms", "Standard_M64-32ms", "Standard_M64-16ms", "Standard_M128-64ms", "Standard_M128-32ms", "Standard_NC6", "Standard_NC12", "Standard_NC24", "Standard_NC24r", "Standard_NC6s_v2", "Standard_NC12s_v2", "Standard_NC24s_v2", "Standard_NC24rs_v2", "Standard_NC6s_v3", "Standard_NC12s_v3", "Standard_NC24s_v3", "Standard_NC24rs_v3", "Standard_ND6s", "Standard_ND12s", "Standard_ND24s", "Standard_ND24rs", "Standard_NV6", "Standard_NV12", "Standard_NV24"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_Image.jl b/src/Compute/ComputeManagementClient/src/models/model_Image.jl index 3efc0b9..dfdc3ea 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_Image.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_Image.jl @@ -6,47 +6,63 @@ The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist. Image(; + properties=nothing, + extendedLocation=nothing, id=nothing, name=nothing, type=nothing, location=nothing, tags=nothing, - properties=nothing, ) + - properties::ImageProperties + - extendedLocation::ExtendedLocation - id::String : Resource Id - name::String : Resource name - type::String : Resource type - location::String : Resource location - tags::Dict{String, String} : Resource tags - - properties::ImageProperties """ Base.@kwdef mutable struct Image <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ImageProperties } + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - properties = nothing # spec type: Union{ Nothing, ImageProperties } - function Image(id, name, type, location, tags, properties, ) - OpenAPI.validate_property(Image, Symbol("id"), id) - OpenAPI.validate_property(Image, Symbol("name"), name) - OpenAPI.validate_property(Image, Symbol("type"), type) - OpenAPI.validate_property(Image, Symbol("location"), location) - OpenAPI.validate_property(Image, Symbol("tags"), tags) - OpenAPI.validate_property(Image, Symbol("properties"), properties) - return new(id, name, type, location, tags, properties, ) + function Image(properties, extendedLocation, id, name, type, location, tags, ) + o = new(properties, extendedLocation, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Image -const _property_types_Image = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"ImageProperties", ) +const _property_types_Image = Dict{Symbol,String}(Symbol("properties")=>"ImageProperties", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Image }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Image[name]))} -function check_required(o::Image) +function OpenAPI.check_required(o::Image) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::Image) + OpenAPI.validate_property(Image, Symbol("properties"), o.properties) + OpenAPI.validate_property(Image, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(Image, Symbol("id"), o.id) + OpenAPI.validate_property(Image, Symbol("name"), o.name) + OpenAPI.validate_property(Image, Symbol("type"), o.type) + OpenAPI.validate_property(Image, Symbol("location"), o.location) + OpenAPI.validate_property(Image, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Image }, name::Symbol, val) + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageAllOf.jl deleted file mode 100644 index c46fad9..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageAllOf.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""Image_allOf - - ImageAllOf(; - properties=nothing, - ) - - - properties::ImageProperties -""" -Base.@kwdef mutable struct ImageAllOf <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, ImageProperties } - - function ImageAllOf(properties, ) - OpenAPI.validate_property(ImageAllOf, Symbol("properties"), properties) - return new(properties, ) - end -end # type ImageAllOf - -const _property_types_ImageAllOf = Dict{Symbol,String}(Symbol("properties")=>"ImageProperties", ) -OpenAPI.property_type(::Type{ ImageAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageAllOf[name]))} - -function check_required(o::ImageAllOf) - true -end - -function OpenAPI.validate_property(::Type{ ImageAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageDataDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageDataDisk.jl index bad39a9..3f136c4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageDataDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageDataDisk.jl @@ -36,34 +36,48 @@ Base.@kwdef mutable struct ImageDataDisk <: OpenAPI.APIModel diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } function ImageDataDisk(lun, snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) - OpenAPI.validate_property(ImageDataDisk, Symbol("lun"), lun) - OpenAPI.validate_property(ImageDataDisk, Symbol("snapshot"), snapshot) - OpenAPI.validate_property(ImageDataDisk, Symbol("managedDisk"), managedDisk) - OpenAPI.validate_property(ImageDataDisk, Symbol("blobUri"), blobUri) - OpenAPI.validate_property(ImageDataDisk, Symbol("caching"), caching) - OpenAPI.validate_property(ImageDataDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(ImageDataDisk, Symbol("storageAccountType"), storageAccountType) - OpenAPI.validate_property(ImageDataDisk, Symbol("diskEncryptionSet"), diskEncryptionSet) - return new(lun, snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) + o = new(lun, snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) + OpenAPI.validate_properties(o) + return o end end # type ImageDataDisk const _property_types_ImageDataDisk = Dict{Symbol,String}(Symbol("lun")=>"Int64", Symbol("snapshot")=>"SubResource", Symbol("managedDisk")=>"SubResource", Symbol("blobUri")=>"String", Symbol("caching")=>"String", Symbol("diskSizeGB")=>"Int64", Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) OpenAPI.property_type(::Type{ ImageDataDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageDataDisk[name]))} -function check_required(o::ImageDataDisk) +function OpenAPI.check_required(o::ImageDataDisk) o.lun === nothing && (return false) true end +function OpenAPI.validate_properties(o::ImageDataDisk) + OpenAPI.validate_property(ImageDataDisk, Symbol("lun"), o.lun) + OpenAPI.validate_property(ImageDataDisk, Symbol("snapshot"), o.snapshot) + OpenAPI.validate_property(ImageDataDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(ImageDataDisk, Symbol("blobUri"), o.blobUri) + OpenAPI.validate_property(ImageDataDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(ImageDataDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(ImageDataDisk, Symbol("storageAccountType"), o.storageAccountType) + OpenAPI.validate_property(ImageDataDisk, Symbol("diskEncryptionSet"), o.diskEncryptionSet) +end + function OpenAPI.validate_property(::Type{ ImageDataDisk }, name::Symbol, val) + if name === Symbol("lun") OpenAPI.validate_param(name, "ImageDataDisk", :format, val, "int32") end + + + + if name === Symbol("caching") OpenAPI.validate_param(name, "ImageDataDisk", :enum, val, ["None", "ReadOnly", "ReadWrite"]) end + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "ImageDataDisk", :format, val, "int32") end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageDisk.jl index 722b827..a8c836a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageDisk.jl @@ -33,29 +33,42 @@ Base.@kwdef mutable struct ImageDisk <: OpenAPI.APIModel diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } function ImageDisk(snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) - OpenAPI.validate_property(ImageDisk, Symbol("snapshot"), snapshot) - OpenAPI.validate_property(ImageDisk, Symbol("managedDisk"), managedDisk) - OpenAPI.validate_property(ImageDisk, Symbol("blobUri"), blobUri) - OpenAPI.validate_property(ImageDisk, Symbol("caching"), caching) - OpenAPI.validate_property(ImageDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(ImageDisk, Symbol("storageAccountType"), storageAccountType) - OpenAPI.validate_property(ImageDisk, Symbol("diskEncryptionSet"), diskEncryptionSet) - return new(snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) + o = new(snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) + OpenAPI.validate_properties(o) + return o end end # type ImageDisk const _property_types_ImageDisk = Dict{Symbol,String}(Symbol("snapshot")=>"SubResource", Symbol("managedDisk")=>"SubResource", Symbol("blobUri")=>"String", Symbol("caching")=>"String", Symbol("diskSizeGB")=>"Int64", Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) OpenAPI.property_type(::Type{ ImageDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageDisk[name]))} -function check_required(o::ImageDisk) +function OpenAPI.check_required(o::ImageDisk) true end +function OpenAPI.validate_properties(o::ImageDisk) + OpenAPI.validate_property(ImageDisk, Symbol("snapshot"), o.snapshot) + OpenAPI.validate_property(ImageDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(ImageDisk, Symbol("blobUri"), o.blobUri) + OpenAPI.validate_property(ImageDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(ImageDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(ImageDisk, Symbol("storageAccountType"), o.storageAccountType) + OpenAPI.validate_property(ImageDisk, Symbol("diskEncryptionSet"), o.diskEncryptionSet) +end + function OpenAPI.validate_property(::Type{ ImageDisk }, name::Symbol, val) + + + + if name === Symbol("caching") OpenAPI.validate_param(name, "ImageDisk", :enum, val, ["None", "ReadOnly", "ReadWrite"]) end + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "ImageDisk", :format, val, "int32") end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageListResult.jl index 473fe1f..91f3992 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ImageListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ImageListResult(value, nextLink, ) - OpenAPI.validate_property(ImageListResult, Symbol("value"), value) - OpenAPI.validate_property(ImageListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ImageListResult const _property_types_ImageListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Image}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ImageListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageListResult[name]))} -function check_required(o::ImageListResult) +function OpenAPI.check_required(o::ImageListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::ImageListResult) + OpenAPI.validate_property(ImageListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ImageListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ImageListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageOSDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageOSDisk.jl index 1f93993..a0125e3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageOSDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageOSDisk.jl @@ -39,39 +39,56 @@ Base.@kwdef mutable struct ImageOSDisk <: OpenAPI.APIModel diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } function ImageOSDisk(osType, osState, snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) - OpenAPI.validate_property(ImageOSDisk, Symbol("osType"), osType) - OpenAPI.validate_property(ImageOSDisk, Symbol("osState"), osState) - OpenAPI.validate_property(ImageOSDisk, Symbol("snapshot"), snapshot) - OpenAPI.validate_property(ImageOSDisk, Symbol("managedDisk"), managedDisk) - OpenAPI.validate_property(ImageOSDisk, Symbol("blobUri"), blobUri) - OpenAPI.validate_property(ImageOSDisk, Symbol("caching"), caching) - OpenAPI.validate_property(ImageOSDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(ImageOSDisk, Symbol("storageAccountType"), storageAccountType) - OpenAPI.validate_property(ImageOSDisk, Symbol("diskEncryptionSet"), diskEncryptionSet) - return new(osType, osState, snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) + o = new(osType, osState, snapshot, managedDisk, blobUri, caching, diskSizeGB, storageAccountType, diskEncryptionSet, ) + OpenAPI.validate_properties(o) + return o end end # type ImageOSDisk const _property_types_ImageOSDisk = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("osState")=>"String", Symbol("snapshot")=>"SubResource", Symbol("managedDisk")=>"SubResource", Symbol("blobUri")=>"String", Symbol("caching")=>"String", Symbol("diskSizeGB")=>"Int64", Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) OpenAPI.property_type(::Type{ ImageOSDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageOSDisk[name]))} -function check_required(o::ImageOSDisk) +function OpenAPI.check_required(o::ImageOSDisk) o.osType === nothing && (return false) o.osState === nothing && (return false) true end +function OpenAPI.validate_properties(o::ImageOSDisk) + OpenAPI.validate_property(ImageOSDisk, Symbol("osType"), o.osType) + OpenAPI.validate_property(ImageOSDisk, Symbol("osState"), o.osState) + OpenAPI.validate_property(ImageOSDisk, Symbol("snapshot"), o.snapshot) + OpenAPI.validate_property(ImageOSDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(ImageOSDisk, Symbol("blobUri"), o.blobUri) + OpenAPI.validate_property(ImageOSDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(ImageOSDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(ImageOSDisk, Symbol("storageAccountType"), o.storageAccountType) + OpenAPI.validate_property(ImageOSDisk, Symbol("diskEncryptionSet"), o.diskEncryptionSet) +end + function OpenAPI.validate_property(::Type{ ImageOSDisk }, name::Symbol, val) + if name === Symbol("osType") OpenAPI.validate_param(name, "ImageOSDisk", :enum, val, ["Windows", "Linux"]) end + + if name === Symbol("osState") OpenAPI.validate_param(name, "ImageOSDisk", :enum, val, ["Generalized", "Specialized"]) end + + + + + if name === Symbol("caching") OpenAPI.validate_param(name, "ImageOSDisk", :enum, val, ["None", "ReadOnly", "ReadWrite"]) end + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "ImageOSDisk", :format, val, "int32") end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageProperties.jl index d33662c..5744345 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageProperties.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ImageProperties <: OpenAPI.APIModel hyperVGeneration = nothing # spec type: Union{ Nothing, HyperVGenerationType } function ImageProperties(sourceVirtualMachine, storageProfile, provisioningState, hyperVGeneration, ) - OpenAPI.validate_property(ImageProperties, Symbol("sourceVirtualMachine"), sourceVirtualMachine) - OpenAPI.validate_property(ImageProperties, Symbol("storageProfile"), storageProfile) - OpenAPI.validate_property(ImageProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ImageProperties, Symbol("hyperVGeneration"), hyperVGeneration) - return new(sourceVirtualMachine, storageProfile, provisioningState, hyperVGeneration, ) + o = new(sourceVirtualMachine, storageProfile, provisioningState, hyperVGeneration, ) + OpenAPI.validate_properties(o) + return o end end # type ImageProperties const _property_types_ImageProperties = Dict{Symbol,String}(Symbol("sourceVirtualMachine")=>"SubResource", Symbol("storageProfile")=>"ImageStorageProfile", Symbol("provisioningState")=>"String", Symbol("hyperVGeneration")=>"HyperVGenerationType", ) OpenAPI.property_type(::Type{ ImageProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageProperties[name]))} -function check_required(o::ImageProperties) +function OpenAPI.check_required(o::ImageProperties) true end +function OpenAPI.validate_properties(o::ImageProperties) + OpenAPI.validate_property(ImageProperties, Symbol("sourceVirtualMachine"), o.sourceVirtualMachine) + OpenAPI.validate_property(ImageProperties, Symbol("storageProfile"), o.storageProfile) + OpenAPI.validate_property(ImageProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ImageProperties, Symbol("hyperVGeneration"), o.hyperVGeneration) +end + function OpenAPI.validate_property(::Type{ ImageProperties }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageReference.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageReference.jl index 871ec5c..a56d0a6 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageReference.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageReference.jl @@ -6,46 +6,67 @@ Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set. ImageReference(; - id=nothing, publisher=nothing, offer=nothing, sku=nothing, version=nothing, exactVersion=nothing, + sharedGalleryImageId=nothing, + communityGalleryImageId=nothing, + id=nothing, ) - - id::String : Resource Id - publisher::String : The image publisher. - offer::String : Specifies the offer of the platform image or marketplace image used to create the virtual machine. - sku::String : The image SKU. - - version::String : Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. + - version::String : Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input. - exactVersion::String : Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. + - sharedGalleryImageId::String : Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call. + - communityGalleryImageId::String : Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call. + - id::String : Resource Id """ Base.@kwdef mutable struct ImageReference <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing publisher::Union{Nothing, String} = nothing offer::Union{Nothing, String} = nothing sku::Union{Nothing, String} = nothing version::Union{Nothing, String} = nothing exactVersion::Union{Nothing, String} = nothing + sharedGalleryImageId::Union{Nothing, String} = nothing + communityGalleryImageId::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing - function ImageReference(id, publisher, offer, sku, version, exactVersion, ) - OpenAPI.validate_property(ImageReference, Symbol("id"), id) - OpenAPI.validate_property(ImageReference, Symbol("publisher"), publisher) - OpenAPI.validate_property(ImageReference, Symbol("offer"), offer) - OpenAPI.validate_property(ImageReference, Symbol("sku"), sku) - OpenAPI.validate_property(ImageReference, Symbol("version"), version) - OpenAPI.validate_property(ImageReference, Symbol("exactVersion"), exactVersion) - return new(id, publisher, offer, sku, version, exactVersion, ) + function ImageReference(publisher, offer, sku, version, exactVersion, sharedGalleryImageId, communityGalleryImageId, id, ) + o = new(publisher, offer, sku, version, exactVersion, sharedGalleryImageId, communityGalleryImageId, id, ) + OpenAPI.validate_properties(o) + return o end end # type ImageReference -const _property_types_ImageReference = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("publisher")=>"String", Symbol("offer")=>"String", Symbol("sku")=>"String", Symbol("version")=>"String", Symbol("exactVersion")=>"String", ) +const _property_types_ImageReference = Dict{Symbol,String}(Symbol("publisher")=>"String", Symbol("offer")=>"String", Symbol("sku")=>"String", Symbol("version")=>"String", Symbol("exactVersion")=>"String", Symbol("sharedGalleryImageId")=>"String", Symbol("communityGalleryImageId")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ImageReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageReference[name]))} -function check_required(o::ImageReference) +function OpenAPI.check_required(o::ImageReference) true end +function OpenAPI.validate_properties(o::ImageReference) + OpenAPI.validate_property(ImageReference, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(ImageReference, Symbol("offer"), o.offer) + OpenAPI.validate_property(ImageReference, Symbol("sku"), o.sku) + OpenAPI.validate_property(ImageReference, Symbol("version"), o.version) + OpenAPI.validate_property(ImageReference, Symbol("exactVersion"), o.exactVersion) + OpenAPI.validate_property(ImageReference, Symbol("sharedGalleryImageId"), o.sharedGalleryImageId) + OpenAPI.validate_property(ImageReference, Symbol("communityGalleryImageId"), o.communityGalleryImageId) + OpenAPI.validate_property(ImageReference, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ImageReference }, name::Symbol, val) + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageReferenceAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageReferenceAllOf.jl deleted file mode 100644 index 1bd4a24..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageReferenceAllOf.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ImageReference_allOf - - ImageReferenceAllOf(; - publisher=nothing, - offer=nothing, - sku=nothing, - version=nothing, - exactVersion=nothing, - ) - - - publisher::String : The image publisher. - - offer::String : Specifies the offer of the platform image or marketplace image used to create the virtual machine. - - sku::String : The image SKU. - - version::String : Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. - - exactVersion::String : Specifies in decimal numbers, the version of platform image or marketplace image used to create the virtual machine. This readonly field differs from 'version', only if the value specified in 'version' field is 'latest'. -""" -Base.@kwdef mutable struct ImageReferenceAllOf <: OpenAPI.APIModel - publisher::Union{Nothing, String} = nothing - offer::Union{Nothing, String} = nothing - sku::Union{Nothing, String} = nothing - version::Union{Nothing, String} = nothing - exactVersion::Union{Nothing, String} = nothing - - function ImageReferenceAllOf(publisher, offer, sku, version, exactVersion, ) - OpenAPI.validate_property(ImageReferenceAllOf, Symbol("publisher"), publisher) - OpenAPI.validate_property(ImageReferenceAllOf, Symbol("offer"), offer) - OpenAPI.validate_property(ImageReferenceAllOf, Symbol("sku"), sku) - OpenAPI.validate_property(ImageReferenceAllOf, Symbol("version"), version) - OpenAPI.validate_property(ImageReferenceAllOf, Symbol("exactVersion"), exactVersion) - return new(publisher, offer, sku, version, exactVersion, ) - end -end # type ImageReferenceAllOf - -const _property_types_ImageReferenceAllOf = Dict{Symbol,String}(Symbol("publisher")=>"String", Symbol("offer")=>"String", Symbol("sku")=>"String", Symbol("version")=>"String", Symbol("exactVersion")=>"String", ) -OpenAPI.property_type(::Type{ ImageReferenceAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageReferenceAllOf[name]))} - -function check_required(o::ImageReferenceAllOf) - true -end - -function OpenAPI.validate_property(::Type{ ImageReferenceAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageStorageProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageStorageProfile.jl index d9f52cb..8784692 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageStorageProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageStorageProfile.jl @@ -12,7 +12,7 @@ Describes a storage profile. ) - osDisk::ImageOSDisk - - dataDisks::Vector{ImageDataDisk} : Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). + - dataDisks::Vector{ImageDataDisk} : Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). - zoneResilient::Bool : Specifies whether an image is zone resilient or not. Default is false. Zone resilient images can be created only in regions that provide Zone Redundant Storage (ZRS). """ Base.@kwdef mutable struct ImageStorageProfile <: OpenAPI.APIModel @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ImageStorageProfile <: OpenAPI.APIModel zoneResilient::Union{Nothing, Bool} = nothing function ImageStorageProfile(osDisk, dataDisks, zoneResilient, ) - OpenAPI.validate_property(ImageStorageProfile, Symbol("osDisk"), osDisk) - OpenAPI.validate_property(ImageStorageProfile, Symbol("dataDisks"), dataDisks) - OpenAPI.validate_property(ImageStorageProfile, Symbol("zoneResilient"), zoneResilient) - return new(osDisk, dataDisks, zoneResilient, ) + o = new(osDisk, dataDisks, zoneResilient, ) + OpenAPI.validate_properties(o) + return o end end # type ImageStorageProfile const _property_types_ImageStorageProfile = Dict{Symbol,String}(Symbol("osDisk")=>"ImageOSDisk", Symbol("dataDisks")=>"Vector{ImageDataDisk}", Symbol("zoneResilient")=>"Bool", ) OpenAPI.property_type(::Type{ ImageStorageProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageStorageProfile[name]))} -function check_required(o::ImageStorageProfile) +function OpenAPI.check_required(o::ImageStorageProfile) true end +function OpenAPI.validate_properties(o::ImageStorageProfile) + OpenAPI.validate_property(ImageStorageProfile, Symbol("osDisk"), o.osDisk) + OpenAPI.validate_property(ImageStorageProfile, Symbol("dataDisks"), o.dataDisks) + OpenAPI.validate_property(ImageStorageProfile, Symbol("zoneResilient"), o.zoneResilient) +end + function OpenAPI.validate_property(::Type{ ImageStorageProfile }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ImageUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_ImageUpdate.jl index 8966ee7..36182b2 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ImageUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ImageUpdate.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ImageUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ImageUpdate(properties, tags, ) - OpenAPI.validate_property(ImageUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(ImageUpdate, Symbol("tags"), tags) - return new(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ImageUpdate const _property_types_ImageUpdate = Dict{Symbol,String}(Symbol("properties")=>"ImageProperties", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ImageUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageUpdate[name]))} -function check_required(o::ImageUpdate) +function OpenAPI.check_required(o::ImageUpdate) true end +function OpenAPI.validate_properties(o::ImageUpdate) + OpenAPI.validate_property(ImageUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(ImageUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ImageUpdate }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_InnerError.jl b/src/Compute/ComputeManagementClient/src/models/model_InnerError.jl index b04a19e..fd61f9a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_InnerError.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_InnerError.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct InnerError <: OpenAPI.APIModel errordetail::Union{Nothing, String} = nothing function InnerError(exceptiontype, errordetail, ) - OpenAPI.validate_property(InnerError, Symbol("exceptiontype"), exceptiontype) - OpenAPI.validate_property(InnerError, Symbol("errordetail"), errordetail) - return new(exceptiontype, errordetail, ) + o = new(exceptiontype, errordetail, ) + OpenAPI.validate_properties(o) + return o end end # type InnerError const _property_types_InnerError = Dict{Symbol,String}(Symbol("exceptiontype")=>"String", Symbol("errordetail")=>"String", ) OpenAPI.property_type(::Type{ InnerError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InnerError[name]))} -function check_required(o::InnerError) +function OpenAPI.check_required(o::InnerError) true end +function OpenAPI.validate_properties(o::InnerError) + OpenAPI.validate_property(InnerError, Symbol("exceptiontype"), o.exceptiontype) + OpenAPI.validate_property(InnerError, Symbol("errordetail"), o.errordetail) +end + function OpenAPI.validate_property(::Type{ InnerError }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_InstanceViewStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_InstanceViewStatus.jl index d2021f9..8bee3f4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_InstanceViewStatus.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_InstanceViewStatus.jl @@ -27,26 +27,37 @@ Base.@kwdef mutable struct InstanceViewStatus <: OpenAPI.APIModel time::Union{Nothing, ZonedDateTime} = nothing function InstanceViewStatus(code, level, displayStatus, message, time, ) - OpenAPI.validate_property(InstanceViewStatus, Symbol("code"), code) - OpenAPI.validate_property(InstanceViewStatus, Symbol("level"), level) - OpenAPI.validate_property(InstanceViewStatus, Symbol("displayStatus"), displayStatus) - OpenAPI.validate_property(InstanceViewStatus, Symbol("message"), message) - OpenAPI.validate_property(InstanceViewStatus, Symbol("time"), time) - return new(code, level, displayStatus, message, time, ) + o = new(code, level, displayStatus, message, time, ) + OpenAPI.validate_properties(o) + return o end end # type InstanceViewStatus const _property_types_InstanceViewStatus = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("level")=>"String", Symbol("displayStatus")=>"String", Symbol("message")=>"String", Symbol("time")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ InstanceViewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InstanceViewStatus[name]))} -function check_required(o::InstanceViewStatus) +function OpenAPI.check_required(o::InstanceViewStatus) true end +function OpenAPI.validate_properties(o::InstanceViewStatus) + OpenAPI.validate_property(InstanceViewStatus, Symbol("code"), o.code) + OpenAPI.validate_property(InstanceViewStatus, Symbol("level"), o.level) + OpenAPI.validate_property(InstanceViewStatus, Symbol("displayStatus"), o.displayStatus) + OpenAPI.validate_property(InstanceViewStatus, Symbol("message"), o.message) + OpenAPI.validate_property(InstanceViewStatus, Symbol("time"), o.time) +end + function OpenAPI.validate_property(::Type{ InstanceViewStatus }, name::Symbol, val) + + if name === Symbol("level") OpenAPI.validate_param(name, "InstanceViewStatus", :enum, val, ["Info", "Warning", "Error"]) end + + + + if name === Symbol("time") OpenAPI.validate_param(name, "InstanceViewStatus", :format, val, "date-time") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_KeyVaultKeyReference.jl b/src/Compute/ComputeManagementClient/src/models/model_KeyVaultKeyReference.jl index 0ea5f96..f374b0c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_KeyVaultKeyReference.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_KeyVaultKeyReference.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct KeyVaultKeyReference <: OpenAPI.APIModel sourceVault = nothing # spec type: Union{ Nothing, SubResource } function KeyVaultKeyReference(keyUrl, sourceVault, ) - OpenAPI.validate_property(KeyVaultKeyReference, Symbol("keyUrl"), keyUrl) - OpenAPI.validate_property(KeyVaultKeyReference, Symbol("sourceVault"), sourceVault) - return new(keyUrl, sourceVault, ) + o = new(keyUrl, sourceVault, ) + OpenAPI.validate_properties(o) + return o end end # type KeyVaultKeyReference const _property_types_KeyVaultKeyReference = Dict{Symbol,String}(Symbol("keyUrl")=>"String", Symbol("sourceVault")=>"SubResource", ) OpenAPI.property_type(::Type{ KeyVaultKeyReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyVaultKeyReference[name]))} -function check_required(o::KeyVaultKeyReference) +function OpenAPI.check_required(o::KeyVaultKeyReference) o.keyUrl === nothing && (return false) o.sourceVault === nothing && (return false) true end +function OpenAPI.validate_properties(o::KeyVaultKeyReference) + OpenAPI.validate_property(KeyVaultKeyReference, Symbol("keyUrl"), o.keyUrl) + OpenAPI.validate_property(KeyVaultKeyReference, Symbol("sourceVault"), o.sourceVault) +end + function OpenAPI.validate_property(::Type{ KeyVaultKeyReference }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_KeyVaultSecretReference.jl b/src/Compute/ComputeManagementClient/src/models/model_KeyVaultSecretReference.jl index 8194bb3..2217f0a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_KeyVaultSecretReference.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_KeyVaultSecretReference.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct KeyVaultSecretReference <: OpenAPI.APIModel sourceVault = nothing # spec type: Union{ Nothing, SubResource } function KeyVaultSecretReference(secretUrl, sourceVault, ) - OpenAPI.validate_property(KeyVaultSecretReference, Symbol("secretUrl"), secretUrl) - OpenAPI.validate_property(KeyVaultSecretReference, Symbol("sourceVault"), sourceVault) - return new(secretUrl, sourceVault, ) + o = new(secretUrl, sourceVault, ) + OpenAPI.validate_properties(o) + return o end end # type KeyVaultSecretReference const _property_types_KeyVaultSecretReference = Dict{Symbol,String}(Symbol("secretUrl")=>"String", Symbol("sourceVault")=>"SubResource", ) OpenAPI.property_type(::Type{ KeyVaultSecretReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyVaultSecretReference[name]))} -function check_required(o::KeyVaultSecretReference) +function OpenAPI.check_required(o::KeyVaultSecretReference) o.secretUrl === nothing && (return false) o.sourceVault === nothing && (return false) true end +function OpenAPI.validate_properties(o::KeyVaultSecretReference) + OpenAPI.validate_property(KeyVaultSecretReference, Symbol("secretUrl"), o.secretUrl) + OpenAPI.validate_property(KeyVaultSecretReference, Symbol("sourceVault"), o.sourceVault) +end + function OpenAPI.validate_property(::Type{ KeyVaultSecretReference }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LastPatchInstallationSummary.jl b/src/Compute/ComputeManagementClient/src/models/model_LastPatchInstallationSummary.jl new file mode 100644 index 0000000..ee9681a --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_LastPatchInstallationSummary.jl @@ -0,0 +1,112 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LastPatchInstallationSummary +Describes the properties of the last installed patch summary. + + LastPatchInstallationSummary(; + status=nothing, + installationActivityId=nothing, + maintenanceWindowExceeded=nothing, + notSelectedPatchCount=nothing, + excludedPatchCount=nothing, + pendingPatchCount=nothing, + installedPatchCount=nothing, + failedPatchCount=nothing, + startTime=nothing, + lastModifiedTime=nothing, + error=nothing, + ) + + - status::String : The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" + - installationActivityId::String : The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + - maintenanceWindowExceeded::Bool : Describes whether the operation ran out of time before it completed all its intended actions + - notSelectedPatchCount::Int64 : The number of all available patches but not going to be installed because it didn't match a classification or inclusion list entry. + - excludedPatchCount::Int64 : The number of all available patches but excluded explicitly by a customer-specified exclusion list match. + - pendingPatchCount::Int64 : The number of all available patches expected to be installed over the course of the patch installation operation. + - installedPatchCount::Int64 : The count of patches that successfully installed. + - failedPatchCount::Int64 : The count of patches that failed installation. + - startTime::ZonedDateTime : The UTC timestamp when the operation began. + - lastModifiedTime::ZonedDateTime : The UTC timestamp when the operation began. + - error::ApiError +""" +Base.@kwdef mutable struct LastPatchInstallationSummary <: OpenAPI.APIModel + status::Union{Nothing, String} = nothing + installationActivityId::Union{Nothing, String} = nothing + maintenanceWindowExceeded::Union{Nothing, Bool} = nothing + notSelectedPatchCount::Union{Nothing, Int64} = nothing + excludedPatchCount::Union{Nothing, Int64} = nothing + pendingPatchCount::Union{Nothing, Int64} = nothing + installedPatchCount::Union{Nothing, Int64} = nothing + failedPatchCount::Union{Nothing, Int64} = nothing + startTime::Union{Nothing, ZonedDateTime} = nothing + lastModifiedTime::Union{Nothing, ZonedDateTime} = nothing + error = nothing # spec type: Union{ Nothing, ApiError } + + function LastPatchInstallationSummary(status, installationActivityId, maintenanceWindowExceeded, notSelectedPatchCount, excludedPatchCount, pendingPatchCount, installedPatchCount, failedPatchCount, startTime, lastModifiedTime, error, ) + o = new(status, installationActivityId, maintenanceWindowExceeded, notSelectedPatchCount, excludedPatchCount, pendingPatchCount, installedPatchCount, failedPatchCount, startTime, lastModifiedTime, error, ) + OpenAPI.validate_properties(o) + return o + end +end # type LastPatchInstallationSummary + +const _property_types_LastPatchInstallationSummary = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("installationActivityId")=>"String", Symbol("maintenanceWindowExceeded")=>"Bool", Symbol("notSelectedPatchCount")=>"Int64", Symbol("excludedPatchCount")=>"Int64", Symbol("pendingPatchCount")=>"Int64", Symbol("installedPatchCount")=>"Int64", Symbol("failedPatchCount")=>"Int64", Symbol("startTime")=>"ZonedDateTime", Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("error")=>"ApiError", ) +OpenAPI.property_type(::Type{ LastPatchInstallationSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LastPatchInstallationSummary[name]))} + +function OpenAPI.check_required(o::LastPatchInstallationSummary) + true +end + +function OpenAPI.validate_properties(o::LastPatchInstallationSummary) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("status"), o.status) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("installationActivityId"), o.installationActivityId) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("maintenanceWindowExceeded"), o.maintenanceWindowExceeded) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("notSelectedPatchCount"), o.notSelectedPatchCount) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("excludedPatchCount"), o.excludedPatchCount) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("pendingPatchCount"), o.pendingPatchCount) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("installedPatchCount"), o.installedPatchCount) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("failedPatchCount"), o.failedPatchCount) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(LastPatchInstallationSummary, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ LastPatchInstallationSummary }, name::Symbol, val) + + if name === Symbol("status") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :enum, val, ["Unknown", "InProgress", "Failed", "Succeeded", "CompletedWithWarnings"]) + end + + + + + if name === Symbol("notSelectedPatchCount") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "int32") + end + + if name === Symbol("excludedPatchCount") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "int32") + end + + if name === Symbol("pendingPatchCount") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "int32") + end + + if name === Symbol("installedPatchCount") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "int32") + end + + if name === Symbol("failedPatchCount") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "int32") + end + + if name === Symbol("startTime") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "date-time") + end + + if name === Symbol("lastModifiedTime") + OpenAPI.validate_param(name, "LastPatchInstallationSummary", :format, val, "date-time") + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LinuxConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_LinuxConfiguration.jl index 907c118..5672bed 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_LinuxConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_LinuxConfiguration.jl @@ -3,37 +3,50 @@ @doc raw"""LinuxConfiguration -Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-endorsed-distros?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) <br><br> For running non-endorsed distributions, see [Information for Non-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-create-upload-generic?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). +Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). LinuxConfiguration(; disablePasswordAuthentication=nothing, ssh=nothing, provisionVMAgent=nothing, + patchSettings=nothing, ) - disablePasswordAuthentication::Bool : Specifies whether password authentication should be disabled. - ssh::SshConfiguration - provisionVMAgent::Bool : Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + - patchSettings::LinuxPatchSettings """ Base.@kwdef mutable struct LinuxConfiguration <: OpenAPI.APIModel disablePasswordAuthentication::Union{Nothing, Bool} = nothing ssh = nothing # spec type: Union{ Nothing, SshConfiguration } provisionVMAgent::Union{Nothing, Bool} = nothing + patchSettings = nothing # spec type: Union{ Nothing, LinuxPatchSettings } - function LinuxConfiguration(disablePasswordAuthentication, ssh, provisionVMAgent, ) - OpenAPI.validate_property(LinuxConfiguration, Symbol("disablePasswordAuthentication"), disablePasswordAuthentication) - OpenAPI.validate_property(LinuxConfiguration, Symbol("ssh"), ssh) - OpenAPI.validate_property(LinuxConfiguration, Symbol("provisionVMAgent"), provisionVMAgent) - return new(disablePasswordAuthentication, ssh, provisionVMAgent, ) + function LinuxConfiguration(disablePasswordAuthentication, ssh, provisionVMAgent, patchSettings, ) + o = new(disablePasswordAuthentication, ssh, provisionVMAgent, patchSettings, ) + OpenAPI.validate_properties(o) + return o end end # type LinuxConfiguration -const _property_types_LinuxConfiguration = Dict{Symbol,String}(Symbol("disablePasswordAuthentication")=>"Bool", Symbol("ssh")=>"SshConfiguration", Symbol("provisionVMAgent")=>"Bool", ) +const _property_types_LinuxConfiguration = Dict{Symbol,String}(Symbol("disablePasswordAuthentication")=>"Bool", Symbol("ssh")=>"SshConfiguration", Symbol("provisionVMAgent")=>"Bool", Symbol("patchSettings")=>"LinuxPatchSettings", ) OpenAPI.property_type(::Type{ LinuxConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LinuxConfiguration[name]))} -function check_required(o::LinuxConfiguration) +function OpenAPI.check_required(o::LinuxConfiguration) true end +function OpenAPI.validate_properties(o::LinuxConfiguration) + OpenAPI.validate_property(LinuxConfiguration, Symbol("disablePasswordAuthentication"), o.disablePasswordAuthentication) + OpenAPI.validate_property(LinuxConfiguration, Symbol("ssh"), o.ssh) + OpenAPI.validate_property(LinuxConfiguration, Symbol("provisionVMAgent"), o.provisionVMAgent) + OpenAPI.validate_property(LinuxConfiguration, Symbol("patchSettings"), o.patchSettings) +end + function OpenAPI.validate_property(::Type{ LinuxConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LinuxParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_LinuxParameters.jl new file mode 100644 index 0000000..f06fccd --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_LinuxParameters.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LinuxParameters +Input for InstallPatches on a Linux VM, as directly received by the API + + LinuxParameters(; + classificationsToInclude=nothing, + packageNameMasksToInclude=nothing, + packageNameMasksToExclude=nothing, + maintenanceRunId=nothing, + ) + + - classificationsToInclude::Vector{String} : The update classifications to select when installing patches for Linux. + - packageNameMasksToInclude::Vector{String} : packages to include in the patch operation. Format: packageName_packageVersion + - packageNameMasksToExclude::Vector{String} : packages to exclude in the patch operation. Format: packageName_packageVersion + - maintenanceRunId::String : This is used as a maintenance run identifier for Auto VM Guest Patching in Linux. +""" +Base.@kwdef mutable struct LinuxParameters <: OpenAPI.APIModel + classificationsToInclude::Union{Nothing, Vector{String}} = nothing + packageNameMasksToInclude::Union{Nothing, Vector{String}} = nothing + packageNameMasksToExclude::Union{Nothing, Vector{String}} = nothing + maintenanceRunId::Union{Nothing, String} = nothing + + function LinuxParameters(classificationsToInclude, packageNameMasksToInclude, packageNameMasksToExclude, maintenanceRunId, ) + o = new(classificationsToInclude, packageNameMasksToInclude, packageNameMasksToExclude, maintenanceRunId, ) + OpenAPI.validate_properties(o) + return o + end +end # type LinuxParameters + +const _property_types_LinuxParameters = Dict{Symbol,String}(Symbol("classificationsToInclude")=>"Vector{String}", Symbol("packageNameMasksToInclude")=>"Vector{String}", Symbol("packageNameMasksToExclude")=>"Vector{String}", Symbol("maintenanceRunId")=>"String", ) +OpenAPI.property_type(::Type{ LinuxParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LinuxParameters[name]))} + +function OpenAPI.check_required(o::LinuxParameters) + true +end + +function OpenAPI.validate_properties(o::LinuxParameters) + OpenAPI.validate_property(LinuxParameters, Symbol("classificationsToInclude"), o.classificationsToInclude) + OpenAPI.validate_property(LinuxParameters, Symbol("packageNameMasksToInclude"), o.packageNameMasksToInclude) + OpenAPI.validate_property(LinuxParameters, Symbol("packageNameMasksToExclude"), o.packageNameMasksToExclude) + OpenAPI.validate_property(LinuxParameters, Symbol("maintenanceRunId"), o.maintenanceRunId) +end + +function OpenAPI.validate_property(::Type{ LinuxParameters }, name::Symbol, val) + + if name === Symbol("classificationsToInclude") + OpenAPI.validate_param(name, "LinuxParameters", :enum, val, ["Critical", "Security", "Other"]) + end + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LinuxPatchSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_LinuxPatchSettings.jl new file mode 100644 index 0000000..09ab508 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_LinuxPatchSettings.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LinuxPatchSettings +Specifies settings related to VM Guest Patching on Linux. + + LinuxPatchSettings(; + patchMode=nothing, + assessmentMode=nothing, + ) + + - patchMode::String : Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - The virtual machine's default patching configuration is used. <br /><br /> **AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true + - assessmentMode::String : Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine. <br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. +""" +Base.@kwdef mutable struct LinuxPatchSettings <: OpenAPI.APIModel + patchMode::Union{Nothing, String} = nothing + assessmentMode::Union{Nothing, String} = nothing + + function LinuxPatchSettings(patchMode, assessmentMode, ) + o = new(patchMode, assessmentMode, ) + OpenAPI.validate_properties(o) + return o + end +end # type LinuxPatchSettings + +const _property_types_LinuxPatchSettings = Dict{Symbol,String}(Symbol("patchMode")=>"String", Symbol("assessmentMode")=>"String", ) +OpenAPI.property_type(::Type{ LinuxPatchSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LinuxPatchSettings[name]))} + +function OpenAPI.check_required(o::LinuxPatchSettings) + true +end + +function OpenAPI.validate_properties(o::LinuxPatchSettings) + OpenAPI.validate_property(LinuxPatchSettings, Symbol("patchMode"), o.patchMode) + OpenAPI.validate_property(LinuxPatchSettings, Symbol("assessmentMode"), o.assessmentMode) +end + +function OpenAPI.validate_property(::Type{ LinuxPatchSettings }, name::Symbol, val) + + if name === Symbol("patchMode") + OpenAPI.validate_param(name, "LinuxPatchSettings", :enum, val, ["ImageDefault", "AutomaticByPlatform"]) + end + + + if name === Symbol("assessmentMode") + OpenAPI.validate_param(name, "LinuxPatchSettings", :enum, val, ["ImageDefault", "AutomaticByPlatform"]) + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ListUsagesResult.jl b/src/Compute/ComputeManagementClient/src/models/model_ListUsagesResult.jl index 6563fe0..fd6a937 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ListUsagesResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ListUsagesResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ListUsagesResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ListUsagesResult(value, nextLink, ) - OpenAPI.validate_property(ListUsagesResult, Symbol("value"), value) - OpenAPI.validate_property(ListUsagesResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ListUsagesResult const _property_types_ListUsagesResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Usage}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ListUsagesResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ListUsagesResult[name]))} -function check_required(o::ListUsagesResult) +function OpenAPI.check_required(o::ListUsagesResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::ListUsagesResult) + OpenAPI.validate_property(ListUsagesResult, Symbol("value"), o.value) + OpenAPI.validate_property(ListUsagesResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ListUsagesResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsInputBase.jl b/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsInputBase.jl index 4d0f4a3..4d08343 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsInputBase.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsInputBase.jl @@ -12,6 +12,8 @@ Api input base class for LogAnalytics Api. groupByThrottlePolicy=nothing, groupByOperationName=nothing, groupByResourceName=nothing, + groupByClientApplicationId=nothing, + groupByUserAgent=nothing, ) - blobContainerSasUri::String : SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to. @@ -20,6 +22,8 @@ Api input base class for LogAnalytics Api. - groupByThrottlePolicy::Bool : Group query result by Throttle Policy applied. - groupByOperationName::Bool : Group query result by Operation Name. - groupByResourceName::Bool : Group query result by Resource Name. + - groupByClientApplicationId::Bool : Group query result by Client Application ID. + - groupByUserAgent::Bool : Group query result by User Agent. """ Base.@kwdef mutable struct LogAnalyticsInputBase <: OpenAPI.APIModel blobContainerSasUri::Union{Nothing, String} = nothing @@ -28,33 +32,50 @@ Base.@kwdef mutable struct LogAnalyticsInputBase <: OpenAPI.APIModel groupByThrottlePolicy::Union{Nothing, Bool} = nothing groupByOperationName::Union{Nothing, Bool} = nothing groupByResourceName::Union{Nothing, Bool} = nothing + groupByClientApplicationId::Union{Nothing, Bool} = nothing + groupByUserAgent::Union{Nothing, Bool} = nothing - function LogAnalyticsInputBase(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, ) - OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("blobContainerSasUri"), blobContainerSasUri) - OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("fromTime"), fromTime) - OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("toTime"), toTime) - OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByThrottlePolicy"), groupByThrottlePolicy) - OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByOperationName"), groupByOperationName) - OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByResourceName"), groupByResourceName) - return new(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, ) + function LogAnalyticsInputBase(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, groupByClientApplicationId, groupByUserAgent, ) + o = new(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, groupByClientApplicationId, groupByUserAgent, ) + OpenAPI.validate_properties(o) + return o end end # type LogAnalyticsInputBase -const _property_types_LogAnalyticsInputBase = Dict{Symbol,String}(Symbol("blobContainerSasUri")=>"String", Symbol("fromTime")=>"ZonedDateTime", Symbol("toTime")=>"ZonedDateTime", Symbol("groupByThrottlePolicy")=>"Bool", Symbol("groupByOperationName")=>"Bool", Symbol("groupByResourceName")=>"Bool", ) +const _property_types_LogAnalyticsInputBase = Dict{Symbol,String}(Symbol("blobContainerSasUri")=>"String", Symbol("fromTime")=>"ZonedDateTime", Symbol("toTime")=>"ZonedDateTime", Symbol("groupByThrottlePolicy")=>"Bool", Symbol("groupByOperationName")=>"Bool", Symbol("groupByResourceName")=>"Bool", Symbol("groupByClientApplicationId")=>"Bool", Symbol("groupByUserAgent")=>"Bool", ) OpenAPI.property_type(::Type{ LogAnalyticsInputBase }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LogAnalyticsInputBase[name]))} -function check_required(o::LogAnalyticsInputBase) +function OpenAPI.check_required(o::LogAnalyticsInputBase) o.blobContainerSasUri === nothing && (return false) o.fromTime === nothing && (return false) o.toTime === nothing && (return false) true end +function OpenAPI.validate_properties(o::LogAnalyticsInputBase) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("blobContainerSasUri"), o.blobContainerSasUri) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("fromTime"), o.fromTime) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("toTime"), o.toTime) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByThrottlePolicy"), o.groupByThrottlePolicy) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByOperationName"), o.groupByOperationName) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByResourceName"), o.groupByResourceName) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByClientApplicationId"), o.groupByClientApplicationId) + OpenAPI.validate_property(LogAnalyticsInputBase, Symbol("groupByUserAgent"), o.groupByUserAgent) +end + function OpenAPI.validate_property(::Type{ LogAnalyticsInputBase }, name::Symbol, val) + + if name === Symbol("fromTime") OpenAPI.validate_param(name, "LogAnalyticsInputBase", :format, val, "date-time") end + if name === Symbol("toTime") OpenAPI.validate_param(name, "LogAnalyticsInputBase", :format, val, "date-time") end + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOperationResult.jl b/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOperationResult.jl index 371a683..6410336 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOperationResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOperationResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct LogAnalyticsOperationResult <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, LogAnalyticsOutput } function LogAnalyticsOperationResult(properties, ) - OpenAPI.validate_property(LogAnalyticsOperationResult, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type LogAnalyticsOperationResult const _property_types_LogAnalyticsOperationResult = Dict{Symbol,String}(Symbol("properties")=>"LogAnalyticsOutput", ) OpenAPI.property_type(::Type{ LogAnalyticsOperationResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LogAnalyticsOperationResult[name]))} -function check_required(o::LogAnalyticsOperationResult) +function OpenAPI.check_required(o::LogAnalyticsOperationResult) true end +function OpenAPI.validate_properties(o::LogAnalyticsOperationResult) + OpenAPI.validate_property(LogAnalyticsOperationResult, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ LogAnalyticsOperationResult }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOutput.jl b/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOutput.jl index aff73d1..34723d9 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOutput.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_LogAnalyticsOutput.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct LogAnalyticsOutput <: OpenAPI.APIModel output::Union{Nothing, String} = nothing function LogAnalyticsOutput(output, ) - OpenAPI.validate_property(LogAnalyticsOutput, Symbol("output"), output) - return new(output, ) + o = new(output, ) + OpenAPI.validate_properties(o) + return o end end # type LogAnalyticsOutput const _property_types_LogAnalyticsOutput = Dict{Symbol,String}(Symbol("output")=>"String", ) OpenAPI.property_type(::Type{ LogAnalyticsOutput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LogAnalyticsOutput[name]))} -function check_required(o::LogAnalyticsOutput) +function OpenAPI.check_required(o::LogAnalyticsOutput) true end +function OpenAPI.validate_properties(o::LogAnalyticsOutput) + OpenAPI.validate_property(LogAnalyticsOutput, Symbol("output"), o.output) +end + function OpenAPI.validate_property(::Type{ LogAnalyticsOutput }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_MaintenanceRedeployStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_MaintenanceRedeployStatus.jl index b53f4d7..e77f7bc 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_MaintenanceRedeployStatus.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_MaintenanceRedeployStatus.jl @@ -33,38 +33,51 @@ Base.@kwdef mutable struct MaintenanceRedeployStatus <: OpenAPI.APIModel lastOperationMessage::Union{Nothing, String} = nothing function MaintenanceRedeployStatus(isCustomerInitiatedMaintenanceAllowed, preMaintenanceWindowStartTime, preMaintenanceWindowEndTime, maintenanceWindowStartTime, maintenanceWindowEndTime, lastOperationResultCode, lastOperationMessage, ) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("isCustomerInitiatedMaintenanceAllowed"), isCustomerInitiatedMaintenanceAllowed) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("preMaintenanceWindowStartTime"), preMaintenanceWindowStartTime) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("preMaintenanceWindowEndTime"), preMaintenanceWindowEndTime) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("maintenanceWindowStartTime"), maintenanceWindowStartTime) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("maintenanceWindowEndTime"), maintenanceWindowEndTime) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("lastOperationResultCode"), lastOperationResultCode) - OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("lastOperationMessage"), lastOperationMessage) - return new(isCustomerInitiatedMaintenanceAllowed, preMaintenanceWindowStartTime, preMaintenanceWindowEndTime, maintenanceWindowStartTime, maintenanceWindowEndTime, lastOperationResultCode, lastOperationMessage, ) + o = new(isCustomerInitiatedMaintenanceAllowed, preMaintenanceWindowStartTime, preMaintenanceWindowEndTime, maintenanceWindowStartTime, maintenanceWindowEndTime, lastOperationResultCode, lastOperationMessage, ) + OpenAPI.validate_properties(o) + return o end end # type MaintenanceRedeployStatus const _property_types_MaintenanceRedeployStatus = Dict{Symbol,String}(Symbol("isCustomerInitiatedMaintenanceAllowed")=>"Bool", Symbol("preMaintenanceWindowStartTime")=>"ZonedDateTime", Symbol("preMaintenanceWindowEndTime")=>"ZonedDateTime", Symbol("maintenanceWindowStartTime")=>"ZonedDateTime", Symbol("maintenanceWindowEndTime")=>"ZonedDateTime", Symbol("lastOperationResultCode")=>"String", Symbol("lastOperationMessage")=>"String", ) OpenAPI.property_type(::Type{ MaintenanceRedeployStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MaintenanceRedeployStatus[name]))} -function check_required(o::MaintenanceRedeployStatus) +function OpenAPI.check_required(o::MaintenanceRedeployStatus) true end +function OpenAPI.validate_properties(o::MaintenanceRedeployStatus) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("isCustomerInitiatedMaintenanceAllowed"), o.isCustomerInitiatedMaintenanceAllowed) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("preMaintenanceWindowStartTime"), o.preMaintenanceWindowStartTime) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("preMaintenanceWindowEndTime"), o.preMaintenanceWindowEndTime) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("maintenanceWindowStartTime"), o.maintenanceWindowStartTime) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("maintenanceWindowEndTime"), o.maintenanceWindowEndTime) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("lastOperationResultCode"), o.lastOperationResultCode) + OpenAPI.validate_property(MaintenanceRedeployStatus, Symbol("lastOperationMessage"), o.lastOperationMessage) +end + function OpenAPI.validate_property(::Type{ MaintenanceRedeployStatus }, name::Symbol, val) + + if name === Symbol("preMaintenanceWindowStartTime") OpenAPI.validate_param(name, "MaintenanceRedeployStatus", :format, val, "date-time") end + if name === Symbol("preMaintenanceWindowEndTime") OpenAPI.validate_param(name, "MaintenanceRedeployStatus", :format, val, "date-time") end + if name === Symbol("maintenanceWindowStartTime") OpenAPI.validate_param(name, "MaintenanceRedeployStatus", :format, val, "date-time") end + if name === Symbol("maintenanceWindowEndTime") OpenAPI.validate_param(name, "MaintenanceRedeployStatus", :format, val, "date-time") end + if name === Symbol("lastOperationResultCode") OpenAPI.validate_param(name, "MaintenanceRedeployStatus", :enum, val, ["None", "RetryLater", "MaintenanceAborted", "MaintenanceCompleted"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParameters.jl index f9ee64c..fd3c3ed 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParameters.jl @@ -6,34 +6,47 @@ The parameters of a managed disk. ManagedDiskParameters(; - id=nothing, storageAccountType=nothing, diskEncryptionSet=nothing, + securityProfile=nothing, + id=nothing, ) - - id::String : Resource Id - storageAccountType::StorageAccountType - diskEncryptionSet::DiskEncryptionSetParameters + - securityProfile::VMDiskSecurityProfile + - id::String : Resource Id """ Base.@kwdef mutable struct ManagedDiskParameters <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing storageAccountType = nothing # spec type: Union{ Nothing, StorageAccountType } diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } + securityProfile = nothing # spec type: Union{ Nothing, VMDiskSecurityProfile } + id::Union{Nothing, String} = nothing - function ManagedDiskParameters(id, storageAccountType, diskEncryptionSet, ) - OpenAPI.validate_property(ManagedDiskParameters, Symbol("id"), id) - OpenAPI.validate_property(ManagedDiskParameters, Symbol("storageAccountType"), storageAccountType) - OpenAPI.validate_property(ManagedDiskParameters, Symbol("diskEncryptionSet"), diskEncryptionSet) - return new(id, storageAccountType, diskEncryptionSet, ) + function ManagedDiskParameters(storageAccountType, diskEncryptionSet, securityProfile, id, ) + o = new(storageAccountType, diskEncryptionSet, securityProfile, id, ) + OpenAPI.validate_properties(o) + return o end end # type ManagedDiskParameters -const _property_types_ManagedDiskParameters = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) +const _property_types_ManagedDiskParameters = Dict{Symbol,String}(Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", Symbol("securityProfile")=>"VMDiskSecurityProfile", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ManagedDiskParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedDiskParameters[name]))} -function check_required(o::ManagedDiskParameters) +function OpenAPI.check_required(o::ManagedDiskParameters) true end +function OpenAPI.validate_properties(o::ManagedDiskParameters) + OpenAPI.validate_property(ManagedDiskParameters, Symbol("storageAccountType"), o.storageAccountType) + OpenAPI.validate_property(ManagedDiskParameters, Symbol("diskEncryptionSet"), o.diskEncryptionSet) + OpenAPI.validate_property(ManagedDiskParameters, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(ManagedDiskParameters, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ManagedDiskParameters }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParametersAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParametersAllOf.jl deleted file mode 100644 index f653ef4..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_ManagedDiskParametersAllOf.jl +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ManagedDiskParameters_allOf - - ManagedDiskParametersAllOf(; - storageAccountType=nothing, - diskEncryptionSet=nothing, - ) - - - storageAccountType::StorageAccountType - - diskEncryptionSet::DiskEncryptionSetParameters -""" -Base.@kwdef mutable struct ManagedDiskParametersAllOf <: OpenAPI.APIModel - storageAccountType = nothing # spec type: Union{ Nothing, StorageAccountType } - diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } - - function ManagedDiskParametersAllOf(storageAccountType, diskEncryptionSet, ) - OpenAPI.validate_property(ManagedDiskParametersAllOf, Symbol("storageAccountType"), storageAccountType) - OpenAPI.validate_property(ManagedDiskParametersAllOf, Symbol("diskEncryptionSet"), diskEncryptionSet) - return new(storageAccountType, diskEncryptionSet, ) - end -end # type ManagedDiskParametersAllOf - -const _property_types_ManagedDiskParametersAllOf = Dict{Symbol,String}(Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) -OpenAPI.property_type(::Type{ ManagedDiskParametersAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedDiskParametersAllOf[name]))} - -function check_required(o::ManagedDiskParametersAllOf) - true -end - -function OpenAPI.validate_property(::Type{ ManagedDiskParametersAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReference.jl b/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReference.jl index e00b9f6..5949e48 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReference.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReference.jl @@ -6,30 +6,37 @@ Describes a network interface reference. NetworkInterfaceReference(; - id=nothing, properties=nothing, + id=nothing, ) - - id::String : Resource Id - properties::NetworkInterfaceReferenceProperties + - id::String : Resource Id """ Base.@kwdef mutable struct NetworkInterfaceReference <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing properties = nothing # spec type: Union{ Nothing, NetworkInterfaceReferenceProperties } + id::Union{Nothing, String} = nothing - function NetworkInterfaceReference(id, properties, ) - OpenAPI.validate_property(NetworkInterfaceReference, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterfaceReference, Symbol("properties"), properties) - return new(id, properties, ) + function NetworkInterfaceReference(properties, id, ) + o = new(properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceReference -const _property_types_NetworkInterfaceReference = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("properties")=>"NetworkInterfaceReferenceProperties", ) +const _property_types_NetworkInterfaceReference = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceReferenceProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceReference[name]))} -function check_required(o::NetworkInterfaceReference) +function OpenAPI.check_required(o::NetworkInterfaceReference) true end +function OpenAPI.validate_properties(o::NetworkInterfaceReference) + OpenAPI.validate_property(NetworkInterfaceReference, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceReference, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceReference }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceAllOf.jl deleted file mode 100644 index 189f155..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceAllOf.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""NetworkInterfaceReference_allOf - - NetworkInterfaceReferenceAllOf(; - properties=nothing, - ) - - - properties::NetworkInterfaceReferenceProperties -""" -Base.@kwdef mutable struct NetworkInterfaceReferenceAllOf <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, NetworkInterfaceReferenceProperties } - - function NetworkInterfaceReferenceAllOf(properties, ) - OpenAPI.validate_property(NetworkInterfaceReferenceAllOf, Symbol("properties"), properties) - return new(properties, ) - end -end # type NetworkInterfaceReferenceAllOf - -const _property_types_NetworkInterfaceReferenceAllOf = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceReferenceProperties", ) -OpenAPI.property_type(::Type{ NetworkInterfaceReferenceAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceReferenceAllOf[name]))} - -function check_required(o::NetworkInterfaceReferenceAllOf) - true -end - -function OpenAPI.validate_property(::Type{ NetworkInterfaceReferenceAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceProperties.jl index 87abf75..1193a2d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_NetworkInterfaceReferenceProperties.jl @@ -7,25 +7,40 @@ Describes a network interface reference properties. NetworkInterfaceReferenceProperties(; primary=nothing, + deleteOption=nothing, ) - primary::Bool : Specifies the primary network interface in case the virtual machine has more than 1 network interface. + - deleteOption::String : Specify what happens to the network interface when the VM is deleted """ Base.@kwdef mutable struct NetworkInterfaceReferenceProperties <: OpenAPI.APIModel primary::Union{Nothing, Bool} = nothing + deleteOption::Union{Nothing, String} = nothing - function NetworkInterfaceReferenceProperties(primary, ) - OpenAPI.validate_property(NetworkInterfaceReferenceProperties, Symbol("primary"), primary) - return new(primary, ) + function NetworkInterfaceReferenceProperties(primary, deleteOption, ) + o = new(primary, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceReferenceProperties -const _property_types_NetworkInterfaceReferenceProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", ) +const _property_types_NetworkInterfaceReferenceProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceReferenceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceReferenceProperties[name]))} -function check_required(o::NetworkInterfaceReferenceProperties) +function OpenAPI.check_required(o::NetworkInterfaceReferenceProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceReferenceProperties) + OpenAPI.validate_property(NetworkInterfaceReferenceProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceReferenceProperties, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceReferenceProperties }, name::Symbol, val) + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "NetworkInterfaceReferenceProperties", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_NetworkProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_NetworkProfile.jl index 2cf069e..4d8419b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_NetworkProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_NetworkProfile.jl @@ -3,29 +3,49 @@ @doc raw"""NetworkProfile -Specifies the network interfaces of the virtual machine. +Specifies the network interfaces or the networking configuration of the virtual machine. NetworkProfile(; networkInterfaces=nothing, + networkApiVersion=nothing, + networkInterfaceConfigurations=nothing, ) - networkInterfaces::Vector{NetworkInterfaceReference} : Specifies the list of resource Ids for the network interfaces associated with the virtual machine. + - networkApiVersion::String : specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations + - networkInterfaceConfigurations::Vector{VirtualMachineNetworkInterfaceConfiguration} : Specifies the networking configurations that will be used to create the virtual machine networking resources. """ Base.@kwdef mutable struct NetworkProfile <: OpenAPI.APIModel networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceReference} } + networkApiVersion::Union{Nothing, String} = nothing + networkInterfaceConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineNetworkInterfaceConfiguration} } - function NetworkProfile(networkInterfaces, ) - OpenAPI.validate_property(NetworkProfile, Symbol("networkInterfaces"), networkInterfaces) - return new(networkInterfaces, ) + function NetworkProfile(networkInterfaces, networkApiVersion, networkInterfaceConfigurations, ) + o = new(networkInterfaces, networkApiVersion, networkInterfaceConfigurations, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkProfile -const _property_types_NetworkProfile = Dict{Symbol,String}(Symbol("networkInterfaces")=>"Vector{NetworkInterfaceReference}", ) +const _property_types_NetworkProfile = Dict{Symbol,String}(Symbol("networkInterfaces")=>"Vector{NetworkInterfaceReference}", Symbol("networkApiVersion")=>"String", Symbol("networkInterfaceConfigurations")=>"Vector{VirtualMachineNetworkInterfaceConfiguration}", ) OpenAPI.property_type(::Type{ NetworkProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkProfile[name]))} -function check_required(o::NetworkProfile) +function OpenAPI.check_required(o::NetworkProfile) true end +function OpenAPI.validate_properties(o::NetworkProfile) + OpenAPI.validate_property(NetworkProfile, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkProfile, Symbol("networkApiVersion"), o.networkApiVersion) + OpenAPI.validate_property(NetworkProfile, Symbol("networkInterfaceConfigurations"), o.networkInterfaceConfigurations) +end + function OpenAPI.validate_property(::Type{ NetworkProfile }, name::Symbol, val) + + + if name === Symbol("networkApiVersion") + OpenAPI.validate_param(name, "NetworkProfile", :enum, val, ["2020-11-01"]) + end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_OSDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_OSDisk.jl index 2f9404e..74b4352 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_OSDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_OSDisk.jl @@ -3,7 +3,7 @@ @doc raw"""OSDisk -Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). +Specifies information about the operating system disk used by the virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). OSDisk(; osType=nothing, @@ -17,6 +17,7 @@ Specifies information about the operating system disk used by the virtual machin createOption=nothing, diskSizeGB=nothing, managedDisk=nothing, + deleteOption=nothing, ) - osType::String : This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. <br><br> Possible values are: <br><br> **Windows** <br><br> **Linux** @@ -30,6 +31,7 @@ Specifies information about the operating system disk used by the virtual machin - createOption::CreateOption - diskSizeGB::Int64 : Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. <br><br> This value cannot be larger than 1023 GB - managedDisk::ManagedDiskParameters + - deleteOption::DeleteOption """ Base.@kwdef mutable struct OSDisk <: OpenAPI.APIModel osType::Union{Nothing, String} = nothing @@ -43,36 +45,56 @@ Base.@kwdef mutable struct OSDisk <: OpenAPI.APIModel createOption = nothing # spec type: Union{ Nothing, CreateOption } diskSizeGB::Union{Nothing, Int64} = nothing managedDisk = nothing # spec type: Union{ Nothing, ManagedDiskParameters } + deleteOption = nothing # spec type: Union{ Nothing, DeleteOption } - function OSDisk(osType, encryptionSettings, name, vhd, image, caching, writeAcceleratorEnabled, diffDiskSettings, createOption, diskSizeGB, managedDisk, ) - OpenAPI.validate_property(OSDisk, Symbol("osType"), osType) - OpenAPI.validate_property(OSDisk, Symbol("encryptionSettings"), encryptionSettings) - OpenAPI.validate_property(OSDisk, Symbol("name"), name) - OpenAPI.validate_property(OSDisk, Symbol("vhd"), vhd) - OpenAPI.validate_property(OSDisk, Symbol("image"), image) - OpenAPI.validate_property(OSDisk, Symbol("caching"), caching) - OpenAPI.validate_property(OSDisk, Symbol("writeAcceleratorEnabled"), writeAcceleratorEnabled) - OpenAPI.validate_property(OSDisk, Symbol("diffDiskSettings"), diffDiskSettings) - OpenAPI.validate_property(OSDisk, Symbol("createOption"), createOption) - OpenAPI.validate_property(OSDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(OSDisk, Symbol("managedDisk"), managedDisk) - return new(osType, encryptionSettings, name, vhd, image, caching, writeAcceleratorEnabled, diffDiskSettings, createOption, diskSizeGB, managedDisk, ) + function OSDisk(osType, encryptionSettings, name, vhd, image, caching, writeAcceleratorEnabled, diffDiskSettings, createOption, diskSizeGB, managedDisk, deleteOption, ) + o = new(osType, encryptionSettings, name, vhd, image, caching, writeAcceleratorEnabled, diffDiskSettings, createOption, diskSizeGB, managedDisk, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type OSDisk -const _property_types_OSDisk = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("encryptionSettings")=>"DiskEncryptionSettings", Symbol("name")=>"String", Symbol("vhd")=>"VirtualHardDisk", Symbol("image")=>"VirtualHardDisk", Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("diffDiskSettings")=>"DiffDiskSettings", Symbol("createOption")=>"CreateOption", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"ManagedDiskParameters", ) +const _property_types_OSDisk = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("encryptionSettings")=>"DiskEncryptionSettings", Symbol("name")=>"String", Symbol("vhd")=>"VirtualHardDisk", Symbol("image")=>"VirtualHardDisk", Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("diffDiskSettings")=>"DiffDiskSettings", Symbol("createOption")=>"CreateOption", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"ManagedDiskParameters", Symbol("deleteOption")=>"DeleteOption", ) OpenAPI.property_type(::Type{ OSDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OSDisk[name]))} -function check_required(o::OSDisk) +function OpenAPI.check_required(o::OSDisk) o.createOption === nothing && (return false) true end +function OpenAPI.validate_properties(o::OSDisk) + OpenAPI.validate_property(OSDisk, Symbol("osType"), o.osType) + OpenAPI.validate_property(OSDisk, Symbol("encryptionSettings"), o.encryptionSettings) + OpenAPI.validate_property(OSDisk, Symbol("name"), o.name) + OpenAPI.validate_property(OSDisk, Symbol("vhd"), o.vhd) + OpenAPI.validate_property(OSDisk, Symbol("image"), o.image) + OpenAPI.validate_property(OSDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(OSDisk, Symbol("writeAcceleratorEnabled"), o.writeAcceleratorEnabled) + OpenAPI.validate_property(OSDisk, Symbol("diffDiskSettings"), o.diffDiskSettings) + OpenAPI.validate_property(OSDisk, Symbol("createOption"), o.createOption) + OpenAPI.validate_property(OSDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(OSDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(OSDisk, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ OSDisk }, name::Symbol, val) + if name === Symbol("osType") OpenAPI.validate_param(name, "OSDisk", :enum, val, ["Windows", "Linux"]) end + + + + + + + + + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "OSDisk", :format, val, "int32") end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_OSDiskImage.jl b/src/Compute/ComputeManagementClient/src/models/model_OSDiskImage.jl index baca128..c9da348 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_OSDiskImage.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_OSDiskImage.jl @@ -15,21 +15,28 @@ Base.@kwdef mutable struct OSDiskImage <: OpenAPI.APIModel operatingSystem::Union{Nothing, String} = nothing function OSDiskImage(operatingSystem, ) - OpenAPI.validate_property(OSDiskImage, Symbol("operatingSystem"), operatingSystem) - return new(operatingSystem, ) + o = new(operatingSystem, ) + OpenAPI.validate_properties(o) + return o end end # type OSDiskImage const _property_types_OSDiskImage = Dict{Symbol,String}(Symbol("operatingSystem")=>"String", ) OpenAPI.property_type(::Type{ OSDiskImage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OSDiskImage[name]))} -function check_required(o::OSDiskImage) +function OpenAPI.check_required(o::OSDiskImage) o.operatingSystem === nothing && (return false) true end +function OpenAPI.validate_properties(o::OSDiskImage) + OpenAPI.validate_property(OSDiskImage, Symbol("operatingSystem"), o.operatingSystem) +end + function OpenAPI.validate_property(::Type{ OSDiskImage }, name::Symbol, val) + if name === Symbol("operatingSystem") OpenAPI.validate_param(name, "OSDiskImage", :enum, val, ["Windows", "Linux"]) end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_OSProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_OSProfile.jl index 9cecdec..1fe6386 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_OSProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_OSProfile.jl @@ -17,15 +17,15 @@ Specifies the operating system settings for the virtual machine. Some of the set requireGuestProvisionSignal=nothing, ) - - computerName::String : Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-infrastructure-subscription-accounts-guidelines?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#1-naming-conventions). - - adminUsername::String : Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) - - adminPassword::String : Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) - - customData::String : Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/en-us/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) + - computerName::String : Specifies the host OS name of the virtual machine. <br><br> This name cannot be updated after the VM is created. <br><br> **Max-length (Windows):** 15 characters <br><br> **Max-length (Linux):** 64 characters. <br><br> For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). + - adminUsername::String : Specifies the name of the administrator account. <br><br> This property cannot be updated after the VM is created. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters. + - adminPassword::String : Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) + - customData::String : Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> **Note: Do not pass any secrets or passwords in customData property** <br><br> This property cannot be updated after the VM is created. <br><br> customData is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/) <br><br> For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) - windowsConfiguration::WindowsConfiguration - linuxConfiguration::LinuxConfiguration - - secrets::Vector{VaultSecretGroup} : Specifies set of certificates that should be installed onto the virtual machine. + - secrets::Vector{VaultSecretGroup} : Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). - allowExtensionOperations::Bool : Specifies whether extension operations should be allowed on the virtual machine. <br><br>This may only be set to False when no extensions are present on the virtual machine. - - requireGuestProvisionSignal::Bool : Specifies whether the guest provision signal is required to infer provision success of the virtual machine. **Note: This property is for private testing only, and all customers must not set the property to false.** + - requireGuestProvisionSignal::Bool : Optional property which must either be set to True or omitted. """ Base.@kwdef mutable struct OSProfile <: OpenAPI.APIModel computerName::Union{Nothing, String} = nothing @@ -39,25 +39,39 @@ Base.@kwdef mutable struct OSProfile <: OpenAPI.APIModel requireGuestProvisionSignal::Union{Nothing, Bool} = nothing function OSProfile(computerName, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, allowExtensionOperations, requireGuestProvisionSignal, ) - OpenAPI.validate_property(OSProfile, Symbol("computerName"), computerName) - OpenAPI.validate_property(OSProfile, Symbol("adminUsername"), adminUsername) - OpenAPI.validate_property(OSProfile, Symbol("adminPassword"), adminPassword) - OpenAPI.validate_property(OSProfile, Symbol("customData"), customData) - OpenAPI.validate_property(OSProfile, Symbol("windowsConfiguration"), windowsConfiguration) - OpenAPI.validate_property(OSProfile, Symbol("linuxConfiguration"), linuxConfiguration) - OpenAPI.validate_property(OSProfile, Symbol("secrets"), secrets) - OpenAPI.validate_property(OSProfile, Symbol("allowExtensionOperations"), allowExtensionOperations) - OpenAPI.validate_property(OSProfile, Symbol("requireGuestProvisionSignal"), requireGuestProvisionSignal) - return new(computerName, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, allowExtensionOperations, requireGuestProvisionSignal, ) + o = new(computerName, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, allowExtensionOperations, requireGuestProvisionSignal, ) + OpenAPI.validate_properties(o) + return o end end # type OSProfile const _property_types_OSProfile = Dict{Symbol,String}(Symbol("computerName")=>"String", Symbol("adminUsername")=>"String", Symbol("adminPassword")=>"String", Symbol("customData")=>"String", Symbol("windowsConfiguration")=>"WindowsConfiguration", Symbol("linuxConfiguration")=>"LinuxConfiguration", Symbol("secrets")=>"Vector{VaultSecretGroup}", Symbol("allowExtensionOperations")=>"Bool", Symbol("requireGuestProvisionSignal")=>"Bool", ) OpenAPI.property_type(::Type{ OSProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OSProfile[name]))} -function check_required(o::OSProfile) +function OpenAPI.check_required(o::OSProfile) true end +function OpenAPI.validate_properties(o::OSProfile) + OpenAPI.validate_property(OSProfile, Symbol("computerName"), o.computerName) + OpenAPI.validate_property(OSProfile, Symbol("adminUsername"), o.adminUsername) + OpenAPI.validate_property(OSProfile, Symbol("adminPassword"), o.adminPassword) + OpenAPI.validate_property(OSProfile, Symbol("customData"), o.customData) + OpenAPI.validate_property(OSProfile, Symbol("windowsConfiguration"), o.windowsConfiguration) + OpenAPI.validate_property(OSProfile, Symbol("linuxConfiguration"), o.linuxConfiguration) + OpenAPI.validate_property(OSProfile, Symbol("secrets"), o.secrets) + OpenAPI.validate_property(OSProfile, Symbol("allowExtensionOperations"), o.allowExtensionOperations) + OpenAPI.validate_property(OSProfile, Symbol("requireGuestProvisionSignal"), o.requireGuestProvisionSignal) +end + function OpenAPI.validate_property(::Type{ OSProfile }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_OrchestrationMode.jl b/src/Compute/ComputeManagementClient/src/models/model_OrchestrationMode.jl new file mode 100644 index 0000000..b21a948 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_OrchestrationMode.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :OrchestrationMode) + const OrchestrationMode = String +else + @warn("Skipping redefinition of OrchestrationMode to String") +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceStateInput.jl b/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceStateInput.jl index e3b0900..890ed4f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceStateInput.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceStateInput.jl @@ -18,26 +18,35 @@ Base.@kwdef mutable struct OrchestrationServiceStateInput <: OpenAPI.APIModel action::Union{Nothing, String} = nothing function OrchestrationServiceStateInput(serviceName, action, ) - OpenAPI.validate_property(OrchestrationServiceStateInput, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(OrchestrationServiceStateInput, Symbol("action"), action) - return new(serviceName, action, ) + o = new(serviceName, action, ) + OpenAPI.validate_properties(o) + return o end end # type OrchestrationServiceStateInput const _property_types_OrchestrationServiceStateInput = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("action")=>"String", ) OpenAPI.property_type(::Type{ OrchestrationServiceStateInput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OrchestrationServiceStateInput[name]))} -function check_required(o::OrchestrationServiceStateInput) +function OpenAPI.check_required(o::OrchestrationServiceStateInput) o.serviceName === nothing && (return false) o.action === nothing && (return false) true end +function OpenAPI.validate_properties(o::OrchestrationServiceStateInput) + OpenAPI.validate_property(OrchestrationServiceStateInput, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(OrchestrationServiceStateInput, Symbol("action"), o.action) +end + function OpenAPI.validate_property(::Type{ OrchestrationServiceStateInput }, name::Symbol, val) + if name === Symbol("serviceName") OpenAPI.validate_param(name, "OrchestrationServiceStateInput", :enum, val, ["AutomaticRepairs"]) end + + if name === Symbol("action") OpenAPI.validate_param(name, "OrchestrationServiceStateInput", :enum, val, ["Resume", "Suspend"]) end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceSummary.jl b/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceSummary.jl index b408632..8682ec0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceSummary.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_OrchestrationServiceSummary.jl @@ -18,24 +18,33 @@ Base.@kwdef mutable struct OrchestrationServiceSummary <: OpenAPI.APIModel serviceState::Union{Nothing, String} = nothing function OrchestrationServiceSummary(serviceName, serviceState, ) - OpenAPI.validate_property(OrchestrationServiceSummary, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(OrchestrationServiceSummary, Symbol("serviceState"), serviceState) - return new(serviceName, serviceState, ) + o = new(serviceName, serviceState, ) + OpenAPI.validate_properties(o) + return o end end # type OrchestrationServiceSummary const _property_types_OrchestrationServiceSummary = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("serviceState")=>"String", ) OpenAPI.property_type(::Type{ OrchestrationServiceSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OrchestrationServiceSummary[name]))} -function check_required(o::OrchestrationServiceSummary) +function OpenAPI.check_required(o::OrchestrationServiceSummary) true end +function OpenAPI.validate_properties(o::OrchestrationServiceSummary) + OpenAPI.validate_property(OrchestrationServiceSummary, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(OrchestrationServiceSummary, Symbol("serviceState"), o.serviceState) +end + function OpenAPI.validate_property(::Type{ OrchestrationServiceSummary }, name::Symbol, val) + if name === Symbol("serviceName") OpenAPI.validate_param(name, "OrchestrationServiceSummary", :enum, val, ["AutomaticRepairs"]) end + + if name === Symbol("serviceState") OpenAPI.validate_param(name, "OrchestrationServiceSummary", :enum, val, ["NotRunning", "Running", "Suspended"]) end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_PatchInstallationDetail.jl b/src/Compute/ComputeManagementClient/src/models/model_PatchInstallationDetail.jl new file mode 100644 index 0000000..adc5662 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_PatchInstallationDetail.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PatchInstallationDetail +Information about a specific patch that was encountered during an installation action. + + PatchInstallationDetail(; + patchId=nothing, + name=nothing, + version=nothing, + kbId=nothing, + classifications=nothing, + installationState=nothing, + ) + + - patchId::String : A unique identifier for the patch. + - name::String : The friendly name of the patch. + - version::String : The version string of the package. It may conform to Semantic Versioning. Only applies to Linux. + - kbId::String : The KBID of the patch. Only applies to Windows patches. + - classifications::Vector{String} : The classification(s) of the patch as provided by the patch publisher. + - installationState::String : The state of the patch after the installation operation completed. +""" +Base.@kwdef mutable struct PatchInstallationDetail <: OpenAPI.APIModel + patchId::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + version::Union{Nothing, String} = nothing + kbId::Union{Nothing, String} = nothing + classifications::Union{Nothing, Vector{String}} = nothing + installationState::Union{Nothing, String} = nothing + + function PatchInstallationDetail(patchId, name, version, kbId, classifications, installationState, ) + o = new(patchId, name, version, kbId, classifications, installationState, ) + OpenAPI.validate_properties(o) + return o + end +end # type PatchInstallationDetail + +const _property_types_PatchInstallationDetail = Dict{Symbol,String}(Symbol("patchId")=>"String", Symbol("name")=>"String", Symbol("version")=>"String", Symbol("kbId")=>"String", Symbol("classifications")=>"Vector{String}", Symbol("installationState")=>"String", ) +OpenAPI.property_type(::Type{ PatchInstallationDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PatchInstallationDetail[name]))} + +function OpenAPI.check_required(o::PatchInstallationDetail) + true +end + +function OpenAPI.validate_properties(o::PatchInstallationDetail) + OpenAPI.validate_property(PatchInstallationDetail, Symbol("patchId"), o.patchId) + OpenAPI.validate_property(PatchInstallationDetail, Symbol("name"), o.name) + OpenAPI.validate_property(PatchInstallationDetail, Symbol("version"), o.version) + OpenAPI.validate_property(PatchInstallationDetail, Symbol("kbId"), o.kbId) + OpenAPI.validate_property(PatchInstallationDetail, Symbol("classifications"), o.classifications) + OpenAPI.validate_property(PatchInstallationDetail, Symbol("installationState"), o.installationState) +end + +function OpenAPI.validate_property(::Type{ PatchInstallationDetail }, name::Symbol, val) + + + + + + + if name === Symbol("installationState") + OpenAPI.validate_param(name, "PatchInstallationDetail", :enum, val, ["Unknown", "Installed", "Failed", "Excluded", "NotSelected", "Pending"]) + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_PatchSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_PatchSettings.jl index d023939..440891d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_PatchSettings.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_PatchSettings.jl @@ -3,31 +3,53 @@ @doc raw"""PatchSettings +Specifies settings related to VM Guest Patching on Windows. PatchSettings(; patchMode=nothing, + enableHotpatching=nothing, + assessmentMode=nothing, ) - - patchMode::String : Specifies the mode of in-guest patching to IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> ** AutomaticByPlatform** - the virtual machine will automatically updated by the OS. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true + - patchMode::String : Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.<br /><br /> Possible values are:<br /><br /> **Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false<br /><br /> **AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true. <br /><br /> **AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true + - enableHotpatching::Bool : Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. + - assessmentMode::String : Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.<br /><br /> Possible values are:<br /><br /> **ImageDefault** - You control the timing of patch assessments on a virtual machine.<br /><br /> **AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. """ Base.@kwdef mutable struct PatchSettings <: OpenAPI.APIModel patchMode::Union{Nothing, String} = nothing + enableHotpatching::Union{Nothing, Bool} = nothing + assessmentMode::Union{Nothing, String} = nothing - function PatchSettings(patchMode, ) - OpenAPI.validate_property(PatchSettings, Symbol("patchMode"), patchMode) - return new(patchMode, ) + function PatchSettings(patchMode, enableHotpatching, assessmentMode, ) + o = new(patchMode, enableHotpatching, assessmentMode, ) + OpenAPI.validate_properties(o) + return o end end # type PatchSettings -const _property_types_PatchSettings = Dict{Symbol,String}(Symbol("patchMode")=>"String", ) +const _property_types_PatchSettings = Dict{Symbol,String}(Symbol("patchMode")=>"String", Symbol("enableHotpatching")=>"Bool", Symbol("assessmentMode")=>"String", ) OpenAPI.property_type(::Type{ PatchSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PatchSettings[name]))} -function check_required(o::PatchSettings) +function OpenAPI.check_required(o::PatchSettings) true end +function OpenAPI.validate_properties(o::PatchSettings) + OpenAPI.validate_property(PatchSettings, Symbol("patchMode"), o.patchMode) + OpenAPI.validate_property(PatchSettings, Symbol("enableHotpatching"), o.enableHotpatching) + OpenAPI.validate_property(PatchSettings, Symbol("assessmentMode"), o.assessmentMode) +end + function OpenAPI.validate_property(::Type{ PatchSettings }, name::Symbol, val) + if name === Symbol("patchMode") OpenAPI.validate_param(name, "PatchSettings", :enum, val, ["Manual", "AutomaticByOS", "AutomaticByPlatform"]) end + + + + if name === Symbol("assessmentMode") + OpenAPI.validate_param(name, "PatchSettings", :enum, val, ["ImageDefault", "AutomaticByPlatform"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_Plan.jl b/src/Compute/ComputeManagementClient/src/models/model_Plan.jl index ca06218..c82ddd4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_Plan.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_Plan.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct Plan <: OpenAPI.APIModel promotionCode::Union{Nothing, String} = nothing function Plan(name, publisher, product, promotionCode, ) - OpenAPI.validate_property(Plan, Symbol("name"), name) - OpenAPI.validate_property(Plan, Symbol("publisher"), publisher) - OpenAPI.validate_property(Plan, Symbol("product"), product) - OpenAPI.validate_property(Plan, Symbol("promotionCode"), promotionCode) - return new(name, publisher, product, promotionCode, ) + o = new(name, publisher, product, promotionCode, ) + OpenAPI.validate_properties(o) + return o end end # type Plan const _property_types_Plan = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("publisher")=>"String", Symbol("product")=>"String", Symbol("promotionCode")=>"String", ) OpenAPI.property_type(::Type{ Plan }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Plan[name]))} -function check_required(o::Plan) +function OpenAPI.check_required(o::Plan) true end +function OpenAPI.validate_properties(o::Plan) + OpenAPI.validate_property(Plan, Symbol("name"), o.name) + OpenAPI.validate_property(Plan, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(Plan, Symbol("product"), o.product) + OpenAPI.validate_property(Plan, Symbol("promotionCode"), o.promotionCode) +end + function OpenAPI.validate_property(::Type{ Plan }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroup.jl b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroup.jl index ed0401a..5cb8ad5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroup.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroup.jl @@ -30,23 +30,34 @@ Base.@kwdef mutable struct ProximityPlacementGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ProximityPlacementGroup(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(ProximityPlacementGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ProximityPlacementGroup, Symbol("id"), id) - OpenAPI.validate_property(ProximityPlacementGroup, Symbol("name"), name) - OpenAPI.validate_property(ProximityPlacementGroup, Symbol("type"), type) - OpenAPI.validate_property(ProximityPlacementGroup, Symbol("location"), location) - OpenAPI.validate_property(ProximityPlacementGroup, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ProximityPlacementGroup const _property_types_ProximityPlacementGroup = Dict{Symbol,String}(Symbol("properties")=>"ProximityPlacementGroupProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ProximityPlacementGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProximityPlacementGroup[name]))} -function check_required(o::ProximityPlacementGroup) +function OpenAPI.check_required(o::ProximityPlacementGroup) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::ProximityPlacementGroup) + OpenAPI.validate_property(ProximityPlacementGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ProximityPlacementGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ProximityPlacementGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ProximityPlacementGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ProximityPlacementGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ProximityPlacementGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ProximityPlacementGroup }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupListResult.jl index aa3d198..4fe3bce 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ProximityPlacementGroupListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ProximityPlacementGroupListResult(value, nextLink, ) - OpenAPI.validate_property(ProximityPlacementGroupListResult, Symbol("value"), value) - OpenAPI.validate_property(ProximityPlacementGroupListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ProximityPlacementGroupListResult const _property_types_ProximityPlacementGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ProximityPlacementGroup}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ProximityPlacementGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProximityPlacementGroupListResult[name]))} -function check_required(o::ProximityPlacementGroupListResult) +function OpenAPI.check_required(o::ProximityPlacementGroupListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::ProximityPlacementGroupListResult) + OpenAPI.validate_property(ProximityPlacementGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ProximityPlacementGroupListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ProximityPlacementGroupListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupProperties.jl index ed7cc51..6f0b49e 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupProperties.jl @@ -27,24 +27,35 @@ Base.@kwdef mutable struct ProximityPlacementGroupProperties <: OpenAPI.APIModel colocationStatus = nothing # spec type: Union{ Nothing, InstanceViewStatus } function ProximityPlacementGroupProperties(proximityPlacementGroupType, virtualMachines, virtualMachineScaleSets, availabilitySets, colocationStatus, ) - OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("proximityPlacementGroupType"), proximityPlacementGroupType) - OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("virtualMachines"), virtualMachines) - OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("virtualMachineScaleSets"), virtualMachineScaleSets) - OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("availabilitySets"), availabilitySets) - OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("colocationStatus"), colocationStatus) - return new(proximityPlacementGroupType, virtualMachines, virtualMachineScaleSets, availabilitySets, colocationStatus, ) + o = new(proximityPlacementGroupType, virtualMachines, virtualMachineScaleSets, availabilitySets, colocationStatus, ) + OpenAPI.validate_properties(o) + return o end end # type ProximityPlacementGroupProperties const _property_types_ProximityPlacementGroupProperties = Dict{Symbol,String}(Symbol("proximityPlacementGroupType")=>"String", Symbol("virtualMachines")=>"Vector{SubResourceWithColocationStatus}", Symbol("virtualMachineScaleSets")=>"Vector{SubResourceWithColocationStatus}", Symbol("availabilitySets")=>"Vector{SubResourceWithColocationStatus}", Symbol("colocationStatus")=>"InstanceViewStatus", ) OpenAPI.property_type(::Type{ ProximityPlacementGroupProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProximityPlacementGroupProperties[name]))} -function check_required(o::ProximityPlacementGroupProperties) +function OpenAPI.check_required(o::ProximityPlacementGroupProperties) true end +function OpenAPI.validate_properties(o::ProximityPlacementGroupProperties) + OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("proximityPlacementGroupType"), o.proximityPlacementGroupType) + OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("virtualMachines"), o.virtualMachines) + OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("virtualMachineScaleSets"), o.virtualMachineScaleSets) + OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("availabilitySets"), o.availabilitySets) + OpenAPI.validate_property(ProximityPlacementGroupProperties, Symbol("colocationStatus"), o.colocationStatus) +end + function OpenAPI.validate_property(::Type{ ProximityPlacementGroupProperties }, name::Symbol, val) + if name === Symbol("proximityPlacementGroupType") OpenAPI.validate_param(name, "ProximityPlacementGroupProperties", :enum, val, ["Standard", "Ultra"]) end + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupUpdate.jl index a54eec2..8c850f0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ProximityPlacementGroupUpdate.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ProximityPlacementGroupUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ProximityPlacementGroupUpdate(tags, ) - OpenAPI.validate_property(ProximityPlacementGroupUpdate, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type ProximityPlacementGroupUpdate const _property_types_ProximityPlacementGroupUpdate = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ProximityPlacementGroupUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProximityPlacementGroupUpdate[name]))} -function check_required(o::ProximityPlacementGroupUpdate) +function OpenAPI.check_required(o::ProximityPlacementGroupUpdate) true end +function OpenAPI.validate_properties(o::ProximityPlacementGroupUpdate) + OpenAPI.validate_property(ProximityPlacementGroupUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ProximityPlacementGroupUpdate }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ProxyResource.jl b/src/Compute/ComputeManagementClient/src/models/model_ProxyResource.jl new file mode 100644 index 0000000..e0ddebd --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_ProxyResource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProxyResource +The resource model definition for an Azure Resource Manager proxy resource. It will not have tags and a location + + ProxyResource(; + id=nothing, + name=nothing, + type=nothing, + ) + + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type +""" +Base.@kwdef mutable struct ProxyResource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function ProxyResource(id, name, type, ) + o = new(id, name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProxyResource + +const _property_types_ProxyResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ ProxyResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProxyResource[name]))} + +function OpenAPI.check_required(o::ProxyResource) + true +end + +function OpenAPI.validate_properties(o::ProxyResource) + OpenAPI.validate_property(ProxyResource, Symbol("id"), o.id) + OpenAPI.validate_property(ProxyResource, Symbol("name"), o.name) + OpenAPI.validate_property(ProxyResource, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ProxyResource }, name::Symbol, val) + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_PublicIPAddressSku.jl b/src/Compute/ComputeManagementClient/src/models/model_PublicIPAddressSku.jl new file mode 100644 index 0000000..27a7fca --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_PublicIPAddressSku.jl @@ -0,0 +1,50 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PublicIPAddressSku +Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible. + + PublicIPAddressSku(; + name=nothing, + tier=nothing, + ) + + - name::String : Specify public IP sku name + - tier::String : Specify public IP sku tier +""" +Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing + + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o + end +end # type PublicIPAddressSku + +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) +OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} + +function OpenAPI.check_required(o::PublicIPAddressSku) + true +end + +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + +function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_PurchasePlan.jl b/src/Compute/ComputeManagementClient/src/models/model_PurchasePlan.jl index 4ca9916..c3622b9 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_PurchasePlan.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_PurchasePlan.jl @@ -21,22 +21,30 @@ Base.@kwdef mutable struct PurchasePlan <: OpenAPI.APIModel product::Union{Nothing, String} = nothing function PurchasePlan(publisher, name, product, ) - OpenAPI.validate_property(PurchasePlan, Symbol("publisher"), publisher) - OpenAPI.validate_property(PurchasePlan, Symbol("name"), name) - OpenAPI.validate_property(PurchasePlan, Symbol("product"), product) - return new(publisher, name, product, ) + o = new(publisher, name, product, ) + OpenAPI.validate_properties(o) + return o end end # type PurchasePlan const _property_types_PurchasePlan = Dict{Symbol,String}(Symbol("publisher")=>"String", Symbol("name")=>"String", Symbol("product")=>"String", ) OpenAPI.property_type(::Type{ PurchasePlan }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PurchasePlan[name]))} -function check_required(o::PurchasePlan) +function OpenAPI.check_required(o::PurchasePlan) o.publisher === nothing && (return false) o.name === nothing && (return false) o.product === nothing && (return false) true end +function OpenAPI.validate_properties(o::PurchasePlan) + OpenAPI.validate_property(PurchasePlan, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(PurchasePlan, Symbol("name"), o.name) + OpenAPI.validate_property(PurchasePlan, Symbol("product"), o.product) +end + function OpenAPI.validate_property(::Type{ PurchasePlan }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RecoveryWalkResponse.jl b/src/Compute/ComputeManagementClient/src/models/model_RecoveryWalkResponse.jl index 0352c20..80d2d94 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RecoveryWalkResponse.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RecoveryWalkResponse.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct RecoveryWalkResponse <: OpenAPI.APIModel nextPlatformUpdateDomain::Union{Nothing, Int64} = nothing function RecoveryWalkResponse(walkPerformed, nextPlatformUpdateDomain, ) - OpenAPI.validate_property(RecoveryWalkResponse, Symbol("walkPerformed"), walkPerformed) - OpenAPI.validate_property(RecoveryWalkResponse, Symbol("nextPlatformUpdateDomain"), nextPlatformUpdateDomain) - return new(walkPerformed, nextPlatformUpdateDomain, ) + o = new(walkPerformed, nextPlatformUpdateDomain, ) + OpenAPI.validate_properties(o) + return o end end # type RecoveryWalkResponse const _property_types_RecoveryWalkResponse = Dict{Symbol,String}(Symbol("walkPerformed")=>"Bool", Symbol("nextPlatformUpdateDomain")=>"Int64", ) OpenAPI.property_type(::Type{ RecoveryWalkResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RecoveryWalkResponse[name]))} -function check_required(o::RecoveryWalkResponse) +function OpenAPI.check_required(o::RecoveryWalkResponse) true end +function OpenAPI.validate_properties(o::RecoveryWalkResponse) + OpenAPI.validate_property(RecoveryWalkResponse, Symbol("walkPerformed"), o.walkPerformed) + OpenAPI.validate_property(RecoveryWalkResponse, Symbol("nextPlatformUpdateDomain"), o.nextPlatformUpdateDomain) +end + function OpenAPI.validate_property(::Type{ RecoveryWalkResponse }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RequestRateByIntervalInput.jl b/src/Compute/ComputeManagementClient/src/models/model_RequestRateByIntervalInput.jl index 94496ba..eb82fa0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RequestRateByIntervalInput.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RequestRateByIntervalInput.jl @@ -13,6 +13,8 @@ Api request input for LogAnalytics getRequestRateByInterval Api. groupByThrottlePolicy=nothing, groupByOperationName=nothing, groupByResourceName=nothing, + groupByClientApplicationId=nothing, + groupByUserAgent=nothing, ) - intervalLength::String : Interval value in minutes used to create LogAnalytics call rate logs. @@ -22,6 +24,8 @@ Api request input for LogAnalytics getRequestRateByInterval Api. - groupByThrottlePolicy::Bool : Group query result by Throttle Policy applied. - groupByOperationName::Bool : Group query result by Operation Name. - groupByResourceName::Bool : Group query result by Resource Name. + - groupByClientApplicationId::Bool : Group query result by Client Application ID. + - groupByUserAgent::Bool : Group query result by User Agent. """ Base.@kwdef mutable struct RequestRateByIntervalInput <: OpenAPI.APIModel intervalLength::Union{Nothing, String} = nothing @@ -31,23 +35,20 @@ Base.@kwdef mutable struct RequestRateByIntervalInput <: OpenAPI.APIModel groupByThrottlePolicy::Union{Nothing, Bool} = nothing groupByOperationName::Union{Nothing, Bool} = nothing groupByResourceName::Union{Nothing, Bool} = nothing + groupByClientApplicationId::Union{Nothing, Bool} = nothing + groupByUserAgent::Union{Nothing, Bool} = nothing - function RequestRateByIntervalInput(intervalLength, blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, ) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("intervalLength"), intervalLength) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("blobContainerSasUri"), blobContainerSasUri) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("fromTime"), fromTime) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("toTime"), toTime) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByThrottlePolicy"), groupByThrottlePolicy) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByOperationName"), groupByOperationName) - OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByResourceName"), groupByResourceName) - return new(intervalLength, blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, ) + function RequestRateByIntervalInput(intervalLength, blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, groupByClientApplicationId, groupByUserAgent, ) + o = new(intervalLength, blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, groupByClientApplicationId, groupByUserAgent, ) + OpenAPI.validate_properties(o) + return o end end # type RequestRateByIntervalInput -const _property_types_RequestRateByIntervalInput = Dict{Symbol,String}(Symbol("intervalLength")=>"String", Symbol("blobContainerSasUri")=>"String", Symbol("fromTime")=>"ZonedDateTime", Symbol("toTime")=>"ZonedDateTime", Symbol("groupByThrottlePolicy")=>"Bool", Symbol("groupByOperationName")=>"Bool", Symbol("groupByResourceName")=>"Bool", ) +const _property_types_RequestRateByIntervalInput = Dict{Symbol,String}(Symbol("intervalLength")=>"String", Symbol("blobContainerSasUri")=>"String", Symbol("fromTime")=>"ZonedDateTime", Symbol("toTime")=>"ZonedDateTime", Symbol("groupByThrottlePolicy")=>"Bool", Symbol("groupByOperationName")=>"Bool", Symbol("groupByResourceName")=>"Bool", Symbol("groupByClientApplicationId")=>"Bool", Symbol("groupByUserAgent")=>"Bool", ) OpenAPI.property_type(::Type{ RequestRateByIntervalInput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RequestRateByIntervalInput[name]))} -function check_required(o::RequestRateByIntervalInput) +function OpenAPI.check_required(o::RequestRateByIntervalInput) o.intervalLength === nothing && (return false) o.blobContainerSasUri === nothing && (return false) o.fromTime === nothing && (return false) @@ -55,14 +56,36 @@ function check_required(o::RequestRateByIntervalInput) true end +function OpenAPI.validate_properties(o::RequestRateByIntervalInput) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("intervalLength"), o.intervalLength) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("blobContainerSasUri"), o.blobContainerSasUri) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("fromTime"), o.fromTime) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("toTime"), o.toTime) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByThrottlePolicy"), o.groupByThrottlePolicy) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByOperationName"), o.groupByOperationName) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByResourceName"), o.groupByResourceName) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByClientApplicationId"), o.groupByClientApplicationId) + OpenAPI.validate_property(RequestRateByIntervalInput, Symbol("groupByUserAgent"), o.groupByUserAgent) +end + function OpenAPI.validate_property(::Type{ RequestRateByIntervalInput }, name::Symbol, val) + if name === Symbol("intervalLength") OpenAPI.validate_param(name, "RequestRateByIntervalInput", :enum, val, ["ThreeMins", "FiveMins", "ThirtyMins", "SixtyMins"]) end + + + if name === Symbol("fromTime") OpenAPI.validate_param(name, "RequestRateByIntervalInput", :format, val, "date-time") end + if name === Symbol("toTime") OpenAPI.validate_param(name, "RequestRateByIntervalInput", :format, val, "date-time") end + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_Resource.jl b/src/Compute/ComputeManagementClient/src/models/model_Resource.jl index 6c42530..a55b5df 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_Resource.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_Resource.jl @@ -27,22 +27,32 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePoint.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePoint.jl new file mode 100644 index 0000000..426798e --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePoint.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePoint +Restore Point details. + + RestorePoint(; + properties=nothing, + id=nothing, + name=nothing, + type=nothing, + ) + + - properties::RestorePointProperties + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type +""" +Base.@kwdef mutable struct RestorePoint <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, RestorePointProperties } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function RestorePoint(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePoint + +const _property_types_RestorePoint = Dict{Symbol,String}(Symbol("properties")=>"RestorePointProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ RestorePoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePoint[name]))} + +function OpenAPI.check_required(o::RestorePoint) + true +end + +function OpenAPI.validate_properties(o::RestorePoint) + OpenAPI.validate_property(RestorePoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(RestorePoint, Symbol("id"), o.id) + OpenAPI.validate_property(RestorePoint, Symbol("name"), o.name) + OpenAPI.validate_property(RestorePoint, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ RestorePoint }, name::Symbol, val) + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollection.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollection.jl new file mode 100644 index 0000000..62c6579 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollection.jl @@ -0,0 +1,63 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointCollection +Create or update Restore Point collection parameters. + + RestorePointCollection(; + properties=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - properties::RestorePointCollectionProperties + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct RestorePointCollection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, RestorePointCollectionProperties } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function RestorePointCollection(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointCollection + +const _property_types_RestorePointCollection = Dict{Symbol,String}(Symbol("properties")=>"RestorePointCollectionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ RestorePointCollection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointCollection[name]))} + +function OpenAPI.check_required(o::RestorePointCollection) + o.location === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::RestorePointCollection) + OpenAPI.validate_property(RestorePointCollection, Symbol("properties"), o.properties) + OpenAPI.validate_property(RestorePointCollection, Symbol("id"), o.id) + OpenAPI.validate_property(RestorePointCollection, Symbol("name"), o.name) + OpenAPI.validate_property(RestorePointCollection, Symbol("type"), o.type) + OpenAPI.validate_property(RestorePointCollection, Symbol("location"), o.location) + OpenAPI.validate_property(RestorePointCollection, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ RestorePointCollection }, name::Symbol, val) + + + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionListResult.jl new file mode 100644 index 0000000..d52bb07 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionListResult.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointCollectionListResult +The List restore point collection operation response. + + RestorePointCollectionListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{RestorePointCollection} : Gets the list of restore point collections. + - nextLink::String : The uri to fetch the next page of RestorePointCollections. Call ListNext() with this to fetch the next page of RestorePointCollections +""" +Base.@kwdef mutable struct RestorePointCollectionListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RestorePointCollection} } + nextLink::Union{Nothing, String} = nothing + + function RestorePointCollectionListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointCollectionListResult + +const _property_types_RestorePointCollectionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{RestorePointCollection}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ RestorePointCollectionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointCollectionListResult[name]))} + +function OpenAPI.check_required(o::RestorePointCollectionListResult) + true +end + +function OpenAPI.validate_properties(o::RestorePointCollectionListResult) + OpenAPI.validate_property(RestorePointCollectionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(RestorePointCollectionListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ RestorePointCollectionListResult }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionProperties.jl new file mode 100644 index 0000000..d279033 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionProperties.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointCollectionProperties +The restore point collection properties. + + RestorePointCollectionProperties(; + source=nothing, + provisioningState=nothing, + restorePointCollectionId=nothing, + restorePoints=nothing, + ) + + - source::RestorePointCollectionSourceProperties + - provisioningState::String : The provisioning state of the restore point collection. + - restorePointCollectionId::String : The unique id of the restore point collection. + - restorePoints::Vector{RestorePoint} : A list containing all restore points created under this restore point collection. +""" +Base.@kwdef mutable struct RestorePointCollectionProperties <: OpenAPI.APIModel + source = nothing # spec type: Union{ Nothing, RestorePointCollectionSourceProperties } + provisioningState::Union{Nothing, String} = nothing + restorePointCollectionId::Union{Nothing, String} = nothing + restorePoints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RestorePoint} } + + function RestorePointCollectionProperties(source, provisioningState, restorePointCollectionId, restorePoints, ) + o = new(source, provisioningState, restorePointCollectionId, restorePoints, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointCollectionProperties + +const _property_types_RestorePointCollectionProperties = Dict{Symbol,String}(Symbol("source")=>"RestorePointCollectionSourceProperties", Symbol("provisioningState")=>"String", Symbol("restorePointCollectionId")=>"String", Symbol("restorePoints")=>"Vector{RestorePoint}", ) +OpenAPI.property_type(::Type{ RestorePointCollectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointCollectionProperties[name]))} + +function OpenAPI.check_required(o::RestorePointCollectionProperties) + true +end + +function OpenAPI.validate_properties(o::RestorePointCollectionProperties) + OpenAPI.validate_property(RestorePointCollectionProperties, Symbol("source"), o.source) + OpenAPI.validate_property(RestorePointCollectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RestorePointCollectionProperties, Symbol("restorePointCollectionId"), o.restorePointCollectionId) + OpenAPI.validate_property(RestorePointCollectionProperties, Symbol("restorePoints"), o.restorePoints) +end + +function OpenAPI.validate_property(::Type{ RestorePointCollectionProperties }, name::Symbol, val) + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionSourceProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionSourceProperties.jl new file mode 100644 index 0000000..2e6d3c4 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionSourceProperties.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointCollectionSourceProperties +The properties of the source resource that this restore point collection is created from. + + RestorePointCollectionSourceProperties(; + location=nothing, + id=nothing, + ) + + - location::String : Location of the source resource used to create this restore point collection. + - id::String : Resource Id of the source resource used to create this restore point collection +""" +Base.@kwdef mutable struct RestorePointCollectionSourceProperties <: OpenAPI.APIModel + location::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function RestorePointCollectionSourceProperties(location, id, ) + o = new(location, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointCollectionSourceProperties + +const _property_types_RestorePointCollectionSourceProperties = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ RestorePointCollectionSourceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointCollectionSourceProperties[name]))} + +function OpenAPI.check_required(o::RestorePointCollectionSourceProperties) + true +end + +function OpenAPI.validate_properties(o::RestorePointCollectionSourceProperties) + OpenAPI.validate_property(RestorePointCollectionSourceProperties, Symbol("location"), o.location) + OpenAPI.validate_property(RestorePointCollectionSourceProperties, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ RestorePointCollectionSourceProperties }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionUpdate.jl new file mode 100644 index 0000000..5baec08 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointCollectionUpdate.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointCollectionUpdate +Update Restore Point collection parameters. + + RestorePointCollectionUpdate(; + properties=nothing, + tags=nothing, + ) + + - properties::RestorePointCollectionProperties + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct RestorePointCollectionUpdate <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, RestorePointCollectionProperties } + tags::Union{Nothing, Dict{String, String}} = nothing + + function RestorePointCollectionUpdate(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointCollectionUpdate + +const _property_types_RestorePointCollectionUpdate = Dict{Symbol,String}(Symbol("properties")=>"RestorePointCollectionProperties", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ RestorePointCollectionUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointCollectionUpdate[name]))} + +function OpenAPI.check_required(o::RestorePointCollectionUpdate) + true +end + +function OpenAPI.validate_properties(o::RestorePointCollectionUpdate) + OpenAPI.validate_property(RestorePointCollectionUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(RestorePointCollectionUpdate, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ RestorePointCollectionUpdate }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointInstanceView.jl new file mode 100644 index 0000000..84f050f --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointInstanceView.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointInstanceView +The instance view of a restore point. + + RestorePointInstanceView(; + diskRestorePoints=nothing, + statuses=nothing, + ) + + - diskRestorePoints::Vector{DiskRestorePointInstanceView} : The disk restore points information. + - statuses::Vector{InstanceViewStatus} : The resource status information. +""" +Base.@kwdef mutable struct RestorePointInstanceView <: OpenAPI.APIModel + diskRestorePoints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DiskRestorePointInstanceView} } + statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } + + function RestorePointInstanceView(diskRestorePoints, statuses, ) + o = new(diskRestorePoints, statuses, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointInstanceView + +const _property_types_RestorePointInstanceView = Dict{Symbol,String}(Symbol("diskRestorePoints")=>"Vector{DiskRestorePointInstanceView}", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) +OpenAPI.property_type(::Type{ RestorePointInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointInstanceView[name]))} + +function OpenAPI.check_required(o::RestorePointInstanceView) + true +end + +function OpenAPI.validate_properties(o::RestorePointInstanceView) + OpenAPI.validate_property(RestorePointInstanceView, Symbol("diskRestorePoints"), o.diskRestorePoints) + OpenAPI.validate_property(RestorePointInstanceView, Symbol("statuses"), o.statuses) +end + +function OpenAPI.validate_property(::Type{ RestorePointInstanceView }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointProperties.jl new file mode 100644 index 0000000..676f20b --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointProperties.jl @@ -0,0 +1,74 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointProperties +The restore point properties. + + RestorePointProperties(; + excludeDisks=nothing, + sourceMetadata=nothing, + provisioningState=nothing, + consistencyMode=nothing, + timeCreated=nothing, + sourceRestorePoint=nothing, + instanceView=nothing, + ) + + - excludeDisks::Vector{ApiEntityReference} : List of disk resource ids that the customer wishes to exclude from the restore point. If no disks are specified, all disks will be included. + - sourceMetadata::RestorePointSourceMetadata + - provisioningState::String : Gets the provisioning state of the restore point. + - consistencyMode::String : Gets the consistency mode for the restore point. Please refer to https://aka.ms/RestorePoints for more details. + - timeCreated::ZonedDateTime : Gets the creation time of the restore point. + - sourceRestorePoint::ApiEntityReference + - instanceView::RestorePointInstanceView +""" +Base.@kwdef mutable struct RestorePointProperties <: OpenAPI.APIModel + excludeDisks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApiEntityReference} } + sourceMetadata = nothing # spec type: Union{ Nothing, RestorePointSourceMetadata } + provisioningState::Union{Nothing, String} = nothing + consistencyMode::Union{Nothing, String} = nothing + timeCreated::Union{Nothing, ZonedDateTime} = nothing + sourceRestorePoint = nothing # spec type: Union{ Nothing, ApiEntityReference } + instanceView = nothing # spec type: Union{ Nothing, RestorePointInstanceView } + + function RestorePointProperties(excludeDisks, sourceMetadata, provisioningState, consistencyMode, timeCreated, sourceRestorePoint, instanceView, ) + o = new(excludeDisks, sourceMetadata, provisioningState, consistencyMode, timeCreated, sourceRestorePoint, instanceView, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointProperties + +const _property_types_RestorePointProperties = Dict{Symbol,String}(Symbol("excludeDisks")=>"Vector{ApiEntityReference}", Symbol("sourceMetadata")=>"RestorePointSourceMetadata", Symbol("provisioningState")=>"String", Symbol("consistencyMode")=>"String", Symbol("timeCreated")=>"ZonedDateTime", Symbol("sourceRestorePoint")=>"ApiEntityReference", Symbol("instanceView")=>"RestorePointInstanceView", ) +OpenAPI.property_type(::Type{ RestorePointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointProperties[name]))} + +function OpenAPI.check_required(o::RestorePointProperties) + true +end + +function OpenAPI.validate_properties(o::RestorePointProperties) + OpenAPI.validate_property(RestorePointProperties, Symbol("excludeDisks"), o.excludeDisks) + OpenAPI.validate_property(RestorePointProperties, Symbol("sourceMetadata"), o.sourceMetadata) + OpenAPI.validate_property(RestorePointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RestorePointProperties, Symbol("consistencyMode"), o.consistencyMode) + OpenAPI.validate_property(RestorePointProperties, Symbol("timeCreated"), o.timeCreated) + OpenAPI.validate_property(RestorePointProperties, Symbol("sourceRestorePoint"), o.sourceRestorePoint) + OpenAPI.validate_property(RestorePointProperties, Symbol("instanceView"), o.instanceView) +end + +function OpenAPI.validate_property(::Type{ RestorePointProperties }, name::Symbol, val) + + + + + if name === Symbol("consistencyMode") + OpenAPI.validate_param(name, "RestorePointProperties", :enum, val, ["CrashConsistent", "FileSystemConsistent", "ApplicationConsistent"]) + end + + + if name === Symbol("timeCreated") + OpenAPI.validate_param(name, "RestorePointProperties", :format, val, "date-time") + end + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceMetadata.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceMetadata.jl new file mode 100644 index 0000000..3e3c24a --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceMetadata.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointSourceMetadata +Describes the properties of the Virtual Machine for which the restore point was created. The properties provided are a subset and the snapshot of the overall Virtual Machine properties captured at the time of the restore point creation. + + RestorePointSourceMetadata(; + hardwareProfile=nothing, + storageProfile=nothing, + osProfile=nothing, + diagnosticsProfile=nothing, + licenseType=nothing, + vmId=nothing, + securityProfile=nothing, + location=nothing, + ) + + - hardwareProfile::HardwareProfile + - storageProfile::RestorePointSourceVMStorageProfile + - osProfile::OSProfile + - diagnosticsProfile::DiagnosticsProfile + - licenseType::String : Gets the license type, which is for bring your own license scenario. + - vmId::String : Gets the virtual machine unique id. + - securityProfile::SecurityProfile + - location::String : Location of the VM from which the restore point was created. +""" +Base.@kwdef mutable struct RestorePointSourceMetadata <: OpenAPI.APIModel + hardwareProfile = nothing # spec type: Union{ Nothing, HardwareProfile } + storageProfile = nothing # spec type: Union{ Nothing, RestorePointSourceVMStorageProfile } + osProfile = nothing # spec type: Union{ Nothing, OSProfile } + diagnosticsProfile = nothing # spec type: Union{ Nothing, DiagnosticsProfile } + licenseType::Union{Nothing, String} = nothing + vmId::Union{Nothing, String} = nothing + securityProfile = nothing # spec type: Union{ Nothing, SecurityProfile } + location::Union{Nothing, String} = nothing + + function RestorePointSourceMetadata(hardwareProfile, storageProfile, osProfile, diagnosticsProfile, licenseType, vmId, securityProfile, location, ) + o = new(hardwareProfile, storageProfile, osProfile, diagnosticsProfile, licenseType, vmId, securityProfile, location, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointSourceMetadata + +const _property_types_RestorePointSourceMetadata = Dict{Symbol,String}(Symbol("hardwareProfile")=>"HardwareProfile", Symbol("storageProfile")=>"RestorePointSourceVMStorageProfile", Symbol("osProfile")=>"OSProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("licenseType")=>"String", Symbol("vmId")=>"String", Symbol("securityProfile")=>"SecurityProfile", Symbol("location")=>"String", ) +OpenAPI.property_type(::Type{ RestorePointSourceMetadata }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointSourceMetadata[name]))} + +function OpenAPI.check_required(o::RestorePointSourceMetadata) + true +end + +function OpenAPI.validate_properties(o::RestorePointSourceMetadata) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("hardwareProfile"), o.hardwareProfile) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("storageProfile"), o.storageProfile) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("osProfile"), o.osProfile) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("diagnosticsProfile"), o.diagnosticsProfile) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("licenseType"), o.licenseType) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("vmId"), o.vmId) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(RestorePointSourceMetadata, Symbol("location"), o.location) +end + +function OpenAPI.validate_property(::Type{ RestorePointSourceMetadata }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMDataDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMDataDisk.jl new file mode 100644 index 0000000..de19cbf --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMDataDisk.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointSourceVMDataDisk +Describes a data disk. + + RestorePointSourceVMDataDisk(; + lun=nothing, + name=nothing, + caching=nothing, + diskSizeGB=nothing, + managedDisk=nothing, + diskRestorePoint=nothing, + ) + + - lun::Int64 : Gets the logical unit number. + - name::String : Gets the disk name. + - caching::Caching + - diskSizeGB::Int64 : Gets the initial disk size in GB for blank data disks, and the new desired size for existing OS and Data disks. + - managedDisk::ManagedDiskParameters + - diskRestorePoint::ApiEntityReference +""" +Base.@kwdef mutable struct RestorePointSourceVMDataDisk <: OpenAPI.APIModel + lun::Union{Nothing, Int64} = nothing + name::Union{Nothing, String} = nothing + caching = nothing # spec type: Union{ Nothing, Caching } + diskSizeGB::Union{Nothing, Int64} = nothing + managedDisk = nothing # spec type: Union{ Nothing, ManagedDiskParameters } + diskRestorePoint = nothing # spec type: Union{ Nothing, ApiEntityReference } + + function RestorePointSourceVMDataDisk(lun, name, caching, diskSizeGB, managedDisk, diskRestorePoint, ) + o = new(lun, name, caching, diskSizeGB, managedDisk, diskRestorePoint, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointSourceVMDataDisk + +const _property_types_RestorePointSourceVMDataDisk = Dict{Symbol,String}(Symbol("lun")=>"Int64", Symbol("name")=>"String", Symbol("caching")=>"Caching", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"ManagedDiskParameters", Symbol("diskRestorePoint")=>"ApiEntityReference", ) +OpenAPI.property_type(::Type{ RestorePointSourceVMDataDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointSourceVMDataDisk[name]))} + +function OpenAPI.check_required(o::RestorePointSourceVMDataDisk) + true +end + +function OpenAPI.validate_properties(o::RestorePointSourceVMDataDisk) + OpenAPI.validate_property(RestorePointSourceVMDataDisk, Symbol("lun"), o.lun) + OpenAPI.validate_property(RestorePointSourceVMDataDisk, Symbol("name"), o.name) + OpenAPI.validate_property(RestorePointSourceVMDataDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(RestorePointSourceVMDataDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(RestorePointSourceVMDataDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(RestorePointSourceVMDataDisk, Symbol("diskRestorePoint"), o.diskRestorePoint) +end + +function OpenAPI.validate_property(::Type{ RestorePointSourceVMDataDisk }, name::Symbol, val) + + if name === Symbol("lun") + OpenAPI.validate_param(name, "RestorePointSourceVMDataDisk", :format, val, "int32") + end + + + + if name === Symbol("diskSizeGB") + OpenAPI.validate_param(name, "RestorePointSourceVMDataDisk", :format, val, "int32") + end + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMOSDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMOSDisk.jl new file mode 100644 index 0000000..c571e7b --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMOSDisk.jl @@ -0,0 +1,74 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointSourceVMOSDisk +Describes an Operating System disk. + + RestorePointSourceVMOSDisk(; + osType=nothing, + encryptionSettings=nothing, + name=nothing, + caching=nothing, + diskSizeGB=nothing, + managedDisk=nothing, + diskRestorePoint=nothing, + ) + + - osType::String : Gets the Operating System type. + - encryptionSettings::DiskEncryptionSettings + - name::String : Gets the disk name. + - caching::Caching + - diskSizeGB::Int64 : Gets the disk size in GB. + - managedDisk::ManagedDiskParameters + - diskRestorePoint::ApiEntityReference +""" +Base.@kwdef mutable struct RestorePointSourceVMOSDisk <: OpenAPI.APIModel + osType::Union{Nothing, String} = nothing + encryptionSettings = nothing # spec type: Union{ Nothing, DiskEncryptionSettings } + name::Union{Nothing, String} = nothing + caching = nothing # spec type: Union{ Nothing, Caching } + diskSizeGB::Union{Nothing, Int64} = nothing + managedDisk = nothing # spec type: Union{ Nothing, ManagedDiskParameters } + diskRestorePoint = nothing # spec type: Union{ Nothing, ApiEntityReference } + + function RestorePointSourceVMOSDisk(osType, encryptionSettings, name, caching, diskSizeGB, managedDisk, diskRestorePoint, ) + o = new(osType, encryptionSettings, name, caching, diskSizeGB, managedDisk, diskRestorePoint, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointSourceVMOSDisk + +const _property_types_RestorePointSourceVMOSDisk = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("encryptionSettings")=>"DiskEncryptionSettings", Symbol("name")=>"String", Symbol("caching")=>"Caching", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"ManagedDiskParameters", Symbol("diskRestorePoint")=>"ApiEntityReference", ) +OpenAPI.property_type(::Type{ RestorePointSourceVMOSDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointSourceVMOSDisk[name]))} + +function OpenAPI.check_required(o::RestorePointSourceVMOSDisk) + true +end + +function OpenAPI.validate_properties(o::RestorePointSourceVMOSDisk) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("osType"), o.osType) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("encryptionSettings"), o.encryptionSettings) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("name"), o.name) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(RestorePointSourceVMOSDisk, Symbol("diskRestorePoint"), o.diskRestorePoint) +end + +function OpenAPI.validate_property(::Type{ RestorePointSourceVMOSDisk }, name::Symbol, val) + + if name === Symbol("osType") + OpenAPI.validate_param(name, "RestorePointSourceVMOSDisk", :enum, val, ["Windows", "Linux"]) + end + + + + + + if name === Symbol("diskSizeGB") + OpenAPI.validate_param(name, "RestorePointSourceVMOSDisk", :format, val, "int32") + end + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMStorageProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMStorageProfile.jl new file mode 100644 index 0000000..6c9f79a --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_RestorePointSourceVMStorageProfile.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RestorePointSourceVMStorageProfile +Describes the storage profile. + + RestorePointSourceVMStorageProfile(; + osDisk=nothing, + dataDisks=nothing, + ) + + - osDisk::RestorePointSourceVMOSDisk + - dataDisks::Vector{RestorePointSourceVMDataDisk} : Gets the data disks of the VM captured at the time of the restore point creation. +""" +Base.@kwdef mutable struct RestorePointSourceVMStorageProfile <: OpenAPI.APIModel + osDisk = nothing # spec type: Union{ Nothing, RestorePointSourceVMOSDisk } + dataDisks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RestorePointSourceVMDataDisk} } + + function RestorePointSourceVMStorageProfile(osDisk, dataDisks, ) + o = new(osDisk, dataDisks, ) + OpenAPI.validate_properties(o) + return o + end +end # type RestorePointSourceVMStorageProfile + +const _property_types_RestorePointSourceVMStorageProfile = Dict{Symbol,String}(Symbol("osDisk")=>"RestorePointSourceVMOSDisk", Symbol("dataDisks")=>"Vector{RestorePointSourceVMDataDisk}", ) +OpenAPI.property_type(::Type{ RestorePointSourceVMStorageProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RestorePointSourceVMStorageProfile[name]))} + +function OpenAPI.check_required(o::RestorePointSourceVMStorageProfile) + true +end + +function OpenAPI.validate_properties(o::RestorePointSourceVMStorageProfile) + OpenAPI.validate_property(RestorePointSourceVMStorageProfile, Symbol("osDisk"), o.osDisk) + OpenAPI.validate_property(RestorePointSourceVMStorageProfile, Symbol("dataDisks"), o.dataDisks) +end + +function OpenAPI.validate_property(::Type{ RestorePointSourceVMStorageProfile }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RetrieveBootDiagnosticsDataResult.jl b/src/Compute/ComputeManagementClient/src/models/model_RetrieveBootDiagnosticsDataResult.jl index 7347a88..691143a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RetrieveBootDiagnosticsDataResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RetrieveBootDiagnosticsDataResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct RetrieveBootDiagnosticsDataResult <: OpenAPI.APIModel serialConsoleLogBlobUri::Union{Nothing, String} = nothing function RetrieveBootDiagnosticsDataResult(consoleScreenshotBlobUri, serialConsoleLogBlobUri, ) - OpenAPI.validate_property(RetrieveBootDiagnosticsDataResult, Symbol("consoleScreenshotBlobUri"), consoleScreenshotBlobUri) - OpenAPI.validate_property(RetrieveBootDiagnosticsDataResult, Symbol("serialConsoleLogBlobUri"), serialConsoleLogBlobUri) - return new(consoleScreenshotBlobUri, serialConsoleLogBlobUri, ) + o = new(consoleScreenshotBlobUri, serialConsoleLogBlobUri, ) + OpenAPI.validate_properties(o) + return o end end # type RetrieveBootDiagnosticsDataResult const _property_types_RetrieveBootDiagnosticsDataResult = Dict{Symbol,String}(Symbol("consoleScreenshotBlobUri")=>"String", Symbol("serialConsoleLogBlobUri")=>"String", ) OpenAPI.property_type(::Type{ RetrieveBootDiagnosticsDataResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetrieveBootDiagnosticsDataResult[name]))} -function check_required(o::RetrieveBootDiagnosticsDataResult) +function OpenAPI.check_required(o::RetrieveBootDiagnosticsDataResult) true end +function OpenAPI.validate_properties(o::RetrieveBootDiagnosticsDataResult) + OpenAPI.validate_property(RetrieveBootDiagnosticsDataResult, Symbol("consoleScreenshotBlobUri"), o.consoleScreenshotBlobUri) + OpenAPI.validate_property(RetrieveBootDiagnosticsDataResult, Symbol("serialConsoleLogBlobUri"), o.serialConsoleLogBlobUri) +end + function OpenAPI.validate_property(::Type{ RetrieveBootDiagnosticsDataResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RollbackStatusInfo.jl b/src/Compute/ComputeManagementClient/src/models/model_RollbackStatusInfo.jl index b16d6d5..1a8de70 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RollbackStatusInfo.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RollbackStatusInfo.jl @@ -21,25 +21,33 @@ Base.@kwdef mutable struct RollbackStatusInfo <: OpenAPI.APIModel rollbackError = nothing # spec type: Union{ Nothing, ApiError } function RollbackStatusInfo(successfullyRolledbackInstanceCount, failedRolledbackInstanceCount, rollbackError, ) - OpenAPI.validate_property(RollbackStatusInfo, Symbol("successfullyRolledbackInstanceCount"), successfullyRolledbackInstanceCount) - OpenAPI.validate_property(RollbackStatusInfo, Symbol("failedRolledbackInstanceCount"), failedRolledbackInstanceCount) - OpenAPI.validate_property(RollbackStatusInfo, Symbol("rollbackError"), rollbackError) - return new(successfullyRolledbackInstanceCount, failedRolledbackInstanceCount, rollbackError, ) + o = new(successfullyRolledbackInstanceCount, failedRolledbackInstanceCount, rollbackError, ) + OpenAPI.validate_properties(o) + return o end end # type RollbackStatusInfo const _property_types_RollbackStatusInfo = Dict{Symbol,String}(Symbol("successfullyRolledbackInstanceCount")=>"Int64", Symbol("failedRolledbackInstanceCount")=>"Int64", Symbol("rollbackError")=>"ApiError", ) OpenAPI.property_type(::Type{ RollbackStatusInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RollbackStatusInfo[name]))} -function check_required(o::RollbackStatusInfo) +function OpenAPI.check_required(o::RollbackStatusInfo) true end +function OpenAPI.validate_properties(o::RollbackStatusInfo) + OpenAPI.validate_property(RollbackStatusInfo, Symbol("successfullyRolledbackInstanceCount"), o.successfullyRolledbackInstanceCount) + OpenAPI.validate_property(RollbackStatusInfo, Symbol("failedRolledbackInstanceCount"), o.failedRolledbackInstanceCount) + OpenAPI.validate_property(RollbackStatusInfo, Symbol("rollbackError"), o.rollbackError) +end + function OpenAPI.validate_property(::Type{ RollbackStatusInfo }, name::Symbol, val) + if name === Symbol("successfullyRolledbackInstanceCount") OpenAPI.validate_param(name, "RollbackStatusInfo", :format, val, "int32") end + if name === Symbol("failedRolledbackInstanceCount") OpenAPI.validate_param(name, "RollbackStatusInfo", :format, val, "int32") end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradePolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradePolicy.jl index e00754b..9eba44f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradePolicy.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradePolicy.jl @@ -10,36 +10,50 @@ The configuration parameters used while performing a rolling upgrade. maxUnhealthyInstancePercent=nothing, maxUnhealthyUpgradedInstancePercent=nothing, pauseTimeBetweenBatches=nothing, + enableCrossZoneUpgrade=nothing, + prioritizeUnhealthyInstances=nothing, ) - maxBatchInstancePercent::Int64 : The maximum percent of total virtual machine instances that will be upgraded simultaneously by the rolling upgrade in one batch. As this is a maximum, unhealthy instances in previous or future batches can cause the percentage of instances in a batch to decrease to ensure higher reliability. The default value for this parameter is 20%. - maxUnhealthyInstancePercent::Int64 : The maximum percentage of the total virtual machine instances in the scale set that can be simultaneously unhealthy, either as a result of being upgraded, or by being found in an unhealthy state by the virtual machine health checks before the rolling upgrade aborts. This constraint will be checked prior to starting any batch. The default value for this parameter is 20%. - maxUnhealthyUpgradedInstancePercent::Int64 : The maximum percentage of upgraded virtual machine instances that can be found to be in an unhealthy state. This check will happen after each batch is upgraded. If this percentage is ever exceeded, the rolling update aborts. The default value for this parameter is 20%. - pauseTimeBetweenBatches::String : The wait time between completing the update for all virtual machines in one batch and starting the next batch. The time duration should be specified in ISO 8601 format. The default value is 0 seconds (PT0S). + - enableCrossZoneUpgrade::Bool : Allow VMSS to ignore AZ boundaries when constructing upgrade batches. Take into consideration the Update Domain and maxBatchInstancePercent to determine the batch size. + - prioritizeUnhealthyInstances::Bool : Upgrade all unhealthy instances in a scale set before any healthy instances. """ Base.@kwdef mutable struct RollingUpgradePolicy <: OpenAPI.APIModel maxBatchInstancePercent::Union{Nothing, Int64} = nothing maxUnhealthyInstancePercent::Union{Nothing, Int64} = nothing maxUnhealthyUpgradedInstancePercent::Union{Nothing, Int64} = nothing pauseTimeBetweenBatches::Union{Nothing, String} = nothing + enableCrossZoneUpgrade::Union{Nothing, Bool} = nothing + prioritizeUnhealthyInstances::Union{Nothing, Bool} = nothing - function RollingUpgradePolicy(maxBatchInstancePercent, maxUnhealthyInstancePercent, maxUnhealthyUpgradedInstancePercent, pauseTimeBetweenBatches, ) - OpenAPI.validate_property(RollingUpgradePolicy, Symbol("maxBatchInstancePercent"), maxBatchInstancePercent) - OpenAPI.validate_property(RollingUpgradePolicy, Symbol("maxUnhealthyInstancePercent"), maxUnhealthyInstancePercent) - OpenAPI.validate_property(RollingUpgradePolicy, Symbol("maxUnhealthyUpgradedInstancePercent"), maxUnhealthyUpgradedInstancePercent) - OpenAPI.validate_property(RollingUpgradePolicy, Symbol("pauseTimeBetweenBatches"), pauseTimeBetweenBatches) - return new(maxBatchInstancePercent, maxUnhealthyInstancePercent, maxUnhealthyUpgradedInstancePercent, pauseTimeBetweenBatches, ) + function RollingUpgradePolicy(maxBatchInstancePercent, maxUnhealthyInstancePercent, maxUnhealthyUpgradedInstancePercent, pauseTimeBetweenBatches, enableCrossZoneUpgrade, prioritizeUnhealthyInstances, ) + o = new(maxBatchInstancePercent, maxUnhealthyInstancePercent, maxUnhealthyUpgradedInstancePercent, pauseTimeBetweenBatches, enableCrossZoneUpgrade, prioritizeUnhealthyInstances, ) + OpenAPI.validate_properties(o) + return o end end # type RollingUpgradePolicy -const _property_types_RollingUpgradePolicy = Dict{Symbol,String}(Symbol("maxBatchInstancePercent")=>"Int64", Symbol("maxUnhealthyInstancePercent")=>"Int64", Symbol("maxUnhealthyUpgradedInstancePercent")=>"Int64", Symbol("pauseTimeBetweenBatches")=>"String", ) +const _property_types_RollingUpgradePolicy = Dict{Symbol,String}(Symbol("maxBatchInstancePercent")=>"Int64", Symbol("maxUnhealthyInstancePercent")=>"Int64", Symbol("maxUnhealthyUpgradedInstancePercent")=>"Int64", Symbol("pauseTimeBetweenBatches")=>"String", Symbol("enableCrossZoneUpgrade")=>"Bool", Symbol("prioritizeUnhealthyInstances")=>"Bool", ) OpenAPI.property_type(::Type{ RollingUpgradePolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RollingUpgradePolicy[name]))} -function check_required(o::RollingUpgradePolicy) +function OpenAPI.check_required(o::RollingUpgradePolicy) true end +function OpenAPI.validate_properties(o::RollingUpgradePolicy) + OpenAPI.validate_property(RollingUpgradePolicy, Symbol("maxBatchInstancePercent"), o.maxBatchInstancePercent) + OpenAPI.validate_property(RollingUpgradePolicy, Symbol("maxUnhealthyInstancePercent"), o.maxUnhealthyInstancePercent) + OpenAPI.validate_property(RollingUpgradePolicy, Symbol("maxUnhealthyUpgradedInstancePercent"), o.maxUnhealthyUpgradedInstancePercent) + OpenAPI.validate_property(RollingUpgradePolicy, Symbol("pauseTimeBetweenBatches"), o.pauseTimeBetweenBatches) + OpenAPI.validate_property(RollingUpgradePolicy, Symbol("enableCrossZoneUpgrade"), o.enableCrossZoneUpgrade) + OpenAPI.validate_property(RollingUpgradePolicy, Symbol("prioritizeUnhealthyInstances"), o.prioritizeUnhealthyInstances) +end + function OpenAPI.validate_property(::Type{ RollingUpgradePolicy }, name::Symbol, val) + if name === Symbol("maxBatchInstancePercent") OpenAPI.validate_param(name, "RollingUpgradePolicy", :format, val, "int32") end @@ -47,6 +61,7 @@ function OpenAPI.validate_property(::Type{ RollingUpgradePolicy }, name::Symbol, OpenAPI.validate_param(name, "RollingUpgradePolicy", :maximum, val, 100, false) OpenAPI.validate_param(name, "RollingUpgradePolicy", :minimum, val, 5, false) end + if name === Symbol("maxUnhealthyInstancePercent") OpenAPI.validate_param(name, "RollingUpgradePolicy", :format, val, "int32") end @@ -54,6 +69,7 @@ function OpenAPI.validate_property(::Type{ RollingUpgradePolicy }, name::Symbol, OpenAPI.validate_param(name, "RollingUpgradePolicy", :maximum, val, 100, false) OpenAPI.validate_param(name, "RollingUpgradePolicy", :minimum, val, 5, false) end + if name === Symbol("maxUnhealthyUpgradedInstancePercent") OpenAPI.validate_param(name, "RollingUpgradePolicy", :format, val, "int32") end @@ -61,4 +77,7 @@ function OpenAPI.validate_property(::Type{ RollingUpgradePolicy }, name::Symbol, OpenAPI.validate_param(name, "RollingUpgradePolicy", :maximum, val, 100, false) OpenAPI.validate_param(name, "RollingUpgradePolicy", :minimum, val, 0, false) end + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeProgressInfo.jl b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeProgressInfo.jl index 1b21f05..d81b2e3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeProgressInfo.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeProgressInfo.jl @@ -24,31 +24,40 @@ Base.@kwdef mutable struct RollingUpgradeProgressInfo <: OpenAPI.APIModel pendingInstanceCount::Union{Nothing, Int64} = nothing function RollingUpgradeProgressInfo(successfulInstanceCount, failedInstanceCount, inProgressInstanceCount, pendingInstanceCount, ) - OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("successfulInstanceCount"), successfulInstanceCount) - OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("failedInstanceCount"), failedInstanceCount) - OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("inProgressInstanceCount"), inProgressInstanceCount) - OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("pendingInstanceCount"), pendingInstanceCount) - return new(successfulInstanceCount, failedInstanceCount, inProgressInstanceCount, pendingInstanceCount, ) + o = new(successfulInstanceCount, failedInstanceCount, inProgressInstanceCount, pendingInstanceCount, ) + OpenAPI.validate_properties(o) + return o end end # type RollingUpgradeProgressInfo const _property_types_RollingUpgradeProgressInfo = Dict{Symbol,String}(Symbol("successfulInstanceCount")=>"Int64", Symbol("failedInstanceCount")=>"Int64", Symbol("inProgressInstanceCount")=>"Int64", Symbol("pendingInstanceCount")=>"Int64", ) OpenAPI.property_type(::Type{ RollingUpgradeProgressInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RollingUpgradeProgressInfo[name]))} -function check_required(o::RollingUpgradeProgressInfo) +function OpenAPI.check_required(o::RollingUpgradeProgressInfo) true end +function OpenAPI.validate_properties(o::RollingUpgradeProgressInfo) + OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("successfulInstanceCount"), o.successfulInstanceCount) + OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("failedInstanceCount"), o.failedInstanceCount) + OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("inProgressInstanceCount"), o.inProgressInstanceCount) + OpenAPI.validate_property(RollingUpgradeProgressInfo, Symbol("pendingInstanceCount"), o.pendingInstanceCount) +end + function OpenAPI.validate_property(::Type{ RollingUpgradeProgressInfo }, name::Symbol, val) + if name === Symbol("successfulInstanceCount") OpenAPI.validate_param(name, "RollingUpgradeProgressInfo", :format, val, "int32") end + if name === Symbol("failedInstanceCount") OpenAPI.validate_param(name, "RollingUpgradeProgressInfo", :format, val, "int32") end + if name === Symbol("inProgressInstanceCount") OpenAPI.validate_param(name, "RollingUpgradeProgressInfo", :format, val, "int32") end + if name === Symbol("pendingInstanceCount") OpenAPI.validate_param(name, "RollingUpgradeProgressInfo", :format, val, "int32") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeRunningStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeRunningStatus.jl index 53d4600..ae2b9cf 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeRunningStatus.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeRunningStatus.jl @@ -24,31 +24,42 @@ Base.@kwdef mutable struct RollingUpgradeRunningStatus <: OpenAPI.APIModel lastActionTime::Union{Nothing, ZonedDateTime} = nothing function RollingUpgradeRunningStatus(code, startTime, lastAction, lastActionTime, ) - OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("code"), code) - OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("startTime"), startTime) - OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("lastAction"), lastAction) - OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("lastActionTime"), lastActionTime) - return new(code, startTime, lastAction, lastActionTime, ) + o = new(code, startTime, lastAction, lastActionTime, ) + OpenAPI.validate_properties(o) + return o end end # type RollingUpgradeRunningStatus const _property_types_RollingUpgradeRunningStatus = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("startTime")=>"ZonedDateTime", Symbol("lastAction")=>"String", Symbol("lastActionTime")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ RollingUpgradeRunningStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RollingUpgradeRunningStatus[name]))} -function check_required(o::RollingUpgradeRunningStatus) +function OpenAPI.check_required(o::RollingUpgradeRunningStatus) true end +function OpenAPI.validate_properties(o::RollingUpgradeRunningStatus) + OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("code"), o.code) + OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("lastAction"), o.lastAction) + OpenAPI.validate_property(RollingUpgradeRunningStatus, Symbol("lastActionTime"), o.lastActionTime) +end + function OpenAPI.validate_property(::Type{ RollingUpgradeRunningStatus }, name::Symbol, val) + if name === Symbol("code") OpenAPI.validate_param(name, "RollingUpgradeRunningStatus", :enum, val, ["RollingForward", "Cancelled", "Completed", "Faulted"]) end + + if name === Symbol("startTime") OpenAPI.validate_param(name, "RollingUpgradeRunningStatus", :format, val, "date-time") end + if name === Symbol("lastAction") OpenAPI.validate_param(name, "RollingUpgradeRunningStatus", :enum, val, ["Start", "Cancel"]) end + + if name === Symbol("lastActionTime") OpenAPI.validate_param(name, "RollingUpgradeRunningStatus", :format, val, "date-time") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfo.jl b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfo.jl index 5a3f189..cbfee10 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfo.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfo.jl @@ -30,23 +30,34 @@ Base.@kwdef mutable struct RollingUpgradeStatusInfo <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RollingUpgradeStatusInfo(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("properties"), properties) - OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("id"), id) - OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("name"), name) - OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("type"), type) - OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("location"), location) - OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RollingUpgradeStatusInfo const _property_types_RollingUpgradeStatusInfo = Dict{Symbol,String}(Symbol("properties")=>"RollingUpgradeStatusInfoProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RollingUpgradeStatusInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RollingUpgradeStatusInfo[name]))} -function check_required(o::RollingUpgradeStatusInfo) +function OpenAPI.check_required(o::RollingUpgradeStatusInfo) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::RollingUpgradeStatusInfo) + OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("properties"), o.properties) + OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("id"), o.id) + OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("name"), o.name) + OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("type"), o.type) + OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("location"), o.location) + OpenAPI.validate_property(RollingUpgradeStatusInfo, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RollingUpgradeStatusInfo }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfoProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfoProperties.jl index f50d189..9345015 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfoProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_RollingUpgradeStatusInfoProperties.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct RollingUpgradeStatusInfoProperties <: OpenAPI.APIMode error = nothing # spec type: Union{ Nothing, ApiError } function RollingUpgradeStatusInfoProperties(policy, runningStatus, progress, error, ) - OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("policy"), policy) - OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("runningStatus"), runningStatus) - OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("progress"), progress) - OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("error"), error) - return new(policy, runningStatus, progress, error, ) + o = new(policy, runningStatus, progress, error, ) + OpenAPI.validate_properties(o) + return o end end # type RollingUpgradeStatusInfoProperties const _property_types_RollingUpgradeStatusInfoProperties = Dict{Symbol,String}(Symbol("policy")=>"RollingUpgradePolicy", Symbol("runningStatus")=>"RollingUpgradeRunningStatus", Symbol("progress")=>"RollingUpgradeProgressInfo", Symbol("error")=>"ApiError", ) OpenAPI.property_type(::Type{ RollingUpgradeStatusInfoProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RollingUpgradeStatusInfoProperties[name]))} -function check_required(o::RollingUpgradeStatusInfoProperties) +function OpenAPI.check_required(o::RollingUpgradeStatusInfoProperties) true end +function OpenAPI.validate_properties(o::RollingUpgradeStatusInfoProperties) + OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("policy"), o.policy) + OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("runningStatus"), o.runningStatus) + OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("progress"), o.progress) + OpenAPI.validate_property(RollingUpgradeStatusInfoProperties, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ RollingUpgradeStatusInfoProperties }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ScaleInPolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_ScaleInPolicy.jl index 2f15a93..6f733a1 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ScaleInPolicy.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ScaleInPolicy.jl @@ -7,28 +7,40 @@ Describes a scale-in policy for a virtual machine scale set. ScaleInPolicy(; rules=nothing, + forceDeletion=nothing, ) - rules::Vector{String} : The rules to be followed when scaling-in a virtual machine scale set. <br><br> Possible values are: <br><br> **Default** When a virtual machine scale set is scaled in, the scale set will first be balanced across zones if it is a zonal scale set. Then, it will be balanced across Fault Domains as far as possible. Within each Fault Domain, the virtual machines chosen for removal will be the newest ones that are not protected from scale-in. <br><br> **OldestVM** When a virtual machine scale set is being scaled-in, the oldest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the oldest virtual machines that are not protected will be chosen for removal. <br><br> **NewestVM** When a virtual machine scale set is being scaled-in, the newest virtual machines that are not protected from scale-in will be chosen for removal. For zonal virtual machine scale sets, the scale set will first be balanced across zones. Within each zone, the newest virtual machines that are not protected will be chosen for removal. <br><br> + - forceDeletion::Bool : This property allows you to specify if virtual machines chosen for removal have to be force deleted when a virtual machine scale set is being scaled-in.(Feature in Preview) """ Base.@kwdef mutable struct ScaleInPolicy <: OpenAPI.APIModel rules::Union{Nothing, Vector{String}} = nothing + forceDeletion::Union{Nothing, Bool} = nothing - function ScaleInPolicy(rules, ) - OpenAPI.validate_property(ScaleInPolicy, Symbol("rules"), rules) - return new(rules, ) + function ScaleInPolicy(rules, forceDeletion, ) + o = new(rules, forceDeletion, ) + OpenAPI.validate_properties(o) + return o end end # type ScaleInPolicy -const _property_types_ScaleInPolicy = Dict{Symbol,String}(Symbol("rules")=>"Vector{String}", ) +const _property_types_ScaleInPolicy = Dict{Symbol,String}(Symbol("rules")=>"Vector{String}", Symbol("forceDeletion")=>"Bool", ) OpenAPI.property_type(::Type{ ScaleInPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ScaleInPolicy[name]))} -function check_required(o::ScaleInPolicy) +function OpenAPI.check_required(o::ScaleInPolicy) true end +function OpenAPI.validate_properties(o::ScaleInPolicy) + OpenAPI.validate_property(ScaleInPolicy, Symbol("rules"), o.rules) + OpenAPI.validate_property(ScaleInPolicy, Symbol("forceDeletion"), o.forceDeletion) +end + function OpenAPI.validate_property(::Type{ ScaleInPolicy }, name::Symbol, val) + if name === Symbol("rules") - OpenAPI.validate_param(name, "ScaleInPolicy", :enum, val, []) + OpenAPI.validate_param(name, "ScaleInPolicy", :enum, val, ["Default", "OldestVM", "NewestVM"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ScheduledEventsProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_ScheduledEventsProfile.jl index f1d966b..2a32e78 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ScheduledEventsProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ScheduledEventsProfile.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct ScheduledEventsProfile <: OpenAPI.APIModel terminateNotificationProfile = nothing # spec type: Union{ Nothing, TerminateNotificationProfile } function ScheduledEventsProfile(terminateNotificationProfile, ) - OpenAPI.validate_property(ScheduledEventsProfile, Symbol("terminateNotificationProfile"), terminateNotificationProfile) - return new(terminateNotificationProfile, ) + o = new(terminateNotificationProfile, ) + OpenAPI.validate_properties(o) + return o end end # type ScheduledEventsProfile const _property_types_ScheduledEventsProfile = Dict{Symbol,String}(Symbol("terminateNotificationProfile")=>"TerminateNotificationProfile", ) OpenAPI.property_type(::Type{ ScheduledEventsProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ScheduledEventsProfile[name]))} -function check_required(o::ScheduledEventsProfile) +function OpenAPI.check_required(o::ScheduledEventsProfile) true end +function OpenAPI.validate_properties(o::ScheduledEventsProfile) + OpenAPI.validate_property(ScheduledEventsProfile, Symbol("terminateNotificationProfile"), o.terminateNotificationProfile) +end + function OpenAPI.validate_property(::Type{ ScheduledEventsProfile }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SecurityProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_SecurityProfile.jl index fe7aa10..70cc10f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SecurityProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SecurityProfile.jl @@ -6,26 +6,46 @@ Specifies the Security profile settings for the virtual machine or virtual machine scale set. SecurityProfile(; + uefiSettings=nothing, encryptionAtHost=nothing, + securityType=nothing, ) + - uefiSettings::UefiSettings - encryptionAtHost::Bool : This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. <br><br> Default: The Encryption at host will be disabled unless this property is set to true for the resource. + - securityType::String : Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. <br><br> Default: UefiSettings will not be enabled unless this property is set. """ Base.@kwdef mutable struct SecurityProfile <: OpenAPI.APIModel + uefiSettings = nothing # spec type: Union{ Nothing, UefiSettings } encryptionAtHost::Union{Nothing, Bool} = nothing + securityType::Union{Nothing, String} = nothing - function SecurityProfile(encryptionAtHost, ) - OpenAPI.validate_property(SecurityProfile, Symbol("encryptionAtHost"), encryptionAtHost) - return new(encryptionAtHost, ) + function SecurityProfile(uefiSettings, encryptionAtHost, securityType, ) + o = new(uefiSettings, encryptionAtHost, securityType, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityProfile -const _property_types_SecurityProfile = Dict{Symbol,String}(Symbol("encryptionAtHost")=>"Bool", ) +const _property_types_SecurityProfile = Dict{Symbol,String}(Symbol("uefiSettings")=>"UefiSettings", Symbol("encryptionAtHost")=>"Bool", Symbol("securityType")=>"String", ) OpenAPI.property_type(::Type{ SecurityProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityProfile[name]))} -function check_required(o::SecurityProfile) +function OpenAPI.check_required(o::SecurityProfile) true end +function OpenAPI.validate_properties(o::SecurityProfile) + OpenAPI.validate_property(SecurityProfile, Symbol("uefiSettings"), o.uefiSettings) + OpenAPI.validate_property(SecurityProfile, Symbol("encryptionAtHost"), o.encryptionAtHost) + OpenAPI.validate_property(SecurityProfile, Symbol("securityType"), o.securityType) +end + function OpenAPI.validate_property(::Type{ SecurityProfile }, name::Symbol, val) + + + + if name === Symbol("securityType") + OpenAPI.validate_param(name, "SecurityProfile", :enum, val, ["TrustedLaunch", "ConfidentialVM"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_Sku.jl b/src/Compute/ComputeManagementClient/src/models/model_Sku.jl index 397df33..7d1abda 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_Sku.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_Sku.jl @@ -21,21 +21,29 @@ Base.@kwdef mutable struct Sku <: OpenAPI.APIModel capacity::Union{Nothing, Int64} = nothing function Sku(name, tier, capacity, ) - OpenAPI.validate_property(Sku, Symbol("name"), name) - OpenAPI.validate_property(Sku, Symbol("tier"), tier) - OpenAPI.validate_property(Sku, Symbol("capacity"), capacity) - return new(name, tier, capacity, ) + o = new(name, tier, capacity, ) + OpenAPI.validate_properties(o) + return o end end # type Sku const _property_types_Sku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("capacity")=>"Int64", ) OpenAPI.property_type(::Type{ Sku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Sku[name]))} -function check_required(o::Sku) +function OpenAPI.check_required(o::Sku) true end +function OpenAPI.validate_properties(o::Sku) + OpenAPI.validate_property(Sku, Symbol("name"), o.name) + OpenAPI.validate_property(Sku, Symbol("tier"), o.tier) + OpenAPI.validate_property(Sku, Symbol("capacity"), o.capacity) +end + function OpenAPI.validate_property(::Type{ Sku }, name::Symbol, val) + + + if name === Symbol("capacity") OpenAPI.validate_param(name, "Sku", :format, val, "int64") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SpotRestorePolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_SpotRestorePolicy.jl new file mode 100644 index 0000000..61f9665 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_SpotRestorePolicy.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SpotRestorePolicy +Specifies the Spot-Try-Restore properties for the virtual machine scale set. <br><br> With this property customer can enable or disable automatic restore of the evicted Spot VMSS VM instances opportunistically based on capacity availability and pricing constraint. + + SpotRestorePolicy(; + enabled=nothing, + restoreTimeout=nothing, + ) + + - enabled::Bool : Enables the Spot-Try-Restore feature where evicted VMSS SPOT instances will be tried to be restored opportunistically based on capacity availability and pricing constraints + - restoreTimeout::String : Timeout value expressed as an ISO 8601 time duration after which the platform will not try to restore the VMSS SPOT instances +""" +Base.@kwdef mutable struct SpotRestorePolicy <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + restoreTimeout::Union{Nothing, String} = nothing + + function SpotRestorePolicy(enabled, restoreTimeout, ) + o = new(enabled, restoreTimeout, ) + OpenAPI.validate_properties(o) + return o + end +end # type SpotRestorePolicy + +const _property_types_SpotRestorePolicy = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("restoreTimeout")=>"String", ) +OpenAPI.property_type(::Type{ SpotRestorePolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SpotRestorePolicy[name]))} + +function OpenAPI.check_required(o::SpotRestorePolicy) + true +end + +function OpenAPI.validate_properties(o::SpotRestorePolicy) + OpenAPI.validate_property(SpotRestorePolicy, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(SpotRestorePolicy, Symbol("restoreTimeout"), o.restoreTimeout) +end + +function OpenAPI.validate_property(::Type{ SpotRestorePolicy }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_SshConfiguration.jl index 7fb5b7f..2a58943 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshConfiguration.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SshConfiguration <: OpenAPI.APIModel publicKeys::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SshPublicKey} } function SshConfiguration(publicKeys, ) - OpenAPI.validate_property(SshConfiguration, Symbol("publicKeys"), publicKeys) - return new(publicKeys, ) + o = new(publicKeys, ) + OpenAPI.validate_properties(o) + return o end end # type SshConfiguration const _property_types_SshConfiguration = Dict{Symbol,String}(Symbol("publicKeys")=>"Vector{SshPublicKey}", ) OpenAPI.property_type(::Type{ SshConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshConfiguration[name]))} -function check_required(o::SshConfiguration) +function OpenAPI.check_required(o::SshConfiguration) true end +function OpenAPI.validate_properties(o::SshConfiguration) + OpenAPI.validate_property(SshConfiguration, Symbol("publicKeys"), o.publicKeys) +end + function OpenAPI.validate_property(::Type{ SshConfiguration }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKey.jl b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKey.jl index e7689aa..d2dcbf8 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKey.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKey.jl @@ -11,25 +11,32 @@ Contains information about SSH certificate public key and the path on the Linux ) - path::String : Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys - - keyData::String : SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-mac-create-ssh-keys?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json). + - keyData::String : SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. <br><br> For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure](https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). """ Base.@kwdef mutable struct SshPublicKey <: OpenAPI.APIModel path::Union{Nothing, String} = nothing keyData::Union{Nothing, String} = nothing function SshPublicKey(path, keyData, ) - OpenAPI.validate_property(SshPublicKey, Symbol("path"), path) - OpenAPI.validate_property(SshPublicKey, Symbol("keyData"), keyData) - return new(path, keyData, ) + o = new(path, keyData, ) + OpenAPI.validate_properties(o) + return o end end # type SshPublicKey const _property_types_SshPublicKey = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("keyData")=>"String", ) OpenAPI.property_type(::Type{ SshPublicKey }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKey[name]))} -function check_required(o::SshPublicKey) +function OpenAPI.check_required(o::SshPublicKey) true end +function OpenAPI.validate_properties(o::SshPublicKey) + OpenAPI.validate_property(SshPublicKey, Symbol("path"), o.path) + OpenAPI.validate_property(SshPublicKey, Symbol("keyData"), o.keyData) +end + function OpenAPI.validate_property(::Type{ SshPublicKey }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyGenerateKeyPairResult.jl b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyGenerateKeyPairResult.jl index b751822..c60d75c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyGenerateKeyPairResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyGenerateKeyPairResult.jl @@ -21,22 +21,30 @@ Base.@kwdef mutable struct SshPublicKeyGenerateKeyPairResult <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SshPublicKeyGenerateKeyPairResult(privateKey, publicKey, id, ) - OpenAPI.validate_property(SshPublicKeyGenerateKeyPairResult, Symbol("privateKey"), privateKey) - OpenAPI.validate_property(SshPublicKeyGenerateKeyPairResult, Symbol("publicKey"), publicKey) - OpenAPI.validate_property(SshPublicKeyGenerateKeyPairResult, Symbol("id"), id) - return new(privateKey, publicKey, id, ) + o = new(privateKey, publicKey, id, ) + OpenAPI.validate_properties(o) + return o end end # type SshPublicKeyGenerateKeyPairResult const _property_types_SshPublicKeyGenerateKeyPairResult = Dict{Symbol,String}(Symbol("privateKey")=>"String", Symbol("publicKey")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SshPublicKeyGenerateKeyPairResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKeyGenerateKeyPairResult[name]))} -function check_required(o::SshPublicKeyGenerateKeyPairResult) +function OpenAPI.check_required(o::SshPublicKeyGenerateKeyPairResult) o.privateKey === nothing && (return false) o.publicKey === nothing && (return false) o.id === nothing && (return false) true end +function OpenAPI.validate_properties(o::SshPublicKeyGenerateKeyPairResult) + OpenAPI.validate_property(SshPublicKeyGenerateKeyPairResult, Symbol("privateKey"), o.privateKey) + OpenAPI.validate_property(SshPublicKeyGenerateKeyPairResult, Symbol("publicKey"), o.publicKey) + OpenAPI.validate_property(SshPublicKeyGenerateKeyPairResult, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SshPublicKeyGenerateKeyPairResult }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResource.jl b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResource.jl index f1c220c..19387c1 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResource.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResource.jl @@ -30,23 +30,34 @@ Base.@kwdef mutable struct SshPublicKeyResource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function SshPublicKeyResource(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(SshPublicKeyResource, Symbol("properties"), properties) - OpenAPI.validate_property(SshPublicKeyResource, Symbol("id"), id) - OpenAPI.validate_property(SshPublicKeyResource, Symbol("name"), name) - OpenAPI.validate_property(SshPublicKeyResource, Symbol("type"), type) - OpenAPI.validate_property(SshPublicKeyResource, Symbol("location"), location) - OpenAPI.validate_property(SshPublicKeyResource, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type SshPublicKeyResource const _property_types_SshPublicKeyResource = Dict{Symbol,String}(Symbol("properties")=>"SshPublicKeyResourceProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ SshPublicKeyResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKeyResource[name]))} -function check_required(o::SshPublicKeyResource) +function OpenAPI.check_required(o::SshPublicKeyResource) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::SshPublicKeyResource) + OpenAPI.validate_property(SshPublicKeyResource, Symbol("properties"), o.properties) + OpenAPI.validate_property(SshPublicKeyResource, Symbol("id"), o.id) + OpenAPI.validate_property(SshPublicKeyResource, Symbol("name"), o.name) + OpenAPI.validate_property(SshPublicKeyResource, Symbol("type"), o.type) + OpenAPI.validate_property(SshPublicKeyResource, Symbol("location"), o.location) + OpenAPI.validate_property(SshPublicKeyResource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ SshPublicKeyResource }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResourceProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResourceProperties.jl index 18a83b2..a457e92 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResourceProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyResourceProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SshPublicKeyResourceProperties <: OpenAPI.APIModel publicKey::Union{Nothing, String} = nothing function SshPublicKeyResourceProperties(publicKey, ) - OpenAPI.validate_property(SshPublicKeyResourceProperties, Symbol("publicKey"), publicKey) - return new(publicKey, ) + o = new(publicKey, ) + OpenAPI.validate_properties(o) + return o end end # type SshPublicKeyResourceProperties const _property_types_SshPublicKeyResourceProperties = Dict{Symbol,String}(Symbol("publicKey")=>"String", ) OpenAPI.property_type(::Type{ SshPublicKeyResourceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKeyResourceProperties[name]))} -function check_required(o::SshPublicKeyResourceProperties) +function OpenAPI.check_required(o::SshPublicKeyResourceProperties) true end +function OpenAPI.validate_properties(o::SshPublicKeyResourceProperties) + OpenAPI.validate_property(SshPublicKeyResourceProperties, Symbol("publicKey"), o.publicKey) +end + function OpenAPI.validate_property(::Type{ SshPublicKeyResourceProperties }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyUpdateResource.jl b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyUpdateResource.jl index 81b1698..f0915dc 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyUpdateResource.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeyUpdateResource.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct SshPublicKeyUpdateResource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function SshPublicKeyUpdateResource(properties, tags, ) - OpenAPI.validate_property(SshPublicKeyUpdateResource, Symbol("properties"), properties) - OpenAPI.validate_property(SshPublicKeyUpdateResource, Symbol("tags"), tags) - return new(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o end end # type SshPublicKeyUpdateResource const _property_types_SshPublicKeyUpdateResource = Dict{Symbol,String}(Symbol("properties")=>"SshPublicKeyResourceProperties", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ SshPublicKeyUpdateResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKeyUpdateResource[name]))} -function check_required(o::SshPublicKeyUpdateResource) +function OpenAPI.check_required(o::SshPublicKeyUpdateResource) true end +function OpenAPI.validate_properties(o::SshPublicKeyUpdateResource) + OpenAPI.validate_property(SshPublicKeyUpdateResource, Symbol("properties"), o.properties) + OpenAPI.validate_property(SshPublicKeyUpdateResource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ SshPublicKeyUpdateResource }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeysGroupListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeysGroupListResult.jl index 505f8e0..ffd040f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeysGroupListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SshPublicKeysGroupListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct SshPublicKeysGroupListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function SshPublicKeysGroupListResult(value, nextLink, ) - OpenAPI.validate_property(SshPublicKeysGroupListResult, Symbol("value"), value) - OpenAPI.validate_property(SshPublicKeysGroupListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type SshPublicKeysGroupListResult const _property_types_SshPublicKeysGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{SshPublicKeyResource}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ SshPublicKeysGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKeysGroupListResult[name]))} -function check_required(o::SshPublicKeysGroupListResult) +function OpenAPI.check_required(o::SshPublicKeysGroupListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::SshPublicKeysGroupListResult) + OpenAPI.validate_property(SshPublicKeysGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(SshPublicKeysGroupListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ SshPublicKeysGroupListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_StorageProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_StorageProfile.jl index 1d98d7b..98beb4e 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_StorageProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_StorageProfile.jl @@ -13,7 +13,7 @@ Specifies the storage settings for the virtual machine disks. - imageReference::ImageReference - osDisk::OSDisk - - dataDisks::Vector{DataDisk} : Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). + - dataDisks::Vector{DataDisk} : Specifies the parameters that are used to add a data disk to a virtual machine. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). """ Base.@kwdef mutable struct StorageProfile <: OpenAPI.APIModel imageReference = nothing # spec type: Union{ Nothing, ImageReference } @@ -21,19 +21,27 @@ Base.@kwdef mutable struct StorageProfile <: OpenAPI.APIModel dataDisks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DataDisk} } function StorageProfile(imageReference, osDisk, dataDisks, ) - OpenAPI.validate_property(StorageProfile, Symbol("imageReference"), imageReference) - OpenAPI.validate_property(StorageProfile, Symbol("osDisk"), osDisk) - OpenAPI.validate_property(StorageProfile, Symbol("dataDisks"), dataDisks) - return new(imageReference, osDisk, dataDisks, ) + o = new(imageReference, osDisk, dataDisks, ) + OpenAPI.validate_properties(o) + return o end end # type StorageProfile const _property_types_StorageProfile = Dict{Symbol,String}(Symbol("imageReference")=>"ImageReference", Symbol("osDisk")=>"OSDisk", Symbol("dataDisks")=>"Vector{DataDisk}", ) OpenAPI.property_type(::Type{ StorageProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageProfile[name]))} -function check_required(o::StorageProfile) +function OpenAPI.check_required(o::StorageProfile) true end +function OpenAPI.validate_properties(o::StorageProfile) + OpenAPI.validate_property(StorageProfile, Symbol("imageReference"), o.imageReference) + OpenAPI.validate_property(StorageProfile, Symbol("osDisk"), o.osDisk) + OpenAPI.validate_property(StorageProfile, Symbol("dataDisks"), o.dataDisks) +end + function OpenAPI.validate_property(::Type{ StorageProfile }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SubResource.jl b/src/Compute/ComputeManagementClient/src/models/model_SubResource.jl index 729a477..154d462 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SubResource.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SubResource.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SubResourceReadOnly.jl b/src/Compute/ComputeManagementClient/src/models/model_SubResourceReadOnly.jl index a4f1ae7..a2d02e4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SubResourceReadOnly.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SubResourceReadOnly.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct SubResourceReadOnly <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResourceReadOnly(id, ) - OpenAPI.validate_property(SubResourceReadOnly, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResourceReadOnly const _property_types_SubResourceReadOnly = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResourceReadOnly }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResourceReadOnly[name]))} -function check_required(o::SubResourceReadOnly) +function OpenAPI.check_required(o::SubResourceReadOnly) true end +function OpenAPI.validate_properties(o::SubResourceReadOnly) + OpenAPI.validate_property(SubResourceReadOnly, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResourceReadOnly }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_SubResourceWithColocationStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_SubResourceWithColocationStatus.jl index f746bfc..b1406a5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_SubResourceWithColocationStatus.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_SubResourceWithColocationStatus.jl @@ -17,18 +17,25 @@ Base.@kwdef mutable struct SubResourceWithColocationStatus <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResourceWithColocationStatus(colocationStatus, id, ) - OpenAPI.validate_property(SubResourceWithColocationStatus, Symbol("colocationStatus"), colocationStatus) - OpenAPI.validate_property(SubResourceWithColocationStatus, Symbol("id"), id) - return new(colocationStatus, id, ) + o = new(colocationStatus, id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResourceWithColocationStatus const _property_types_SubResourceWithColocationStatus = Dict{Symbol,String}(Symbol("colocationStatus")=>"InstanceViewStatus", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResourceWithColocationStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResourceWithColocationStatus[name]))} -function check_required(o::SubResourceWithColocationStatus) +function OpenAPI.check_required(o::SubResourceWithColocationStatus) true end +function OpenAPI.validate_properties(o::SubResourceWithColocationStatus) + OpenAPI.validate_property(SubResourceWithColocationStatus, Symbol("colocationStatus"), o.colocationStatus) + OpenAPI.validate_property(SubResourceWithColocationStatus, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResourceWithColocationStatus }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_TerminateNotificationProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_TerminateNotificationProfile.jl index 2139e0d..f0261ad 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_TerminateNotificationProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_TerminateNotificationProfile.jl @@ -17,18 +17,25 @@ Base.@kwdef mutable struct TerminateNotificationProfile <: OpenAPI.APIModel enable::Union{Nothing, Bool} = nothing function TerminateNotificationProfile(notBeforeTimeout, enable, ) - OpenAPI.validate_property(TerminateNotificationProfile, Symbol("notBeforeTimeout"), notBeforeTimeout) - OpenAPI.validate_property(TerminateNotificationProfile, Symbol("enable"), enable) - return new(notBeforeTimeout, enable, ) + o = new(notBeforeTimeout, enable, ) + OpenAPI.validate_properties(o) + return o end end # type TerminateNotificationProfile const _property_types_TerminateNotificationProfile = Dict{Symbol,String}(Symbol("notBeforeTimeout")=>"String", Symbol("enable")=>"Bool", ) OpenAPI.property_type(::Type{ TerminateNotificationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TerminateNotificationProfile[name]))} -function check_required(o::TerminateNotificationProfile) +function OpenAPI.check_required(o::TerminateNotificationProfile) true end +function OpenAPI.validate_properties(o::TerminateNotificationProfile) + OpenAPI.validate_property(TerminateNotificationProfile, Symbol("notBeforeTimeout"), o.notBeforeTimeout) + OpenAPI.validate_property(TerminateNotificationProfile, Symbol("enable"), o.enable) +end + function OpenAPI.validate_property(::Type{ TerminateNotificationProfile }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_ThrottledRequestsInput.jl b/src/Compute/ComputeManagementClient/src/models/model_ThrottledRequestsInput.jl index 04099cf..c0b63a3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_ThrottledRequestsInput.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_ThrottledRequestsInput.jl @@ -12,6 +12,8 @@ Api request input for LogAnalytics getThrottledRequests Api. groupByThrottlePolicy=nothing, groupByOperationName=nothing, groupByResourceName=nothing, + groupByClientApplicationId=nothing, + groupByUserAgent=nothing, ) - blobContainerSasUri::String : SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to. @@ -20,6 +22,8 @@ Api request input for LogAnalytics getThrottledRequests Api. - groupByThrottlePolicy::Bool : Group query result by Throttle Policy applied. - groupByOperationName::Bool : Group query result by Operation Name. - groupByResourceName::Bool : Group query result by Resource Name. + - groupByClientApplicationId::Bool : Group query result by Client Application ID. + - groupByUserAgent::Bool : Group query result by User Agent. """ Base.@kwdef mutable struct ThrottledRequestsInput <: OpenAPI.APIModel blobContainerSasUri::Union{Nothing, String} = nothing @@ -28,33 +32,50 @@ Base.@kwdef mutable struct ThrottledRequestsInput <: OpenAPI.APIModel groupByThrottlePolicy::Union{Nothing, Bool} = nothing groupByOperationName::Union{Nothing, Bool} = nothing groupByResourceName::Union{Nothing, Bool} = nothing + groupByClientApplicationId::Union{Nothing, Bool} = nothing + groupByUserAgent::Union{Nothing, Bool} = nothing - function ThrottledRequestsInput(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, ) - OpenAPI.validate_property(ThrottledRequestsInput, Symbol("blobContainerSasUri"), blobContainerSasUri) - OpenAPI.validate_property(ThrottledRequestsInput, Symbol("fromTime"), fromTime) - OpenAPI.validate_property(ThrottledRequestsInput, Symbol("toTime"), toTime) - OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByThrottlePolicy"), groupByThrottlePolicy) - OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByOperationName"), groupByOperationName) - OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByResourceName"), groupByResourceName) - return new(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, ) + function ThrottledRequestsInput(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, groupByClientApplicationId, groupByUserAgent, ) + o = new(blobContainerSasUri, fromTime, toTime, groupByThrottlePolicy, groupByOperationName, groupByResourceName, groupByClientApplicationId, groupByUserAgent, ) + OpenAPI.validate_properties(o) + return o end end # type ThrottledRequestsInput -const _property_types_ThrottledRequestsInput = Dict{Symbol,String}(Symbol("blobContainerSasUri")=>"String", Symbol("fromTime")=>"ZonedDateTime", Symbol("toTime")=>"ZonedDateTime", Symbol("groupByThrottlePolicy")=>"Bool", Symbol("groupByOperationName")=>"Bool", Symbol("groupByResourceName")=>"Bool", ) +const _property_types_ThrottledRequestsInput = Dict{Symbol,String}(Symbol("blobContainerSasUri")=>"String", Symbol("fromTime")=>"ZonedDateTime", Symbol("toTime")=>"ZonedDateTime", Symbol("groupByThrottlePolicy")=>"Bool", Symbol("groupByOperationName")=>"Bool", Symbol("groupByResourceName")=>"Bool", Symbol("groupByClientApplicationId")=>"Bool", Symbol("groupByUserAgent")=>"Bool", ) OpenAPI.property_type(::Type{ ThrottledRequestsInput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ThrottledRequestsInput[name]))} -function check_required(o::ThrottledRequestsInput) +function OpenAPI.check_required(o::ThrottledRequestsInput) o.blobContainerSasUri === nothing && (return false) o.fromTime === nothing && (return false) o.toTime === nothing && (return false) true end +function OpenAPI.validate_properties(o::ThrottledRequestsInput) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("blobContainerSasUri"), o.blobContainerSasUri) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("fromTime"), o.fromTime) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("toTime"), o.toTime) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByThrottlePolicy"), o.groupByThrottlePolicy) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByOperationName"), o.groupByOperationName) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByResourceName"), o.groupByResourceName) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByClientApplicationId"), o.groupByClientApplicationId) + OpenAPI.validate_property(ThrottledRequestsInput, Symbol("groupByUserAgent"), o.groupByUserAgent) +end + function OpenAPI.validate_property(::Type{ ThrottledRequestsInput }, name::Symbol, val) + + if name === Symbol("fromTime") OpenAPI.validate_param(name, "ThrottledRequestsInput", :format, val, "date-time") end + if name === Symbol("toTime") OpenAPI.validate_param(name, "ThrottledRequestsInput", :format, val, "date-time") end + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UefiSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_UefiSettings.jl new file mode 100644 index 0000000..3bfd81e --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_UefiSettings.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""UefiSettings +Specifies the security settings like secure boot and vTPM used while creating the virtual machine. <br><br>Minimum api-version: 2020-12-01 + + UefiSettings(; + secureBootEnabled=nothing, + vTpmEnabled=nothing, + ) + + - secureBootEnabled::Bool : Specifies whether secure boot should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01 + - vTpmEnabled::Bool : Specifies whether vTPM should be enabled on the virtual machine. <br><br>Minimum api-version: 2020-12-01 +""" +Base.@kwdef mutable struct UefiSettings <: OpenAPI.APIModel + secureBootEnabled::Union{Nothing, Bool} = nothing + vTpmEnabled::Union{Nothing, Bool} = nothing + + function UefiSettings(secureBootEnabled, vTpmEnabled, ) + o = new(secureBootEnabled, vTpmEnabled, ) + OpenAPI.validate_properties(o) + return o + end +end # type UefiSettings + +const _property_types_UefiSettings = Dict{Symbol,String}(Symbol("secureBootEnabled")=>"Bool", Symbol("vTpmEnabled")=>"Bool", ) +OpenAPI.property_type(::Type{ UefiSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UefiSettings[name]))} + +function OpenAPI.check_required(o::UefiSettings) + true +end + +function OpenAPI.validate_properties(o::UefiSettings) + OpenAPI.validate_property(UefiSettings, Symbol("secureBootEnabled"), o.secureBootEnabled) + OpenAPI.validate_property(UefiSettings, Symbol("vTpmEnabled"), o.vTpmEnabled) +end + +function OpenAPI.validate_property(::Type{ UefiSettings }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UpdateResource.jl b/src/Compute/ComputeManagementClient/src/models/model_UpdateResource.jl index 67fa308..b730cf8 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_UpdateResource.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_UpdateResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateResource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function UpdateResource(tags, ) - OpenAPI.validate_property(UpdateResource, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateResource const _property_types_UpdateResource = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ UpdateResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateResource[name]))} -function check_required(o::UpdateResource) +function OpenAPI.check_required(o::UpdateResource) true end +function OpenAPI.validate_properties(o::UpdateResource) + OpenAPI.validate_property(UpdateResource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ UpdateResource }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfo.jl b/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfo.jl index ec389ad..b61f586 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfo.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfo.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct UpgradeOperationHistoricalStatusInfo <: OpenAPI.APIMo location::Union{Nothing, String} = nothing function UpgradeOperationHistoricalStatusInfo(properties, type, location, ) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfo, Symbol("properties"), properties) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfo, Symbol("type"), type) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfo, Symbol("location"), location) - return new(properties, type, location, ) + o = new(properties, type, location, ) + OpenAPI.validate_properties(o) + return o end end # type UpgradeOperationHistoricalStatusInfo const _property_types_UpgradeOperationHistoricalStatusInfo = Dict{Symbol,String}(Symbol("properties")=>"UpgradeOperationHistoricalStatusInfoProperties", Symbol("type")=>"String", Symbol("location")=>"String", ) OpenAPI.property_type(::Type{ UpgradeOperationHistoricalStatusInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpgradeOperationHistoricalStatusInfo[name]))} -function check_required(o::UpgradeOperationHistoricalStatusInfo) +function OpenAPI.check_required(o::UpgradeOperationHistoricalStatusInfo) true end +function OpenAPI.validate_properties(o::UpgradeOperationHistoricalStatusInfo) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfo, Symbol("properties"), o.properties) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfo, Symbol("type"), o.type) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfo, Symbol("location"), o.location) +end + function OpenAPI.validate_property(::Type{ UpgradeOperationHistoricalStatusInfo }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfoProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfoProperties.jl index 250102d..e5ee0a7 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfoProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoricalStatusInfoProperties.jl @@ -30,25 +30,37 @@ Base.@kwdef mutable struct UpgradeOperationHistoricalStatusInfoProperties <: Ope rollbackInfo = nothing # spec type: Union{ Nothing, RollbackStatusInfo } function UpgradeOperationHistoricalStatusInfoProperties(runningStatus, progress, error, startedBy, targetImageReference, rollbackInfo, ) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("runningStatus"), runningStatus) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("progress"), progress) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("error"), error) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("startedBy"), startedBy) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("targetImageReference"), targetImageReference) - OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("rollbackInfo"), rollbackInfo) - return new(runningStatus, progress, error, startedBy, targetImageReference, rollbackInfo, ) + o = new(runningStatus, progress, error, startedBy, targetImageReference, rollbackInfo, ) + OpenAPI.validate_properties(o) + return o end end # type UpgradeOperationHistoricalStatusInfoProperties const _property_types_UpgradeOperationHistoricalStatusInfoProperties = Dict{Symbol,String}(Symbol("runningStatus")=>"UpgradeOperationHistoryStatus", Symbol("progress")=>"RollingUpgradeProgressInfo", Symbol("error")=>"ApiError", Symbol("startedBy")=>"String", Symbol("targetImageReference")=>"ImageReference", Symbol("rollbackInfo")=>"RollbackStatusInfo", ) OpenAPI.property_type(::Type{ UpgradeOperationHistoricalStatusInfoProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpgradeOperationHistoricalStatusInfoProperties[name]))} -function check_required(o::UpgradeOperationHistoricalStatusInfoProperties) +function OpenAPI.check_required(o::UpgradeOperationHistoricalStatusInfoProperties) true end +function OpenAPI.validate_properties(o::UpgradeOperationHistoricalStatusInfoProperties) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("runningStatus"), o.runningStatus) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("progress"), o.progress) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("error"), o.error) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("startedBy"), o.startedBy) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("targetImageReference"), o.targetImageReference) + OpenAPI.validate_property(UpgradeOperationHistoricalStatusInfoProperties, Symbol("rollbackInfo"), o.rollbackInfo) +end + function OpenAPI.validate_property(::Type{ UpgradeOperationHistoricalStatusInfoProperties }, name::Symbol, val) + + + + if name === Symbol("startedBy") OpenAPI.validate_param(name, "UpgradeOperationHistoricalStatusInfoProperties", :enum, val, ["Unknown", "User", "Platform"]) end + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoryStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoryStatus.jl index 54f8271..767da80 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoryStatus.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_UpgradeOperationHistoryStatus.jl @@ -21,27 +21,36 @@ Base.@kwdef mutable struct UpgradeOperationHistoryStatus <: OpenAPI.APIModel endTime::Union{Nothing, ZonedDateTime} = nothing function UpgradeOperationHistoryStatus(code, startTime, endTime, ) - OpenAPI.validate_property(UpgradeOperationHistoryStatus, Symbol("code"), code) - OpenAPI.validate_property(UpgradeOperationHistoryStatus, Symbol("startTime"), startTime) - OpenAPI.validate_property(UpgradeOperationHistoryStatus, Symbol("endTime"), endTime) - return new(code, startTime, endTime, ) + o = new(code, startTime, endTime, ) + OpenAPI.validate_properties(o) + return o end end # type UpgradeOperationHistoryStatus const _property_types_UpgradeOperationHistoryStatus = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("startTime")=>"ZonedDateTime", Symbol("endTime")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ UpgradeOperationHistoryStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpgradeOperationHistoryStatus[name]))} -function check_required(o::UpgradeOperationHistoryStatus) +function OpenAPI.check_required(o::UpgradeOperationHistoryStatus) true end +function OpenAPI.validate_properties(o::UpgradeOperationHistoryStatus) + OpenAPI.validate_property(UpgradeOperationHistoryStatus, Symbol("code"), o.code) + OpenAPI.validate_property(UpgradeOperationHistoryStatus, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(UpgradeOperationHistoryStatus, Symbol("endTime"), o.endTime) +end + function OpenAPI.validate_property(::Type{ UpgradeOperationHistoryStatus }, name::Symbol, val) + if name === Symbol("code") OpenAPI.validate_param(name, "UpgradeOperationHistoryStatus", :enum, val, ["RollingForward", "Cancelled", "Completed", "Faulted"]) end + + if name === Symbol("startTime") OpenAPI.validate_param(name, "UpgradeOperationHistoryStatus", :format, val, "date-time") end + if name === Symbol("endTime") OpenAPI.validate_param(name, "UpgradeOperationHistoryStatus", :format, val, "date-time") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UpgradePolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_UpgradePolicy.jl index 57b21c6..16a18cc 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_UpgradePolicy.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_UpgradePolicy.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct UpgradePolicy <: OpenAPI.APIModel automaticOSUpgradePolicy = nothing # spec type: Union{ Nothing, AutomaticOSUpgradePolicy } function UpgradePolicy(mode, rollingUpgradePolicy, automaticOSUpgradePolicy, ) - OpenAPI.validate_property(UpgradePolicy, Symbol("mode"), mode) - OpenAPI.validate_property(UpgradePolicy, Symbol("rollingUpgradePolicy"), rollingUpgradePolicy) - OpenAPI.validate_property(UpgradePolicy, Symbol("automaticOSUpgradePolicy"), automaticOSUpgradePolicy) - return new(mode, rollingUpgradePolicy, automaticOSUpgradePolicy, ) + o = new(mode, rollingUpgradePolicy, automaticOSUpgradePolicy, ) + OpenAPI.validate_properties(o) + return o end end # type UpgradePolicy const _property_types_UpgradePolicy = Dict{Symbol,String}(Symbol("mode")=>"String", Symbol("rollingUpgradePolicy")=>"RollingUpgradePolicy", Symbol("automaticOSUpgradePolicy")=>"AutomaticOSUpgradePolicy", ) OpenAPI.property_type(::Type{ UpgradePolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpgradePolicy[name]))} -function check_required(o::UpgradePolicy) +function OpenAPI.check_required(o::UpgradePolicy) true end +function OpenAPI.validate_properties(o::UpgradePolicy) + OpenAPI.validate_property(UpgradePolicy, Symbol("mode"), o.mode) + OpenAPI.validate_property(UpgradePolicy, Symbol("rollingUpgradePolicy"), o.rollingUpgradePolicy) + OpenAPI.validate_property(UpgradePolicy, Symbol("automaticOSUpgradePolicy"), o.automaticOSUpgradePolicy) +end + function OpenAPI.validate_property(::Type{ UpgradePolicy }, name::Symbol, val) + if name === Symbol("mode") OpenAPI.validate_param(name, "UpgradePolicy", :enum, val, ["Automatic", "Manual", "Rolling"]) end + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_Usage.jl b/src/Compute/ComputeManagementClient/src/models/model_Usage.jl index 0e1ad8f..f3cb647 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_Usage.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_Usage.jl @@ -24,18 +24,16 @@ Base.@kwdef mutable struct Usage <: OpenAPI.APIModel name = nothing # spec type: Union{ Nothing, UsageName } function Usage(unit, currentValue, limit, name, ) - OpenAPI.validate_property(Usage, Symbol("unit"), unit) - OpenAPI.validate_property(Usage, Symbol("currentValue"), currentValue) - OpenAPI.validate_property(Usage, Symbol("limit"), limit) - OpenAPI.validate_property(Usage, Symbol("name"), name) - return new(unit, currentValue, limit, name, ) + o = new(unit, currentValue, limit, name, ) + OpenAPI.validate_properties(o) + return o end end # type Usage const _property_types_Usage = Dict{Symbol,String}(Symbol("unit")=>"String", Symbol("currentValue")=>"Int64", Symbol("limit")=>"Int64", Symbol("name")=>"UsageName", ) OpenAPI.property_type(::Type{ Usage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Usage[name]))} -function check_required(o::Usage) +function OpenAPI.check_required(o::Usage) o.unit === nothing && (return false) o.currentValue === nothing && (return false) o.limit === nothing && (return false) @@ -43,14 +41,26 @@ function check_required(o::Usage) true end +function OpenAPI.validate_properties(o::Usage) + OpenAPI.validate_property(Usage, Symbol("unit"), o.unit) + OpenAPI.validate_property(Usage, Symbol("currentValue"), o.currentValue) + OpenAPI.validate_property(Usage, Symbol("limit"), o.limit) + OpenAPI.validate_property(Usage, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ Usage }, name::Symbol, val) + if name === Symbol("unit") OpenAPI.validate_param(name, "Usage", :enum, val, ["Count"]) end + + if name === Symbol("currentValue") OpenAPI.validate_param(name, "Usage", :format, val, "int32") end + if name === Symbol("limit") OpenAPI.validate_param(name, "Usage", :format, val, "int64") end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_UsageName.jl b/src/Compute/ComputeManagementClient/src/models/model_UsageName.jl index 693b623..ad0e053 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_UsageName.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_UsageName.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UsageName <: OpenAPI.APIModel localizedValue::Union{Nothing, String} = nothing function UsageName(value, localizedValue, ) - OpenAPI.validate_property(UsageName, Symbol("value"), value) - OpenAPI.validate_property(UsageName, Symbol("localizedValue"), localizedValue) - return new(value, localizedValue, ) + o = new(value, localizedValue, ) + OpenAPI.validate_properties(o) + return o end end # type UsageName const _property_types_UsageName = Dict{Symbol,String}(Symbol("value")=>"String", Symbol("localizedValue")=>"String", ) OpenAPI.property_type(::Type{ UsageName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageName[name]))} -function check_required(o::UsageName) +function OpenAPI.check_required(o::UsageName) true end +function OpenAPI.validate_properties(o::UsageName) + OpenAPI.validate_property(UsageName, Symbol("value"), o.value) + OpenAPI.validate_property(UsageName, Symbol("localizedValue"), o.localizedValue) +end + function OpenAPI.validate_property(::Type{ UsageName }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VMDiskSecurityProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VMDiskSecurityProfile.jl new file mode 100644 index 0000000..4ba0b90 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VMDiskSecurityProfile.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VMDiskSecurityProfile +Specifies the security profile settings for the managed disk. <br><br> NOTE: It can only be set for Confidential VMs + + VMDiskSecurityProfile(; + securityEncryptionType=nothing, + diskEncryptionSet=nothing, + ) + + - securityEncryptionType::String : Specifies the EncryptionType of the managed disk. <br> It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob. <br><br> NOTE: It can be set for only Confidential VMs. + - diskEncryptionSet::DiskEncryptionSetParameters +""" +Base.@kwdef mutable struct VMDiskSecurityProfile <: OpenAPI.APIModel + securityEncryptionType::Union{Nothing, String} = nothing + diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } + + function VMDiskSecurityProfile(securityEncryptionType, diskEncryptionSet, ) + o = new(securityEncryptionType, diskEncryptionSet, ) + OpenAPI.validate_properties(o) + return o + end +end # type VMDiskSecurityProfile + +const _property_types_VMDiskSecurityProfile = Dict{Symbol,String}(Symbol("securityEncryptionType")=>"String", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) +OpenAPI.property_type(::Type{ VMDiskSecurityProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VMDiskSecurityProfile[name]))} + +function OpenAPI.check_required(o::VMDiskSecurityProfile) + true +end + +function OpenAPI.validate_properties(o::VMDiskSecurityProfile) + OpenAPI.validate_property(VMDiskSecurityProfile, Symbol("securityEncryptionType"), o.securityEncryptionType) + OpenAPI.validate_property(VMDiskSecurityProfile, Symbol("diskEncryptionSet"), o.diskEncryptionSet) +end + +function OpenAPI.validate_property(::Type{ VMDiskSecurityProfile }, name::Symbol, val) + + if name === Symbol("securityEncryptionType") + OpenAPI.validate_param(name, "VMDiskSecurityProfile", :enum, val, ["VMGuestStateOnly", "DiskWithVMGuestState"]) + end + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VMGalleryApplication.jl b/src/Compute/ComputeManagementClient/src/models/model_VMGalleryApplication.jl new file mode 100644 index 0000000..018564b --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VMGalleryApplication.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VMGalleryApplication +Specifies the required information to reference a compute gallery application version + + VMGalleryApplication(; + tags=nothing, + order=nothing, + packageReferenceId=nothing, + configurationReference=nothing, + ) + + - tags::String : Optional, Specifies a passthrough value for more generic context. + - order::Int64 : Optional, Specifies the order in which the packages have to be installed + - packageReferenceId::String : Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version} + - configurationReference::String : Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided +""" +Base.@kwdef mutable struct VMGalleryApplication <: OpenAPI.APIModel + tags::Union{Nothing, String} = nothing + order::Union{Nothing, Int64} = nothing + packageReferenceId::Union{Nothing, String} = nothing + configurationReference::Union{Nothing, String} = nothing + + function VMGalleryApplication(tags, order, packageReferenceId, configurationReference, ) + o = new(tags, order, packageReferenceId, configurationReference, ) + OpenAPI.validate_properties(o) + return o + end +end # type VMGalleryApplication + +const _property_types_VMGalleryApplication = Dict{Symbol,String}(Symbol("tags")=>"String", Symbol("order")=>"Int64", Symbol("packageReferenceId")=>"String", Symbol("configurationReference")=>"String", ) +OpenAPI.property_type(::Type{ VMGalleryApplication }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VMGalleryApplication[name]))} + +function OpenAPI.check_required(o::VMGalleryApplication) + o.packageReferenceId === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VMGalleryApplication) + OpenAPI.validate_property(VMGalleryApplication, Symbol("tags"), o.tags) + OpenAPI.validate_property(VMGalleryApplication, Symbol("order"), o.order) + OpenAPI.validate_property(VMGalleryApplication, Symbol("packageReferenceId"), o.packageReferenceId) + OpenAPI.validate_property(VMGalleryApplication, Symbol("configurationReference"), o.configurationReference) +end + +function OpenAPI.validate_property(::Type{ VMGalleryApplication }, name::Symbol, val) + + + if name === Symbol("order") + OpenAPI.validate_param(name, "VMGalleryApplication", :format, val, "int32") + end + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VMScaleSetConvertToSinglePlacementGroupInput.jl b/src/Compute/ComputeManagementClient/src/models/model_VMScaleSetConvertToSinglePlacementGroupInput.jl index d52950c..591518d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VMScaleSetConvertToSinglePlacementGroupInput.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VMScaleSetConvertToSinglePlacementGroupInput.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct VMScaleSetConvertToSinglePlacementGroupInput <: OpenA activePlacementGroupId::Union{Nothing, String} = nothing function VMScaleSetConvertToSinglePlacementGroupInput(activePlacementGroupId, ) - OpenAPI.validate_property(VMScaleSetConvertToSinglePlacementGroupInput, Symbol("activePlacementGroupId"), activePlacementGroupId) - return new(activePlacementGroupId, ) + o = new(activePlacementGroupId, ) + OpenAPI.validate_properties(o) + return o end end # type VMScaleSetConvertToSinglePlacementGroupInput const _property_types_VMScaleSetConvertToSinglePlacementGroupInput = Dict{Symbol,String}(Symbol("activePlacementGroupId")=>"String", ) OpenAPI.property_type(::Type{ VMScaleSetConvertToSinglePlacementGroupInput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VMScaleSetConvertToSinglePlacementGroupInput[name]))} -function check_required(o::VMScaleSetConvertToSinglePlacementGroupInput) +function OpenAPI.check_required(o::VMScaleSetConvertToSinglePlacementGroupInput) true end +function OpenAPI.validate_properties(o::VMScaleSetConvertToSinglePlacementGroupInput) + OpenAPI.validate_property(VMScaleSetConvertToSinglePlacementGroupInput, Symbol("activePlacementGroupId"), o.activePlacementGroupId) +end + function OpenAPI.validate_property(::Type{ VMScaleSetConvertToSinglePlacementGroupInput }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VMSizeProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VMSizeProperties.jl new file mode 100644 index 0000000..de2e6f7 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VMSizeProperties.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VMSizeProperties +Specifies VM Size Property settings on the virtual machine. + + VMSizeProperties(; + vCPUsAvailable=nothing, + vCPUsPerCore=nothing, + ) + + - vCPUsAvailable::Int64 : Specifies the number of vCPUs available for the VM. <br><br> When this property is not specified in the request body the default behavior is to set it to the value of vCPUs available for that VM size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) . + - vCPUsPerCore::Int64 : Specifies the vCPU to physical core ratio. <br><br> When this property is not specified in the request body the default behavior is set to the value of vCPUsPerCore for the VM Size exposed in api response of [List all available virtual machine sizes in a region](https://docs.microsoft.com/en-us/rest/api/compute/resource-skus/list) <br><br> Setting this property to 1 also means that hyper-threading is disabled. +""" +Base.@kwdef mutable struct VMSizeProperties <: OpenAPI.APIModel + vCPUsAvailable::Union{Nothing, Int64} = nothing + vCPUsPerCore::Union{Nothing, Int64} = nothing + + function VMSizeProperties(vCPUsAvailable, vCPUsPerCore, ) + o = new(vCPUsAvailable, vCPUsPerCore, ) + OpenAPI.validate_properties(o) + return o + end +end # type VMSizeProperties + +const _property_types_VMSizeProperties = Dict{Symbol,String}(Symbol("vCPUsAvailable")=>"Int64", Symbol("vCPUsPerCore")=>"Int64", ) +OpenAPI.property_type(::Type{ VMSizeProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VMSizeProperties[name]))} + +function OpenAPI.check_required(o::VMSizeProperties) + true +end + +function OpenAPI.validate_properties(o::VMSizeProperties) + OpenAPI.validate_property(VMSizeProperties, Symbol("vCPUsAvailable"), o.vCPUsAvailable) + OpenAPI.validate_property(VMSizeProperties, Symbol("vCPUsPerCore"), o.vCPUsPerCore) +end + +function OpenAPI.validate_property(::Type{ VMSizeProperties }, name::Symbol, val) + + if name === Symbol("vCPUsAvailable") + OpenAPI.validate_param(name, "VMSizeProperties", :format, val, "int32") + end + + if name === Symbol("vCPUsPerCore") + OpenAPI.validate_param(name, "VMSizeProperties", :format, val, "int32") + end +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VaultCertificate.jl b/src/Compute/ComputeManagementClient/src/models/model_VaultCertificate.jl index f587acf..521063b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VaultCertificate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VaultCertificate.jl @@ -10,7 +10,7 @@ Describes a single certificate reference in a Key Vault, and where the certifica certificateStore=nothing, ) - - certificateUrl::String : This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} + - certificateUrl::String : This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). - certificateStore::String : For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. <br><br>For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name &lt;UppercaseThumbprint&gt;.crt for the X509 certificate file and &lt;UppercaseThumbprint&gt;.prv for private key. Both of these files are .pem formatted. """ Base.@kwdef mutable struct VaultCertificate <: OpenAPI.APIModel @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VaultCertificate <: OpenAPI.APIModel certificateStore::Union{Nothing, String} = nothing function VaultCertificate(certificateUrl, certificateStore, ) - OpenAPI.validate_property(VaultCertificate, Symbol("certificateUrl"), certificateUrl) - OpenAPI.validate_property(VaultCertificate, Symbol("certificateStore"), certificateStore) - return new(certificateUrl, certificateStore, ) + o = new(certificateUrl, certificateStore, ) + OpenAPI.validate_properties(o) + return o end end # type VaultCertificate const _property_types_VaultCertificate = Dict{Symbol,String}(Symbol("certificateUrl")=>"String", Symbol("certificateStore")=>"String", ) OpenAPI.property_type(::Type{ VaultCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VaultCertificate[name]))} -function check_required(o::VaultCertificate) +function OpenAPI.check_required(o::VaultCertificate) true end +function OpenAPI.validate_properties(o::VaultCertificate) + OpenAPI.validate_property(VaultCertificate, Symbol("certificateUrl"), o.certificateUrl) + OpenAPI.validate_property(VaultCertificate, Symbol("certificateStore"), o.certificateStore) +end + function OpenAPI.validate_property(::Type{ VaultCertificate }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VaultSecretGroup.jl b/src/Compute/ComputeManagementClient/src/models/model_VaultSecretGroup.jl index 792260f..e12c97c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VaultSecretGroup.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VaultSecretGroup.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VaultSecretGroup <: OpenAPI.APIModel vaultCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VaultCertificate} } function VaultSecretGroup(sourceVault, vaultCertificates, ) - OpenAPI.validate_property(VaultSecretGroup, Symbol("sourceVault"), sourceVault) - OpenAPI.validate_property(VaultSecretGroup, Symbol("vaultCertificates"), vaultCertificates) - return new(sourceVault, vaultCertificates, ) + o = new(sourceVault, vaultCertificates, ) + OpenAPI.validate_properties(o) + return o end end # type VaultSecretGroup const _property_types_VaultSecretGroup = Dict{Symbol,String}(Symbol("sourceVault")=>"SubResource", Symbol("vaultCertificates")=>"Vector{VaultCertificate}", ) OpenAPI.property_type(::Type{ VaultSecretGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VaultSecretGroup[name]))} -function check_required(o::VaultSecretGroup) +function OpenAPI.check_required(o::VaultSecretGroup) true end +function OpenAPI.validate_properties(o::VaultSecretGroup) + OpenAPI.validate_property(VaultSecretGroup, Symbol("sourceVault"), o.sourceVault) + OpenAPI.validate_property(VaultSecretGroup, Symbol("vaultCertificates"), o.vaultCertificates) +end + function OpenAPI.validate_property(::Type{ VaultSecretGroup }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualHardDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualHardDisk.jl index 5afe108..92c8421 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualHardDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualHardDisk.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualHardDisk <: OpenAPI.APIModel uri::Union{Nothing, String} = nothing function VirtualHardDisk(uri, ) - OpenAPI.validate_property(VirtualHardDisk, Symbol("uri"), uri) - return new(uri, ) + o = new(uri, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualHardDisk const _property_types_VirtualHardDisk = Dict{Symbol,String}(Symbol("uri")=>"String", ) OpenAPI.property_type(::Type{ VirtualHardDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualHardDisk[name]))} -function check_required(o::VirtualHardDisk) +function OpenAPI.check_required(o::VirtualHardDisk) true end +function OpenAPI.validate_properties(o::VirtualHardDisk) + OpenAPI.validate_property(VirtualHardDisk, Symbol("uri"), o.uri) +end + function OpenAPI.validate_property(::Type{ VirtualHardDisk }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachine.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachine.jl index ca9d774..8c5e5a2 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachine.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachine.jl @@ -6,63 +6,83 @@ Describes a Virtual Machine. VirtualMachine(; - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, plan=nothing, properties=nothing, resources=nothing, identity=nothing, zones=nothing, + extendedLocation=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, ) - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags - plan::Plan - properties::VirtualMachineProperties - resources::Vector{VirtualMachineExtension} : The virtual machine child extension resources. - identity::VirtualMachineIdentity - zones::Vector{String} : The virtual machine zones. + - extendedLocation::ExtendedLocation + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct VirtualMachine <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing plan = nothing # spec type: Union{ Nothing, Plan } properties = nothing # spec type: Union{ Nothing, VirtualMachineProperties } resources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineExtension} } identity = nothing # spec type: Union{ Nothing, VirtualMachineIdentity } zones::Union{Nothing, Vector{String}} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing - function VirtualMachine(id, name, type, location, tags, plan, properties, resources, identity, zones, ) - OpenAPI.validate_property(VirtualMachine, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachine, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachine, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachine, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachine, Symbol("tags"), tags) - OpenAPI.validate_property(VirtualMachine, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachine, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachine, Symbol("resources"), resources) - OpenAPI.validate_property(VirtualMachine, Symbol("identity"), identity) - OpenAPI.validate_property(VirtualMachine, Symbol("zones"), zones) - return new(id, name, type, location, tags, plan, properties, resources, identity, zones, ) + function VirtualMachine(plan, properties, resources, identity, zones, extendedLocation, id, name, type, location, tags, ) + o = new(plan, properties, resources, identity, zones, extendedLocation, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachine -const _property_types_VirtualMachine = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineProperties", Symbol("resources")=>"Vector{VirtualMachineExtension}", Symbol("identity")=>"VirtualMachineIdentity", Symbol("zones")=>"Vector{String}", ) +const _property_types_VirtualMachine = Dict{Symbol,String}(Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineProperties", Symbol("resources")=>"Vector{VirtualMachineExtension}", Symbol("identity")=>"VirtualMachineIdentity", Symbol("zones")=>"Vector{String}", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachine }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachine[name]))} -function check_required(o::VirtualMachine) +function OpenAPI.check_required(o::VirtualMachine) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachine) + OpenAPI.validate_property(VirtualMachine, Symbol("plan"), o.plan) + OpenAPI.validate_property(VirtualMachine, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachine, Symbol("resources"), o.resources) + OpenAPI.validate_property(VirtualMachine, Symbol("identity"), o.identity) + OpenAPI.validate_property(VirtualMachine, Symbol("zones"), o.zones) + OpenAPI.validate_property(VirtualMachine, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(VirtualMachine, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualMachine, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachine, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachine, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachine, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachine }, name::Symbol, val) + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAgentInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAgentInstanceView.jl index 9f0ee7c..9886fc0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAgentInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAgentInstanceView.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineAgentInstanceView <: OpenAPI.APIModel statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function VirtualMachineAgentInstanceView(vmAgentVersion, extensionHandlers, statuses, ) - OpenAPI.validate_property(VirtualMachineAgentInstanceView, Symbol("vmAgentVersion"), vmAgentVersion) - OpenAPI.validate_property(VirtualMachineAgentInstanceView, Symbol("extensionHandlers"), extensionHandlers) - OpenAPI.validate_property(VirtualMachineAgentInstanceView, Symbol("statuses"), statuses) - return new(vmAgentVersion, extensionHandlers, statuses, ) + o = new(vmAgentVersion, extensionHandlers, statuses, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineAgentInstanceView const _property_types_VirtualMachineAgentInstanceView = Dict{Symbol,String}(Symbol("vmAgentVersion")=>"String", Symbol("extensionHandlers")=>"Vector{VirtualMachineExtensionHandlerInstanceView}", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ VirtualMachineAgentInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineAgentInstanceView[name]))} -function check_required(o::VirtualMachineAgentInstanceView) +function OpenAPI.check_required(o::VirtualMachineAgentInstanceView) true end +function OpenAPI.validate_properties(o::VirtualMachineAgentInstanceView) + OpenAPI.validate_property(VirtualMachineAgentInstanceView, Symbol("vmAgentVersion"), o.vmAgentVersion) + OpenAPI.validate_property(VirtualMachineAgentInstanceView, Symbol("extensionHandlers"), o.extensionHandlers) + OpenAPI.validate_property(VirtualMachineAgentInstanceView, Symbol("statuses"), o.statuses) +end + function OpenAPI.validate_property(::Type{ VirtualMachineAgentInstanceView }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAllOf.jl deleted file mode 100644 index 51dd3a9..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAllOf.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachine_allOf - - VirtualMachineAllOf(; - plan=nothing, - properties=nothing, - resources=nothing, - identity=nothing, - zones=nothing, - ) - - - plan::Plan - - properties::VirtualMachineProperties - - resources::Vector{VirtualMachineExtension} : The virtual machine child extension resources. - - identity::VirtualMachineIdentity - - zones::Vector{String} : The virtual machine zones. -""" -Base.@kwdef mutable struct VirtualMachineAllOf <: OpenAPI.APIModel - plan = nothing # spec type: Union{ Nothing, Plan } - properties = nothing # spec type: Union{ Nothing, VirtualMachineProperties } - resources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineExtension} } - identity = nothing # spec type: Union{ Nothing, VirtualMachineIdentity } - zones::Union{Nothing, Vector{String}} = nothing - - function VirtualMachineAllOf(plan, properties, resources, identity, zones, ) - OpenAPI.validate_property(VirtualMachineAllOf, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineAllOf, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineAllOf, Symbol("resources"), resources) - OpenAPI.validate_property(VirtualMachineAllOf, Symbol("identity"), identity) - OpenAPI.validate_property(VirtualMachineAllOf, Symbol("zones"), zones) - return new(plan, properties, resources, identity, zones, ) - end -end # type VirtualMachineAllOf - -const _property_types_VirtualMachineAllOf = Dict{Symbol,String}(Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineProperties", Symbol("resources")=>"Vector{VirtualMachineExtension}", Symbol("identity")=>"VirtualMachineIdentity", Symbol("zones")=>"Vector{String}", ) -OpenAPI.property_type(::Type{ VirtualMachineAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineAllOf[name]))} - -function check_required(o::VirtualMachineAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAssessPatchesResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAssessPatchesResult.jl index 4fdb959..f0a74bc 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAssessPatchesResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineAssessPatchesResult.jl @@ -12,17 +12,17 @@ Describes the properties of an AssessPatches result. criticalAndSecurityPatchCount=nothing, otherPatchCount=nothing, startDateTime=nothing, - patches=nothing, + availablePatches=nothing, error=nothing, ) - - status::String : The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" + - status::String : The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Unknown\", \"Failed\", \"Succeeded\", or \"CompletedWithWarnings.\" - assessmentActivityId::String : The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. - rebootPending::Bool : The overall reboot status of the VM. It will be true when partially installed patches require a reboot to complete installation but the reboot has not yet occurred. - criticalAndSecurityPatchCount::Int64 : The number of critical or security patches that have been detected as available and not yet installed. - otherPatchCount::Int64 : The number of all available patches excluding critical and security. - startDateTime::ZonedDateTime : The UTC timestamp when the operation began. - - patches::Vector{VirtualMachineSoftwarePatchProperties} : The list of patches that have been detected as available for installation. + - availablePatches::Vector{VirtualMachineSoftwarePatchProperties} : The list of patches that have been detected as available for installation. - error::ApiError """ Base.@kwdef mutable struct VirtualMachineAssessPatchesResult <: OpenAPI.APIModel @@ -32,40 +32,54 @@ Base.@kwdef mutable struct VirtualMachineAssessPatchesResult <: OpenAPI.APIModel criticalAndSecurityPatchCount::Union{Nothing, Int64} = nothing otherPatchCount::Union{Nothing, Int64} = nothing startDateTime::Union{Nothing, ZonedDateTime} = nothing - patches::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineSoftwarePatchProperties} } + availablePatches::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineSoftwarePatchProperties} } error = nothing # spec type: Union{ Nothing, ApiError } - function VirtualMachineAssessPatchesResult(status, assessmentActivityId, rebootPending, criticalAndSecurityPatchCount, otherPatchCount, startDateTime, patches, error, ) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("status"), status) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("assessmentActivityId"), assessmentActivityId) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("rebootPending"), rebootPending) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("criticalAndSecurityPatchCount"), criticalAndSecurityPatchCount) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("otherPatchCount"), otherPatchCount) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("startDateTime"), startDateTime) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("patches"), patches) - OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("error"), error) - return new(status, assessmentActivityId, rebootPending, criticalAndSecurityPatchCount, otherPatchCount, startDateTime, patches, error, ) + function VirtualMachineAssessPatchesResult(status, assessmentActivityId, rebootPending, criticalAndSecurityPatchCount, otherPatchCount, startDateTime, availablePatches, error, ) + o = new(status, assessmentActivityId, rebootPending, criticalAndSecurityPatchCount, otherPatchCount, startDateTime, availablePatches, error, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineAssessPatchesResult -const _property_types_VirtualMachineAssessPatchesResult = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("assessmentActivityId")=>"String", Symbol("rebootPending")=>"Bool", Symbol("criticalAndSecurityPatchCount")=>"Int64", Symbol("otherPatchCount")=>"Int64", Symbol("startDateTime")=>"ZonedDateTime", Symbol("patches")=>"Vector{VirtualMachineSoftwarePatchProperties}", Symbol("error")=>"ApiError", ) +const _property_types_VirtualMachineAssessPatchesResult = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("assessmentActivityId")=>"String", Symbol("rebootPending")=>"Bool", Symbol("criticalAndSecurityPatchCount")=>"Int64", Symbol("otherPatchCount")=>"Int64", Symbol("startDateTime")=>"ZonedDateTime", Symbol("availablePatches")=>"Vector{VirtualMachineSoftwarePatchProperties}", Symbol("error")=>"ApiError", ) OpenAPI.property_type(::Type{ VirtualMachineAssessPatchesResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineAssessPatchesResult[name]))} -function check_required(o::VirtualMachineAssessPatchesResult) +function OpenAPI.check_required(o::VirtualMachineAssessPatchesResult) true end +function OpenAPI.validate_properties(o::VirtualMachineAssessPatchesResult) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("status"), o.status) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("assessmentActivityId"), o.assessmentActivityId) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("rebootPending"), o.rebootPending) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("criticalAndSecurityPatchCount"), o.criticalAndSecurityPatchCount) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("otherPatchCount"), o.otherPatchCount) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("startDateTime"), o.startDateTime) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("availablePatches"), o.availablePatches) + OpenAPI.validate_property(VirtualMachineAssessPatchesResult, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ VirtualMachineAssessPatchesResult }, name::Symbol, val) + if name === Symbol("status") - OpenAPI.validate_param(name, "VirtualMachineAssessPatchesResult", :enum, val, ["InProgress", "Failed", "Succeeded", "CompletedWithWarnings"]) + OpenAPI.validate_param(name, "VirtualMachineAssessPatchesResult", :enum, val, ["Unknown", "InProgress", "Failed", "Succeeded", "CompletedWithWarnings"]) end + + + + if name === Symbol("criticalAndSecurityPatchCount") OpenAPI.validate_param(name, "VirtualMachineAssessPatchesResult", :format, val, "int32") end + if name === Symbol("otherPatchCount") OpenAPI.validate_param(name, "VirtualMachineAssessPatchesResult", :format, val, "int32") end + if name === Symbol("startDateTime") OpenAPI.validate_param(name, "VirtualMachineAssessPatchesResult", :format, val, "date-time") end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureParameters.jl index 0918f4e..a3ea6fe 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureParameters.jl @@ -21,22 +21,30 @@ Base.@kwdef mutable struct VirtualMachineCaptureParameters <: OpenAPI.APIModel overwriteVhds::Union{Nothing, Bool} = nothing function VirtualMachineCaptureParameters(vhdPrefix, destinationContainerName, overwriteVhds, ) - OpenAPI.validate_property(VirtualMachineCaptureParameters, Symbol("vhdPrefix"), vhdPrefix) - OpenAPI.validate_property(VirtualMachineCaptureParameters, Symbol("destinationContainerName"), destinationContainerName) - OpenAPI.validate_property(VirtualMachineCaptureParameters, Symbol("overwriteVhds"), overwriteVhds) - return new(vhdPrefix, destinationContainerName, overwriteVhds, ) + o = new(vhdPrefix, destinationContainerName, overwriteVhds, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineCaptureParameters const _property_types_VirtualMachineCaptureParameters = Dict{Symbol,String}(Symbol("vhdPrefix")=>"String", Symbol("destinationContainerName")=>"String", Symbol("overwriteVhds")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineCaptureParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineCaptureParameters[name]))} -function check_required(o::VirtualMachineCaptureParameters) +function OpenAPI.check_required(o::VirtualMachineCaptureParameters) o.vhdPrefix === nothing && (return false) o.destinationContainerName === nothing && (return false) o.overwriteVhds === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineCaptureParameters) + OpenAPI.validate_property(VirtualMachineCaptureParameters, Symbol("vhdPrefix"), o.vhdPrefix) + OpenAPI.validate_property(VirtualMachineCaptureParameters, Symbol("destinationContainerName"), o.destinationContainerName) + OpenAPI.validate_property(VirtualMachineCaptureParameters, Symbol("overwriteVhds"), o.overwriteVhds) +end + function OpenAPI.validate_property(::Type{ VirtualMachineCaptureParameters }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResult.jl index 0b6fd12..20b4930 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResult.jl @@ -6,42 +6,52 @@ Output of virtual machine capture operation. VirtualMachineCaptureResult(; - id=nothing, var"$schema"=nothing, contentVersion=nothing, parameters=nothing, resources=nothing, + id=nothing, ) - - id::String : Resource Id - var"$schema"::String : the schema of the captured virtual machine - contentVersion::String : the version of the content - parameters::Any : parameters of the captured virtual machine - resources::Vector{Any} : a list of resource items of the captured virtual machine + - id::String : Resource Id """ Base.@kwdef mutable struct VirtualMachineCaptureResult <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing var"$schema"::Union{Nothing, String} = nothing contentVersion::Union{Nothing, String} = nothing parameters::Union{Nothing, Any} = nothing resources::Union{Nothing, Vector{Any}} = nothing + id::Union{Nothing, String} = nothing - function VirtualMachineCaptureResult(id, var"$schema", contentVersion, parameters, resources, ) - OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("\$schema"), var"$schema") - OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("contentVersion"), contentVersion) - OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("parameters"), parameters) - OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("resources"), resources) - return new(id, var"$schema", contentVersion, parameters, resources, ) + function VirtualMachineCaptureResult(var"$schema", contentVersion, parameters, resources, id, ) + o = new(var"$schema", contentVersion, parameters, resources, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineCaptureResult -const _property_types_VirtualMachineCaptureResult = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("\$schema")=>"String", Symbol("contentVersion")=>"String", Symbol("parameters")=>"Any", Symbol("resources")=>"Vector{Any}", ) +const _property_types_VirtualMachineCaptureResult = Dict{Symbol,String}(Symbol("\$schema")=>"String", Symbol("contentVersion")=>"String", Symbol("parameters")=>"Any", Symbol("resources")=>"Vector{Any}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineCaptureResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineCaptureResult[name]))} -function check_required(o::VirtualMachineCaptureResult) +function OpenAPI.check_required(o::VirtualMachineCaptureResult) true end +function OpenAPI.validate_properties(o::VirtualMachineCaptureResult) + OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("\$schema"), o.var"$schema") + OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("contentVersion"), o.contentVersion) + OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("resources"), o.resources) + OpenAPI.validate_property(VirtualMachineCaptureResult, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineCaptureResult }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResultAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResultAllOf.jl deleted file mode 100644 index f3bb8cf..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineCaptureResultAllOf.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineCaptureResult_allOf - - VirtualMachineCaptureResultAllOf(; - var"$schema"=nothing, - contentVersion=nothing, - parameters=nothing, - resources=nothing, - ) - - - var"$schema"::String : the schema of the captured virtual machine - - contentVersion::String : the version of the content - - parameters::Any : parameters of the captured virtual machine - - resources::Vector{Any} : a list of resource items of the captured virtual machine -""" -Base.@kwdef mutable struct VirtualMachineCaptureResultAllOf <: OpenAPI.APIModel - var"$schema"::Union{Nothing, String} = nothing - contentVersion::Union{Nothing, String} = nothing - parameters::Union{Nothing, Any} = nothing - resources::Union{Nothing, Vector{Any}} = nothing - - function VirtualMachineCaptureResultAllOf(var"$schema", contentVersion, parameters, resources, ) - OpenAPI.validate_property(VirtualMachineCaptureResultAllOf, Symbol("\$schema"), var"$schema") - OpenAPI.validate_property(VirtualMachineCaptureResultAllOf, Symbol("contentVersion"), contentVersion) - OpenAPI.validate_property(VirtualMachineCaptureResultAllOf, Symbol("parameters"), parameters) - OpenAPI.validate_property(VirtualMachineCaptureResultAllOf, Symbol("resources"), resources) - return new(var"$schema", contentVersion, parameters, resources, ) - end -end # type VirtualMachineCaptureResultAllOf - -const _property_types_VirtualMachineCaptureResultAllOf = Dict{Symbol,String}(Symbol("\$schema")=>"String", Symbol("contentVersion")=>"String", Symbol("parameters")=>"Any", Symbol("resources")=>"Vector{Any}", ) -OpenAPI.property_type(::Type{ VirtualMachineCaptureResultAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineCaptureResultAllOf[name]))} - -function check_required(o::VirtualMachineCaptureResultAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineCaptureResultAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtension.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtension.jl index 80e8198..1d566ff 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtension.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtension.jl @@ -6,47 +6,58 @@ Describes a Virtual Machine Extension. VirtualMachineExtension(; + properties=nothing, id=nothing, name=nothing, type=nothing, location=nothing, tags=nothing, - properties=nothing, ) + - properties::VirtualMachineExtensionProperties - id::String : Resource Id - name::String : Resource name - type::String : Resource type - location::String : Resource location - tags::Dict{String, String} : Resource tags - - properties::VirtualMachineExtensionProperties """ Base.@kwdef mutable struct VirtualMachineExtension <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionProperties } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionProperties } - function VirtualMachineExtension(id, name, type, location, tags, properties, ) - OpenAPI.validate_property(VirtualMachineExtension, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineExtension, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineExtension, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineExtension, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineExtension, Symbol("tags"), tags) - OpenAPI.validate_property(VirtualMachineExtension, Symbol("properties"), properties) - return new(id, name, type, location, tags, properties, ) + function VirtualMachineExtension(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtension -const _property_types_VirtualMachineExtension = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"VirtualMachineExtensionProperties", ) +const _property_types_VirtualMachineExtension = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineExtensionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineExtension }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtension[name]))} -function check_required(o::VirtualMachineExtension) +function OpenAPI.check_required(o::VirtualMachineExtension) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineExtension) + OpenAPI.validate_property(VirtualMachineExtension, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineExtension, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualMachineExtension, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineExtension, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineExtension, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineExtension, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtension }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionAllOf.jl deleted file mode 100644 index 213970d..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionAllOf.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineExtension_allOf - - VirtualMachineExtensionAllOf(; - properties=nothing, - ) - - - properties::VirtualMachineExtensionProperties -""" -Base.@kwdef mutable struct VirtualMachineExtensionAllOf <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionProperties } - - function VirtualMachineExtensionAllOf(properties, ) - OpenAPI.validate_property(VirtualMachineExtensionAllOf, Symbol("properties"), properties) - return new(properties, ) - end -end # type VirtualMachineExtensionAllOf - -const _property_types_VirtualMachineExtensionAllOf = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineExtensionProperties", ) -OpenAPI.property_type(::Type{ VirtualMachineExtensionAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionAllOf[name]))} - -function check_required(o::VirtualMachineExtensionAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineExtensionAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionHandlerInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionHandlerInstanceView.jl index 24c375d..b4fcc9a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionHandlerInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionHandlerInstanceView.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineExtensionHandlerInstanceView <: OpenAPI status = nothing # spec type: Union{ Nothing, InstanceViewStatus } function VirtualMachineExtensionHandlerInstanceView(type, typeHandlerVersion, status, ) - OpenAPI.validate_property(VirtualMachineExtensionHandlerInstanceView, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineExtensionHandlerInstanceView, Symbol("typeHandlerVersion"), typeHandlerVersion) - OpenAPI.validate_property(VirtualMachineExtensionHandlerInstanceView, Symbol("status"), status) - return new(type, typeHandlerVersion, status, ) + o = new(type, typeHandlerVersion, status, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionHandlerInstanceView const _property_types_VirtualMachineExtensionHandlerInstanceView = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("status")=>"InstanceViewStatus", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionHandlerInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionHandlerInstanceView[name]))} -function check_required(o::VirtualMachineExtensionHandlerInstanceView) +function OpenAPI.check_required(o::VirtualMachineExtensionHandlerInstanceView) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionHandlerInstanceView) + OpenAPI.validate_property(VirtualMachineExtensionHandlerInstanceView, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineExtensionHandlerInstanceView, Symbol("typeHandlerVersion"), o.typeHandlerVersion) + OpenAPI.validate_property(VirtualMachineExtensionHandlerInstanceView, Symbol("status"), o.status) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionHandlerInstanceView }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImage.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImage.jl index 62c4361..794a6d2 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImage.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImage.jl @@ -6,47 +6,58 @@ Describes a Virtual Machine Extension Image. VirtualMachineExtensionImage(; + properties=nothing, id=nothing, name=nothing, type=nothing, location=nothing, tags=nothing, - properties=nothing, ) + - properties::VirtualMachineExtensionImageProperties - id::String : Resource Id - name::String : Resource name - type::String : Resource type - location::String : Resource location - tags::Dict{String, String} : Resource tags - - properties::VirtualMachineExtensionImageProperties """ Base.@kwdef mutable struct VirtualMachineExtensionImage <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionImageProperties } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionImageProperties } - function VirtualMachineExtensionImage(id, name, type, location, tags, properties, ) - OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("tags"), tags) - OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("properties"), properties) - return new(id, name, type, location, tags, properties, ) + function VirtualMachineExtensionImage(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionImage -const _property_types_VirtualMachineExtensionImage = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"VirtualMachineExtensionImageProperties", ) +const _property_types_VirtualMachineExtensionImage = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineExtensionImageProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionImage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionImage[name]))} -function check_required(o::VirtualMachineExtensionImage) +function OpenAPI.check_required(o::VirtualMachineExtensionImage) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionImage) + OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineExtensionImage, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionImage }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageAllOf.jl deleted file mode 100644 index f452d7b..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageAllOf.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineExtensionImage_allOf - - VirtualMachineExtensionImageAllOf(; - properties=nothing, - ) - - - properties::VirtualMachineExtensionImageProperties -""" -Base.@kwdef mutable struct VirtualMachineExtensionImageAllOf <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionImageProperties } - - function VirtualMachineExtensionImageAllOf(properties, ) - OpenAPI.validate_property(VirtualMachineExtensionImageAllOf, Symbol("properties"), properties) - return new(properties, ) - end -end # type VirtualMachineExtensionImageAllOf - -const _property_types_VirtualMachineExtensionImageAllOf = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineExtensionImageProperties", ) -OpenAPI.property_type(::Type{ VirtualMachineExtensionImageAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionImageAllOf[name]))} - -function check_required(o::VirtualMachineExtensionImageAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineExtensionImageAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageProperties.jl index 6a0d624..4df13e4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionImageProperties.jl @@ -27,24 +27,34 @@ Base.@kwdef mutable struct VirtualMachineExtensionImageProperties <: OpenAPI.API supportsMultipleExtensions::Union{Nothing, Bool} = nothing function VirtualMachineExtensionImageProperties(operatingSystem, computeRole, handlerSchema, vmScaleSetEnabled, supportsMultipleExtensions, ) - OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("operatingSystem"), operatingSystem) - OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("computeRole"), computeRole) - OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("handlerSchema"), handlerSchema) - OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("vmScaleSetEnabled"), vmScaleSetEnabled) - OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("supportsMultipleExtensions"), supportsMultipleExtensions) - return new(operatingSystem, computeRole, handlerSchema, vmScaleSetEnabled, supportsMultipleExtensions, ) + o = new(operatingSystem, computeRole, handlerSchema, vmScaleSetEnabled, supportsMultipleExtensions, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionImageProperties const _property_types_VirtualMachineExtensionImageProperties = Dict{Symbol,String}(Symbol("operatingSystem")=>"String", Symbol("computeRole")=>"String", Symbol("handlerSchema")=>"String", Symbol("vmScaleSetEnabled")=>"Bool", Symbol("supportsMultipleExtensions")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionImageProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionImageProperties[name]))} -function check_required(o::VirtualMachineExtensionImageProperties) +function OpenAPI.check_required(o::VirtualMachineExtensionImageProperties) o.operatingSystem === nothing && (return false) o.computeRole === nothing && (return false) o.handlerSchema === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionImageProperties) + OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("operatingSystem"), o.operatingSystem) + OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("computeRole"), o.computeRole) + OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("handlerSchema"), o.handlerSchema) + OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("vmScaleSetEnabled"), o.vmScaleSetEnabled) + OpenAPI.validate_property(VirtualMachineExtensionImageProperties, Symbol("supportsMultipleExtensions"), o.supportsMultipleExtensions) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionImageProperties }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionInstanceView.jl index 080114d..6bbe99f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionInstanceView.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct VirtualMachineExtensionInstanceView <: OpenAPI.APIMod statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function VirtualMachineExtensionInstanceView(name, type, typeHandlerVersion, substatuses, statuses, ) - OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("typeHandlerVersion"), typeHandlerVersion) - OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("substatuses"), substatuses) - OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("statuses"), statuses) - return new(name, type, typeHandlerVersion, substatuses, statuses, ) + o = new(name, type, typeHandlerVersion, substatuses, statuses, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionInstanceView const _property_types_VirtualMachineExtensionInstanceView = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("substatuses")=>"Vector{InstanceViewStatus}", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionInstanceView[name]))} -function check_required(o::VirtualMachineExtensionInstanceView) +function OpenAPI.check_required(o::VirtualMachineExtensionInstanceView) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionInstanceView) + OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("typeHandlerVersion"), o.typeHandlerVersion) + OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("substatuses"), o.substatuses) + OpenAPI.validate_property(VirtualMachineExtensionInstanceView, Symbol("statuses"), o.statuses) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionInstanceView }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionProperties.jl index c5bb316..02bd7fd 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionProperties.jl @@ -11,10 +11,13 @@ Describes the properties of a Virtual Machine Extension. type=nothing, typeHandlerVersion=nothing, autoUpgradeMinorVersion=nothing, + enableAutomaticUpgrade=nothing, settings=nothing, protectedSettings=nothing, provisioningState=nothing, instanceView=nothing, + suppressFailures=nothing, + protectedSettingsFromKeyVault=nothing, ) - forceUpdateTag::String : How the extension handler should be forced to update even if the extension configuration has not changed. @@ -22,10 +25,13 @@ Describes the properties of a Virtual Machine Extension. - type::String : Specifies the type of the extension; an example is \"CustomScriptExtension\". - typeHandlerVersion::String : Specifies the version of the script handler. - autoUpgradeMinorVersion::Bool : Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + - enableAutomaticUpgrade::Bool : Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. - settings::Any : Json formatted public settings for the extension. - protectedSettings::Any : The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. - provisioningState::String : The provisioning state, which only appears in the response. - instanceView::VirtualMachineExtensionInstanceView + - suppressFailures::Bool : Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. + - protectedSettingsFromKeyVault::Any : The extensions protected settings that are passed by reference, and consumed from key vault """ Base.@kwdef mutable struct VirtualMachineExtensionProperties <: OpenAPI.APIModel forceUpdateTag::Union{Nothing, String} = nothing @@ -33,31 +39,54 @@ Base.@kwdef mutable struct VirtualMachineExtensionProperties <: OpenAPI.APIModel type::Union{Nothing, String} = nothing typeHandlerVersion::Union{Nothing, String} = nothing autoUpgradeMinorVersion::Union{Nothing, Bool} = nothing + enableAutomaticUpgrade::Union{Nothing, Bool} = nothing settings::Union{Nothing, Any} = nothing protectedSettings::Union{Nothing, Any} = nothing provisioningState::Union{Nothing, String} = nothing instanceView = nothing # spec type: Union{ Nothing, VirtualMachineExtensionInstanceView } + suppressFailures::Union{Nothing, Bool} = nothing + protectedSettingsFromKeyVault::Union{Nothing, Any} = nothing - function VirtualMachineExtensionProperties(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, settings, protectedSettings, provisioningState, instanceView, ) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("forceUpdateTag"), forceUpdateTag) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("publisher"), publisher) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("typeHandlerVersion"), typeHandlerVersion) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("autoUpgradeMinorVersion"), autoUpgradeMinorVersion) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("settings"), settings) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("protectedSettings"), protectedSettings) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("instanceView"), instanceView) - return new(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, settings, protectedSettings, provisioningState, instanceView, ) + function VirtualMachineExtensionProperties(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, enableAutomaticUpgrade, settings, protectedSettings, provisioningState, instanceView, suppressFailures, protectedSettingsFromKeyVault, ) + o = new(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, enableAutomaticUpgrade, settings, protectedSettings, provisioningState, instanceView, suppressFailures, protectedSettingsFromKeyVault, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionProperties -const _property_types_VirtualMachineExtensionProperties = Dict{Symbol,String}(Symbol("forceUpdateTag")=>"String", Symbol("publisher")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("autoUpgradeMinorVersion")=>"Bool", Symbol("settings")=>"Any", Symbol("protectedSettings")=>"Any", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"VirtualMachineExtensionInstanceView", ) +const _property_types_VirtualMachineExtensionProperties = Dict{Symbol,String}(Symbol("forceUpdateTag")=>"String", Symbol("publisher")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("autoUpgradeMinorVersion")=>"Bool", Symbol("enableAutomaticUpgrade")=>"Bool", Symbol("settings")=>"Any", Symbol("protectedSettings")=>"Any", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"VirtualMachineExtensionInstanceView", Symbol("suppressFailures")=>"Bool", Symbol("protectedSettingsFromKeyVault")=>"Any", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionProperties[name]))} -function check_required(o::VirtualMachineExtensionProperties) +function OpenAPI.check_required(o::VirtualMachineExtensionProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionProperties) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("forceUpdateTag"), o.forceUpdateTag) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("typeHandlerVersion"), o.typeHandlerVersion) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("autoUpgradeMinorVersion"), o.autoUpgradeMinorVersion) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("enableAutomaticUpgrade"), o.enableAutomaticUpgrade) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("settings"), o.settings) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("protectedSettings"), o.protectedSettings) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("instanceView"), o.instanceView) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("suppressFailures"), o.suppressFailures) + OpenAPI.validate_property(VirtualMachineExtensionProperties, Symbol("protectedSettingsFromKeyVault"), o.protectedSettingsFromKeyVault) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionProperties }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdate.jl index 8a8a3db..ee47881 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdate.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineExtensionUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualMachineExtensionUpdate(properties, tags, ) - OpenAPI.validate_property(VirtualMachineExtensionUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineExtensionUpdate, Symbol("tags"), tags) - return new(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionUpdate const _property_types_VirtualMachineExtensionUpdate = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineExtensionUpdateProperties", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionUpdate[name]))} -function check_required(o::VirtualMachineExtensionUpdate) +function OpenAPI.check_required(o::VirtualMachineExtensionUpdate) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionUpdate) + OpenAPI.validate_property(VirtualMachineExtensionUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineExtensionUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionUpdate }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdateProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdateProperties.jl index 17a0c9b..e3cbad5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdateProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionUpdateProperties.jl @@ -11,8 +11,11 @@ Describes the properties of a Virtual Machine Extension. type=nothing, typeHandlerVersion=nothing, autoUpgradeMinorVersion=nothing, + enableAutomaticUpgrade=nothing, settings=nothing, protectedSettings=nothing, + suppressFailures=nothing, + protectedSettingsFromKeyVault=nothing, ) - forceUpdateTag::String : How the extension handler should be forced to update even if the extension configuration has not changed. @@ -20,8 +23,11 @@ Describes the properties of a Virtual Machine Extension. - type::String : Specifies the type of the extension; an example is \"CustomScriptExtension\". - typeHandlerVersion::String : Specifies the version of the script handler. - autoUpgradeMinorVersion::Bool : Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + - enableAutomaticUpgrade::Bool : Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. - settings::Any : Json formatted public settings for the extension. - protectedSettings::Any : The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. + - suppressFailures::Bool : Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. + - protectedSettingsFromKeyVault::Any : The extensions protected settings that are passed by reference, and consumed from key vault """ Base.@kwdef mutable struct VirtualMachineExtensionUpdateProperties <: OpenAPI.APIModel forceUpdateTag::Union{Nothing, String} = nothing @@ -29,27 +35,48 @@ Base.@kwdef mutable struct VirtualMachineExtensionUpdateProperties <: OpenAPI.AP type::Union{Nothing, String} = nothing typeHandlerVersion::Union{Nothing, String} = nothing autoUpgradeMinorVersion::Union{Nothing, Bool} = nothing + enableAutomaticUpgrade::Union{Nothing, Bool} = nothing settings::Union{Nothing, Any} = nothing protectedSettings::Union{Nothing, Any} = nothing + suppressFailures::Union{Nothing, Bool} = nothing + protectedSettingsFromKeyVault::Union{Nothing, Any} = nothing - function VirtualMachineExtensionUpdateProperties(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, settings, protectedSettings, ) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("forceUpdateTag"), forceUpdateTag) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("publisher"), publisher) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("typeHandlerVersion"), typeHandlerVersion) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("autoUpgradeMinorVersion"), autoUpgradeMinorVersion) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("settings"), settings) - OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("protectedSettings"), protectedSettings) - return new(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, settings, protectedSettings, ) + function VirtualMachineExtensionUpdateProperties(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, enableAutomaticUpgrade, settings, protectedSettings, suppressFailures, protectedSettingsFromKeyVault, ) + o = new(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, enableAutomaticUpgrade, settings, protectedSettings, suppressFailures, protectedSettingsFromKeyVault, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionUpdateProperties -const _property_types_VirtualMachineExtensionUpdateProperties = Dict{Symbol,String}(Symbol("forceUpdateTag")=>"String", Symbol("publisher")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("autoUpgradeMinorVersion")=>"Bool", Symbol("settings")=>"Any", Symbol("protectedSettings")=>"Any", ) +const _property_types_VirtualMachineExtensionUpdateProperties = Dict{Symbol,String}(Symbol("forceUpdateTag")=>"String", Symbol("publisher")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("autoUpgradeMinorVersion")=>"Bool", Symbol("enableAutomaticUpgrade")=>"Bool", Symbol("settings")=>"Any", Symbol("protectedSettings")=>"Any", Symbol("suppressFailures")=>"Bool", Symbol("protectedSettingsFromKeyVault")=>"Any", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionUpdateProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionUpdateProperties[name]))} -function check_required(o::VirtualMachineExtensionUpdateProperties) +function OpenAPI.check_required(o::VirtualMachineExtensionUpdateProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionUpdateProperties) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("forceUpdateTag"), o.forceUpdateTag) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("typeHandlerVersion"), o.typeHandlerVersion) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("autoUpgradeMinorVersion"), o.autoUpgradeMinorVersion) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("enableAutomaticUpgrade"), o.enableAutomaticUpgrade) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("settings"), o.settings) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("protectedSettings"), o.protectedSettings) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("suppressFailures"), o.suppressFailures) + OpenAPI.validate_property(VirtualMachineExtensionUpdateProperties, Symbol("protectedSettingsFromKeyVault"), o.protectedSettingsFromKeyVault) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionUpdateProperties }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionsListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionsListResult.jl index 5e6b723..421a62b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionsListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineExtensionsListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineExtensionsListResult <: OpenAPI.APIMode value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineExtension} } function VirtualMachineExtensionsListResult(value, ) - OpenAPI.validate_property(VirtualMachineExtensionsListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineExtensionsListResult const _property_types_VirtualMachineExtensionsListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineExtension}", ) OpenAPI.property_type(::Type{ VirtualMachineExtensionsListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineExtensionsListResult[name]))} -function check_required(o::VirtualMachineExtensionsListResult) +function OpenAPI.check_required(o::VirtualMachineExtensionsListResult) true end +function OpenAPI.validate_properties(o::VirtualMachineExtensionsListResult) + OpenAPI.validate_property(VirtualMachineExtensionsListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ VirtualMachineExtensionsListResult }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineHealthStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineHealthStatus.jl index fa9f5a7..34b3243 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineHealthStatus.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineHealthStatus.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineHealthStatus <: OpenAPI.APIModel status = nothing # spec type: Union{ Nothing, InstanceViewStatus } function VirtualMachineHealthStatus(status, ) - OpenAPI.validate_property(VirtualMachineHealthStatus, Symbol("status"), status) - return new(status, ) + o = new(status, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineHealthStatus const _property_types_VirtualMachineHealthStatus = Dict{Symbol,String}(Symbol("status")=>"InstanceViewStatus", ) OpenAPI.property_type(::Type{ VirtualMachineHealthStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineHealthStatus[name]))} -function check_required(o::VirtualMachineHealthStatus) +function OpenAPI.check_required(o::VirtualMachineHealthStatus) true end +function OpenAPI.validate_properties(o::VirtualMachineHealthStatus) + OpenAPI.validate_property(VirtualMachineHealthStatus, Symbol("status"), o.status) +end + function OpenAPI.validate_property(::Type{ VirtualMachineHealthStatus }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentity.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentity.jl index 6ae3028..6d0c9b9 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentity.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentity.jl @@ -24,23 +24,33 @@ Base.@kwdef mutable struct VirtualMachineIdentity <: OpenAPI.APIModel userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, VirtualMachineIdentityUserAssignedIdentitiesValue} } function VirtualMachineIdentity(principalId, tenantId, type, userAssignedIdentities, ) - OpenAPI.validate_property(VirtualMachineIdentity, Symbol("principalId"), principalId) - OpenAPI.validate_property(VirtualMachineIdentity, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(VirtualMachineIdentity, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineIdentity, Symbol("userAssignedIdentities"), userAssignedIdentities) - return new(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineIdentity const _property_types_VirtualMachineIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, VirtualMachineIdentityUserAssignedIdentitiesValue}", ) OpenAPI.property_type(::Type{ VirtualMachineIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineIdentity[name]))} -function check_required(o::VirtualMachineIdentity) +function OpenAPI.check_required(o::VirtualMachineIdentity) true end +function OpenAPI.validate_properties(o::VirtualMachineIdentity) + OpenAPI.validate_property(VirtualMachineIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(VirtualMachineIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(VirtualMachineIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + function OpenAPI.validate_property(::Type{ VirtualMachineIdentity }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "VirtualMachineIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentityUserAssignedIdentitiesValue.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentityUserAssignedIdentitiesValue.jl index bb332ff..a0240f0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentityUserAssignedIdentitiesValue.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIdentityUserAssignedIdentitiesValue.jl @@ -17,18 +17,25 @@ Base.@kwdef mutable struct VirtualMachineIdentityUserAssignedIdentitiesValue <: clientId::Union{Nothing, String} = nothing function VirtualMachineIdentityUserAssignedIdentitiesValue(principalId, clientId, ) - OpenAPI.validate_property(VirtualMachineIdentityUserAssignedIdentitiesValue, Symbol("principalId"), principalId) - OpenAPI.validate_property(VirtualMachineIdentityUserAssignedIdentitiesValue, Symbol("clientId"), clientId) - return new(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineIdentityUserAssignedIdentitiesValue const _property_types_VirtualMachineIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineIdentityUserAssignedIdentitiesValue[name]))} -function check_required(o::VirtualMachineIdentityUserAssignedIdentitiesValue) +function OpenAPI.check_required(o::VirtualMachineIdentityUserAssignedIdentitiesValue) true end +function OpenAPI.validate_properties(o::VirtualMachineIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(VirtualMachineIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(VirtualMachineIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + function OpenAPI.validate_property(::Type{ VirtualMachineIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImage.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImage.jl index eaa0391..c1c6361 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImage.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImage.jl @@ -6,44 +6,59 @@ Describes a Virtual Machine Image. VirtualMachineImage(; - id=nothing, + properties=nothing, name=nothing, location=nothing, tags=nothing, - properties=nothing, + extendedLocation=nothing, + id=nothing, ) - - id::String : Resource Id + - properties::VirtualMachineImageProperties - name::String : The name of the resource. - location::String : The supported Azure location of the resource. - tags::Dict{String, String} : Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). - - properties::VirtualMachineImageProperties + - extendedLocation::ExtendedLocation + - id::String : Resource Id """ Base.@kwdef mutable struct VirtualMachineImage <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, VirtualMachineImageProperties } name::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - properties = nothing # spec type: Union{ Nothing, VirtualMachineImageProperties } + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + id::Union{Nothing, String} = nothing - function VirtualMachineImage(id, name, location, tags, properties, ) - OpenAPI.validate_property(VirtualMachineImage, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineImage, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineImage, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineImage, Symbol("tags"), tags) - OpenAPI.validate_property(VirtualMachineImage, Symbol("properties"), properties) - return new(id, name, location, tags, properties, ) + function VirtualMachineImage(properties, name, location, tags, extendedLocation, id, ) + o = new(properties, name, location, tags, extendedLocation, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineImage -const _property_types_VirtualMachineImage = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"VirtualMachineImageProperties", ) +const _property_types_VirtualMachineImage = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineImageProperties", Symbol("name")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineImage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineImage[name]))} -function check_required(o::VirtualMachineImage) +function OpenAPI.check_required(o::VirtualMachineImage) o.name === nothing && (return false) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineImage) + OpenAPI.validate_property(VirtualMachineImage, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineImage, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineImage, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineImage, Symbol("tags"), o.tags) + OpenAPI.validate_property(VirtualMachineImage, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(VirtualMachineImage, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineImage }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageAllOf.jl deleted file mode 100644 index d6787cf..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageAllOf.jl +++ /dev/null @@ -1,30 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineImage_allOf - - VirtualMachineImageAllOf(; - properties=nothing, - ) - - - properties::VirtualMachineImageProperties -""" -Base.@kwdef mutable struct VirtualMachineImageAllOf <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, VirtualMachineImageProperties } - - function VirtualMachineImageAllOf(properties, ) - OpenAPI.validate_property(VirtualMachineImageAllOf, Symbol("properties"), properties) - return new(properties, ) - end -end # type VirtualMachineImageAllOf - -const _property_types_VirtualMachineImageAllOf = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineImageProperties", ) -OpenAPI.property_type(::Type{ VirtualMachineImageAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineImageAllOf[name]))} - -function check_required(o::VirtualMachineImageAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineImageAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageFeature.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageFeature.jl new file mode 100644 index 0000000..bfe5b96 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageFeature.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineImageFeature +Specifies additional capabilities supported by the image + + VirtualMachineImageFeature(; + name=nothing, + value=nothing, + ) + + - name::String : The name of the feature. + - value::String : The corresponding value for the feature. +""" +Base.@kwdef mutable struct VirtualMachineImageFeature <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + + function VirtualMachineImageFeature(name, value, ) + o = new(name, value, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineImageFeature + +const _property_types_VirtualMachineImageFeature = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineImageFeature }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineImageFeature[name]))} + +function OpenAPI.check_required(o::VirtualMachineImageFeature) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineImageFeature) + OpenAPI.validate_property(VirtualMachineImageFeature, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineImageFeature, Symbol("value"), o.value) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineImageFeature }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageProperties.jl index 16bc52c..5678e92 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageProperties.jl @@ -12,6 +12,8 @@ Describes the properties of a Virtual Machine Image. automaticOSUpgradeProperties=nothing, hyperVGeneration=nothing, disallowed=nothing, + features=nothing, + architecture=nothing, ) - plan::PurchasePlan @@ -20,6 +22,8 @@ Describes the properties of a Virtual Machine Image. - automaticOSUpgradeProperties::AutomaticOSUpgradeProperties - hyperVGeneration::HyperVGenerationType - disallowed::DisallowedConfiguration + - features::Vector{VirtualMachineImageFeature} + - architecture::ArchitectureType """ Base.@kwdef mutable struct VirtualMachineImageProperties <: OpenAPI.APIModel plan = nothing # spec type: Union{ Nothing, PurchasePlan } @@ -28,24 +32,41 @@ Base.@kwdef mutable struct VirtualMachineImageProperties <: OpenAPI.APIModel automaticOSUpgradeProperties = nothing # spec type: Union{ Nothing, AutomaticOSUpgradeProperties } hyperVGeneration = nothing # spec type: Union{ Nothing, HyperVGenerationType } disallowed = nothing # spec type: Union{ Nothing, DisallowedConfiguration } + features::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineImageFeature} } + architecture = nothing # spec type: Union{ Nothing, ArchitectureType } - function VirtualMachineImageProperties(plan, osDiskImage, dataDiskImages, automaticOSUpgradeProperties, hyperVGeneration, disallowed, ) - OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("osDiskImage"), osDiskImage) - OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("dataDiskImages"), dataDiskImages) - OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("automaticOSUpgradeProperties"), automaticOSUpgradeProperties) - OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("hyperVGeneration"), hyperVGeneration) - OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("disallowed"), disallowed) - return new(plan, osDiskImage, dataDiskImages, automaticOSUpgradeProperties, hyperVGeneration, disallowed, ) + function VirtualMachineImageProperties(plan, osDiskImage, dataDiskImages, automaticOSUpgradeProperties, hyperVGeneration, disallowed, features, architecture, ) + o = new(plan, osDiskImage, dataDiskImages, automaticOSUpgradeProperties, hyperVGeneration, disallowed, features, architecture, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineImageProperties -const _property_types_VirtualMachineImageProperties = Dict{Symbol,String}(Symbol("plan")=>"PurchasePlan", Symbol("osDiskImage")=>"OSDiskImage", Symbol("dataDiskImages")=>"Vector{DataDiskImage}", Symbol("automaticOSUpgradeProperties")=>"AutomaticOSUpgradeProperties", Symbol("hyperVGeneration")=>"HyperVGenerationType", Symbol("disallowed")=>"DisallowedConfiguration", ) +const _property_types_VirtualMachineImageProperties = Dict{Symbol,String}(Symbol("plan")=>"PurchasePlan", Symbol("osDiskImage")=>"OSDiskImage", Symbol("dataDiskImages")=>"Vector{DataDiskImage}", Symbol("automaticOSUpgradeProperties")=>"AutomaticOSUpgradeProperties", Symbol("hyperVGeneration")=>"HyperVGenerationType", Symbol("disallowed")=>"DisallowedConfiguration", Symbol("features")=>"Vector{VirtualMachineImageFeature}", Symbol("architecture")=>"ArchitectureType", ) OpenAPI.property_type(::Type{ VirtualMachineImageProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineImageProperties[name]))} -function check_required(o::VirtualMachineImageProperties) +function OpenAPI.check_required(o::VirtualMachineImageProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineImageProperties) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("plan"), o.plan) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("osDiskImage"), o.osDiskImage) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("dataDiskImages"), o.dataDiskImages) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("automaticOSUpgradeProperties"), o.automaticOSUpgradeProperties) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("hyperVGeneration"), o.hyperVGeneration) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("disallowed"), o.disallowed) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("features"), o.features) + OpenAPI.validate_property(VirtualMachineImageProperties, Symbol("architecture"), o.architecture) +end + function OpenAPI.validate_property(::Type{ VirtualMachineImageProperties }, name::Symbol, val) + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResource.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResource.jl index 2b20a8e..23c9a3c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResource.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResource.jl @@ -6,40 +6,54 @@ Virtual machine image resource information. VirtualMachineImageResource(; - id=nothing, name=nothing, location=nothing, tags=nothing, + extendedLocation=nothing, + id=nothing, ) - - id::String : Resource Id - name::String : The name of the resource. - location::String : The supported Azure location of the resource. - tags::Dict{String, String} : Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). + - extendedLocation::ExtendedLocation + - id::String : Resource Id """ Base.@kwdef mutable struct VirtualMachineImageResource <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + id::Union{Nothing, String} = nothing - function VirtualMachineImageResource(id, name, location, tags, ) - OpenAPI.validate_property(VirtualMachineImageResource, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineImageResource, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineImageResource, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineImageResource, Symbol("tags"), tags) - return new(id, name, location, tags, ) + function VirtualMachineImageResource(name, location, tags, extendedLocation, id, ) + o = new(name, location, tags, extendedLocation, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineImageResource -const _property_types_VirtualMachineImageResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_VirtualMachineImageResource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineImageResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineImageResource[name]))} -function check_required(o::VirtualMachineImageResource) +function OpenAPI.check_required(o::VirtualMachineImageResource) o.name === nothing && (return false) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineImageResource) + OpenAPI.validate_property(VirtualMachineImageResource, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineImageResource, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineImageResource, Symbol("tags"), o.tags) + OpenAPI.validate_property(VirtualMachineImageResource, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(VirtualMachineImageResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineImageResource }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResourceAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResourceAllOf.jl deleted file mode 100644 index 1b7bdae..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineImageResourceAllOf.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineImageResource_allOf - - VirtualMachineImageResourceAllOf(; - name=nothing, - location=nothing, - tags=nothing, - ) - - - name::String : The name of the resource. - - location::String : The supported Azure location of the resource. - - tags::Dict{String, String} : Specifies the tags that are assigned to the virtual machine. For more information about using tags, see [Using tags to organize your Azure resources](https://docs.microsoft.com/azure/azure-resource-manager/resource-group-using-tags.md). -""" -Base.@kwdef mutable struct VirtualMachineImageResourceAllOf <: OpenAPI.APIModel - name::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing - - function VirtualMachineImageResourceAllOf(name, location, tags, ) - OpenAPI.validate_property(VirtualMachineImageResourceAllOf, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineImageResourceAllOf, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineImageResourceAllOf, Symbol("tags"), tags) - return new(name, location, tags, ) - end -end # type VirtualMachineImageResourceAllOf - -const _property_types_VirtualMachineImageResourceAllOf = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ VirtualMachineImageResourceAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineImageResourceAllOf[name]))} - -function check_required(o::VirtualMachineImageResourceAllOf) - o.name === nothing && (return false) - o.location === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineImageResourceAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstallPatchesParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstallPatchesParameters.jl new file mode 100644 index 0000000..95a3a9e --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstallPatchesParameters.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineInstallPatchesParameters +Input for InstallPatches as directly received by the API + + VirtualMachineInstallPatchesParameters(; + maximumDuration=nothing, + rebootSetting=nothing, + windowsParameters=nothing, + linuxParameters=nothing, + ) + + - maximumDuration::String : Specifies the maximum amount of time that the operation will run. It must be an ISO 8601-compliant duration string such as PT4H (4 hours) + - rebootSetting::String : Defines when it is acceptable to reboot a VM during a software update operation. + - windowsParameters::WindowsParameters + - linuxParameters::LinuxParameters +""" +Base.@kwdef mutable struct VirtualMachineInstallPatchesParameters <: OpenAPI.APIModel + maximumDuration::Union{Nothing, String} = nothing + rebootSetting::Union{Nothing, String} = nothing + windowsParameters = nothing # spec type: Union{ Nothing, WindowsParameters } + linuxParameters = nothing # spec type: Union{ Nothing, LinuxParameters } + + function VirtualMachineInstallPatchesParameters(maximumDuration, rebootSetting, windowsParameters, linuxParameters, ) + o = new(maximumDuration, rebootSetting, windowsParameters, linuxParameters, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineInstallPatchesParameters + +const _property_types_VirtualMachineInstallPatchesParameters = Dict{Symbol,String}(Symbol("maximumDuration")=>"String", Symbol("rebootSetting")=>"String", Symbol("windowsParameters")=>"WindowsParameters", Symbol("linuxParameters")=>"LinuxParameters", ) +OpenAPI.property_type(::Type{ VirtualMachineInstallPatchesParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineInstallPatchesParameters[name]))} + +function OpenAPI.check_required(o::VirtualMachineInstallPatchesParameters) + o.rebootSetting === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineInstallPatchesParameters) + OpenAPI.validate_property(VirtualMachineInstallPatchesParameters, Symbol("maximumDuration"), o.maximumDuration) + OpenAPI.validate_property(VirtualMachineInstallPatchesParameters, Symbol("rebootSetting"), o.rebootSetting) + OpenAPI.validate_property(VirtualMachineInstallPatchesParameters, Symbol("windowsParameters"), o.windowsParameters) + OpenAPI.validate_property(VirtualMachineInstallPatchesParameters, Symbol("linuxParameters"), o.linuxParameters) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineInstallPatchesParameters }, name::Symbol, val) + + + if name === Symbol("rebootSetting") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesParameters", :enum, val, ["IfRequired", "Never", "Always"]) + end + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstallPatchesResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstallPatchesResult.jl new file mode 100644 index 0000000..1f16906 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstallPatchesResult.jl @@ -0,0 +1,118 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineInstallPatchesResult +The result summary of an installation operation. + + VirtualMachineInstallPatchesResult(; + status=nothing, + installationActivityId=nothing, + rebootStatus=nothing, + maintenanceWindowExceeded=nothing, + excludedPatchCount=nothing, + notSelectedPatchCount=nothing, + pendingPatchCount=nothing, + installedPatchCount=nothing, + failedPatchCount=nothing, + patches=nothing, + startDateTime=nothing, + error=nothing, + ) + + - status::String : The overall success or failure status of the operation. It remains \"InProgress\" until the operation completes. At that point it will become \"Failed\", \"Succeeded\", \"Unknown\" or \"CompletedWithWarnings.\" + - installationActivityId::String : The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. + - rebootStatus::String : The reboot state of the VM following completion of the operation. + - maintenanceWindowExceeded::Bool : Whether the operation ran out of time before it completed all its intended actions. + - excludedPatchCount::Int64 : The number of patches that were not installed due to the user blocking their installation. + - notSelectedPatchCount::Int64 : The number of patches that were detected as available for install, but did not meet the operation's criteria. + - pendingPatchCount::Int64 : The number of patches that were identified as meeting the installation criteria, but were not able to be installed. Typically this happens when maintenanceWindowExceeded == true. + - installedPatchCount::Int64 : The number of patches successfully installed. + - failedPatchCount::Int64 : The number of patches that could not be installed due to some issue. See errors for details. + - patches::Vector{PatchInstallationDetail} : The patches that were installed during the operation. + - startDateTime::ZonedDateTime : The UTC timestamp when the operation began. + - error::ApiError +""" +Base.@kwdef mutable struct VirtualMachineInstallPatchesResult <: OpenAPI.APIModel + status::Union{Nothing, String} = nothing + installationActivityId::Union{Nothing, String} = nothing + rebootStatus::Union{Nothing, String} = nothing + maintenanceWindowExceeded::Union{Nothing, Bool} = nothing + excludedPatchCount::Union{Nothing, Int64} = nothing + notSelectedPatchCount::Union{Nothing, Int64} = nothing + pendingPatchCount::Union{Nothing, Int64} = nothing + installedPatchCount::Union{Nothing, Int64} = nothing + failedPatchCount::Union{Nothing, Int64} = nothing + patches::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PatchInstallationDetail} } + startDateTime::Union{Nothing, ZonedDateTime} = nothing + error = nothing # spec type: Union{ Nothing, ApiError } + + function VirtualMachineInstallPatchesResult(status, installationActivityId, rebootStatus, maintenanceWindowExceeded, excludedPatchCount, notSelectedPatchCount, pendingPatchCount, installedPatchCount, failedPatchCount, patches, startDateTime, error, ) + o = new(status, installationActivityId, rebootStatus, maintenanceWindowExceeded, excludedPatchCount, notSelectedPatchCount, pendingPatchCount, installedPatchCount, failedPatchCount, patches, startDateTime, error, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineInstallPatchesResult + +const _property_types_VirtualMachineInstallPatchesResult = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("installationActivityId")=>"String", Symbol("rebootStatus")=>"String", Symbol("maintenanceWindowExceeded")=>"Bool", Symbol("excludedPatchCount")=>"Int64", Symbol("notSelectedPatchCount")=>"Int64", Symbol("pendingPatchCount")=>"Int64", Symbol("installedPatchCount")=>"Int64", Symbol("failedPatchCount")=>"Int64", Symbol("patches")=>"Vector{PatchInstallationDetail}", Symbol("startDateTime")=>"ZonedDateTime", Symbol("error")=>"ApiError", ) +OpenAPI.property_type(::Type{ VirtualMachineInstallPatchesResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineInstallPatchesResult[name]))} + +function OpenAPI.check_required(o::VirtualMachineInstallPatchesResult) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineInstallPatchesResult) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("status"), o.status) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("installationActivityId"), o.installationActivityId) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("rebootStatus"), o.rebootStatus) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("maintenanceWindowExceeded"), o.maintenanceWindowExceeded) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("excludedPatchCount"), o.excludedPatchCount) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("notSelectedPatchCount"), o.notSelectedPatchCount) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("pendingPatchCount"), o.pendingPatchCount) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("installedPatchCount"), o.installedPatchCount) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("failedPatchCount"), o.failedPatchCount) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("patches"), o.patches) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("startDateTime"), o.startDateTime) + OpenAPI.validate_property(VirtualMachineInstallPatchesResult, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineInstallPatchesResult }, name::Symbol, val) + + if name === Symbol("status") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :enum, val, ["Unknown", "InProgress", "Failed", "Succeeded", "CompletedWithWarnings"]) + end + + + + if name === Symbol("rebootStatus") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :enum, val, ["Unknown", "NotNeeded", "Required", "Started", "Failed", "Completed"]) + end + + + + if name === Symbol("excludedPatchCount") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :format, val, "int32") + end + + if name === Symbol("notSelectedPatchCount") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :format, val, "int32") + end + + if name === Symbol("pendingPatchCount") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :format, val, "int32") + end + + if name === Symbol("installedPatchCount") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :format, val, "int32") + end + + if name === Symbol("failedPatchCount") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :format, val, "int32") + end + + + if name === Symbol("startDateTime") + OpenAPI.validate_param(name, "VirtualMachineInstallPatchesResult", :format, val, "date-time") + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstanceView.jl index 708ae46..a52ad16 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineInstanceView.jl @@ -17,9 +17,11 @@ The instance view of a virtual machine. maintenanceRedeployStatus=nothing, disks=nothing, extensions=nothing, + vmHealth=nothing, bootDiagnostics=nothing, assignedHost=nothing, statuses=nothing, + patchStatus=nothing, ) - platformUpdateDomain::Int64 : Specifies the update domain of the virtual machine. @@ -33,9 +35,11 @@ The instance view of a virtual machine. - maintenanceRedeployStatus::MaintenanceRedeployStatus - disks::Vector{DiskInstanceView} : The virtual machine disk information. - extensions::Vector{VirtualMachineExtensionInstanceView} : The extensions information. + - vmHealth::VirtualMachineHealthStatus - bootDiagnostics::BootDiagnosticsInstanceView - assignedHost::String : Resource id of the dedicated host, on which the virtual machine is allocated through automatic placement, when the virtual machine is associated with a dedicated host group that has automatic placement enabled. <br><br>Minimum api-version: 2020-06-01. - statuses::Vector{InstanceViewStatus} : The resource status information. + - patchStatus::VirtualMachinePatchStatus """ Base.@kwdef mutable struct VirtualMachineInstanceView <: OpenAPI.APIModel platformUpdateDomain::Union{Nothing, Int64} = nothing @@ -49,44 +53,70 @@ Base.@kwdef mutable struct VirtualMachineInstanceView <: OpenAPI.APIModel maintenanceRedeployStatus = nothing # spec type: Union{ Nothing, MaintenanceRedeployStatus } disks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DiskInstanceView} } extensions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineExtensionInstanceView} } + vmHealth = nothing # spec type: Union{ Nothing, VirtualMachineHealthStatus } bootDiagnostics = nothing # spec type: Union{ Nothing, BootDiagnosticsInstanceView } assignedHost::Union{Nothing, String} = nothing statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } + patchStatus = nothing # spec type: Union{ Nothing, VirtualMachinePatchStatus } - function VirtualMachineInstanceView(platformUpdateDomain, platformFaultDomain, computerName, osName, osVersion, hyperVGeneration, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, bootDiagnostics, assignedHost, statuses, ) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("platformUpdateDomain"), platformUpdateDomain) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("platformFaultDomain"), platformFaultDomain) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("computerName"), computerName) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("osName"), osName) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("osVersion"), osVersion) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("hyperVGeneration"), hyperVGeneration) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("rdpThumbPrint"), rdpThumbPrint) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("vmAgent"), vmAgent) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("maintenanceRedeployStatus"), maintenanceRedeployStatus) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("disks"), disks) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("extensions"), extensions) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("bootDiagnostics"), bootDiagnostics) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("assignedHost"), assignedHost) - OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("statuses"), statuses) - return new(platformUpdateDomain, platformFaultDomain, computerName, osName, osVersion, hyperVGeneration, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, bootDiagnostics, assignedHost, statuses, ) + function VirtualMachineInstanceView(platformUpdateDomain, platformFaultDomain, computerName, osName, osVersion, hyperVGeneration, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, vmHealth, bootDiagnostics, assignedHost, statuses, patchStatus, ) + o = new(platformUpdateDomain, platformFaultDomain, computerName, osName, osVersion, hyperVGeneration, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, vmHealth, bootDiagnostics, assignedHost, statuses, patchStatus, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineInstanceView -const _property_types_VirtualMachineInstanceView = Dict{Symbol,String}(Symbol("platformUpdateDomain")=>"Int64", Symbol("platformFaultDomain")=>"Int64", Symbol("computerName")=>"String", Symbol("osName")=>"String", Symbol("osVersion")=>"String", Symbol("hyperVGeneration")=>"String", Symbol("rdpThumbPrint")=>"String", Symbol("vmAgent")=>"VirtualMachineAgentInstanceView", Symbol("maintenanceRedeployStatus")=>"MaintenanceRedeployStatus", Symbol("disks")=>"Vector{DiskInstanceView}", Symbol("extensions")=>"Vector{VirtualMachineExtensionInstanceView}", Symbol("bootDiagnostics")=>"BootDiagnosticsInstanceView", Symbol("assignedHost")=>"String", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) +const _property_types_VirtualMachineInstanceView = Dict{Symbol,String}(Symbol("platformUpdateDomain")=>"Int64", Symbol("platformFaultDomain")=>"Int64", Symbol("computerName")=>"String", Symbol("osName")=>"String", Symbol("osVersion")=>"String", Symbol("hyperVGeneration")=>"String", Symbol("rdpThumbPrint")=>"String", Symbol("vmAgent")=>"VirtualMachineAgentInstanceView", Symbol("maintenanceRedeployStatus")=>"MaintenanceRedeployStatus", Symbol("disks")=>"Vector{DiskInstanceView}", Symbol("extensions")=>"Vector{VirtualMachineExtensionInstanceView}", Symbol("vmHealth")=>"VirtualMachineHealthStatus", Symbol("bootDiagnostics")=>"BootDiagnosticsInstanceView", Symbol("assignedHost")=>"String", Symbol("statuses")=>"Vector{InstanceViewStatus}", Symbol("patchStatus")=>"VirtualMachinePatchStatus", ) OpenAPI.property_type(::Type{ VirtualMachineInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineInstanceView[name]))} -function check_required(o::VirtualMachineInstanceView) +function OpenAPI.check_required(o::VirtualMachineInstanceView) true end +function OpenAPI.validate_properties(o::VirtualMachineInstanceView) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("platformUpdateDomain"), o.platformUpdateDomain) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("platformFaultDomain"), o.platformFaultDomain) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("computerName"), o.computerName) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("osName"), o.osName) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("osVersion"), o.osVersion) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("hyperVGeneration"), o.hyperVGeneration) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("rdpThumbPrint"), o.rdpThumbPrint) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("vmAgent"), o.vmAgent) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("maintenanceRedeployStatus"), o.maintenanceRedeployStatus) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("disks"), o.disks) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("extensions"), o.extensions) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("vmHealth"), o.vmHealth) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("bootDiagnostics"), o.bootDiagnostics) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("assignedHost"), o.assignedHost) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("statuses"), o.statuses) + OpenAPI.validate_property(VirtualMachineInstanceView, Symbol("patchStatus"), o.patchStatus) +end + function OpenAPI.validate_property(::Type{ VirtualMachineInstanceView }, name::Symbol, val) + if name === Symbol("platformUpdateDomain") OpenAPI.validate_param(name, "VirtualMachineInstanceView", :format, val, "int32") end + if name === Symbol("platformFaultDomain") OpenAPI.validate_param(name, "VirtualMachineInstanceView", :format, val, "int32") end + + + + if name === Symbol("hyperVGeneration") OpenAPI.validate_param(name, "VirtualMachineInstanceView", :enum, val, ["V1", "V2"]) end + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIpTag.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIpTag.jl new file mode 100644 index 0000000..c8aa759 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineIpTag.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineIpTag +Contains the IP tag associated with the public IP address. + + VirtualMachineIpTag(; + ipTagType=nothing, + tag=nothing, + ) + + - ipTagType::String : IP tag type. Example: FirstPartyUsage. + - tag::String : IP tag associated with the public IP. Example: SQL, Storage etc. +""" +Base.@kwdef mutable struct VirtualMachineIpTag <: OpenAPI.APIModel + ipTagType::Union{Nothing, String} = nothing + tag::Union{Nothing, String} = nothing + + function VirtualMachineIpTag(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineIpTag + +const _property_types_VirtualMachineIpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineIpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineIpTag[name]))} + +function OpenAPI.check_required(o::VirtualMachineIpTag) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineIpTag) + OpenAPI.validate_property(VirtualMachineIpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(VirtualMachineIpTag, Symbol("tag"), o.tag) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineIpTag }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineListResult.jl index 6d619c2..bfa64ad 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualMachineListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineListResult const _property_types_VirtualMachineListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachine}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineListResult[name]))} -function check_required(o::VirtualMachineListResult) +function OpenAPI.check_required(o::VirtualMachineListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineListResult) + OpenAPI.validate_property(VirtualMachineListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceConfiguration.jl new file mode 100644 index 0000000..b4623c8 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceConfiguration.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineNetworkInterfaceConfiguration +Describes a virtual machine network interface configurations. + + VirtualMachineNetworkInterfaceConfiguration(; + name=nothing, + properties=nothing, + ) + + - name::String : The network interface configuration name. + - properties::VirtualMachineNetworkInterfaceConfigurationProperties +""" +Base.@kwdef mutable struct VirtualMachineNetworkInterfaceConfiguration <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, VirtualMachineNetworkInterfaceConfigurationProperties } + + function VirtualMachineNetworkInterfaceConfiguration(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineNetworkInterfaceConfiguration + +const _property_types_VirtualMachineNetworkInterfaceConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineNetworkInterfaceConfigurationProperties", ) +OpenAPI.property_type(::Type{ VirtualMachineNetworkInterfaceConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineNetworkInterfaceConfiguration[name]))} + +function OpenAPI.check_required(o::VirtualMachineNetworkInterfaceConfiguration) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineNetworkInterfaceConfiguration) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfiguration, Symbol("properties"), o.properties) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineNetworkInterfaceConfiguration }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceConfigurationProperties.jl new file mode 100644 index 0000000..f70f8b0 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceConfigurationProperties.jl @@ -0,0 +1,82 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineNetworkInterfaceConfigurationProperties +Describes a virtual machine network profile's IP configuration. + + VirtualMachineNetworkInterfaceConfigurationProperties(; + primary=nothing, + deleteOption=nothing, + enableAcceleratedNetworking=nothing, + enableFpga=nothing, + enableIPForwarding=nothing, + networkSecurityGroup=nothing, + dnsSettings=nothing, + ipConfigurations=nothing, + dscpConfiguration=nothing, + ) + + - primary::Bool : Specifies the primary network interface in case the virtual machine has more than 1 network interface. + - deleteOption::String : Specify what happens to the network interface when the VM is deleted + - enableAcceleratedNetworking::Bool : Specifies whether the network interface is accelerated networking-enabled. + - enableFpga::Bool : Specifies whether the network interface is FPGA networking-enabled. + - enableIPForwarding::Bool : Whether IP forwarding enabled on this NIC. + - networkSecurityGroup::SubResource + - dnsSettings::VirtualMachineNetworkInterfaceDnsSettingsConfiguration + - ipConfigurations::Vector{VirtualMachineNetworkInterfaceIPConfiguration} : Specifies the IP configurations of the network interface. + - dscpConfiguration::SubResource +""" +Base.@kwdef mutable struct VirtualMachineNetworkInterfaceConfigurationProperties <: OpenAPI.APIModel + primary::Union{Nothing, Bool} = nothing + deleteOption::Union{Nothing, String} = nothing + enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + enableFpga::Union{Nothing, Bool} = nothing + enableIPForwarding::Union{Nothing, Bool} = nothing + networkSecurityGroup = nothing # spec type: Union{ Nothing, SubResource } + dnsSettings = nothing # spec type: Union{ Nothing, VirtualMachineNetworkInterfaceDnsSettingsConfiguration } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineNetworkInterfaceIPConfiguration} } + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } + + function VirtualMachineNetworkInterfaceConfigurationProperties(primary, deleteOption, enableAcceleratedNetworking, enableFpga, enableIPForwarding, networkSecurityGroup, dnsSettings, ipConfigurations, dscpConfiguration, ) + o = new(primary, deleteOption, enableAcceleratedNetworking, enableFpga, enableIPForwarding, networkSecurityGroup, dnsSettings, ipConfigurations, dscpConfiguration, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineNetworkInterfaceConfigurationProperties + +const _property_types_VirtualMachineNetworkInterfaceConfigurationProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", Symbol("deleteOption")=>"String", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableFpga")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("networkSecurityGroup")=>"SubResource", Symbol("dnsSettings")=>"VirtualMachineNetworkInterfaceDnsSettingsConfiguration", Symbol("ipConfigurations")=>"Vector{VirtualMachineNetworkInterfaceIPConfiguration}", Symbol("dscpConfiguration")=>"SubResource", ) +OpenAPI.property_type(::Type{ VirtualMachineNetworkInterfaceConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineNetworkInterfaceConfigurationProperties[name]))} + +function OpenAPI.check_required(o::VirtualMachineNetworkInterfaceConfigurationProperties) + o.ipConfigurations === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineNetworkInterfaceConfigurationProperties) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("deleteOption"), o.deleteOption) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("enableFpga"), o.enableFpga) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceConfigurationProperties, Symbol("dscpConfiguration"), o.dscpConfiguration) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineNetworkInterfaceConfigurationProperties }, name::Symbol, val) + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "VirtualMachineNetworkInterfaceConfigurationProperties", :enum, val, ["Delete", "Detach"]) + end + + + + + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceDnsSettingsConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceDnsSettingsConfiguration.jl new file mode 100644 index 0000000..b532b79 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceDnsSettingsConfiguration.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineNetworkInterfaceDnsSettingsConfiguration +Describes a virtual machines network configuration's DNS settings. + + VirtualMachineNetworkInterfaceDnsSettingsConfiguration(; + dnsServers=nothing, + ) + + - dnsServers::Vector{String} : List of DNS servers IP addresses +""" +Base.@kwdef mutable struct VirtualMachineNetworkInterfaceDnsSettingsConfiguration <: OpenAPI.APIModel + dnsServers::Union{Nothing, Vector{String}} = nothing + + function VirtualMachineNetworkInterfaceDnsSettingsConfiguration(dnsServers, ) + o = new(dnsServers, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineNetworkInterfaceDnsSettingsConfiguration + +const _property_types_VirtualMachineNetworkInterfaceDnsSettingsConfiguration = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ VirtualMachineNetworkInterfaceDnsSettingsConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineNetworkInterfaceDnsSettingsConfiguration[name]))} + +function OpenAPI.check_required(o::VirtualMachineNetworkInterfaceDnsSettingsConfiguration) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineNetworkInterfaceDnsSettingsConfiguration) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceDnsSettingsConfiguration, Symbol("dnsServers"), o.dnsServers) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineNetworkInterfaceDnsSettingsConfiguration }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceIPConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceIPConfiguration.jl new file mode 100644 index 0000000..9def686 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceIPConfiguration.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineNetworkInterfaceIPConfiguration +Describes a virtual machine network profile's IP configuration. + + VirtualMachineNetworkInterfaceIPConfiguration(; + name=nothing, + properties=nothing, + ) + + - name::String : The IP configuration name. + - properties::VirtualMachineNetworkInterfaceIPConfigurationProperties +""" +Base.@kwdef mutable struct VirtualMachineNetworkInterfaceIPConfiguration <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, VirtualMachineNetworkInterfaceIPConfigurationProperties } + + function VirtualMachineNetworkInterfaceIPConfiguration(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineNetworkInterfaceIPConfiguration + +const _property_types_VirtualMachineNetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineNetworkInterfaceIPConfigurationProperties", ) +OpenAPI.property_type(::Type{ VirtualMachineNetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineNetworkInterfaceIPConfiguration[name]))} + +function OpenAPI.check_required(o::VirtualMachineNetworkInterfaceIPConfiguration) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineNetworkInterfaceIPConfiguration }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceIPConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceIPConfigurationProperties.jl new file mode 100644 index 0000000..e69676e --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineNetworkInterfaceIPConfigurationProperties.jl @@ -0,0 +1,71 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineNetworkInterfaceIPConfigurationProperties +Describes a virtual machine network interface IP configuration properties. + + VirtualMachineNetworkInterfaceIPConfigurationProperties(; + subnet=nothing, + primary=nothing, + publicIPAddressConfiguration=nothing, + privateIPAddressVersion=nothing, + applicationSecurityGroups=nothing, + applicationGatewayBackendAddressPools=nothing, + loadBalancerBackendAddressPools=nothing, + ) + + - subnet::SubResource + - primary::Bool : Specifies the primary network interface in case the virtual machine has more than 1 network interface. + - publicIPAddressConfiguration::VirtualMachinePublicIPAddressConfiguration + - privateIPAddressVersion::String : Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + - applicationSecurityGroups::Vector{SubResource} : Specifies an array of references to application security group. + - applicationGatewayBackendAddressPools::Vector{SubResource} : Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway. + - loadBalancerBackendAddressPools::Vector{SubResource} : Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer]. +""" +Base.@kwdef mutable struct VirtualMachineNetworkInterfaceIPConfigurationProperties <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + primary::Union{Nothing, Bool} = nothing + publicIPAddressConfiguration = nothing # spec type: Union{ Nothing, VirtualMachinePublicIPAddressConfiguration } + privateIPAddressVersion::Union{Nothing, String} = nothing + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + + function VirtualMachineNetworkInterfaceIPConfigurationProperties(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationSecurityGroups, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, ) + o = new(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationSecurityGroups, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineNetworkInterfaceIPConfigurationProperties + +const _property_types_VirtualMachineNetworkInterfaceIPConfigurationProperties = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("primary")=>"Bool", Symbol("publicIPAddressConfiguration")=>"VirtualMachinePublicIPAddressConfiguration", Symbol("privateIPAddressVersion")=>"String", Symbol("applicationSecurityGroups")=>"Vector{SubResource}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{SubResource}", Symbol("loadBalancerBackendAddressPools")=>"Vector{SubResource}", ) +OpenAPI.property_type(::Type{ VirtualMachineNetworkInterfaceIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineNetworkInterfaceIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::VirtualMachineNetworkInterfaceIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineNetworkInterfaceIPConfigurationProperties) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("publicIPAddressConfiguration"), o.publicIPAddressConfiguration) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(VirtualMachineNetworkInterfaceIPConfigurationProperties, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineNetworkInterfaceIPConfigurationProperties }, name::Symbol, val) + + + + + if name === Symbol("privateIPAddressVersion") + OpenAPI.validate_param(name, "VirtualMachineNetworkInterfaceIPConfigurationProperties", :enum, val, ["IPv4", "IPv6"]) + end + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePatchStatus.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePatchStatus.jl new file mode 100644 index 0000000..4a152c6 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePatchStatus.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachinePatchStatus +The status of virtual machine patch operations. + + VirtualMachinePatchStatus(; + availablePatchSummary=nothing, + lastPatchInstallationSummary=nothing, + configurationStatuses=nothing, + ) + + - availablePatchSummary::AvailablePatchSummary + - lastPatchInstallationSummary::LastPatchInstallationSummary + - configurationStatuses::Vector{InstanceViewStatus} : The enablement status of the specified patchMode +""" +Base.@kwdef mutable struct VirtualMachinePatchStatus <: OpenAPI.APIModel + availablePatchSummary = nothing # spec type: Union{ Nothing, AvailablePatchSummary } + lastPatchInstallationSummary = nothing # spec type: Union{ Nothing, LastPatchInstallationSummary } + configurationStatuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } + + function VirtualMachinePatchStatus(availablePatchSummary, lastPatchInstallationSummary, configurationStatuses, ) + o = new(availablePatchSummary, lastPatchInstallationSummary, configurationStatuses, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachinePatchStatus + +const _property_types_VirtualMachinePatchStatus = Dict{Symbol,String}(Symbol("availablePatchSummary")=>"AvailablePatchSummary", Symbol("lastPatchInstallationSummary")=>"LastPatchInstallationSummary", Symbol("configurationStatuses")=>"Vector{InstanceViewStatus}", ) +OpenAPI.property_type(::Type{ VirtualMachinePatchStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachinePatchStatus[name]))} + +function OpenAPI.check_required(o::VirtualMachinePatchStatus) + true +end + +function OpenAPI.validate_properties(o::VirtualMachinePatchStatus) + OpenAPI.validate_property(VirtualMachinePatchStatus, Symbol("availablePatchSummary"), o.availablePatchSummary) + OpenAPI.validate_property(VirtualMachinePatchStatus, Symbol("lastPatchInstallationSummary"), o.lastPatchInstallationSummary) + OpenAPI.validate_property(VirtualMachinePatchStatus, Symbol("configurationStatuses"), o.configurationStatuses) +end + +function OpenAPI.validate_property(::Type{ VirtualMachinePatchStatus }, name::Symbol, val) + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineProperties.jl index 32f1d9f..233a112 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineProperties.jl @@ -26,6 +26,12 @@ Describes the properties of a Virtual Machine. licenseType=nothing, vmId=nothing, extensionsTimeBudget=nothing, + platformFaultDomain=nothing, + scheduledEventsProfile=nothing, + userData=nothing, + capacityReservation=nothing, + applicationProfile=nothing, + timeCreated=nothing, ) - hardwareProfile::HardwareProfile @@ -45,9 +51,15 @@ Describes the properties of a Virtual Machine. - hostGroup::SubResource - provisioningState::String : The provisioning state, which only appears in the response. - instanceView::VirtualMachineInstanceView - - licenseType::String : Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 + - licenseType::String : Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 - vmId::String : Specifies the VM unique ID which is a 128-bits identifier that is encoded and stored in all Azure IaaS VMs SMBIOS and can be read using platform BIOS commands. - extensionsTimeBudget::String : Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). <br><br> Minimum api-version: 2020-06-01 + - platformFaultDomain::Int64 : Specifies the scale set logical fault domain into which the Virtual Machine will be created. By default, the Virtual Machine will by automatically assigned to a fault domain that best maintains balance across available fault domains.<br><li>This is applicable only if the 'virtualMachineScaleSet' property of this Virtual Machine is set.<li>The Virtual Machine Scale Set that is referenced, must have 'platformFaultDomainCount' &gt; 1.<li>This property cannot be updated once the Virtual Machine is created.<li>Fault domain assignment can be viewed in the Virtual Machine Instance View.<br><br>Minimum api‐version: 2020‐12‐01 + - scheduledEventsProfile::ScheduledEventsProfile + - userData::String : UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 + - capacityReservation::CapacityReservationProfile + - applicationProfile::ApplicationProfile + - timeCreated::ZonedDateTime : Specifies the time at which the Virtual Machine resource was created.<br><br>Minimum api-version: 2021-11-01. """ Base.@kwdef mutable struct VirtualMachineProperties <: OpenAPI.APIModel hardwareProfile = nothing # spec type: Union{ Nothing, HardwareProfile } @@ -70,38 +82,87 @@ Base.@kwdef mutable struct VirtualMachineProperties <: OpenAPI.APIModel licenseType::Union{Nothing, String} = nothing vmId::Union{Nothing, String} = nothing extensionsTimeBudget::Union{Nothing, String} = nothing + platformFaultDomain::Union{Nothing, Int64} = nothing + scheduledEventsProfile = nothing # spec type: Union{ Nothing, ScheduledEventsProfile } + userData::Union{Nothing, String} = nothing + capacityReservation = nothing # spec type: Union{ Nothing, CapacityReservationProfile } + applicationProfile = nothing # spec type: Union{ Nothing, ApplicationProfile } + timeCreated::Union{Nothing, ZonedDateTime} = nothing - function VirtualMachineProperties(hardwareProfile, storageProfile, additionalCapabilities, osProfile, networkProfile, securityProfile, diagnosticsProfile, availabilitySet, virtualMachineScaleSet, proximityPlacementGroup, priority, evictionPolicy, billingProfile, host, hostGroup, provisioningState, instanceView, licenseType, vmId, extensionsTimeBudget, ) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("hardwareProfile"), hardwareProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("storageProfile"), storageProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("additionalCapabilities"), additionalCapabilities) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("osProfile"), osProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("networkProfile"), networkProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("securityProfile"), securityProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("diagnosticsProfile"), diagnosticsProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("availabilitySet"), availabilitySet) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("virtualMachineScaleSet"), virtualMachineScaleSet) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("proximityPlacementGroup"), proximityPlacementGroup) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("priority"), priority) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("evictionPolicy"), evictionPolicy) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("billingProfile"), billingProfile) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("host"), host) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("hostGroup"), hostGroup) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("instanceView"), instanceView) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("licenseType"), licenseType) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("vmId"), vmId) - OpenAPI.validate_property(VirtualMachineProperties, Symbol("extensionsTimeBudget"), extensionsTimeBudget) - return new(hardwareProfile, storageProfile, additionalCapabilities, osProfile, networkProfile, securityProfile, diagnosticsProfile, availabilitySet, virtualMachineScaleSet, proximityPlacementGroup, priority, evictionPolicy, billingProfile, host, hostGroup, provisioningState, instanceView, licenseType, vmId, extensionsTimeBudget, ) + function VirtualMachineProperties(hardwareProfile, storageProfile, additionalCapabilities, osProfile, networkProfile, securityProfile, diagnosticsProfile, availabilitySet, virtualMachineScaleSet, proximityPlacementGroup, priority, evictionPolicy, billingProfile, host, hostGroup, provisioningState, instanceView, licenseType, vmId, extensionsTimeBudget, platformFaultDomain, scheduledEventsProfile, userData, capacityReservation, applicationProfile, timeCreated, ) + o = new(hardwareProfile, storageProfile, additionalCapabilities, osProfile, networkProfile, securityProfile, diagnosticsProfile, availabilitySet, virtualMachineScaleSet, proximityPlacementGroup, priority, evictionPolicy, billingProfile, host, hostGroup, provisioningState, instanceView, licenseType, vmId, extensionsTimeBudget, platformFaultDomain, scheduledEventsProfile, userData, capacityReservation, applicationProfile, timeCreated, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineProperties -const _property_types_VirtualMachineProperties = Dict{Symbol,String}(Symbol("hardwareProfile")=>"HardwareProfile", Symbol("storageProfile")=>"StorageProfile", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("osProfile")=>"OSProfile", Symbol("networkProfile")=>"NetworkProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("availabilitySet")=>"SubResource", Symbol("virtualMachineScaleSet")=>"SubResource", Symbol("proximityPlacementGroup")=>"SubResource", Symbol("priority")=>"Priority", Symbol("evictionPolicy")=>"EvictionPolicy", Symbol("billingProfile")=>"BillingProfile", Symbol("host")=>"SubResource", Symbol("hostGroup")=>"SubResource", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"VirtualMachineInstanceView", Symbol("licenseType")=>"String", Symbol("vmId")=>"String", Symbol("extensionsTimeBudget")=>"String", ) +const _property_types_VirtualMachineProperties = Dict{Symbol,String}(Symbol("hardwareProfile")=>"HardwareProfile", Symbol("storageProfile")=>"StorageProfile", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("osProfile")=>"OSProfile", Symbol("networkProfile")=>"NetworkProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("availabilitySet")=>"SubResource", Symbol("virtualMachineScaleSet")=>"SubResource", Symbol("proximityPlacementGroup")=>"SubResource", Symbol("priority")=>"Priority", Symbol("evictionPolicy")=>"EvictionPolicy", Symbol("billingProfile")=>"BillingProfile", Symbol("host")=>"SubResource", Symbol("hostGroup")=>"SubResource", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"VirtualMachineInstanceView", Symbol("licenseType")=>"String", Symbol("vmId")=>"String", Symbol("extensionsTimeBudget")=>"String", Symbol("platformFaultDomain")=>"Int64", Symbol("scheduledEventsProfile")=>"ScheduledEventsProfile", Symbol("userData")=>"String", Symbol("capacityReservation")=>"CapacityReservationProfile", Symbol("applicationProfile")=>"ApplicationProfile", Symbol("timeCreated")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ VirtualMachineProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineProperties[name]))} -function check_required(o::VirtualMachineProperties) +function OpenAPI.check_required(o::VirtualMachineProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineProperties) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("hardwareProfile"), o.hardwareProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("storageProfile"), o.storageProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("additionalCapabilities"), o.additionalCapabilities) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("osProfile"), o.osProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("networkProfile"), o.networkProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("diagnosticsProfile"), o.diagnosticsProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("availabilitySet"), o.availabilitySet) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("virtualMachineScaleSet"), o.virtualMachineScaleSet) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("proximityPlacementGroup"), o.proximityPlacementGroup) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("priority"), o.priority) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("evictionPolicy"), o.evictionPolicy) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("billingProfile"), o.billingProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("host"), o.host) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("hostGroup"), o.hostGroup) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("instanceView"), o.instanceView) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("licenseType"), o.licenseType) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("vmId"), o.vmId) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("extensionsTimeBudget"), o.extensionsTimeBudget) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("platformFaultDomain"), o.platformFaultDomain) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("scheduledEventsProfile"), o.scheduledEventsProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("userData"), o.userData) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("capacityReservation"), o.capacityReservation) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("applicationProfile"), o.applicationProfile) + OpenAPI.validate_property(VirtualMachineProperties, Symbol("timeCreated"), o.timeCreated) +end + function OpenAPI.validate_property(::Type{ VirtualMachineProperties }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + + + if name === Symbol("platformFaultDomain") + OpenAPI.validate_param(name, "VirtualMachineProperties", :format, val, "int32") + end + + + + + + if name === Symbol("timeCreated") + OpenAPI.validate_param(name, "VirtualMachineProperties", :format, val, "date-time") + end end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressConfiguration.jl new file mode 100644 index 0000000..8e301a9 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressConfiguration.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachinePublicIPAddressConfiguration +Describes a virtual machines IP Configuration's PublicIPAddress configuration + + VirtualMachinePublicIPAddressConfiguration(; + name=nothing, + properties=nothing, + sku=nothing, + ) + + - name::String : The publicIP address configuration name. + - properties::VirtualMachinePublicIPAddressConfigurationProperties + - sku::PublicIPAddressSku +""" +Base.@kwdef mutable struct VirtualMachinePublicIPAddressConfiguration <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, VirtualMachinePublicIPAddressConfigurationProperties } + sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } + + function VirtualMachinePublicIPAddressConfiguration(name, properties, sku, ) + o = new(name, properties, sku, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachinePublicIPAddressConfiguration + +const _property_types_VirtualMachinePublicIPAddressConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachinePublicIPAddressConfigurationProperties", Symbol("sku")=>"PublicIPAddressSku", ) +OpenAPI.property_type(::Type{ VirtualMachinePublicIPAddressConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachinePublicIPAddressConfiguration[name]))} + +function OpenAPI.check_required(o::VirtualMachinePublicIPAddressConfiguration) + o.name === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachinePublicIPAddressConfiguration) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfiguration, Symbol("sku"), o.sku) +end + +function OpenAPI.validate_property(::Type{ VirtualMachinePublicIPAddressConfiguration }, name::Symbol, val) + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressConfigurationProperties.jl new file mode 100644 index 0000000..51cee8c --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressConfigurationProperties.jl @@ -0,0 +1,82 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachinePublicIPAddressConfigurationProperties +Describes a virtual machines IP Configuration's PublicIPAddress configuration + + VirtualMachinePublicIPAddressConfigurationProperties(; + idleTimeoutInMinutes=nothing, + deleteOption=nothing, + dnsSettings=nothing, + ipTags=nothing, + publicIPPrefix=nothing, + publicIPAddressVersion=nothing, + publicIPAllocationMethod=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. + - deleteOption::String : Specify what happens to the public IP address when the VM is deleted + - dnsSettings::VirtualMachinePublicIPAddressDnsSettingsConfiguration + - ipTags::Vector{VirtualMachineIpTag} : The list of IP tags associated with the public IP address. + - publicIPPrefix::SubResource + - publicIPAddressVersion::String : Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + - publicIPAllocationMethod::String : Specify the public IP allocation type +""" +Base.@kwdef mutable struct VirtualMachinePublicIPAddressConfigurationProperties <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + deleteOption::Union{Nothing, String} = nothing + dnsSettings = nothing # spec type: Union{ Nothing, VirtualMachinePublicIPAddressDnsSettingsConfiguration } + ipTags::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineIpTag} } + publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + publicIPAddressVersion::Union{Nothing, String} = nothing + publicIPAllocationMethod::Union{Nothing, String} = nothing + + function VirtualMachinePublicIPAddressConfigurationProperties(idleTimeoutInMinutes, deleteOption, dnsSettings, ipTags, publicIPPrefix, publicIPAddressVersion, publicIPAllocationMethod, ) + o = new(idleTimeoutInMinutes, deleteOption, dnsSettings, ipTags, publicIPPrefix, publicIPAddressVersion, publicIPAllocationMethod, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachinePublicIPAddressConfigurationProperties + +const _property_types_VirtualMachinePublicIPAddressConfigurationProperties = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("deleteOption")=>"String", Symbol("dnsSettings")=>"VirtualMachinePublicIPAddressDnsSettingsConfiguration", Symbol("ipTags")=>"Vector{VirtualMachineIpTag}", Symbol("publicIPPrefix")=>"SubResource", Symbol("publicIPAddressVersion")=>"String", Symbol("publicIPAllocationMethod")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachinePublicIPAddressConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachinePublicIPAddressConfigurationProperties[name]))} + +function OpenAPI.check_required(o::VirtualMachinePublicIPAddressConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::VirtualMachinePublicIPAddressConfigurationProperties) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("deleteOption"), o.deleteOption) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(VirtualMachinePublicIPAddressConfigurationProperties, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) +end + +function OpenAPI.validate_property(::Type{ VirtualMachinePublicIPAddressConfigurationProperties }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "VirtualMachinePublicIPAddressConfigurationProperties", :format, val, "int32") + end + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "VirtualMachinePublicIPAddressConfigurationProperties", :enum, val, ["Delete", "Detach"]) + end + + + + + + if name === Symbol("publicIPAddressVersion") + OpenAPI.validate_param(name, "VirtualMachinePublicIPAddressConfigurationProperties", :enum, val, ["IPv4", "IPv6"]) + end + + + if name === Symbol("publicIPAllocationMethod") + OpenAPI.validate_param(name, "VirtualMachinePublicIPAddressConfigurationProperties", :enum, val, ["Dynamic", "Static"]) + end + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressDnsSettingsConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressDnsSettingsConfiguration.jl new file mode 100644 index 0000000..7d5a585 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachinePublicIPAddressDnsSettingsConfiguration.jl @@ -0,0 +1,38 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachinePublicIPAddressDnsSettingsConfiguration +Describes a virtual machines network configuration's DNS settings. + + VirtualMachinePublicIPAddressDnsSettingsConfiguration(; + domainNameLabel=nothing, + ) + + - domainNameLabel::String : The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID. +""" +Base.@kwdef mutable struct VirtualMachinePublicIPAddressDnsSettingsConfiguration <: OpenAPI.APIModel + domainNameLabel::Union{Nothing, String} = nothing + + function VirtualMachinePublicIPAddressDnsSettingsConfiguration(domainNameLabel, ) + o = new(domainNameLabel, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachinePublicIPAddressDnsSettingsConfiguration + +const _property_types_VirtualMachinePublicIPAddressDnsSettingsConfiguration = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachinePublicIPAddressDnsSettingsConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachinePublicIPAddressDnsSettingsConfiguration[name]))} + +function OpenAPI.check_required(o::VirtualMachinePublicIPAddressDnsSettingsConfiguration) + o.domainNameLabel === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachinePublicIPAddressDnsSettingsConfiguration) + OpenAPI.validate_property(VirtualMachinePublicIPAddressDnsSettingsConfiguration, Symbol("domainNameLabel"), o.domainNameLabel) +end + +function OpenAPI.validate_property(::Type{ VirtualMachinePublicIPAddressDnsSettingsConfiguration }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineReimageParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineReimageParameters.jl index be032f2..a6022cb 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineReimageParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineReimageParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineReimageParameters <: OpenAPI.APIModel tempDisk::Union{Nothing, Bool} = nothing function VirtualMachineReimageParameters(tempDisk, ) - OpenAPI.validate_property(VirtualMachineReimageParameters, Symbol("tempDisk"), tempDisk) - return new(tempDisk, ) + o = new(tempDisk, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineReimageParameters const _property_types_VirtualMachineReimageParameters = Dict{Symbol,String}(Symbol("tempDisk")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineReimageParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineReimageParameters[name]))} -function check_required(o::VirtualMachineReimageParameters) +function OpenAPI.check_required(o::VirtualMachineReimageParameters) true end +function OpenAPI.validate_properties(o::VirtualMachineReimageParameters) + OpenAPI.validate_property(VirtualMachineReimageParameters, Symbol("tempDisk"), o.tempDisk) +end + function OpenAPI.validate_property(::Type{ VirtualMachineReimageParameters }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSet.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSet.jl index 8cdac80..63133d3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSet.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSet.jl @@ -6,63 +6,83 @@ Describes a Virtual Machine Scale Set. VirtualMachineScaleSet(; - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, sku=nothing, plan=nothing, properties=nothing, identity=nothing, zones=nothing, + extendedLocation=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, ) - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags - sku::Sku - plan::Plan - properties::VirtualMachineScaleSetProperties - identity::VirtualMachineScaleSetIdentity - zones::Vector{String} : The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set + - extendedLocation::ExtendedLocation + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct VirtualMachineScaleSet <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing sku = nothing # spec type: Union{ Nothing, Sku } plan = nothing # spec type: Union{ Nothing, Plan } properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetProperties } identity = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetIdentity } zones::Union{Nothing, Vector{String}} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing - function VirtualMachineScaleSet(id, name, type, location, tags, sku, plan, properties, identity, zones, ) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("tags"), tags) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("identity"), identity) - OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("zones"), zones) - return new(id, name, type, location, tags, sku, plan, properties, identity, zones, ) + function VirtualMachineScaleSet(sku, plan, properties, identity, zones, extendedLocation, id, name, type, location, tags, ) + o = new(sku, plan, properties, identity, zones, extendedLocation, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSet -const _property_types_VirtualMachineScaleSet = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("sku")=>"Sku", Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineScaleSetProperties", Symbol("identity")=>"VirtualMachineScaleSetIdentity", Symbol("zones")=>"Vector{String}", ) +const _property_types_VirtualMachineScaleSet = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineScaleSetProperties", Symbol("identity")=>"VirtualMachineScaleSetIdentity", Symbol("zones")=>"Vector{String}", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSet[name]))} -function check_required(o::VirtualMachineScaleSet) +function OpenAPI.check_required(o::VirtualMachineScaleSet) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSet) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("sku"), o.sku) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("plan"), o.plan) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("identity"), o.identity) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("zones"), o.zones) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineScaleSet, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSet }, name::Symbol, val) + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetAllOf.jl deleted file mode 100644 index 197aa91..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetAllOf.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineScaleSet_allOf - - VirtualMachineScaleSetAllOf(; - sku=nothing, - plan=nothing, - properties=nothing, - identity=nothing, - zones=nothing, - ) - - - sku::Sku - - plan::Plan - - properties::VirtualMachineScaleSetProperties - - identity::VirtualMachineScaleSetIdentity - - zones::Vector{String} : The virtual machine scale set zones. NOTE: Availability zones can only be set when you create the scale set -""" -Base.@kwdef mutable struct VirtualMachineScaleSetAllOf <: OpenAPI.APIModel - sku = nothing # spec type: Union{ Nothing, Sku } - plan = nothing # spec type: Union{ Nothing, Plan } - properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetProperties } - identity = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetIdentity } - zones::Union{Nothing, Vector{String}} = nothing - - function VirtualMachineScaleSetAllOf(sku, plan, properties, identity, zones, ) - OpenAPI.validate_property(VirtualMachineScaleSetAllOf, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualMachineScaleSetAllOf, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineScaleSetAllOf, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetAllOf, Symbol("identity"), identity) - OpenAPI.validate_property(VirtualMachineScaleSetAllOf, Symbol("zones"), zones) - return new(sku, plan, properties, identity, zones, ) - end -end # type VirtualMachineScaleSetAllOf - -const _property_types_VirtualMachineScaleSetAllOf = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineScaleSetProperties", Symbol("identity")=>"VirtualMachineScaleSetIdentity", Symbol("zones")=>"Vector{String}", ) -OpenAPI.property_type(::Type{ VirtualMachineScaleSetAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetAllOf[name]))} - -function check_required(o::VirtualMachineScaleSetAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetDataDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetDataDisk.jl index db3a167..43e6173 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetDataDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetDataDisk.jl @@ -39,38 +39,52 @@ Base.@kwdef mutable struct VirtualMachineScaleSetDataDisk <: OpenAPI.APIModel diskMBpsReadWrite::Union{Nothing, Int64} = nothing function VirtualMachineScaleSetDataDisk(name, lun, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, diskIOPSReadWrite, diskMBpsReadWrite, ) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("lun"), lun) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("caching"), caching) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("writeAcceleratorEnabled"), writeAcceleratorEnabled) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("createOption"), createOption) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("managedDisk"), managedDisk) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("diskIOPSReadWrite"), diskIOPSReadWrite) - OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("diskMBpsReadWrite"), diskMBpsReadWrite) - return new(name, lun, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, diskIOPSReadWrite, diskMBpsReadWrite, ) + o = new(name, lun, caching, writeAcceleratorEnabled, createOption, diskSizeGB, managedDisk, diskIOPSReadWrite, diskMBpsReadWrite, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetDataDisk const _property_types_VirtualMachineScaleSetDataDisk = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("lun")=>"Int64", Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("createOption")=>"CreateOption", Symbol("diskSizeGB")=>"Int64", Symbol("managedDisk")=>"VirtualMachineScaleSetManagedDiskParameters", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetDataDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetDataDisk[name]))} -function check_required(o::VirtualMachineScaleSetDataDisk) +function OpenAPI.check_required(o::VirtualMachineScaleSetDataDisk) o.lun === nothing && (return false) o.createOption === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetDataDisk) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("lun"), o.lun) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("writeAcceleratorEnabled"), o.writeAcceleratorEnabled) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("createOption"), o.createOption) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("managedDisk"), o.managedDisk) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("diskIOPSReadWrite"), o.diskIOPSReadWrite) + OpenAPI.validate_property(VirtualMachineScaleSetDataDisk, Symbol("diskMBpsReadWrite"), o.diskMBpsReadWrite) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetDataDisk }, name::Symbol, val) + + if name === Symbol("lun") OpenAPI.validate_param(name, "VirtualMachineScaleSetDataDisk", :format, val, "int32") end + + + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "VirtualMachineScaleSetDataDisk", :format, val, "int32") end + + if name === Symbol("diskIOPSReadWrite") OpenAPI.validate_param(name, "VirtualMachineScaleSetDataDisk", :format, val, "int64") end + if name === Symbol("diskMBpsReadWrite") OpenAPI.validate_param(name, "VirtualMachineScaleSetDataDisk", :format, val, "int64") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtension.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtension.jl index a5fed7c..38f1b7b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtension.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtension.jl @@ -6,38 +6,47 @@ Describes a Virtual Machine Scale Set Extension. VirtualMachineScaleSetExtension(; - id=nothing, name=nothing, type=nothing, properties=nothing, + id=nothing, ) - - id::String : Resource Id - name::String : The name of the extension. - type::String : Resource type - properties::VirtualMachineScaleSetExtensionProperties + - id::String : Resource Id """ Base.@kwdef mutable struct VirtualMachineScaleSetExtension <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetExtensionProperties } + id::Union{Nothing, String} = nothing - function VirtualMachineScaleSetExtension(id, name, type, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("properties"), properties) - return new(id, name, type, properties, ) + function VirtualMachineScaleSetExtension(name, type, properties, id, ) + o = new(name, type, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetExtension -const _property_types_VirtualMachineScaleSetExtension = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"VirtualMachineScaleSetExtensionProperties", ) +const _property_types_VirtualMachineScaleSetExtension = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"VirtualMachineScaleSetExtensionProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetExtension }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetExtension[name]))} -function check_required(o::VirtualMachineScaleSetExtension) +function OpenAPI.check_required(o::VirtualMachineScaleSetExtension) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetExtension) + OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetExtension, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetExtension }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionAllOf.jl deleted file mode 100644 index ae7ea39..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionAllOf.jl +++ /dev/null @@ -1,38 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineScaleSetExtension_allOf - - VirtualMachineScaleSetExtensionAllOf(; - name=nothing, - type=nothing, - properties=nothing, - ) - - - name::String : The name of the extension. - - type::String : Resource type - - properties::VirtualMachineScaleSetExtensionProperties -""" -Base.@kwdef mutable struct VirtualMachineScaleSetExtensionAllOf <: OpenAPI.APIModel - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetExtensionProperties } - - function VirtualMachineScaleSetExtensionAllOf(name, type, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionAllOf, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionAllOf, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionAllOf, Symbol("properties"), properties) - return new(name, type, properties, ) - end -end # type VirtualMachineScaleSetExtensionAllOf - -const _property_types_VirtualMachineScaleSetExtensionAllOf = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"VirtualMachineScaleSetExtensionProperties", ) -OpenAPI.property_type(::Type{ VirtualMachineScaleSetExtensionAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetExtensionAllOf[name]))} - -function check_required(o::VirtualMachineScaleSetExtensionAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetExtensionAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionListResult.jl index 24c1f7c..fb8496c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineScaleSetExtensionListResult <: OpenAPI. nextLink::Union{Nothing, String} = nothing function VirtualMachineScaleSetExtensionListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetExtensionListResult const _property_types_VirtualMachineScaleSetExtensionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineScaleSetExtension}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetExtensionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetExtensionListResult[name]))} -function check_required(o::VirtualMachineScaleSetExtensionListResult) +function OpenAPI.check_required(o::VirtualMachineScaleSetExtensionListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetExtensionListResult) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetExtensionListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProfile.jl index 01ca287..7ea6c59 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProfile.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineScaleSetExtensionProfile <: OpenAPI.API extensionsTimeBudget::Union{Nothing, String} = nothing function VirtualMachineScaleSetExtensionProfile(extensions, extensionsTimeBudget, ) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProfile, Symbol("extensions"), extensions) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProfile, Symbol("extensionsTimeBudget"), extensionsTimeBudget) - return new(extensions, extensionsTimeBudget, ) + o = new(extensions, extensionsTimeBudget, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetExtensionProfile const _property_types_VirtualMachineScaleSetExtensionProfile = Dict{Symbol,String}(Symbol("extensions")=>"Vector{VirtualMachineScaleSetExtension}", Symbol("extensionsTimeBudget")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetExtensionProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetExtensionProfile[name]))} -function check_required(o::VirtualMachineScaleSetExtensionProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetExtensionProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetExtensionProfile) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProfile, Symbol("extensions"), o.extensions) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProfile, Symbol("extensionsTimeBudget"), o.extensionsTimeBudget) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetExtensionProfile }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProperties.jl index 0788c71..6f6bd68 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionProperties.jl @@ -11,10 +11,13 @@ Describes the properties of a Virtual Machine Scale Set Extension. type=nothing, typeHandlerVersion=nothing, autoUpgradeMinorVersion=nothing, + enableAutomaticUpgrade=nothing, settings=nothing, protectedSettings=nothing, provisioningState=nothing, provisionAfterExtensions=nothing, + suppressFailures=nothing, + protectedSettingsFromKeyVault=nothing, ) - forceUpdateTag::String : If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed. @@ -22,10 +25,13 @@ Describes the properties of a Virtual Machine Scale Set Extension. - type::String : Specifies the type of the extension; an example is \"CustomScriptExtension\". - typeHandlerVersion::String : Specifies the version of the script handler. - autoUpgradeMinorVersion::Bool : Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true. + - enableAutomaticUpgrade::Bool : Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available. - settings::Any : Json formatted public settings for the extension. - protectedSettings::Any : The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all. - provisioningState::String : The provisioning state, which only appears in the response. - provisionAfterExtensions::Vector{String} : Collection of extension names after which this extension needs to be provisioned. + - suppressFailures::Bool : Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false. + - protectedSettingsFromKeyVault::Any : The extensions protected settings that are passed by reference, and consumed from key vault """ Base.@kwdef mutable struct VirtualMachineScaleSetExtensionProperties <: OpenAPI.APIModel forceUpdateTag::Union{Nothing, String} = nothing @@ -33,31 +39,54 @@ Base.@kwdef mutable struct VirtualMachineScaleSetExtensionProperties <: OpenAPI. type::Union{Nothing, String} = nothing typeHandlerVersion::Union{Nothing, String} = nothing autoUpgradeMinorVersion::Union{Nothing, Bool} = nothing + enableAutomaticUpgrade::Union{Nothing, Bool} = nothing settings::Union{Nothing, Any} = nothing protectedSettings::Union{Nothing, Any} = nothing provisioningState::Union{Nothing, String} = nothing provisionAfterExtensions::Union{Nothing, Vector{String}} = nothing + suppressFailures::Union{Nothing, Bool} = nothing + protectedSettingsFromKeyVault::Union{Nothing, Any} = nothing - function VirtualMachineScaleSetExtensionProperties(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, settings, protectedSettings, provisioningState, provisionAfterExtensions, ) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("forceUpdateTag"), forceUpdateTag) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("publisher"), publisher) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("typeHandlerVersion"), typeHandlerVersion) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("autoUpgradeMinorVersion"), autoUpgradeMinorVersion) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("settings"), settings) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("protectedSettings"), protectedSettings) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("provisionAfterExtensions"), provisionAfterExtensions) - return new(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, settings, protectedSettings, provisioningState, provisionAfterExtensions, ) + function VirtualMachineScaleSetExtensionProperties(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, enableAutomaticUpgrade, settings, protectedSettings, provisioningState, provisionAfterExtensions, suppressFailures, protectedSettingsFromKeyVault, ) + o = new(forceUpdateTag, publisher, type, typeHandlerVersion, autoUpgradeMinorVersion, enableAutomaticUpgrade, settings, protectedSettings, provisioningState, provisionAfterExtensions, suppressFailures, protectedSettingsFromKeyVault, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetExtensionProperties -const _property_types_VirtualMachineScaleSetExtensionProperties = Dict{Symbol,String}(Symbol("forceUpdateTag")=>"String", Symbol("publisher")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("autoUpgradeMinorVersion")=>"Bool", Symbol("settings")=>"Any", Symbol("protectedSettings")=>"Any", Symbol("provisioningState")=>"String", Symbol("provisionAfterExtensions")=>"Vector{String}", ) +const _property_types_VirtualMachineScaleSetExtensionProperties = Dict{Symbol,String}(Symbol("forceUpdateTag")=>"String", Symbol("publisher")=>"String", Symbol("type")=>"String", Symbol("typeHandlerVersion")=>"String", Symbol("autoUpgradeMinorVersion")=>"Bool", Symbol("enableAutomaticUpgrade")=>"Bool", Symbol("settings")=>"Any", Symbol("protectedSettings")=>"Any", Symbol("provisioningState")=>"String", Symbol("provisionAfterExtensions")=>"Vector{String}", Symbol("suppressFailures")=>"Bool", Symbol("protectedSettingsFromKeyVault")=>"Any", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetExtensionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetExtensionProperties[name]))} -function check_required(o::VirtualMachineScaleSetExtensionProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetExtensionProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetExtensionProperties) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("forceUpdateTag"), o.forceUpdateTag) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("typeHandlerVersion"), o.typeHandlerVersion) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("autoUpgradeMinorVersion"), o.autoUpgradeMinorVersion) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("enableAutomaticUpgrade"), o.enableAutomaticUpgrade) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("settings"), o.settings) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("protectedSettings"), o.protectedSettings) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("provisionAfterExtensions"), o.provisionAfterExtensions) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("suppressFailures"), o.suppressFailures) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionProperties, Symbol("protectedSettingsFromKeyVault"), o.protectedSettingsFromKeyVault) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetExtensionProperties }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionUpdate.jl index 2cf42fd..c3bc0be 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetExtensionUpdate.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct VirtualMachineScaleSetExtensionUpdate <: OpenAPI.APIM id::Union{Nothing, String} = nothing function VirtualMachineScaleSetExtensionUpdate(name, type, properties, id, ) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("id"), id) - return new(name, type, properties, id, ) + o = new(name, type, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetExtensionUpdate const _property_types_VirtualMachineScaleSetExtensionUpdate = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"VirtualMachineScaleSetExtensionProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetExtensionUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetExtensionUpdate[name]))} -function check_required(o::VirtualMachineScaleSetExtensionUpdate) +function OpenAPI.check_required(o::VirtualMachineScaleSetExtensionUpdate) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetExtensionUpdate) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetExtensionUpdate, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetExtensionUpdate }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetHardwareProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetHardwareProfile.jl new file mode 100644 index 0000000..936cd78 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetHardwareProfile.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineScaleSetHardwareProfile +Specifies the hardware settings for the virtual machine scale set. + + VirtualMachineScaleSetHardwareProfile(; + vmSizeProperties=nothing, + ) + + - vmSizeProperties::VMSizeProperties +""" +Base.@kwdef mutable struct VirtualMachineScaleSetHardwareProfile <: OpenAPI.APIModel + vmSizeProperties = nothing # spec type: Union{ Nothing, VMSizeProperties } + + function VirtualMachineScaleSetHardwareProfile(vmSizeProperties, ) + o = new(vmSizeProperties, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineScaleSetHardwareProfile + +const _property_types_VirtualMachineScaleSetHardwareProfile = Dict{Symbol,String}(Symbol("vmSizeProperties")=>"VMSizeProperties", ) +OpenAPI.property_type(::Type{ VirtualMachineScaleSetHardwareProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetHardwareProfile[name]))} + +function OpenAPI.check_required(o::VirtualMachineScaleSetHardwareProfile) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineScaleSetHardwareProfile) + OpenAPI.validate_property(VirtualMachineScaleSetHardwareProfile, Symbol("vmSizeProperties"), o.vmSizeProperties) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetHardwareProfile }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfiguration.jl index 86b902b..4170e48 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfiguration.jl @@ -6,35 +6,43 @@ Describes a virtual machine scale set network profile's IP configuration. VirtualMachineScaleSetIPConfiguration(; - id=nothing, name=nothing, properties=nothing, + id=nothing, ) - - id::String : Resource Id - name::String : The IP configuration name. - properties::VirtualMachineScaleSetIPConfigurationProperties + - id::String : Resource Id """ Base.@kwdef mutable struct VirtualMachineScaleSetIPConfiguration <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetIPConfigurationProperties } + id::Union{Nothing, String} = nothing - function VirtualMachineScaleSetIPConfiguration(id, name, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfiguration, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfiguration, Symbol("properties"), properties) - return new(id, name, properties, ) + function VirtualMachineScaleSetIPConfiguration(name, properties, id, ) + o = new(name, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetIPConfiguration -const _property_types_VirtualMachineScaleSetIPConfiguration = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetIPConfigurationProperties", ) +const _property_types_VirtualMachineScaleSetIPConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetIPConfigurationProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetIPConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetIPConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetIPConfiguration) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetIPConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetIPConfiguration }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationAllOf.jl deleted file mode 100644 index ec7459d..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationAllOf.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineScaleSetIPConfiguration_allOf - - VirtualMachineScaleSetIPConfigurationAllOf(; - name=nothing, - properties=nothing, - ) - - - name::String : The IP configuration name. - - properties::VirtualMachineScaleSetIPConfigurationProperties -""" -Base.@kwdef mutable struct VirtualMachineScaleSetIPConfigurationAllOf <: OpenAPI.APIModel - name::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetIPConfigurationProperties } - - function VirtualMachineScaleSetIPConfigurationAllOf(name, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationAllOf, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationAllOf, Symbol("properties"), properties) - return new(name, properties, ) - end -end # type VirtualMachineScaleSetIPConfigurationAllOf - -const _property_types_VirtualMachineScaleSetIPConfigurationAllOf = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetIPConfigurationProperties", ) -OpenAPI.property_type(::Type{ VirtualMachineScaleSetIPConfigurationAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetIPConfigurationAllOf[name]))} - -function check_required(o::VirtualMachineScaleSetIPConfigurationAllOf) - o.name === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetIPConfigurationAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationProperties.jl index d6f30fd..4e4a9d2 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIPConfigurationProperties.jl @@ -36,27 +36,41 @@ Base.@kwdef mutable struct VirtualMachineScaleSetIPConfigurationProperties <: Op loadBalancerInboundNatPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } function VirtualMachineScaleSetIPConfigurationProperties(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationGatewayBackendAddressPools, applicationSecurityGroups, loadBalancerBackendAddressPools, loadBalancerInboundNatPools, ) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("primary"), primary) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("publicIPAddressConfiguration"), publicIPAddressConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("loadBalancerInboundNatPools"), loadBalancerInboundNatPools) - return new(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationGatewayBackendAddressPools, applicationSecurityGroups, loadBalancerBackendAddressPools, loadBalancerInboundNatPools, ) + o = new(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationGatewayBackendAddressPools, applicationSecurityGroups, loadBalancerBackendAddressPools, loadBalancerInboundNatPools, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetIPConfigurationProperties const _property_types_VirtualMachineScaleSetIPConfigurationProperties = Dict{Symbol,String}(Symbol("subnet")=>"ApiEntityReference", Symbol("primary")=>"Bool", Symbol("publicIPAddressConfiguration")=>"VirtualMachineScaleSetPublicIPAddressConfiguration", Symbol("privateIPAddressVersion")=>"String", Symbol("applicationGatewayBackendAddressPools")=>"Vector{SubResource}", Symbol("applicationSecurityGroups")=>"Vector{SubResource}", Symbol("loadBalancerBackendAddressPools")=>"Vector{SubResource}", Symbol("loadBalancerInboundNatPools")=>"Vector{SubResource}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetIPConfigurationProperties[name]))} -function check_required(o::VirtualMachineScaleSetIPConfigurationProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetIPConfigurationProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetIPConfigurationProperties) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("publicIPAddressConfiguration"), o.publicIPAddressConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(VirtualMachineScaleSetIPConfigurationProperties, Symbol("loadBalancerInboundNatPools"), o.loadBalancerInboundNatPools) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetIPConfigurationProperties }, name::Symbol, val) + + + + if name === Symbol("privateIPAddressVersion") OpenAPI.validate_param(name, "VirtualMachineScaleSetIPConfigurationProperties", :enum, val, ["IPv4", "IPv6"]) end + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentity.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentity.jl index d7b9f78..cd75e50 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentity.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentity.jl @@ -15,32 +15,42 @@ Identity for the virtual machine scale set. - principalId::String : The principal id of virtual machine scale set identity. This property will only be provided for a system assigned identity. - tenantId::String : The tenant id associated with the virtual machine scale set. This property will only be provided for a system assigned identity. - type::String : The type of identity used for the virtual machine scale set. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine scale set. - - userAssignedIdentities::Dict{String, VirtualMachineIdentityUserAssignedIdentitiesValue} : The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. + - userAssignedIdentities::Dict{String, VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue} : The list of user identities associated with the virtual machine scale set. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. """ Base.@kwdef mutable struct VirtualMachineScaleSetIdentity <: OpenAPI.APIModel principalId::Union{Nothing, String} = nothing tenantId::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing - userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, VirtualMachineIdentityUserAssignedIdentitiesValue} } + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue} } function VirtualMachineScaleSetIdentity(principalId, tenantId, type, userAssignedIdentities, ) - OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("principalId"), principalId) - OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("userAssignedIdentities"), userAssignedIdentities) - return new(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetIdentity -const _property_types_VirtualMachineScaleSetIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, VirtualMachineIdentityUserAssignedIdentitiesValue}", ) +const _property_types_VirtualMachineScaleSetIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetIdentity[name]))} -function check_required(o::VirtualMachineScaleSetIdentity) +function OpenAPI.check_required(o::VirtualMachineScaleSetIdentity) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetIdentity) + OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetIdentity }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "VirtualMachineScaleSetIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..57e32b3 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineScaleSetIdentity_userAssignedIdentities_value + + VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue + +const _property_types_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceView.jl index 4fb9aed..c0fb734 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceView.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct VirtualMachineScaleSetInstanceView <: OpenAPI.APIMode orchestrationServices::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{OrchestrationServiceSummary} } function VirtualMachineScaleSetInstanceView(virtualMachine, extensions, statuses, orchestrationServices, ) - OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("extensions"), extensions) - OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("statuses"), statuses) - OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("orchestrationServices"), orchestrationServices) - return new(virtualMachine, extensions, statuses, orchestrationServices, ) + o = new(virtualMachine, extensions, statuses, orchestrationServices, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetInstanceView const _property_types_VirtualMachineScaleSetInstanceView = Dict{Symbol,String}(Symbol("virtualMachine")=>"VirtualMachineScaleSetInstanceViewStatusesSummary", Symbol("extensions")=>"Vector{VirtualMachineScaleSetVMExtensionsSummary}", Symbol("statuses")=>"Vector{InstanceViewStatus}", Symbol("orchestrationServices")=>"Vector{OrchestrationServiceSummary}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetInstanceView[name]))} -function check_required(o::VirtualMachineScaleSetInstanceView) +function OpenAPI.check_required(o::VirtualMachineScaleSetInstanceView) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetInstanceView) + OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("extensions"), o.extensions) + OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("statuses"), o.statuses) + OpenAPI.validate_property(VirtualMachineScaleSetInstanceView, Symbol("orchestrationServices"), o.orchestrationServices) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetInstanceView }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceViewStatusesSummary.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceViewStatusesSummary.jl index a162c0b..57e84c5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceViewStatusesSummary.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetInstanceViewStatusesSummary.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineScaleSetInstanceViewStatusesSummary <: statusesSummary::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineStatusCodeCount} } function VirtualMachineScaleSetInstanceViewStatusesSummary(statusesSummary, ) - OpenAPI.validate_property(VirtualMachineScaleSetInstanceViewStatusesSummary, Symbol("statusesSummary"), statusesSummary) - return new(statusesSummary, ) + o = new(statusesSummary, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetInstanceViewStatusesSummary const _property_types_VirtualMachineScaleSetInstanceViewStatusesSummary = Dict{Symbol,String}(Symbol("statusesSummary")=>"Vector{VirtualMachineStatusCodeCount}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetInstanceViewStatusesSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetInstanceViewStatusesSummary[name]))} -function check_required(o::VirtualMachineScaleSetInstanceViewStatusesSummary) +function OpenAPI.check_required(o::VirtualMachineScaleSetInstanceViewStatusesSummary) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetInstanceViewStatusesSummary) + OpenAPI.validate_property(VirtualMachineScaleSetInstanceViewStatusesSummary, Symbol("statusesSummary"), o.statusesSummary) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetInstanceViewStatusesSummary }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIpTag.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIpTag.jl index 56fbda3..1601aef 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIpTag.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetIpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineScaleSetIpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function VirtualMachineScaleSetIpTag(ipTagType, tag, ) - OpenAPI.validate_property(VirtualMachineScaleSetIpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(VirtualMachineScaleSetIpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetIpTag const _property_types_VirtualMachineScaleSetIpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetIpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetIpTag[name]))} -function check_required(o::VirtualMachineScaleSetIpTag) +function OpenAPI.check_required(o::VirtualMachineScaleSetIpTag) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetIpTag) + OpenAPI.validate_property(VirtualMachineScaleSetIpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(VirtualMachineScaleSetIpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetIpTag }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListOSUpgradeHistory.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListOSUpgradeHistory.jl index 342e461..8e920d2 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListOSUpgradeHistory.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListOSUpgradeHistory.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineScaleSetListOSUpgradeHistory <: OpenAPI nextLink::Union{Nothing, String} = nothing function VirtualMachineScaleSetListOSUpgradeHistory(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineScaleSetListOSUpgradeHistory, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineScaleSetListOSUpgradeHistory, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetListOSUpgradeHistory const _property_types_VirtualMachineScaleSetListOSUpgradeHistory = Dict{Symbol,String}(Symbol("value")=>"Vector{UpgradeOperationHistoricalStatusInfo}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetListOSUpgradeHistory }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetListOSUpgradeHistory[name]))} -function check_required(o::VirtualMachineScaleSetListOSUpgradeHistory) +function OpenAPI.check_required(o::VirtualMachineScaleSetListOSUpgradeHistory) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetListOSUpgradeHistory) + OpenAPI.validate_property(VirtualMachineScaleSetListOSUpgradeHistory, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineScaleSetListOSUpgradeHistory, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetListOSUpgradeHistory }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListResult.jl index 6919515..d88718d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineScaleSetListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualMachineScaleSetListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineScaleSetListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineScaleSetListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetListResult const _property_types_VirtualMachineScaleSetListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineScaleSet}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetListResult[name]))} -function check_required(o::VirtualMachineScaleSetListResult) +function OpenAPI.check_required(o::VirtualMachineScaleSetListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetListResult) + OpenAPI.validate_property(VirtualMachineScaleSetListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineScaleSetListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListSkusResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListSkusResult.jl index 976a3b0..9dcff83 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListSkusResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListSkusResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineScaleSetListSkusResult <: OpenAPI.APIMo nextLink::Union{Nothing, String} = nothing function VirtualMachineScaleSetListSkusResult(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineScaleSetListSkusResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineScaleSetListSkusResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetListSkusResult const _property_types_VirtualMachineScaleSetListSkusResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineScaleSetSku}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetListSkusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetListSkusResult[name]))} -function check_required(o::VirtualMachineScaleSetListSkusResult) +function OpenAPI.check_required(o::VirtualMachineScaleSetListSkusResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetListSkusResult) + OpenAPI.validate_property(VirtualMachineScaleSetListSkusResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineScaleSetListSkusResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetListSkusResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListWithLinkResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListWithLinkResult.jl index 8fc6d97..a31ac61 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListWithLinkResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetListWithLinkResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineScaleSetListWithLinkResult <: OpenAPI.A nextLink::Union{Nothing, String} = nothing function VirtualMachineScaleSetListWithLinkResult(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineScaleSetListWithLinkResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineScaleSetListWithLinkResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetListWithLinkResult const _property_types_VirtualMachineScaleSetListWithLinkResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineScaleSet}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetListWithLinkResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetListWithLinkResult[name]))} -function check_required(o::VirtualMachineScaleSetListWithLinkResult) +function OpenAPI.check_required(o::VirtualMachineScaleSetListWithLinkResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetListWithLinkResult) + OpenAPI.validate_property(VirtualMachineScaleSetListWithLinkResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineScaleSetListWithLinkResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetListWithLinkResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetManagedDiskParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetManagedDiskParameters.jl index 0627de5..99c343a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetManagedDiskParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetManagedDiskParameters.jl @@ -8,28 +8,40 @@ Describes the parameters of a ScaleSet managed disk. VirtualMachineScaleSetManagedDiskParameters(; storageAccountType=nothing, diskEncryptionSet=nothing, + securityProfile=nothing, ) - storageAccountType::StorageAccountType - diskEncryptionSet::DiskEncryptionSetParameters + - securityProfile::VMDiskSecurityProfile """ Base.@kwdef mutable struct VirtualMachineScaleSetManagedDiskParameters <: OpenAPI.APIModel storageAccountType = nothing # spec type: Union{ Nothing, StorageAccountType } diskEncryptionSet = nothing # spec type: Union{ Nothing, DiskEncryptionSetParameters } + securityProfile = nothing # spec type: Union{ Nothing, VMDiskSecurityProfile } - function VirtualMachineScaleSetManagedDiskParameters(storageAccountType, diskEncryptionSet, ) - OpenAPI.validate_property(VirtualMachineScaleSetManagedDiskParameters, Symbol("storageAccountType"), storageAccountType) - OpenAPI.validate_property(VirtualMachineScaleSetManagedDiskParameters, Symbol("diskEncryptionSet"), diskEncryptionSet) - return new(storageAccountType, diskEncryptionSet, ) + function VirtualMachineScaleSetManagedDiskParameters(storageAccountType, diskEncryptionSet, securityProfile, ) + o = new(storageAccountType, diskEncryptionSet, securityProfile, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetManagedDiskParameters -const _property_types_VirtualMachineScaleSetManagedDiskParameters = Dict{Symbol,String}(Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", ) +const _property_types_VirtualMachineScaleSetManagedDiskParameters = Dict{Symbol,String}(Symbol("storageAccountType")=>"StorageAccountType", Symbol("diskEncryptionSet")=>"DiskEncryptionSetParameters", Symbol("securityProfile")=>"VMDiskSecurityProfile", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetManagedDiskParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetManagedDiskParameters[name]))} -function check_required(o::VirtualMachineScaleSetManagedDiskParameters) +function OpenAPI.check_required(o::VirtualMachineScaleSetManagedDiskParameters) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetManagedDiskParameters) + OpenAPI.validate_property(VirtualMachineScaleSetManagedDiskParameters, Symbol("storageAccountType"), o.storageAccountType) + OpenAPI.validate_property(VirtualMachineScaleSetManagedDiskParameters, Symbol("diskEncryptionSet"), o.diskEncryptionSet) + OpenAPI.validate_property(VirtualMachineScaleSetManagedDiskParameters, Symbol("securityProfile"), o.securityProfile) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetManagedDiskParameters }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfiguration.jl index e7f3c80..f350395 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfiguration.jl @@ -6,35 +6,43 @@ Describes a virtual machine scale set network profile's network configurations. VirtualMachineScaleSetNetworkConfiguration(; - id=nothing, name=nothing, properties=nothing, + id=nothing, ) - - id::String : Resource Id - name::String : The network configuration name. - properties::VirtualMachineScaleSetNetworkConfigurationProperties + - id::String : Resource Id """ Base.@kwdef mutable struct VirtualMachineScaleSetNetworkConfiguration <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetNetworkConfigurationProperties } + id::Union{Nothing, String} = nothing - function VirtualMachineScaleSetNetworkConfiguration(id, name, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfiguration, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfiguration, Symbol("properties"), properties) - return new(id, name, properties, ) + function VirtualMachineScaleSetNetworkConfiguration(name, properties, id, ) + o = new(name, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetNetworkConfiguration -const _property_types_VirtualMachineScaleSetNetworkConfiguration = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetNetworkConfigurationProperties", ) +const _property_types_VirtualMachineScaleSetNetworkConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetNetworkConfigurationProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetNetworkConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetNetworkConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetNetworkConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetNetworkConfiguration) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetNetworkConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetNetworkConfiguration }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationAllOf.jl deleted file mode 100644 index 44dcce3..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationAllOf.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineScaleSetNetworkConfiguration_allOf - - VirtualMachineScaleSetNetworkConfigurationAllOf(; - name=nothing, - properties=nothing, - ) - - - name::String : The network configuration name. - - properties::VirtualMachineScaleSetNetworkConfigurationProperties -""" -Base.@kwdef mutable struct VirtualMachineScaleSetNetworkConfigurationAllOf <: OpenAPI.APIModel - name::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetNetworkConfigurationProperties } - - function VirtualMachineScaleSetNetworkConfigurationAllOf(name, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationAllOf, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationAllOf, Symbol("properties"), properties) - return new(name, properties, ) - end -end # type VirtualMachineScaleSetNetworkConfigurationAllOf - -const _property_types_VirtualMachineScaleSetNetworkConfigurationAllOf = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetNetworkConfigurationProperties", ) -OpenAPI.property_type(::Type{ VirtualMachineScaleSetNetworkConfigurationAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetNetworkConfigurationAllOf[name]))} - -function check_required(o::VirtualMachineScaleSetNetworkConfigurationAllOf) - o.name === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetNetworkConfigurationAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationDnsSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationDnsSettings.jl index b78a6cc..d830c44 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationDnsSettings.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationDnsSettings.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineScaleSetNetworkConfigurationDnsSettings dnsServers::Union{Nothing, Vector{String}} = nothing function VirtualMachineScaleSetNetworkConfigurationDnsSettings(dnsServers, ) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationDnsSettings, Symbol("dnsServers"), dnsServers) - return new(dnsServers, ) + o = new(dnsServers, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetNetworkConfigurationDnsSettings const _property_types_VirtualMachineScaleSetNetworkConfigurationDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetNetworkConfigurationDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetNetworkConfigurationDnsSettings[name]))} -function check_required(o::VirtualMachineScaleSetNetworkConfigurationDnsSettings) +function OpenAPI.check_required(o::VirtualMachineScaleSetNetworkConfigurationDnsSettings) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetNetworkConfigurationDnsSettings) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationDnsSettings, Symbol("dnsServers"), o.dnsServers) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetNetworkConfigurationDnsSettings }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationProperties.jl index 840804d..e45f197 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkConfigurationProperties.jl @@ -8,45 +8,70 @@ Describes a virtual machine scale set network profile's IP configuration. VirtualMachineScaleSetNetworkConfigurationProperties(; primary=nothing, enableAcceleratedNetworking=nothing, + enableFpga=nothing, networkSecurityGroup=nothing, dnsSettings=nothing, ipConfigurations=nothing, enableIPForwarding=nothing, + deleteOption=nothing, ) - primary::Bool : Specifies the primary network interface in case the virtual machine has more than 1 network interface. - enableAcceleratedNetworking::Bool : Specifies whether the network interface is accelerated networking-enabled. + - enableFpga::Bool : Specifies whether the network interface is FPGA networking-enabled. - networkSecurityGroup::SubResource - dnsSettings::VirtualMachineScaleSetNetworkConfigurationDnsSettings - ipConfigurations::Vector{VirtualMachineScaleSetIPConfiguration} : Specifies the IP configurations of the network interface. - enableIPForwarding::Bool : Whether IP forwarding enabled on this NIC. + - deleteOption::String : Specify what happens to the network interface when the VM is deleted """ Base.@kwdef mutable struct VirtualMachineScaleSetNetworkConfigurationProperties <: OpenAPI.APIModel primary::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + enableFpga::Union{Nothing, Bool} = nothing networkSecurityGroup = nothing # spec type: Union{ Nothing, SubResource } dnsSettings = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetNetworkConfigurationDnsSettings } ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetIPConfiguration} } enableIPForwarding::Union{Nothing, Bool} = nothing + deleteOption::Union{Nothing, String} = nothing - function VirtualMachineScaleSetNetworkConfigurationProperties(primary, enableAcceleratedNetworking, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, ) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("primary"), primary) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("enableIPForwarding"), enableIPForwarding) - return new(primary, enableAcceleratedNetworking, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, ) + function VirtualMachineScaleSetNetworkConfigurationProperties(primary, enableAcceleratedNetworking, enableFpga, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, deleteOption, ) + o = new(primary, enableAcceleratedNetworking, enableFpga, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetNetworkConfigurationProperties -const _property_types_VirtualMachineScaleSetNetworkConfigurationProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("networkSecurityGroup")=>"SubResource", Symbol("dnsSettings")=>"VirtualMachineScaleSetNetworkConfigurationDnsSettings", Symbol("ipConfigurations")=>"Vector{VirtualMachineScaleSetIPConfiguration}", Symbol("enableIPForwarding")=>"Bool", ) +const _property_types_VirtualMachineScaleSetNetworkConfigurationProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableFpga")=>"Bool", Symbol("networkSecurityGroup")=>"SubResource", Symbol("dnsSettings")=>"VirtualMachineScaleSetNetworkConfigurationDnsSettings", Symbol("ipConfigurations")=>"Vector{VirtualMachineScaleSetIPConfiguration}", Symbol("enableIPForwarding")=>"Bool", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetNetworkConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetNetworkConfigurationProperties[name]))} -function check_required(o::VirtualMachineScaleSetNetworkConfigurationProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetNetworkConfigurationProperties) o.ipConfigurations === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetNetworkConfigurationProperties) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("enableFpga"), o.enableFpga) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkConfigurationProperties, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetNetworkConfigurationProperties }, name::Symbol, val) + + + + + + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "VirtualMachineScaleSetNetworkConfigurationProperties", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkProfile.jl index c8723b4..c84b343 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetNetworkProfile.jl @@ -8,28 +8,44 @@ Describes a virtual machine scale set network profile. VirtualMachineScaleSetNetworkProfile(; healthProbe=nothing, networkInterfaceConfigurations=nothing, + networkApiVersion=nothing, ) - healthProbe::ApiEntityReference - networkInterfaceConfigurations::Vector{VirtualMachineScaleSetNetworkConfiguration} : The list of network configurations. + - networkApiVersion::String : specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' """ Base.@kwdef mutable struct VirtualMachineScaleSetNetworkProfile <: OpenAPI.APIModel healthProbe = nothing # spec type: Union{ Nothing, ApiEntityReference } networkInterfaceConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetNetworkConfiguration} } + networkApiVersion::Union{Nothing, String} = nothing - function VirtualMachineScaleSetNetworkProfile(healthProbe, networkInterfaceConfigurations, ) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkProfile, Symbol("healthProbe"), healthProbe) - OpenAPI.validate_property(VirtualMachineScaleSetNetworkProfile, Symbol("networkInterfaceConfigurations"), networkInterfaceConfigurations) - return new(healthProbe, networkInterfaceConfigurations, ) + function VirtualMachineScaleSetNetworkProfile(healthProbe, networkInterfaceConfigurations, networkApiVersion, ) + o = new(healthProbe, networkInterfaceConfigurations, networkApiVersion, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetNetworkProfile -const _property_types_VirtualMachineScaleSetNetworkProfile = Dict{Symbol,String}(Symbol("healthProbe")=>"ApiEntityReference", Symbol("networkInterfaceConfigurations")=>"Vector{VirtualMachineScaleSetNetworkConfiguration}", ) +const _property_types_VirtualMachineScaleSetNetworkProfile = Dict{Symbol,String}(Symbol("healthProbe")=>"ApiEntityReference", Symbol("networkInterfaceConfigurations")=>"Vector{VirtualMachineScaleSetNetworkConfiguration}", Symbol("networkApiVersion")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetNetworkProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetNetworkProfile[name]))} -function check_required(o::VirtualMachineScaleSetNetworkProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetNetworkProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetNetworkProfile) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkProfile, Symbol("healthProbe"), o.healthProbe) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkProfile, Symbol("networkInterfaceConfigurations"), o.networkInterfaceConfigurations) + OpenAPI.validate_property(VirtualMachineScaleSetNetworkProfile, Symbol("networkApiVersion"), o.networkApiVersion) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetNetworkProfile }, name::Symbol, val) + + + + if name === Symbol("networkApiVersion") + OpenAPI.validate_param(name, "VirtualMachineScaleSetNetworkProfile", :enum, val, ["2020-11-01"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSDisk.jl index 4102145..c0a0333 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSDisk.jl @@ -42,33 +42,49 @@ Base.@kwdef mutable struct VirtualMachineScaleSetOSDisk <: OpenAPI.APIModel managedDisk = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetManagedDiskParameters } function VirtualMachineScaleSetOSDisk(name, caching, writeAcceleratorEnabled, createOption, diffDiskSettings, diskSizeGB, osType, image, vhdContainers, managedDisk, ) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("caching"), caching) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("writeAcceleratorEnabled"), writeAcceleratorEnabled) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("createOption"), createOption) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("diffDiskSettings"), diffDiskSettings) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("osType"), osType) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("image"), image) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("vhdContainers"), vhdContainers) - OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("managedDisk"), managedDisk) - return new(name, caching, writeAcceleratorEnabled, createOption, diffDiskSettings, diskSizeGB, osType, image, vhdContainers, managedDisk, ) + o = new(name, caching, writeAcceleratorEnabled, createOption, diffDiskSettings, diskSizeGB, osType, image, vhdContainers, managedDisk, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetOSDisk const _property_types_VirtualMachineScaleSetOSDisk = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("createOption")=>"CreateOption", Symbol("diffDiskSettings")=>"DiffDiskSettings", Symbol("diskSizeGB")=>"Int64", Symbol("osType")=>"String", Symbol("image")=>"VirtualHardDisk", Symbol("vhdContainers")=>"Vector{String}", Symbol("managedDisk")=>"VirtualMachineScaleSetManagedDiskParameters", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetOSDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetOSDisk[name]))} -function check_required(o::VirtualMachineScaleSetOSDisk) +function OpenAPI.check_required(o::VirtualMachineScaleSetOSDisk) o.createOption === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetOSDisk) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("writeAcceleratorEnabled"), o.writeAcceleratorEnabled) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("createOption"), o.createOption) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("diffDiskSettings"), o.diffDiskSettings) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("osType"), o.osType) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("image"), o.image) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("vhdContainers"), o.vhdContainers) + OpenAPI.validate_property(VirtualMachineScaleSetOSDisk, Symbol("managedDisk"), o.managedDisk) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetOSDisk }, name::Symbol, val) + + + + + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "VirtualMachineScaleSetOSDisk", :format, val, "int32") end + if name === Symbol("osType") OpenAPI.validate_param(name, "VirtualMachineScaleSetOSDisk", :enum, val, ["Windows", "Linux"]) end + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSProfile.jl index 8061190..2b1b1e8 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetOSProfile.jl @@ -13,15 +13,17 @@ Describes a virtual machine scale set OS profile. windowsConfiguration=nothing, linuxConfiguration=nothing, secrets=nothing, + allowExtensionOperations=nothing, ) - computerNamePrefix::String : Specifies the computer name prefix for all of the virtual machines in the scale set. Computer name prefixes must be 1 to 15 characters long. - - adminUsername::String : Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters <br><br><li> For root access to the Linux VM, see [Using root privileges on Linux virtual machines in Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-use-root-privileges?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json)<br><li> For a list of built-in system users on Linux that should not be used in this field, see [Selecting User Names for Linux on Azure](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-usernames?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) - - adminPassword::String : Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-reset-rdp?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-vmaccess-extension?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json#reset-root-password) - - customData::String : Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-linux-using-cloud-init?toc=%2fazure%2fvirtual-machines%2flinux%2ftoc.json) + - adminUsername::String : Specifies the name of the administrator account. <br><br> **Windows-only restriction:** Cannot end in \".\" <br><br> **Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\". <br><br> **Minimum-length (Linux):** 1 character <br><br> **Max-length (Linux):** 64 characters <br><br> **Max-length (Windows):** 20 characters + - adminPassword::String : Specifies the password of the administrator account. <br><br> **Minimum-length (Windows):** 8 characters <br><br> **Minimum-length (Linux):** 6 characters <br><br> **Max-length (Windows):** 123 characters <br><br> **Max-length (Linux):** 72 characters <br><br> **Complexity requirements:** 3 out of 4 conditions below need to be fulfilled <br> Has lower characters <br>Has upper characters <br> Has a digit <br> Has a special character (Regex match [\\W_]) <br><br> **Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\" <br><br> For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp) <br><br> For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection) + - customData::String : Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. <br><br> For using cloud-init for your VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init) - windowsConfiguration::WindowsConfiguration - linuxConfiguration::LinuxConfiguration - - secrets::Vector{VaultSecretGroup} : Specifies set of certificates that should be installed onto the virtual machines in the scale set. + - secrets::Vector{VaultSecretGroup} : Specifies set of certificates that should be installed onto the virtual machines in the scale set. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + - allowExtensionOperations::Bool : Specifies whether extension operations should be allowed on the virtual machine scale set. <br><br>This may only be set to False when no extensions are present on the virtual machine scale set. """ Base.@kwdef mutable struct VirtualMachineScaleSetOSProfile <: OpenAPI.APIModel computerNamePrefix::Union{Nothing, String} = nothing @@ -31,25 +33,40 @@ Base.@kwdef mutable struct VirtualMachineScaleSetOSProfile <: OpenAPI.APIModel windowsConfiguration = nothing # spec type: Union{ Nothing, WindowsConfiguration } linuxConfiguration = nothing # spec type: Union{ Nothing, LinuxConfiguration } secrets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VaultSecretGroup} } + allowExtensionOperations::Union{Nothing, Bool} = nothing - function VirtualMachineScaleSetOSProfile(computerNamePrefix, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, ) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("computerNamePrefix"), computerNamePrefix) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("adminUsername"), adminUsername) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("adminPassword"), adminPassword) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("customData"), customData) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("windowsConfiguration"), windowsConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("linuxConfiguration"), linuxConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("secrets"), secrets) - return new(computerNamePrefix, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, ) + function VirtualMachineScaleSetOSProfile(computerNamePrefix, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, allowExtensionOperations, ) + o = new(computerNamePrefix, adminUsername, adminPassword, customData, windowsConfiguration, linuxConfiguration, secrets, allowExtensionOperations, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetOSProfile -const _property_types_VirtualMachineScaleSetOSProfile = Dict{Symbol,String}(Symbol("computerNamePrefix")=>"String", Symbol("adminUsername")=>"String", Symbol("adminPassword")=>"String", Symbol("customData")=>"String", Symbol("windowsConfiguration")=>"WindowsConfiguration", Symbol("linuxConfiguration")=>"LinuxConfiguration", Symbol("secrets")=>"Vector{VaultSecretGroup}", ) +const _property_types_VirtualMachineScaleSetOSProfile = Dict{Symbol,String}(Symbol("computerNamePrefix")=>"String", Symbol("adminUsername")=>"String", Symbol("adminPassword")=>"String", Symbol("customData")=>"String", Symbol("windowsConfiguration")=>"WindowsConfiguration", Symbol("linuxConfiguration")=>"LinuxConfiguration", Symbol("secrets")=>"Vector{VaultSecretGroup}", Symbol("allowExtensionOperations")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetOSProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetOSProfile[name]))} -function check_required(o::VirtualMachineScaleSetOSProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetOSProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetOSProfile) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("computerNamePrefix"), o.computerNamePrefix) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("adminUsername"), o.adminUsername) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("adminPassword"), o.adminPassword) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("customData"), o.customData) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("windowsConfiguration"), o.windowsConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("linuxConfiguration"), o.linuxConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("secrets"), o.secrets) + OpenAPI.validate_property(VirtualMachineScaleSetOSProfile, Symbol("allowExtensionOperations"), o.allowExtensionOperations) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetOSProfile }, name::Symbol, val) + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetProperties.jl index cdf0d6c..712677d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetProperties.jl @@ -20,6 +20,9 @@ Describes the properties of a Virtual Machine Scale Set. hostGroup=nothing, additionalCapabilities=nothing, scaleInPolicy=nothing, + orchestrationMode=nothing, + spotRestorePolicy=nothing, + timeCreated=nothing, ) - upgradePolicy::UpgradePolicy @@ -30,12 +33,15 @@ Describes the properties of a Virtual Machine Scale Set. - doNotRunExtensionsOnOverprovisionedVMs::Bool : When Overprovision is enabled, extensions are launched only on the requested number of VMs which are finally kept. This property will hence ensure that the extensions do not run on the extra overprovisioned VMs. - uniqueId::String : Specifies the ID which uniquely identifies a Virtual Machine Scale Set. - singlePlacementGroup::Bool : When true this limits the scale set to a single placement group, of max size 100 virtual machines. NOTE: If singlePlacementGroup is true, it may be modified to false. However, if singlePlacementGroup is false, it may not be modified to true. - - zoneBalance::Bool : Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. + - zoneBalance::Bool : Whether to force strictly even Virtual Machine distribution cross x-zones in case there is zone outage. zoneBalance property can only be set if the zones property of the scale set contains more than one zone. If there are no zones or only one zone specified, then zoneBalance property should not be set. - platformFaultDomainCount::Int64 : Fault Domain count for each placement group. - proximityPlacementGroup::SubResource - hostGroup::SubResource - additionalCapabilities::AdditionalCapabilities - scaleInPolicy::ScaleInPolicy + - orchestrationMode::OrchestrationMode + - spotRestorePolicy::SpotRestorePolicy + - timeCreated::ZonedDateTime : Specifies the time at which the Virtual Machine Scale Set resource was created.<br><br>Minimum api-version: 2021-11-01. """ Base.@kwdef mutable struct VirtualMachineScaleSetProperties <: OpenAPI.APIModel upgradePolicy = nothing # spec type: Union{ Nothing, UpgradePolicy } @@ -52,35 +58,66 @@ Base.@kwdef mutable struct VirtualMachineScaleSetProperties <: OpenAPI.APIModel hostGroup = nothing # spec type: Union{ Nothing, SubResource } additionalCapabilities = nothing # spec type: Union{ Nothing, AdditionalCapabilities } scaleInPolicy = nothing # spec type: Union{ Nothing, ScaleInPolicy } + orchestrationMode = nothing # spec type: Union{ Nothing, OrchestrationMode } + spotRestorePolicy = nothing # spec type: Union{ Nothing, SpotRestorePolicy } + timeCreated::Union{Nothing, ZonedDateTime} = nothing - function VirtualMachineScaleSetProperties(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, provisioningState, overprovision, doNotRunExtensionsOnOverprovisionedVMs, uniqueId, singlePlacementGroup, zoneBalance, platformFaultDomainCount, proximityPlacementGroup, hostGroup, additionalCapabilities, scaleInPolicy, ) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("upgradePolicy"), upgradePolicy) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("automaticRepairsPolicy"), automaticRepairsPolicy) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("virtualMachineProfile"), virtualMachineProfile) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("overprovision"), overprovision) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("doNotRunExtensionsOnOverprovisionedVMs"), doNotRunExtensionsOnOverprovisionedVMs) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("uniqueId"), uniqueId) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("singlePlacementGroup"), singlePlacementGroup) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("zoneBalance"), zoneBalance) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("platformFaultDomainCount"), platformFaultDomainCount) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("proximityPlacementGroup"), proximityPlacementGroup) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("hostGroup"), hostGroup) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("additionalCapabilities"), additionalCapabilities) - OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("scaleInPolicy"), scaleInPolicy) - return new(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, provisioningState, overprovision, doNotRunExtensionsOnOverprovisionedVMs, uniqueId, singlePlacementGroup, zoneBalance, platformFaultDomainCount, proximityPlacementGroup, hostGroup, additionalCapabilities, scaleInPolicy, ) + function VirtualMachineScaleSetProperties(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, provisioningState, overprovision, doNotRunExtensionsOnOverprovisionedVMs, uniqueId, singlePlacementGroup, zoneBalance, platformFaultDomainCount, proximityPlacementGroup, hostGroup, additionalCapabilities, scaleInPolicy, orchestrationMode, spotRestorePolicy, timeCreated, ) + o = new(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, provisioningState, overprovision, doNotRunExtensionsOnOverprovisionedVMs, uniqueId, singlePlacementGroup, zoneBalance, platformFaultDomainCount, proximityPlacementGroup, hostGroup, additionalCapabilities, scaleInPolicy, orchestrationMode, spotRestorePolicy, timeCreated, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetProperties -const _property_types_VirtualMachineScaleSetProperties = Dict{Symbol,String}(Symbol("upgradePolicy")=>"UpgradePolicy", Symbol("automaticRepairsPolicy")=>"AutomaticRepairsPolicy", Symbol("virtualMachineProfile")=>"VirtualMachineScaleSetVMProfile", Symbol("provisioningState")=>"String", Symbol("overprovision")=>"Bool", Symbol("doNotRunExtensionsOnOverprovisionedVMs")=>"Bool", Symbol("uniqueId")=>"String", Symbol("singlePlacementGroup")=>"Bool", Symbol("zoneBalance")=>"Bool", Symbol("platformFaultDomainCount")=>"Int64", Symbol("proximityPlacementGroup")=>"SubResource", Symbol("hostGroup")=>"SubResource", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("scaleInPolicy")=>"ScaleInPolicy", ) +const _property_types_VirtualMachineScaleSetProperties = Dict{Symbol,String}(Symbol("upgradePolicy")=>"UpgradePolicy", Symbol("automaticRepairsPolicy")=>"AutomaticRepairsPolicy", Symbol("virtualMachineProfile")=>"VirtualMachineScaleSetVMProfile", Symbol("provisioningState")=>"String", Symbol("overprovision")=>"Bool", Symbol("doNotRunExtensionsOnOverprovisionedVMs")=>"Bool", Symbol("uniqueId")=>"String", Symbol("singlePlacementGroup")=>"Bool", Symbol("zoneBalance")=>"Bool", Symbol("platformFaultDomainCount")=>"Int64", Symbol("proximityPlacementGroup")=>"SubResource", Symbol("hostGroup")=>"SubResource", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("scaleInPolicy")=>"ScaleInPolicy", Symbol("orchestrationMode")=>"OrchestrationMode", Symbol("spotRestorePolicy")=>"SpotRestorePolicy", Symbol("timeCreated")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetProperties[name]))} -function check_required(o::VirtualMachineScaleSetProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetProperties) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("upgradePolicy"), o.upgradePolicy) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("automaticRepairsPolicy"), o.automaticRepairsPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("virtualMachineProfile"), o.virtualMachineProfile) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("overprovision"), o.overprovision) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("doNotRunExtensionsOnOverprovisionedVMs"), o.doNotRunExtensionsOnOverprovisionedVMs) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("uniqueId"), o.uniqueId) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("singlePlacementGroup"), o.singlePlacementGroup) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("zoneBalance"), o.zoneBalance) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("platformFaultDomainCount"), o.platformFaultDomainCount) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("proximityPlacementGroup"), o.proximityPlacementGroup) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("hostGroup"), o.hostGroup) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("additionalCapabilities"), o.additionalCapabilities) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("scaleInPolicy"), o.scaleInPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("orchestrationMode"), o.orchestrationMode) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("spotRestorePolicy"), o.spotRestorePolicy) + OpenAPI.validate_property(VirtualMachineScaleSetProperties, Symbol("timeCreated"), o.timeCreated) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetProperties }, name::Symbol, val) + + + + + + + + + + if name === Symbol("platformFaultDomainCount") OpenAPI.validate_param(name, "VirtualMachineScaleSetProperties", :format, val, "int32") end + + + + + + + + if name === Symbol("timeCreated") + OpenAPI.validate_param(name, "VirtualMachineScaleSetProperties", :format, val, "date-time") + end end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfiguration.jl index 50ad282..531163c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfiguration.jl @@ -8,29 +8,41 @@ Describes a virtual machines scale set IP Configuration's PublicIPAddress co VirtualMachineScaleSetPublicIPAddressConfiguration(; name=nothing, properties=nothing, + sku=nothing, ) - name::String : The publicIP address configuration name. - properties::VirtualMachineScaleSetPublicIPAddressConfigurationProperties + - sku::PublicIPAddressSku """ Base.@kwdef mutable struct VirtualMachineScaleSetPublicIPAddressConfiguration <: OpenAPI.APIModel name::Union{Nothing, String} = nothing properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetPublicIPAddressConfigurationProperties } + sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } - function VirtualMachineScaleSetPublicIPAddressConfiguration(name, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfiguration, Symbol("properties"), properties) - return new(name, properties, ) + function VirtualMachineScaleSetPublicIPAddressConfiguration(name, properties, sku, ) + o = new(name, properties, sku, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetPublicIPAddressConfiguration -const _property_types_VirtualMachineScaleSetPublicIPAddressConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetPublicIPAddressConfigurationProperties", ) +const _property_types_VirtualMachineScaleSetPublicIPAddressConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetPublicIPAddressConfigurationProperties", Symbol("sku")=>"PublicIPAddressSku", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetPublicIPAddressConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetPublicIPAddressConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetPublicIPAddressConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetPublicIPAddressConfiguration) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetPublicIPAddressConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfiguration, Symbol("sku"), o.sku) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetPublicIPAddressConfiguration }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.jl index 8c897aa..f23871f 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct VirtualMachineScaleSetPublicIPAddressConfigurationDns domainNameLabel::Union{Nothing, String} = nothing function VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings(domainNameLabel, ) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - return new(domainNameLabel, ) + o = new(domainNameLabel, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings const _property_types_VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings[name]))} -function check_required(o::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings) +function OpenAPI.check_required(o::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings) o.domainNameLabel === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationProperties.jl index f604d1d..173b4b6 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetPublicIPAddressConfigurationProperties.jl @@ -11,6 +11,7 @@ Describes a virtual machines scale set IP Configuration's PublicIPAddress co ipTags=nothing, publicIPPrefix=nothing, publicIPAddressVersion=nothing, + deleteOption=nothing, ) - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. @@ -18,6 +19,7 @@ Describes a virtual machines scale set IP Configuration's PublicIPAddress co - ipTags::Vector{VirtualMachineScaleSetIpTag} : The list of IP tags associated with the public IP address. - publicIPPrefix::SubResource - publicIPAddressVersion::String : Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. + - deleteOption::String : Specify what happens to the public IP when the VM is deleted """ Base.@kwdef mutable struct VirtualMachineScaleSetPublicIPAddressConfigurationProperties <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing @@ -25,29 +27,47 @@ Base.@kwdef mutable struct VirtualMachineScaleSetPublicIPAddressConfigurationPro ipTags::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetIpTag} } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } publicIPAddressVersion::Union{Nothing, String} = nothing + deleteOption::Union{Nothing, String} = nothing - function VirtualMachineScaleSetPublicIPAddressConfigurationProperties(idleTimeoutInMinutes, dnsSettings, ipTags, publicIPPrefix, publicIPAddressVersion, ) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - return new(idleTimeoutInMinutes, dnsSettings, ipTags, publicIPPrefix, publicIPAddressVersion, ) + function VirtualMachineScaleSetPublicIPAddressConfigurationProperties(idleTimeoutInMinutes, dnsSettings, ipTags, publicIPPrefix, publicIPAddressVersion, deleteOption, ) + o = new(idleTimeoutInMinutes, dnsSettings, ipTags, publicIPPrefix, publicIPAddressVersion, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetPublicIPAddressConfigurationProperties -const _property_types_VirtualMachineScaleSetPublicIPAddressConfigurationProperties = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("dnsSettings")=>"VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", Symbol("ipTags")=>"Vector{VirtualMachineScaleSetIpTag}", Symbol("publicIPPrefix")=>"SubResource", Symbol("publicIPAddressVersion")=>"String", ) +const _property_types_VirtualMachineScaleSetPublicIPAddressConfigurationProperties = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("dnsSettings")=>"VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", Symbol("ipTags")=>"Vector{VirtualMachineScaleSetIpTag}", Symbol("publicIPPrefix")=>"SubResource", Symbol("publicIPAddressVersion")=>"String", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetPublicIPAddressConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetPublicIPAddressConfigurationProperties[name]))} -function check_required(o::VirtualMachineScaleSetPublicIPAddressConfigurationProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetPublicIPAddressConfigurationProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetPublicIPAddressConfigurationProperties) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(VirtualMachineScaleSetPublicIPAddressConfigurationProperties, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetPublicIPAddressConfigurationProperties }, name::Symbol, val) + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "VirtualMachineScaleSetPublicIPAddressConfigurationProperties", :format, val, "int32") end + + + + if name === Symbol("publicIPAddressVersion") OpenAPI.validate_param(name, "VirtualMachineScaleSetPublicIPAddressConfigurationProperties", :enum, val, ["IPv4", "IPv6"]) end + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "VirtualMachineScaleSetPublicIPAddressConfigurationProperties", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetReimageParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetReimageParameters.jl index 4e24474..212374d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetReimageParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetReimageParameters.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineScaleSetReimageParameters <: OpenAPI.AP tempDisk::Union{Nothing, Bool} = nothing function VirtualMachineScaleSetReimageParameters(instanceIds, tempDisk, ) - OpenAPI.validate_property(VirtualMachineScaleSetReimageParameters, Symbol("instanceIds"), instanceIds) - OpenAPI.validate_property(VirtualMachineScaleSetReimageParameters, Symbol("tempDisk"), tempDisk) - return new(instanceIds, tempDisk, ) + o = new(instanceIds, tempDisk, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetReimageParameters const _property_types_VirtualMachineScaleSetReimageParameters = Dict{Symbol,String}(Symbol("instanceIds")=>"Vector{String}", Symbol("tempDisk")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetReimageParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetReimageParameters[name]))} -function check_required(o::VirtualMachineScaleSetReimageParameters) +function OpenAPI.check_required(o::VirtualMachineScaleSetReimageParameters) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetReimageParameters) + OpenAPI.validate_property(VirtualMachineScaleSetReimageParameters, Symbol("instanceIds"), o.instanceIds) + OpenAPI.validate_property(VirtualMachineScaleSetReimageParameters, Symbol("tempDisk"), o.tempDisk) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetReimageParameters }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSku.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSku.jl index fd72a53..18ac46e 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSku.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSku.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineScaleSetSku <: OpenAPI.APIModel capacity = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetSkuCapacity } function VirtualMachineScaleSetSku(resourceType, sku, capacity, ) - OpenAPI.validate_property(VirtualMachineScaleSetSku, Symbol("resourceType"), resourceType) - OpenAPI.validate_property(VirtualMachineScaleSetSku, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualMachineScaleSetSku, Symbol("capacity"), capacity) - return new(resourceType, sku, capacity, ) + o = new(resourceType, sku, capacity, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetSku const _property_types_VirtualMachineScaleSetSku = Dict{Symbol,String}(Symbol("resourceType")=>"String", Symbol("sku")=>"Sku", Symbol("capacity")=>"VirtualMachineScaleSetSkuCapacity", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetSku[name]))} -function check_required(o::VirtualMachineScaleSetSku) +function OpenAPI.check_required(o::VirtualMachineScaleSetSku) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetSku) + OpenAPI.validate_property(VirtualMachineScaleSetSku, Symbol("resourceType"), o.resourceType) + OpenAPI.validate_property(VirtualMachineScaleSetSku, Symbol("sku"), o.sku) + OpenAPI.validate_property(VirtualMachineScaleSetSku, Symbol("capacity"), o.capacity) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetSku }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSkuCapacity.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSkuCapacity.jl index dbd6548..0bb4f2b 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSkuCapacity.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetSkuCapacity.jl @@ -24,32 +24,42 @@ Base.@kwdef mutable struct VirtualMachineScaleSetSkuCapacity <: OpenAPI.APIModel scaleType::Union{Nothing, String} = nothing function VirtualMachineScaleSetSkuCapacity(minimum, maximum, defaultCapacity, scaleType, ) - OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("minimum"), minimum) - OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("maximum"), maximum) - OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("defaultCapacity"), defaultCapacity) - OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("scaleType"), scaleType) - return new(minimum, maximum, defaultCapacity, scaleType, ) + o = new(minimum, maximum, defaultCapacity, scaleType, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetSkuCapacity const _property_types_VirtualMachineScaleSetSkuCapacity = Dict{Symbol,String}(Symbol("minimum")=>"Int64", Symbol("maximum")=>"Int64", Symbol("defaultCapacity")=>"Int64", Symbol("scaleType")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetSkuCapacity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetSkuCapacity[name]))} -function check_required(o::VirtualMachineScaleSetSkuCapacity) +function OpenAPI.check_required(o::VirtualMachineScaleSetSkuCapacity) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetSkuCapacity) + OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("minimum"), o.minimum) + OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("maximum"), o.maximum) + OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("defaultCapacity"), o.defaultCapacity) + OpenAPI.validate_property(VirtualMachineScaleSetSkuCapacity, Symbol("scaleType"), o.scaleType) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetSkuCapacity }, name::Symbol, val) + if name === Symbol("minimum") OpenAPI.validate_param(name, "VirtualMachineScaleSetSkuCapacity", :format, val, "int64") end + if name === Symbol("maximum") OpenAPI.validate_param(name, "VirtualMachineScaleSetSkuCapacity", :format, val, "int64") end + if name === Symbol("defaultCapacity") OpenAPI.validate_param(name, "VirtualMachineScaleSetSkuCapacity", :format, val, "int64") end + if name === Symbol("scaleType") OpenAPI.validate_param(name, "VirtualMachineScaleSetSkuCapacity", :enum, val, ["Automatic", "None"]) end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetStorageProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetStorageProfile.jl index 5f9565f..4f07e3e 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetStorageProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetStorageProfile.jl @@ -13,7 +13,7 @@ Describes a virtual machine scale set storage profile. - imageReference::ImageReference - osDisk::VirtualMachineScaleSetOSDisk - - dataDisks::Vector{VirtualMachineScaleSetDataDisk} : Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-about-disks-vhds?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json). + - dataDisks::Vector{VirtualMachineScaleSetDataDisk} : Specifies the parameters that are used to add data disks to the virtual machines in the scale set. <br><br> For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview). """ Base.@kwdef mutable struct VirtualMachineScaleSetStorageProfile <: OpenAPI.APIModel imageReference = nothing # spec type: Union{ Nothing, ImageReference } @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineScaleSetStorageProfile <: OpenAPI.APIMo dataDisks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetDataDisk} } function VirtualMachineScaleSetStorageProfile(imageReference, osDisk, dataDisks, ) - OpenAPI.validate_property(VirtualMachineScaleSetStorageProfile, Symbol("imageReference"), imageReference) - OpenAPI.validate_property(VirtualMachineScaleSetStorageProfile, Symbol("osDisk"), osDisk) - OpenAPI.validate_property(VirtualMachineScaleSetStorageProfile, Symbol("dataDisks"), dataDisks) - return new(imageReference, osDisk, dataDisks, ) + o = new(imageReference, osDisk, dataDisks, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetStorageProfile const _property_types_VirtualMachineScaleSetStorageProfile = Dict{Symbol,String}(Symbol("imageReference")=>"ImageReference", Symbol("osDisk")=>"VirtualMachineScaleSetOSDisk", Symbol("dataDisks")=>"Vector{VirtualMachineScaleSetDataDisk}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetStorageProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetStorageProfile[name]))} -function check_required(o::VirtualMachineScaleSetStorageProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetStorageProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetStorageProfile) + OpenAPI.validate_property(VirtualMachineScaleSetStorageProfile, Symbol("imageReference"), o.imageReference) + OpenAPI.validate_property(VirtualMachineScaleSetStorageProfile, Symbol("osDisk"), o.osDisk) + OpenAPI.validate_property(VirtualMachineScaleSetStorageProfile, Symbol("dataDisks"), o.dataDisks) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetStorageProfile }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdate.jl index 673d66e..e2889a5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdate.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualMachineScaleSetUpdate(sku, plan, properties, identity, tags, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("identity"), identity) - OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("tags"), tags) - return new(sku, plan, properties, identity, tags, ) + o = new(sku, plan, properties, identity, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdate const _property_types_VirtualMachineScaleSetUpdate = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineScaleSetUpdateProperties", Symbol("identity")=>"VirtualMachineScaleSetIdentity", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdate[name]))} -function check_required(o::VirtualMachineScaleSetUpdate) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdate) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdate) + OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("sku"), o.sku) + OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("plan"), o.plan) + OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("identity"), o.identity) + OpenAPI.validate_property(VirtualMachineScaleSetUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdate }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfiguration.jl index 333024d..ee133f2 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfiguration.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateIPConfiguration <: OpenAP id::Union{Nothing, String} = nothing function VirtualMachineScaleSetUpdateIPConfiguration(name, properties, id, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfiguration, Symbol("id"), id) - return new(name, properties, id, ) + o = new(name, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateIPConfiguration const _property_types_VirtualMachineScaleSetUpdateIPConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetUpdateIPConfigurationProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateIPConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetUpdateIPConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateIPConfiguration) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateIPConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateIPConfiguration }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfigurationProperties.jl index f43b6c4..4fdcd43 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfigurationProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateIPConfigurationProperties.jl @@ -36,27 +36,41 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateIPConfigurationProperties loadBalancerInboundNatPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } function VirtualMachineScaleSetUpdateIPConfigurationProperties(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationGatewayBackendAddressPools, applicationSecurityGroups, loadBalancerBackendAddressPools, loadBalancerInboundNatPools, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("primary"), primary) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("publicIPAddressConfiguration"), publicIPAddressConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("loadBalancerInboundNatPools"), loadBalancerInboundNatPools) - return new(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationGatewayBackendAddressPools, applicationSecurityGroups, loadBalancerBackendAddressPools, loadBalancerInboundNatPools, ) + o = new(subnet, primary, publicIPAddressConfiguration, privateIPAddressVersion, applicationGatewayBackendAddressPools, applicationSecurityGroups, loadBalancerBackendAddressPools, loadBalancerInboundNatPools, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateIPConfigurationProperties const _property_types_VirtualMachineScaleSetUpdateIPConfigurationProperties = Dict{Symbol,String}(Symbol("subnet")=>"ApiEntityReference", Symbol("primary")=>"Bool", Symbol("publicIPAddressConfiguration")=>"VirtualMachineScaleSetUpdatePublicIPAddressConfiguration", Symbol("privateIPAddressVersion")=>"String", Symbol("applicationGatewayBackendAddressPools")=>"Vector{SubResource}", Symbol("applicationSecurityGroups")=>"Vector{SubResource}", Symbol("loadBalancerBackendAddressPools")=>"Vector{SubResource}", Symbol("loadBalancerInboundNatPools")=>"Vector{SubResource}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateIPConfigurationProperties[name]))} -function check_required(o::VirtualMachineScaleSetUpdateIPConfigurationProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateIPConfigurationProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateIPConfigurationProperties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("publicIPAddressConfiguration"), o.publicIPAddressConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateIPConfigurationProperties, Symbol("loadBalancerInboundNatPools"), o.loadBalancerInboundNatPools) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateIPConfigurationProperties }, name::Symbol, val) + + + + if name === Symbol("privateIPAddressVersion") OpenAPI.validate_param(name, "VirtualMachineScaleSetUpdateIPConfigurationProperties", :enum, val, ["IPv4", "IPv6"]) end + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfiguration.jl index 8c44efd..53ba041 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfiguration.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateNetworkConfiguration <: O id::Union{Nothing, String} = nothing function VirtualMachineScaleSetUpdateNetworkConfiguration(name, properties, id, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfiguration, Symbol("id"), id) - return new(name, properties, id, ) + o = new(name, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateNetworkConfiguration const _property_types_VirtualMachineScaleSetUpdateNetworkConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetUpdateNetworkConfigurationProperties", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateNetworkConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateNetworkConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetUpdateNetworkConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateNetworkConfiguration) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateNetworkConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateNetworkConfiguration }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfigurationProperties.jl index f11c94e..ecbf5c3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfigurationProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkConfigurationProperties.jl @@ -8,44 +8,69 @@ Describes a virtual machine scale set updatable network profile's IP configu VirtualMachineScaleSetUpdateNetworkConfigurationProperties(; primary=nothing, enableAcceleratedNetworking=nothing, + enableFpga=nothing, networkSecurityGroup=nothing, dnsSettings=nothing, ipConfigurations=nothing, enableIPForwarding=nothing, + deleteOption=nothing, ) - primary::Bool : Whether this is a primary NIC on a virtual machine. - enableAcceleratedNetworking::Bool : Specifies whether the network interface is accelerated networking-enabled. + - enableFpga::Bool : Specifies whether the network interface is FPGA networking-enabled. - networkSecurityGroup::SubResource - dnsSettings::VirtualMachineScaleSetNetworkConfigurationDnsSettings - ipConfigurations::Vector{VirtualMachineScaleSetUpdateIPConfiguration} : The virtual machine scale set IP Configuration. - enableIPForwarding::Bool : Whether IP forwarding enabled on this NIC. + - deleteOption::String : Specify what happens to the network interface when the VM is deleted """ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateNetworkConfigurationProperties <: OpenAPI.APIModel primary::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + enableFpga::Union{Nothing, Bool} = nothing networkSecurityGroup = nothing # spec type: Union{ Nothing, SubResource } dnsSettings = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetNetworkConfigurationDnsSettings } ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetUpdateIPConfiguration} } enableIPForwarding::Union{Nothing, Bool} = nothing + deleteOption::Union{Nothing, String} = nothing - function VirtualMachineScaleSetUpdateNetworkConfigurationProperties(primary, enableAcceleratedNetworking, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("primary"), primary) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("enableIPForwarding"), enableIPForwarding) - return new(primary, enableAcceleratedNetworking, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, ) + function VirtualMachineScaleSetUpdateNetworkConfigurationProperties(primary, enableAcceleratedNetworking, enableFpga, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, deleteOption, ) + o = new(primary, enableAcceleratedNetworking, enableFpga, networkSecurityGroup, dnsSettings, ipConfigurations, enableIPForwarding, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateNetworkConfigurationProperties -const _property_types_VirtualMachineScaleSetUpdateNetworkConfigurationProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("networkSecurityGroup")=>"SubResource", Symbol("dnsSettings")=>"VirtualMachineScaleSetNetworkConfigurationDnsSettings", Symbol("ipConfigurations")=>"Vector{VirtualMachineScaleSetUpdateIPConfiguration}", Symbol("enableIPForwarding")=>"Bool", ) +const _property_types_VirtualMachineScaleSetUpdateNetworkConfigurationProperties = Dict{Symbol,String}(Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableFpga")=>"Bool", Symbol("networkSecurityGroup")=>"SubResource", Symbol("dnsSettings")=>"VirtualMachineScaleSetNetworkConfigurationDnsSettings", Symbol("ipConfigurations")=>"Vector{VirtualMachineScaleSetUpdateIPConfiguration}", Symbol("enableIPForwarding")=>"Bool", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateNetworkConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateNetworkConfigurationProperties[name]))} -function check_required(o::VirtualMachineScaleSetUpdateNetworkConfigurationProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateNetworkConfigurationProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateNetworkConfigurationProperties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("enableFpga"), o.enableFpga) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkConfigurationProperties, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateNetworkConfigurationProperties }, name::Symbol, val) + + + + + + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "VirtualMachineScaleSetUpdateNetworkConfigurationProperties", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkProfile.jl index 4682fb6..d09fd54 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateNetworkProfile.jl @@ -8,28 +8,44 @@ Describes a virtual machine scale set network profile. VirtualMachineScaleSetUpdateNetworkProfile(; healthProbe=nothing, networkInterfaceConfigurations=nothing, + networkApiVersion=nothing, ) - healthProbe::ApiEntityReference - networkInterfaceConfigurations::Vector{VirtualMachineScaleSetUpdateNetworkConfiguration} : The list of network configurations. + - networkApiVersion::String : specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations for Virtual Machine Scale Set with orchestration mode 'Flexible' """ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateNetworkProfile <: OpenAPI.APIModel healthProbe = nothing # spec type: Union{ Nothing, ApiEntityReference } networkInterfaceConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetUpdateNetworkConfiguration} } + networkApiVersion::Union{Nothing, String} = nothing - function VirtualMachineScaleSetUpdateNetworkProfile(healthProbe, networkInterfaceConfigurations, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkProfile, Symbol("healthProbe"), healthProbe) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkProfile, Symbol("networkInterfaceConfigurations"), networkInterfaceConfigurations) - return new(healthProbe, networkInterfaceConfigurations, ) + function VirtualMachineScaleSetUpdateNetworkProfile(healthProbe, networkInterfaceConfigurations, networkApiVersion, ) + o = new(healthProbe, networkInterfaceConfigurations, networkApiVersion, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateNetworkProfile -const _property_types_VirtualMachineScaleSetUpdateNetworkProfile = Dict{Symbol,String}(Symbol("healthProbe")=>"ApiEntityReference", Symbol("networkInterfaceConfigurations")=>"Vector{VirtualMachineScaleSetUpdateNetworkConfiguration}", ) +const _property_types_VirtualMachineScaleSetUpdateNetworkProfile = Dict{Symbol,String}(Symbol("healthProbe")=>"ApiEntityReference", Symbol("networkInterfaceConfigurations")=>"Vector{VirtualMachineScaleSetUpdateNetworkConfiguration}", Symbol("networkApiVersion")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateNetworkProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateNetworkProfile[name]))} -function check_required(o::VirtualMachineScaleSetUpdateNetworkProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateNetworkProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateNetworkProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkProfile, Symbol("healthProbe"), o.healthProbe) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkProfile, Symbol("networkInterfaceConfigurations"), o.networkInterfaceConfigurations) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateNetworkProfile, Symbol("networkApiVersion"), o.networkApiVersion) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateNetworkProfile }, name::Symbol, val) + + + + if name === Symbol("networkApiVersion") + OpenAPI.validate_param(name, "VirtualMachineScaleSetUpdateNetworkProfile", :enum, val, ["2020-11-01"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSDisk.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSDisk.jl index afaa132..9566fc8 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSDisk.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSDisk.jl @@ -30,25 +30,36 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateOSDisk <: OpenAPI.APIMode managedDisk = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetManagedDiskParameters } function VirtualMachineScaleSetUpdateOSDisk(caching, writeAcceleratorEnabled, diskSizeGB, image, vhdContainers, managedDisk, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("caching"), caching) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("writeAcceleratorEnabled"), writeAcceleratorEnabled) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("image"), image) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("vhdContainers"), vhdContainers) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("managedDisk"), managedDisk) - return new(caching, writeAcceleratorEnabled, diskSizeGB, image, vhdContainers, managedDisk, ) + o = new(caching, writeAcceleratorEnabled, diskSizeGB, image, vhdContainers, managedDisk, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateOSDisk const _property_types_VirtualMachineScaleSetUpdateOSDisk = Dict{Symbol,String}(Symbol("caching")=>"Caching", Symbol("writeAcceleratorEnabled")=>"Bool", Symbol("diskSizeGB")=>"Int64", Symbol("image")=>"VirtualHardDisk", Symbol("vhdContainers")=>"Vector{String}", Symbol("managedDisk")=>"VirtualMachineScaleSetManagedDiskParameters", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateOSDisk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateOSDisk[name]))} -function check_required(o::VirtualMachineScaleSetUpdateOSDisk) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateOSDisk) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateOSDisk) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("caching"), o.caching) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("writeAcceleratorEnabled"), o.writeAcceleratorEnabled) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("image"), o.image) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("vhdContainers"), o.vhdContainers) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSDisk, Symbol("managedDisk"), o.managedDisk) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateOSDisk }, name::Symbol, val) + + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "VirtualMachineScaleSetUpdateOSDisk", :format, val, "int32") end + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSProfile.jl index a818a14..a7200fe 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateOSProfile.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateOSProfile <: OpenAPI.APIM secrets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VaultSecretGroup} } function VirtualMachineScaleSetUpdateOSProfile(customData, windowsConfiguration, linuxConfiguration, secrets, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("customData"), customData) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("windowsConfiguration"), windowsConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("linuxConfiguration"), linuxConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("secrets"), secrets) - return new(customData, windowsConfiguration, linuxConfiguration, secrets, ) + o = new(customData, windowsConfiguration, linuxConfiguration, secrets, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateOSProfile const _property_types_VirtualMachineScaleSetUpdateOSProfile = Dict{Symbol,String}(Symbol("customData")=>"String", Symbol("windowsConfiguration")=>"WindowsConfiguration", Symbol("linuxConfiguration")=>"LinuxConfiguration", Symbol("secrets")=>"Vector{VaultSecretGroup}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateOSProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateOSProfile[name]))} -function check_required(o::VirtualMachineScaleSetUpdateOSProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateOSProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateOSProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("customData"), o.customData) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("windowsConfiguration"), o.windowsConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("linuxConfiguration"), o.linuxConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateOSProfile, Symbol("secrets"), o.secrets) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateOSProfile }, name::Symbol, val) + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateProperties.jl index 344dbc6..9090508 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateProperties.jl @@ -39,25 +39,39 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateProperties <: OpenAPI.API proximityPlacementGroup = nothing # spec type: Union{ Nothing, SubResource } function VirtualMachineScaleSetUpdateProperties(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, overprovision, doNotRunExtensionsOnOverprovisionedVMs, singlePlacementGroup, additionalCapabilities, scaleInPolicy, proximityPlacementGroup, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("upgradePolicy"), upgradePolicy) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("automaticRepairsPolicy"), automaticRepairsPolicy) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("virtualMachineProfile"), virtualMachineProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("overprovision"), overprovision) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("doNotRunExtensionsOnOverprovisionedVMs"), doNotRunExtensionsOnOverprovisionedVMs) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("singlePlacementGroup"), singlePlacementGroup) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("additionalCapabilities"), additionalCapabilities) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("scaleInPolicy"), scaleInPolicy) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("proximityPlacementGroup"), proximityPlacementGroup) - return new(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, overprovision, doNotRunExtensionsOnOverprovisionedVMs, singlePlacementGroup, additionalCapabilities, scaleInPolicy, proximityPlacementGroup, ) + o = new(upgradePolicy, automaticRepairsPolicy, virtualMachineProfile, overprovision, doNotRunExtensionsOnOverprovisionedVMs, singlePlacementGroup, additionalCapabilities, scaleInPolicy, proximityPlacementGroup, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateProperties const _property_types_VirtualMachineScaleSetUpdateProperties = Dict{Symbol,String}(Symbol("upgradePolicy")=>"UpgradePolicy", Symbol("automaticRepairsPolicy")=>"AutomaticRepairsPolicy", Symbol("virtualMachineProfile")=>"VirtualMachineScaleSetUpdateVMProfile", Symbol("overprovision")=>"Bool", Symbol("doNotRunExtensionsOnOverprovisionedVMs")=>"Bool", Symbol("singlePlacementGroup")=>"Bool", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("scaleInPolicy")=>"ScaleInPolicy", Symbol("proximityPlacementGroup")=>"SubResource", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateProperties[name]))} -function check_required(o::VirtualMachineScaleSetUpdateProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateProperties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("upgradePolicy"), o.upgradePolicy) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("automaticRepairsPolicy"), o.automaticRepairsPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("virtualMachineProfile"), o.virtualMachineProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("overprovision"), o.overprovision) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("doNotRunExtensionsOnOverprovisionedVMs"), o.doNotRunExtensionsOnOverprovisionedVMs) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("singlePlacementGroup"), o.singlePlacementGroup) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("additionalCapabilities"), o.additionalCapabilities) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("scaleInPolicy"), o.scaleInPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateProperties, Symbol("proximityPlacementGroup"), o.proximityPlacementGroup) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.jl index 079f74f..7a90f63 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfiguration.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdatePublicIPAddressConfigurat properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties } function VirtualMachineScaleSetUpdatePublicIPAddressConfiguration(name, properties, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration const _property_types_VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdatePublicIPAddressConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdatePublicIPAddressConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfiguration, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdatePublicIPAddressConfiguration }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.jl index 7989c44..1d50413 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties.jl @@ -8,31 +8,52 @@ Describes a virtual machines scale set IP Configuration's PublicIPAddress co VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties(; idleTimeoutInMinutes=nothing, dnsSettings=nothing, + publicIPPrefix=nothing, + deleteOption=nothing, ) - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - dnsSettings::VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings + - publicIPPrefix::SubResource + - deleteOption::String : Specify what happens to the public IP when the VM is deleted """ Base.@kwdef mutable struct VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing dnsSettings = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings } + publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + deleteOption::Union{Nothing, String} = nothing - function VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties(idleTimeoutInMinutes, dnsSettings, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties, Symbol("dnsSettings"), dnsSettings) - return new(idleTimeoutInMinutes, dnsSettings, ) + function VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties(idleTimeoutInMinutes, dnsSettings, publicIPPrefix, deleteOption, ) + o = new(idleTimeoutInMinutes, dnsSettings, publicIPPrefix, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties -const _property_types_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("dnsSettings")=>"VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", ) +const _property_types_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("dnsSettings")=>"VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings", Symbol("publicIPPrefix")=>"SubResource", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties[name]))} -function check_required(o::VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties) + OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties }, name::Symbol, val) + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties", :format, val, "int32") end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateStorageProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateStorageProfile.jl index b553704..84f084d 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateStorageProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateStorageProfile.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateStorageProfile <: OpenAPI dataDisks::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetDataDisk} } function VirtualMachineScaleSetUpdateStorageProfile(imageReference, osDisk, dataDisks, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateStorageProfile, Symbol("imageReference"), imageReference) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateStorageProfile, Symbol("osDisk"), osDisk) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateStorageProfile, Symbol("dataDisks"), dataDisks) - return new(imageReference, osDisk, dataDisks, ) + o = new(imageReference, osDisk, dataDisks, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateStorageProfile const _property_types_VirtualMachineScaleSetUpdateStorageProfile = Dict{Symbol,String}(Symbol("imageReference")=>"ImageReference", Symbol("osDisk")=>"VirtualMachineScaleSetUpdateOSDisk", Symbol("dataDisks")=>"Vector{VirtualMachineScaleSetDataDisk}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateStorageProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateStorageProfile[name]))} -function check_required(o::VirtualMachineScaleSetUpdateStorageProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateStorageProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateStorageProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateStorageProfile, Symbol("imageReference"), o.imageReference) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateStorageProfile, Symbol("osDisk"), o.osDisk) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateStorageProfile, Symbol("dataDisks"), o.dataDisks) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateStorageProfile }, name::Symbol, val) + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateVMProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateVMProfile.jl index 219c713..3a744b5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateVMProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetUpdateVMProfile.jl @@ -15,6 +15,7 @@ Describes a virtual machine scale set virtual machine profile. licenseType=nothing, billingProfile=nothing, scheduledEventsProfile=nothing, + userData=nothing, ) - osProfile::VirtualMachineScaleSetUpdateOSProfile @@ -26,6 +27,7 @@ Describes a virtual machine scale set virtual machine profile. - licenseType::String : The license type, which is for bring your own license scenario. - billingProfile::BillingProfile - scheduledEventsProfile::ScheduledEventsProfile + - userData::String : UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 """ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateVMProfile <: OpenAPI.APIModel osProfile = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetUpdateOSProfile } @@ -37,27 +39,44 @@ Base.@kwdef mutable struct VirtualMachineScaleSetUpdateVMProfile <: OpenAPI.APIM licenseType::Union{Nothing, String} = nothing billingProfile = nothing # spec type: Union{ Nothing, BillingProfile } scheduledEventsProfile = nothing # spec type: Union{ Nothing, ScheduledEventsProfile } + userData::Union{Nothing, String} = nothing - function VirtualMachineScaleSetUpdateVMProfile(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, billingProfile, scheduledEventsProfile, ) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("osProfile"), osProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("storageProfile"), storageProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("networkProfile"), networkProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("securityProfile"), securityProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("diagnosticsProfile"), diagnosticsProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("extensionProfile"), extensionProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("licenseType"), licenseType) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("billingProfile"), billingProfile) - OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("scheduledEventsProfile"), scheduledEventsProfile) - return new(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, billingProfile, scheduledEventsProfile, ) + function VirtualMachineScaleSetUpdateVMProfile(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, billingProfile, scheduledEventsProfile, userData, ) + o = new(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, billingProfile, scheduledEventsProfile, userData, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetUpdateVMProfile -const _property_types_VirtualMachineScaleSetUpdateVMProfile = Dict{Symbol,String}(Symbol("osProfile")=>"VirtualMachineScaleSetUpdateOSProfile", Symbol("storageProfile")=>"VirtualMachineScaleSetUpdateStorageProfile", Symbol("networkProfile")=>"VirtualMachineScaleSetUpdateNetworkProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("extensionProfile")=>"VirtualMachineScaleSetExtensionProfile", Symbol("licenseType")=>"String", Symbol("billingProfile")=>"BillingProfile", Symbol("scheduledEventsProfile")=>"ScheduledEventsProfile", ) +const _property_types_VirtualMachineScaleSetUpdateVMProfile = Dict{Symbol,String}(Symbol("osProfile")=>"VirtualMachineScaleSetUpdateOSProfile", Symbol("storageProfile")=>"VirtualMachineScaleSetUpdateStorageProfile", Symbol("networkProfile")=>"VirtualMachineScaleSetUpdateNetworkProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("extensionProfile")=>"VirtualMachineScaleSetExtensionProfile", Symbol("licenseType")=>"String", Symbol("billingProfile")=>"BillingProfile", Symbol("scheduledEventsProfile")=>"ScheduledEventsProfile", Symbol("userData")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetUpdateVMProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetUpdateVMProfile[name]))} -function check_required(o::VirtualMachineScaleSetUpdateVMProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetUpdateVMProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetUpdateVMProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("osProfile"), o.osProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("storageProfile"), o.storageProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("networkProfile"), o.networkProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("diagnosticsProfile"), o.diagnosticsProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("extensionProfile"), o.extensionProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("licenseType"), o.licenseType) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("billingProfile"), o.billingProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("scheduledEventsProfile"), o.scheduledEventsProfile) + OpenAPI.validate_property(VirtualMachineScaleSetUpdateVMProfile, Symbol("userData"), o.userData) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetUpdateVMProfile }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVM.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVM.jl index 7f1eef4..778c434 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVM.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVM.jl @@ -6,67 +6,83 @@ Describes a virtual machine scale set virtual machine. VirtualMachineScaleSetVM(; - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, instanceId=nothing, sku=nothing, properties=nothing, plan=nothing, resources=nothing, zones=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, ) - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags - instanceId::String : The virtual machine instance ID. - sku::Sku - properties::VirtualMachineScaleSetVMProperties - plan::Plan - resources::Vector{VirtualMachineExtension} : The virtual machine child extension resources. - zones::Vector{String} : The virtual machine zones. + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct VirtualMachineScaleSetVM <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing instanceId::Union{Nothing, String} = nothing sku = nothing # spec type: Union{ Nothing, Sku } properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetVMProperties } plan = nothing # spec type: Union{ Nothing, Plan } resources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineExtension} } zones::Union{Nothing, Vector{String}} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing - function VirtualMachineScaleSetVM(id, name, type, location, tags, instanceId, sku, properties, plan, resources, zones, ) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("id"), id) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("type"), type) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("location"), location) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("tags"), tags) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("instanceId"), instanceId) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("resources"), resources) - OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("zones"), zones) - return new(id, name, type, location, tags, instanceId, sku, properties, plan, resources, zones, ) + function VirtualMachineScaleSetVM(instanceId, sku, properties, plan, resources, zones, id, name, type, location, tags, ) + o = new(instanceId, sku, properties, plan, resources, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVM -const _property_types_VirtualMachineScaleSetVM = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("instanceId")=>"String", Symbol("sku")=>"Sku", Symbol("properties")=>"VirtualMachineScaleSetVMProperties", Symbol("plan")=>"Plan", Symbol("resources")=>"Vector{VirtualMachineExtension}", Symbol("zones")=>"Vector{String}", ) +const _property_types_VirtualMachineScaleSetVM = Dict{Symbol,String}(Symbol("instanceId")=>"String", Symbol("sku")=>"Sku", Symbol("properties")=>"VirtualMachineScaleSetVMProperties", Symbol("plan")=>"Plan", Symbol("resources")=>"Vector{VirtualMachineExtension}", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVM }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVM[name]))} -function check_required(o::VirtualMachineScaleSetVM) +function OpenAPI.check_required(o::VirtualMachineScaleSetVM) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVM) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("instanceId"), o.instanceId) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("sku"), o.sku) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("plan"), o.plan) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("resources"), o.resources) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("zones"), o.zones) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineScaleSetVM, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVM }, name::Symbol, val) + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMAllOf.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMAllOf.jl deleted file mode 100644 index 3c6bc9b..0000000 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMAllOf.jl +++ /dev/null @@ -1,50 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""VirtualMachineScaleSetVM_allOf - - VirtualMachineScaleSetVMAllOf(; - instanceId=nothing, - sku=nothing, - properties=nothing, - plan=nothing, - resources=nothing, - zones=nothing, - ) - - - instanceId::String : The virtual machine instance ID. - - sku::Sku - - properties::VirtualMachineScaleSetVMProperties - - plan::Plan - - resources::Vector{VirtualMachineExtension} : The virtual machine child extension resources. - - zones::Vector{String} : The virtual machine zones. -""" -Base.@kwdef mutable struct VirtualMachineScaleSetVMAllOf <: OpenAPI.APIModel - instanceId::Union{Nothing, String} = nothing - sku = nothing # spec type: Union{ Nothing, Sku } - properties = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetVMProperties } - plan = nothing # spec type: Union{ Nothing, Plan } - resources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineExtension} } - zones::Union{Nothing, Vector{String}} = nothing - - function VirtualMachineScaleSetVMAllOf(instanceId, sku, properties, plan, resources, zones, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMAllOf, Symbol("instanceId"), instanceId) - OpenAPI.validate_property(VirtualMachineScaleSetVMAllOf, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualMachineScaleSetVMAllOf, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineScaleSetVMAllOf, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineScaleSetVMAllOf, Symbol("resources"), resources) - OpenAPI.validate_property(VirtualMachineScaleSetVMAllOf, Symbol("zones"), zones) - return new(instanceId, sku, properties, plan, resources, zones, ) - end -end # type VirtualMachineScaleSetVMAllOf - -const _property_types_VirtualMachineScaleSetVMAllOf = Dict{Symbol,String}(Symbol("instanceId")=>"String", Symbol("sku")=>"Sku", Symbol("properties")=>"VirtualMachineScaleSetVMProperties", Symbol("plan")=>"Plan", Symbol("resources")=>"Vector{VirtualMachineExtension}", Symbol("zones")=>"Vector{String}", ) -OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMAllOf[name]))} - -function check_required(o::VirtualMachineScaleSetVMAllOf) - true -end - -function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMAllOf }, name::Symbol, val) -end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtension.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtension.jl new file mode 100644 index 0000000..dececc8 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtension.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineScaleSetVMExtension +Describes a VMSS VM Extension. + + VirtualMachineScaleSetVMExtension(; + name=nothing, + type=nothing, + properties=nothing, + id=nothing, + ) + + - name::String : The name of the extension. + - type::String : Resource type + - properties::VirtualMachineExtensionProperties + - id::String : Resource Id +""" +Base.@kwdef mutable struct VirtualMachineScaleSetVMExtension <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionProperties } + id::Union{Nothing, String} = nothing + + function VirtualMachineScaleSetVMExtension(name, type, properties, id, ) + o = new(name, type, properties, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineScaleSetVMExtension + +const _property_types_VirtualMachineScaleSetVMExtension = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"VirtualMachineExtensionProperties", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMExtension }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMExtension[name]))} + +function OpenAPI.check_required(o::VirtualMachineScaleSetVMExtension) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMExtension) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtension, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtension, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtension, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtension, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMExtension }, name::Symbol, val) + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionUpdate.jl new file mode 100644 index 0000000..7bdedb5 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionUpdate.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineScaleSetVMExtensionUpdate +Describes a VMSS VM Extension. + + VirtualMachineScaleSetVMExtensionUpdate(; + name=nothing, + type=nothing, + properties=nothing, + id=nothing, + ) + + - name::String : The name of the extension. + - type::String : Resource type + - properties::VirtualMachineExtensionUpdateProperties + - id::String : Resource Id +""" +Base.@kwdef mutable struct VirtualMachineScaleSetVMExtensionUpdate <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, VirtualMachineExtensionUpdateProperties } + id::Union{Nothing, String} = nothing + + function VirtualMachineScaleSetVMExtensionUpdate(name, type, properties, id, ) + o = new(name, type, properties, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineScaleSetVMExtensionUpdate + +const _property_types_VirtualMachineScaleSetVMExtensionUpdate = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"VirtualMachineExtensionUpdateProperties", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMExtensionUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMExtensionUpdate[name]))} + +function OpenAPI.check_required(o::VirtualMachineScaleSetVMExtensionUpdate) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMExtensionUpdate) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionUpdate, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionUpdate, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionUpdate, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMExtensionUpdate }, name::Symbol, val) + + + + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsListResult.jl new file mode 100644 index 0000000..8097f1e --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsListResult.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineScaleSetVMExtensionsListResult +The List VMSS VM Extension operation response + + VirtualMachineScaleSetVMExtensionsListResult(; + value=nothing, + ) + + - value::Vector{VirtualMachineScaleSetVMExtension} : The list of VMSS VM extensions +""" +Base.@kwdef mutable struct VirtualMachineScaleSetVMExtensionsListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetVMExtension} } + + function VirtualMachineScaleSetVMExtensionsListResult(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineScaleSetVMExtensionsListResult + +const _property_types_VirtualMachineScaleSetVMExtensionsListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineScaleSetVMExtension}", ) +OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMExtensionsListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMExtensionsListResult[name]))} + +function OpenAPI.check_required(o::VirtualMachineScaleSetVMExtensionsListResult) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMExtensionsListResult) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionsListResult, Symbol("value"), o.value) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMExtensionsListResult }, name::Symbol, val) + +end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsSummary.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsSummary.jl index 04de949..9f77bec 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsSummary.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMExtensionsSummary.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMExtensionsSummary <: OpenAPI. statusesSummary::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineStatusCodeCount} } function VirtualMachineScaleSetVMExtensionsSummary(name, statusesSummary, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionsSummary, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionsSummary, Symbol("statusesSummary"), statusesSummary) - return new(name, statusesSummary, ) + o = new(name, statusesSummary, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMExtensionsSummary const _property_types_VirtualMachineScaleSetVMExtensionsSummary = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("statusesSummary")=>"Vector{VirtualMachineStatusCodeCount}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMExtensionsSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMExtensionsSummary[name]))} -function check_required(o::VirtualMachineScaleSetVMExtensionsSummary) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMExtensionsSummary) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMExtensionsSummary) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionsSummary, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineScaleSetVMExtensionsSummary, Symbol("statusesSummary"), o.statusesSummary) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMExtensionsSummary }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceIDs.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceIDs.jl index 64f1990..bfec15a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceIDs.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceIDs.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMInstanceIDs <: OpenAPI.APIMod instanceIds::Union{Nothing, Vector{String}} = nothing function VirtualMachineScaleSetVMInstanceIDs(instanceIds, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceIDs, Symbol("instanceIds"), instanceIds) - return new(instanceIds, ) + o = new(instanceIds, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMInstanceIDs const _property_types_VirtualMachineScaleSetVMInstanceIDs = Dict{Symbol,String}(Symbol("instanceIds")=>"Vector{String}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMInstanceIDs }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMInstanceIDs[name]))} -function check_required(o::VirtualMachineScaleSetVMInstanceIDs) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMInstanceIDs) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMInstanceIDs) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceIDs, Symbol("instanceIds"), o.instanceIds) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMInstanceIDs }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceRequiredIDs.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceRequiredIDs.jl index 834a118..fd262e4 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceRequiredIDs.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceRequiredIDs.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMInstanceRequiredIDs <: OpenAP instanceIds::Union{Nothing, Vector{String}} = nothing function VirtualMachineScaleSetVMInstanceRequiredIDs(instanceIds, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceRequiredIDs, Symbol("instanceIds"), instanceIds) - return new(instanceIds, ) + o = new(instanceIds, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMInstanceRequiredIDs const _property_types_VirtualMachineScaleSetVMInstanceRequiredIDs = Dict{Symbol,String}(Symbol("instanceIds")=>"Vector{String}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMInstanceRequiredIDs }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMInstanceRequiredIDs[name]))} -function check_required(o::VirtualMachineScaleSetVMInstanceRequiredIDs) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMInstanceRequiredIDs) o.instanceIds === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMInstanceRequiredIDs) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceRequiredIDs, Symbol("instanceIds"), o.instanceIds) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMInstanceRequiredIDs }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceView.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceView.jl index 1688c07..90a4c60 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceView.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMInstanceView.jl @@ -48,34 +48,51 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMInstanceView <: OpenAPI.APIMo placementGroupId::Union{Nothing, String} = nothing function VirtualMachineScaleSetVMInstanceView(platformUpdateDomain, platformFaultDomain, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, vmHealth, bootDiagnostics, statuses, assignedHost, placementGroupId, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("platformUpdateDomain"), platformUpdateDomain) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("platformFaultDomain"), platformFaultDomain) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("rdpThumbPrint"), rdpThumbPrint) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("vmAgent"), vmAgent) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("maintenanceRedeployStatus"), maintenanceRedeployStatus) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("disks"), disks) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("extensions"), extensions) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("vmHealth"), vmHealth) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("bootDiagnostics"), bootDiagnostics) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("statuses"), statuses) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("assignedHost"), assignedHost) - OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("placementGroupId"), placementGroupId) - return new(platformUpdateDomain, platformFaultDomain, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, vmHealth, bootDiagnostics, statuses, assignedHost, placementGroupId, ) + o = new(platformUpdateDomain, platformFaultDomain, rdpThumbPrint, vmAgent, maintenanceRedeployStatus, disks, extensions, vmHealth, bootDiagnostics, statuses, assignedHost, placementGroupId, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMInstanceView const _property_types_VirtualMachineScaleSetVMInstanceView = Dict{Symbol,String}(Symbol("platformUpdateDomain")=>"Int64", Symbol("platformFaultDomain")=>"Int64", Symbol("rdpThumbPrint")=>"String", Symbol("vmAgent")=>"VirtualMachineAgentInstanceView", Symbol("maintenanceRedeployStatus")=>"MaintenanceRedeployStatus", Symbol("disks")=>"Vector{DiskInstanceView}", Symbol("extensions")=>"Vector{VirtualMachineExtensionInstanceView}", Symbol("vmHealth")=>"VirtualMachineHealthStatus", Symbol("bootDiagnostics")=>"BootDiagnosticsInstanceView", Symbol("statuses")=>"Vector{InstanceViewStatus}", Symbol("assignedHost")=>"String", Symbol("placementGroupId")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMInstanceView[name]))} -function check_required(o::VirtualMachineScaleSetVMInstanceView) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMInstanceView) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMInstanceView) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("platformUpdateDomain"), o.platformUpdateDomain) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("platformFaultDomain"), o.platformFaultDomain) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("rdpThumbPrint"), o.rdpThumbPrint) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("vmAgent"), o.vmAgent) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("maintenanceRedeployStatus"), o.maintenanceRedeployStatus) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("disks"), o.disks) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("extensions"), o.extensions) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("vmHealth"), o.vmHealth) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("bootDiagnostics"), o.bootDiagnostics) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("statuses"), o.statuses) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("assignedHost"), o.assignedHost) + OpenAPI.validate_property(VirtualMachineScaleSetVMInstanceView, Symbol("placementGroupId"), o.placementGroupId) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMInstanceView }, name::Symbol, val) + if name === Symbol("platformUpdateDomain") OpenAPI.validate_param(name, "VirtualMachineScaleSetVMInstanceView", :format, val, "int32") end + if name === Symbol("platformFaultDomain") OpenAPI.validate_param(name, "VirtualMachineScaleSetVMInstanceView", :format, val, "int32") end + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMListResult.jl index 35c4d9e..c7628a5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMListResult <: OpenAPI.APIMode nextLink::Union{Nothing, String} = nothing function VirtualMachineScaleSetVMListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualMachineScaleSetVMListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMListResult const _property_types_VirtualMachineScaleSetVMListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineScaleSetVM}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMListResult[name]))} -function check_required(o::VirtualMachineScaleSetVMListResult) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMListResult) + OpenAPI.validate_property(VirtualMachineScaleSetVMListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineScaleSetVMListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMNetworkProfileConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMNetworkProfileConfiguration.jl index f0fdae6..b70ac7c 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMNetworkProfileConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMNetworkProfileConfiguration.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMNetworkProfileConfiguration < networkInterfaceConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineScaleSetNetworkConfiguration} } function VirtualMachineScaleSetVMNetworkProfileConfiguration(networkInterfaceConfigurations, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMNetworkProfileConfiguration, Symbol("networkInterfaceConfigurations"), networkInterfaceConfigurations) - return new(networkInterfaceConfigurations, ) + o = new(networkInterfaceConfigurations, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMNetworkProfileConfiguration const _property_types_VirtualMachineScaleSetVMNetworkProfileConfiguration = Dict{Symbol,String}(Symbol("networkInterfaceConfigurations")=>"Vector{VirtualMachineScaleSetNetworkConfiguration}", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMNetworkProfileConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMNetworkProfileConfiguration[name]))} -function check_required(o::VirtualMachineScaleSetVMNetworkProfileConfiguration) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMNetworkProfileConfiguration) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMNetworkProfileConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetVMNetworkProfileConfiguration, Symbol("networkInterfaceConfigurations"), o.networkInterfaceConfigurations) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMNetworkProfileConfiguration }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProfile.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProfile.jl index ab37ea9..59a60cd 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProfile.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProfile.jl @@ -17,6 +17,10 @@ Describes a virtual machine scale set virtual machine profile. evictionPolicy=nothing, billingProfile=nothing, scheduledEventsProfile=nothing, + userData=nothing, + capacityReservation=nothing, + applicationProfile=nothing, + hardwareProfile=nothing, ) - osProfile::VirtualMachineScaleSetOSProfile @@ -25,11 +29,15 @@ Describes a virtual machine scale set virtual machine profile. - securityProfile::SecurityProfile - diagnosticsProfile::DiagnosticsProfile - extensionProfile::VirtualMachineScaleSetExtensionProfile - - licenseType::String : Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 + - licenseType::String : Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 - priority::Priority - evictionPolicy::EvictionPolicy - billingProfile::BillingProfile - scheduledEventsProfile::ScheduledEventsProfile + - userData::String : UserData for the virtual machines in the scale set, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 + - capacityReservation::CapacityReservationProfile + - applicationProfile::ApplicationProfile + - hardwareProfile::VirtualMachineScaleSetHardwareProfile """ Base.@kwdef mutable struct VirtualMachineScaleSetVMProfile <: OpenAPI.APIModel osProfile = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetOSProfile } @@ -43,29 +51,57 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMProfile <: OpenAPI.APIModel evictionPolicy = nothing # spec type: Union{ Nothing, EvictionPolicy } billingProfile = nothing # spec type: Union{ Nothing, BillingProfile } scheduledEventsProfile = nothing # spec type: Union{ Nothing, ScheduledEventsProfile } + userData::Union{Nothing, String} = nothing + capacityReservation = nothing # spec type: Union{ Nothing, CapacityReservationProfile } + applicationProfile = nothing # spec type: Union{ Nothing, ApplicationProfile } + hardwareProfile = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetHardwareProfile } - function VirtualMachineScaleSetVMProfile(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, priority, evictionPolicy, billingProfile, scheduledEventsProfile, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("osProfile"), osProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("storageProfile"), storageProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("networkProfile"), networkProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("securityProfile"), securityProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("diagnosticsProfile"), diagnosticsProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("extensionProfile"), extensionProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("licenseType"), licenseType) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("priority"), priority) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("evictionPolicy"), evictionPolicy) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("billingProfile"), billingProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("scheduledEventsProfile"), scheduledEventsProfile) - return new(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, priority, evictionPolicy, billingProfile, scheduledEventsProfile, ) + function VirtualMachineScaleSetVMProfile(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, priority, evictionPolicy, billingProfile, scheduledEventsProfile, userData, capacityReservation, applicationProfile, hardwareProfile, ) + o = new(osProfile, storageProfile, networkProfile, securityProfile, diagnosticsProfile, extensionProfile, licenseType, priority, evictionPolicy, billingProfile, scheduledEventsProfile, userData, capacityReservation, applicationProfile, hardwareProfile, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMProfile -const _property_types_VirtualMachineScaleSetVMProfile = Dict{Symbol,String}(Symbol("osProfile")=>"VirtualMachineScaleSetOSProfile", Symbol("storageProfile")=>"VirtualMachineScaleSetStorageProfile", Symbol("networkProfile")=>"VirtualMachineScaleSetNetworkProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("extensionProfile")=>"VirtualMachineScaleSetExtensionProfile", Symbol("licenseType")=>"String", Symbol("priority")=>"Priority", Symbol("evictionPolicy")=>"EvictionPolicy", Symbol("billingProfile")=>"BillingProfile", Symbol("scheduledEventsProfile")=>"ScheduledEventsProfile", ) +const _property_types_VirtualMachineScaleSetVMProfile = Dict{Symbol,String}(Symbol("osProfile")=>"VirtualMachineScaleSetOSProfile", Symbol("storageProfile")=>"VirtualMachineScaleSetStorageProfile", Symbol("networkProfile")=>"VirtualMachineScaleSetNetworkProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("extensionProfile")=>"VirtualMachineScaleSetExtensionProfile", Symbol("licenseType")=>"String", Symbol("priority")=>"Priority", Symbol("evictionPolicy")=>"EvictionPolicy", Symbol("billingProfile")=>"BillingProfile", Symbol("scheduledEventsProfile")=>"ScheduledEventsProfile", Symbol("userData")=>"String", Symbol("capacityReservation")=>"CapacityReservationProfile", Symbol("applicationProfile")=>"ApplicationProfile", Symbol("hardwareProfile")=>"VirtualMachineScaleSetHardwareProfile", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMProfile[name]))} -function check_required(o::VirtualMachineScaleSetVMProfile) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMProfile) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("osProfile"), o.osProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("storageProfile"), o.storageProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("networkProfile"), o.networkProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("diagnosticsProfile"), o.diagnosticsProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("extensionProfile"), o.extensionProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("licenseType"), o.licenseType) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("priority"), o.priority) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("evictionPolicy"), o.evictionPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("billingProfile"), o.billingProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("scheduledEventsProfile"), o.scheduledEventsProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("userData"), o.userData) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("capacityReservation"), o.capacityReservation) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("applicationProfile"), o.applicationProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProfile, Symbol("hardwareProfile"), o.hardwareProfile) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMProfile }, name::Symbol, val) + + + + + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProperties.jl index 2c4390f..8a6a6b3 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProperties.jl @@ -22,6 +22,7 @@ Describes the properties of a virtual machine scale set virtual machine. licenseType=nothing, modelDefinitionApplied=nothing, protectionPolicy=nothing, + userData=nothing, ) - latestModelApplied::Bool : Specifies whether the latest model has been applied to the virtual machine. @@ -37,9 +38,10 @@ Describes the properties of a virtual machine scale set virtual machine. - diagnosticsProfile::DiagnosticsProfile - availabilitySet::SubResource - provisioningState::String : The provisioning state, which only appears in the response. - - licenseType::String : Specifies that the image or disk that is being used was licensed on-premises. This element is only used for images that contain the Windows Server operating system. <br><br> Possible values are: <br><br> Windows_Client <br><br> Windows_Server <br><br> If this element is included in a request for an update, the value must match the initial value. This value cannot be updated. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json) <br><br> Minimum api-version: 2015-06-15 + - licenseType::String : Specifies that the image or disk that is being used was licensed on-premises. <br><br> Possible values for Windows Server operating system are: <br><br> Windows_Client <br><br> Windows_Server <br><br> Possible values for Linux Server operating system are: <br><br> RHEL_BYOS (for RHEL) <br><br> SLES_BYOS (for SUSE) <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing) <br><br> [Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux) <br><br> Minimum api-version: 2015-06-15 - modelDefinitionApplied::String : Specifies whether the model applied to the virtual machine is the model of the virtual machine scale set or the customized model for the virtual machine. - protectionPolicy::VirtualMachineScaleSetVMProtectionPolicy + - userData::String : UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. <br><br>Minimum api-version: 2021-03-01 """ Base.@kwdef mutable struct VirtualMachineScaleSetVMProperties <: OpenAPI.APIModel latestModelApplied::Union{Nothing, Bool} = nothing @@ -58,34 +60,58 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMProperties <: OpenAPI.APIMode licenseType::Union{Nothing, String} = nothing modelDefinitionApplied::Union{Nothing, String} = nothing protectionPolicy = nothing # spec type: Union{ Nothing, VirtualMachineScaleSetVMProtectionPolicy } + userData::Union{Nothing, String} = nothing - function VirtualMachineScaleSetVMProperties(latestModelApplied, vmId, instanceView, hardwareProfile, storageProfile, additionalCapabilities, osProfile, securityProfile, networkProfile, networkProfileConfiguration, diagnosticsProfile, availabilitySet, provisioningState, licenseType, modelDefinitionApplied, protectionPolicy, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("latestModelApplied"), latestModelApplied) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("vmId"), vmId) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("instanceView"), instanceView) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("hardwareProfile"), hardwareProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("storageProfile"), storageProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("additionalCapabilities"), additionalCapabilities) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("osProfile"), osProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("securityProfile"), securityProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("networkProfile"), networkProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("networkProfileConfiguration"), networkProfileConfiguration) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("diagnosticsProfile"), diagnosticsProfile) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("availabilitySet"), availabilitySet) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("licenseType"), licenseType) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("modelDefinitionApplied"), modelDefinitionApplied) - OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("protectionPolicy"), protectionPolicy) - return new(latestModelApplied, vmId, instanceView, hardwareProfile, storageProfile, additionalCapabilities, osProfile, securityProfile, networkProfile, networkProfileConfiguration, diagnosticsProfile, availabilitySet, provisioningState, licenseType, modelDefinitionApplied, protectionPolicy, ) + function VirtualMachineScaleSetVMProperties(latestModelApplied, vmId, instanceView, hardwareProfile, storageProfile, additionalCapabilities, osProfile, securityProfile, networkProfile, networkProfileConfiguration, diagnosticsProfile, availabilitySet, provisioningState, licenseType, modelDefinitionApplied, protectionPolicy, userData, ) + o = new(latestModelApplied, vmId, instanceView, hardwareProfile, storageProfile, additionalCapabilities, osProfile, securityProfile, networkProfile, networkProfileConfiguration, diagnosticsProfile, availabilitySet, provisioningState, licenseType, modelDefinitionApplied, protectionPolicy, userData, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMProperties -const _property_types_VirtualMachineScaleSetVMProperties = Dict{Symbol,String}(Symbol("latestModelApplied")=>"Bool", Symbol("vmId")=>"String", Symbol("instanceView")=>"VirtualMachineScaleSetVMInstanceView", Symbol("hardwareProfile")=>"HardwareProfile", Symbol("storageProfile")=>"StorageProfile", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("osProfile")=>"OSProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("networkProfile")=>"NetworkProfile", Symbol("networkProfileConfiguration")=>"VirtualMachineScaleSetVMNetworkProfileConfiguration", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("availabilitySet")=>"SubResource", Symbol("provisioningState")=>"String", Symbol("licenseType")=>"String", Symbol("modelDefinitionApplied")=>"String", Symbol("protectionPolicy")=>"VirtualMachineScaleSetVMProtectionPolicy", ) +const _property_types_VirtualMachineScaleSetVMProperties = Dict{Symbol,String}(Symbol("latestModelApplied")=>"Bool", Symbol("vmId")=>"String", Symbol("instanceView")=>"VirtualMachineScaleSetVMInstanceView", Symbol("hardwareProfile")=>"HardwareProfile", Symbol("storageProfile")=>"StorageProfile", Symbol("additionalCapabilities")=>"AdditionalCapabilities", Symbol("osProfile")=>"OSProfile", Symbol("securityProfile")=>"SecurityProfile", Symbol("networkProfile")=>"NetworkProfile", Symbol("networkProfileConfiguration")=>"VirtualMachineScaleSetVMNetworkProfileConfiguration", Symbol("diagnosticsProfile")=>"DiagnosticsProfile", Symbol("availabilitySet")=>"SubResource", Symbol("provisioningState")=>"String", Symbol("licenseType")=>"String", Symbol("modelDefinitionApplied")=>"String", Symbol("protectionPolicy")=>"VirtualMachineScaleSetVMProtectionPolicy", Symbol("userData")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMProperties[name]))} -function check_required(o::VirtualMachineScaleSetVMProperties) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMProperties) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("latestModelApplied"), o.latestModelApplied) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("vmId"), o.vmId) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("instanceView"), o.instanceView) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("hardwareProfile"), o.hardwareProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("storageProfile"), o.storageProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("additionalCapabilities"), o.additionalCapabilities) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("osProfile"), o.osProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("networkProfile"), o.networkProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("networkProfileConfiguration"), o.networkProfileConfiguration) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("diagnosticsProfile"), o.diagnosticsProfile) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("availabilitySet"), o.availabilitySet) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("licenseType"), o.licenseType) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("modelDefinitionApplied"), o.modelDefinitionApplied) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("protectionPolicy"), o.protectionPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetVMProperties, Symbol("userData"), o.userData) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMProperties }, name::Symbol, val) + + + + + + + + + + + + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProtectionPolicy.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProtectionPolicy.jl index 0ac4580..38dba93 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProtectionPolicy.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMProtectionPolicy.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMProtectionPolicy <: OpenAPI.A protectFromScaleSetActions::Union{Nothing, Bool} = nothing function VirtualMachineScaleSetVMProtectionPolicy(protectFromScaleIn, protectFromScaleSetActions, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMProtectionPolicy, Symbol("protectFromScaleIn"), protectFromScaleIn) - OpenAPI.validate_property(VirtualMachineScaleSetVMProtectionPolicy, Symbol("protectFromScaleSetActions"), protectFromScaleSetActions) - return new(protectFromScaleIn, protectFromScaleSetActions, ) + o = new(protectFromScaleIn, protectFromScaleSetActions, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMProtectionPolicy const _property_types_VirtualMachineScaleSetVMProtectionPolicy = Dict{Symbol,String}(Symbol("protectFromScaleIn")=>"Bool", Symbol("protectFromScaleSetActions")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMProtectionPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMProtectionPolicy[name]))} -function check_required(o::VirtualMachineScaleSetVMProtectionPolicy) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMProtectionPolicy) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMProtectionPolicy) + OpenAPI.validate_property(VirtualMachineScaleSetVMProtectionPolicy, Symbol("protectFromScaleIn"), o.protectFromScaleIn) + OpenAPI.validate_property(VirtualMachineScaleSetVMProtectionPolicy, Symbol("protectFromScaleSetActions"), o.protectFromScaleSetActions) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMProtectionPolicy }, name::Symbol, val) + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMReimageParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMReimageParameters.jl index 0557b8f..340b2e5 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMReimageParameters.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineScaleSetVMReimageParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineScaleSetVMReimageParameters <: OpenAPI. tempDisk::Union{Nothing, Bool} = nothing function VirtualMachineScaleSetVMReimageParameters(tempDisk, ) - OpenAPI.validate_property(VirtualMachineScaleSetVMReimageParameters, Symbol("tempDisk"), tempDisk) - return new(tempDisk, ) + o = new(tempDisk, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineScaleSetVMReimageParameters const _property_types_VirtualMachineScaleSetVMReimageParameters = Dict{Symbol,String}(Symbol("tempDisk")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualMachineScaleSetVMReimageParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineScaleSetVMReimageParameters[name]))} -function check_required(o::VirtualMachineScaleSetVMReimageParameters) +function OpenAPI.check_required(o::VirtualMachineScaleSetVMReimageParameters) true end +function OpenAPI.validate_properties(o::VirtualMachineScaleSetVMReimageParameters) + OpenAPI.validate_property(VirtualMachineScaleSetVMReimageParameters, Symbol("tempDisk"), o.tempDisk) +end + function OpenAPI.validate_property(::Type{ VirtualMachineScaleSetVMReimageParameters }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSize.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSize.jl index 5cadf47..d28a366 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSize.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSize.jl @@ -15,7 +15,7 @@ Describes the properties of a VM size. ) - name::String : The name of the virtual machine size. - - numberOfCores::Int64 : The number of cores supported by the virtual machine size. + - numberOfCores::Int64 : The number of cores supported by the virtual machine size. For Constrained vCPU capable VM sizes, this number represents the total vCPUs of quota that the VM uses. For accurate vCPU count, please refer to https://docs.microsoft.com/azure/virtual-machines/constrained-vcpu or https://docs.microsoft.com/rest/api/compute/resourceskus/list - osDiskSizeInMB::Int64 : The OS disk size, in MB, allowed by the virtual machine size. - resourceDiskSizeInMB::Int64 : The resource disk size, in MB, allowed by the virtual machine size. - memoryInMB::Int64 : The amount of memory, in MB, supported by the virtual machine size. @@ -30,36 +30,47 @@ Base.@kwdef mutable struct VirtualMachineSize <: OpenAPI.APIModel maxDataDiskCount::Union{Nothing, Int64} = nothing function VirtualMachineSize(name, numberOfCores, osDiskSizeInMB, resourceDiskSizeInMB, memoryInMB, maxDataDiskCount, ) - OpenAPI.validate_property(VirtualMachineSize, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineSize, Symbol("numberOfCores"), numberOfCores) - OpenAPI.validate_property(VirtualMachineSize, Symbol("osDiskSizeInMB"), osDiskSizeInMB) - OpenAPI.validate_property(VirtualMachineSize, Symbol("resourceDiskSizeInMB"), resourceDiskSizeInMB) - OpenAPI.validate_property(VirtualMachineSize, Symbol("memoryInMB"), memoryInMB) - OpenAPI.validate_property(VirtualMachineSize, Symbol("maxDataDiskCount"), maxDataDiskCount) - return new(name, numberOfCores, osDiskSizeInMB, resourceDiskSizeInMB, memoryInMB, maxDataDiskCount, ) + o = new(name, numberOfCores, osDiskSizeInMB, resourceDiskSizeInMB, memoryInMB, maxDataDiskCount, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineSize const _property_types_VirtualMachineSize = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("numberOfCores")=>"Int64", Symbol("osDiskSizeInMB")=>"Int64", Symbol("resourceDiskSizeInMB")=>"Int64", Symbol("memoryInMB")=>"Int64", Symbol("maxDataDiskCount")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualMachineSize }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineSize[name]))} -function check_required(o::VirtualMachineSize) +function OpenAPI.check_required(o::VirtualMachineSize) true end +function OpenAPI.validate_properties(o::VirtualMachineSize) + OpenAPI.validate_property(VirtualMachineSize, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineSize, Symbol("numberOfCores"), o.numberOfCores) + OpenAPI.validate_property(VirtualMachineSize, Symbol("osDiskSizeInMB"), o.osDiskSizeInMB) + OpenAPI.validate_property(VirtualMachineSize, Symbol("resourceDiskSizeInMB"), o.resourceDiskSizeInMB) + OpenAPI.validate_property(VirtualMachineSize, Symbol("memoryInMB"), o.memoryInMB) + OpenAPI.validate_property(VirtualMachineSize, Symbol("maxDataDiskCount"), o.maxDataDiskCount) +end + function OpenAPI.validate_property(::Type{ VirtualMachineSize }, name::Symbol, val) + + if name === Symbol("numberOfCores") OpenAPI.validate_param(name, "VirtualMachineSize", :format, val, "int32") end + if name === Symbol("osDiskSizeInMB") OpenAPI.validate_param(name, "VirtualMachineSize", :format, val, "int32") end + if name === Symbol("resourceDiskSizeInMB") OpenAPI.validate_param(name, "VirtualMachineSize", :format, val, "int32") end + if name === Symbol("memoryInMB") OpenAPI.validate_param(name, "VirtualMachineSize", :format, val, "int32") end + if name === Symbol("maxDataDiskCount") OpenAPI.validate_param(name, "VirtualMachineSize", :format, val, "int32") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSizeListResult.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSizeListResult.jl index 99f84a7..4920059 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSizeListResult.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSizeListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualMachineSizeListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineSize} } function VirtualMachineSizeListResult(value, ) - OpenAPI.validate_property(VirtualMachineSizeListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineSizeListResult const _property_types_VirtualMachineSizeListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineSize}", ) OpenAPI.property_type(::Type{ VirtualMachineSizeListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineSizeListResult[name]))} -function check_required(o::VirtualMachineSizeListResult) +function OpenAPI.check_required(o::VirtualMachineSizeListResult) true end +function OpenAPI.validate_properties(o::VirtualMachineSizeListResult) + OpenAPI.validate_property(VirtualMachineSizeListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ VirtualMachineSizeListResult }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSoftwarePatchProperties.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSoftwarePatchProperties.jl index afce163..f133cff 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSoftwarePatchProperties.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineSoftwarePatchProperties.jl @@ -9,7 +9,7 @@ Describes the properties of a Virtual Machine software patch. patchId=nothing, name=nothing, version=nothing, - kbid=nothing, + kbId=nothing, classifications=nothing, rebootBehavior=nothing, activityId=nothing, @@ -21,19 +21,19 @@ Describes the properties of a Virtual Machine software patch. - patchId::String : A unique identifier for the patch. - name::String : The friendly name of the patch. - version::String : The version number of the patch. This property applies only to Linux patches. - - kbid::String : The KBID of the patch. Only applies to Windows patches. + - kbId::String : The KBID of the patch. Only applies to Windows patches. - classifications::Vector{String} : The classification(s) of the patch as provided by the patch publisher. - rebootBehavior::String : Describes the reboot requirements of the patch. - activityId::String : The activity ID of the operation that produced this result. It is used to correlate across CRP and extension logs. - publishedDate::ZonedDateTime : The UTC timestamp when the repository published this patch. - lastModifiedDateTime::ZonedDateTime : The UTC timestamp of the last update to this patch record. - - assessmentState::String : Describes the outcome of an install operation for a given patch. + - assessmentState::String : Describes the availability of a given patch. """ Base.@kwdef mutable struct VirtualMachineSoftwarePatchProperties <: OpenAPI.APIModel patchId::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing version::Union{Nothing, String} = nothing - kbid::Union{Nothing, String} = nothing + kbId::Union{Nothing, String} = nothing classifications::Union{Nothing, Vector{String}} = nothing rebootBehavior::Union{Nothing, String} = nothing activityId::Union{Nothing, String} = nothing @@ -41,39 +41,56 @@ Base.@kwdef mutable struct VirtualMachineSoftwarePatchProperties <: OpenAPI.APIM lastModifiedDateTime::Union{Nothing, ZonedDateTime} = nothing assessmentState::Union{Nothing, String} = nothing - function VirtualMachineSoftwarePatchProperties(patchId, name, version, kbid, classifications, rebootBehavior, activityId, publishedDate, lastModifiedDateTime, assessmentState, ) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("patchId"), patchId) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("name"), name) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("version"), version) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("kbid"), kbid) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("classifications"), classifications) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("rebootBehavior"), rebootBehavior) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("activityId"), activityId) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("publishedDate"), publishedDate) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("lastModifiedDateTime"), lastModifiedDateTime) - OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("assessmentState"), assessmentState) - return new(patchId, name, version, kbid, classifications, rebootBehavior, activityId, publishedDate, lastModifiedDateTime, assessmentState, ) + function VirtualMachineSoftwarePatchProperties(patchId, name, version, kbId, classifications, rebootBehavior, activityId, publishedDate, lastModifiedDateTime, assessmentState, ) + o = new(patchId, name, version, kbId, classifications, rebootBehavior, activityId, publishedDate, lastModifiedDateTime, assessmentState, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineSoftwarePatchProperties -const _property_types_VirtualMachineSoftwarePatchProperties = Dict{Symbol,String}(Symbol("patchId")=>"String", Symbol("name")=>"String", Symbol("version")=>"String", Symbol("kbid")=>"String", Symbol("classifications")=>"Vector{String}", Symbol("rebootBehavior")=>"String", Symbol("activityId")=>"String", Symbol("publishedDate")=>"ZonedDateTime", Symbol("lastModifiedDateTime")=>"ZonedDateTime", Symbol("assessmentState")=>"String", ) +const _property_types_VirtualMachineSoftwarePatchProperties = Dict{Symbol,String}(Symbol("patchId")=>"String", Symbol("name")=>"String", Symbol("version")=>"String", Symbol("kbId")=>"String", Symbol("classifications")=>"Vector{String}", Symbol("rebootBehavior")=>"String", Symbol("activityId")=>"String", Symbol("publishedDate")=>"ZonedDateTime", Symbol("lastModifiedDateTime")=>"ZonedDateTime", Symbol("assessmentState")=>"String", ) OpenAPI.property_type(::Type{ VirtualMachineSoftwarePatchProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineSoftwarePatchProperties[name]))} -function check_required(o::VirtualMachineSoftwarePatchProperties) +function OpenAPI.check_required(o::VirtualMachineSoftwarePatchProperties) true end +function OpenAPI.validate_properties(o::VirtualMachineSoftwarePatchProperties) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("patchId"), o.patchId) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("version"), o.version) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("kbId"), o.kbId) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("classifications"), o.classifications) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("rebootBehavior"), o.rebootBehavior) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("activityId"), o.activityId) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("publishedDate"), o.publishedDate) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("lastModifiedDateTime"), o.lastModifiedDateTime) + OpenAPI.validate_property(VirtualMachineSoftwarePatchProperties, Symbol("assessmentState"), o.assessmentState) +end + function OpenAPI.validate_property(::Type{ VirtualMachineSoftwarePatchProperties }, name::Symbol, val) + + + + + + if name === Symbol("rebootBehavior") - OpenAPI.validate_param(name, "VirtualMachineSoftwarePatchProperties", :enum, val, ["NeverReboots", "AlwaysRequiresReboot", "CanRequestReboot"]) + OpenAPI.validate_param(name, "VirtualMachineSoftwarePatchProperties", :enum, val, ["Unknown", "NeverReboots", "AlwaysRequiresReboot", "CanRequestReboot"]) end + + + if name === Symbol("publishedDate") OpenAPI.validate_param(name, "VirtualMachineSoftwarePatchProperties", :format, val, "date-time") end + if name === Symbol("lastModifiedDateTime") OpenAPI.validate_param(name, "VirtualMachineSoftwarePatchProperties", :format, val, "date-time") end + if name === Symbol("assessmentState") - OpenAPI.validate_param(name, "VirtualMachineSoftwarePatchProperties", :enum, val, ["Installed", "Failed", "Excluded", "NotSelected", "Pending", "Available"]) + OpenAPI.validate_param(name, "VirtualMachineSoftwarePatchProperties", :enum, val, ["Unknown", "Available"]) end + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineStatusCodeCount.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineStatusCodeCount.jl index 9f3a9bb..8798c1a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineStatusCodeCount.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineStatusCodeCount.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct VirtualMachineStatusCodeCount <: OpenAPI.APIModel count::Union{Nothing, Int64} = nothing function VirtualMachineStatusCodeCount(code, count, ) - OpenAPI.validate_property(VirtualMachineStatusCodeCount, Symbol("code"), code) - OpenAPI.validate_property(VirtualMachineStatusCodeCount, Symbol("count"), count) - return new(code, count, ) + o = new(code, count, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineStatusCodeCount const _property_types_VirtualMachineStatusCodeCount = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("count")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualMachineStatusCodeCount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineStatusCodeCount[name]))} -function check_required(o::VirtualMachineStatusCodeCount) +function OpenAPI.check_required(o::VirtualMachineStatusCodeCount) true end +function OpenAPI.validate_properties(o::VirtualMachineStatusCodeCount) + OpenAPI.validate_property(VirtualMachineStatusCodeCount, Symbol("code"), o.code) + OpenAPI.validate_property(VirtualMachineStatusCodeCount, Symbol("count"), o.count) +end + function OpenAPI.validate_property(::Type{ VirtualMachineStatusCodeCount }, name::Symbol, val) + + if name === Symbol("count") OpenAPI.validate_param(name, "VirtualMachineStatusCodeCount", :format, val, "int32") end diff --git a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineUpdate.jl b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineUpdate.jl index 19b5b08..f1abb95 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineUpdate.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_VirtualMachineUpdate.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct VirtualMachineUpdate <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualMachineUpdate(plan, properties, identity, zones, tags, ) - OpenAPI.validate_property(VirtualMachineUpdate, Symbol("plan"), plan) - OpenAPI.validate_property(VirtualMachineUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualMachineUpdate, Symbol("identity"), identity) - OpenAPI.validate_property(VirtualMachineUpdate, Symbol("zones"), zones) - OpenAPI.validate_property(VirtualMachineUpdate, Symbol("tags"), tags) - return new(plan, properties, identity, zones, tags, ) + o = new(plan, properties, identity, zones, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualMachineUpdate const _property_types_VirtualMachineUpdate = Dict{Symbol,String}(Symbol("plan")=>"Plan", Symbol("properties")=>"VirtualMachineProperties", Symbol("identity")=>"VirtualMachineIdentity", Symbol("zones")=>"Vector{String}", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualMachineUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineUpdate[name]))} -function check_required(o::VirtualMachineUpdate) +function OpenAPI.check_required(o::VirtualMachineUpdate) true end +function OpenAPI.validate_properties(o::VirtualMachineUpdate) + OpenAPI.validate_property(VirtualMachineUpdate, Symbol("plan"), o.plan) + OpenAPI.validate_property(VirtualMachineUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineUpdate, Symbol("identity"), o.identity) + OpenAPI.validate_property(VirtualMachineUpdate, Symbol("zones"), o.zones) + OpenAPI.validate_property(VirtualMachineUpdate, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualMachineUpdate }, name::Symbol, val) + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_WinRMConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_WinRMConfiguration.jl index 64d2f65..f7476c0 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_WinRMConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_WinRMConfiguration.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct WinRMConfiguration <: OpenAPI.APIModel listeners::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{WinRMListener} } function WinRMConfiguration(listeners, ) - OpenAPI.validate_property(WinRMConfiguration, Symbol("listeners"), listeners) - return new(listeners, ) + o = new(listeners, ) + OpenAPI.validate_properties(o) + return o end end # type WinRMConfiguration const _property_types_WinRMConfiguration = Dict{Symbol,String}(Symbol("listeners")=>"Vector{WinRMListener}", ) OpenAPI.property_type(::Type{ WinRMConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WinRMConfiguration[name]))} -function check_required(o::WinRMConfiguration) +function OpenAPI.check_required(o::WinRMConfiguration) true end +function OpenAPI.validate_properties(o::WinRMConfiguration) + OpenAPI.validate_property(WinRMConfiguration, Symbol("listeners"), o.listeners) +end + function OpenAPI.validate_property(::Type{ WinRMConfiguration }, name::Symbol, val) + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_WinRMListener.jl b/src/Compute/ComputeManagementClient/src/models/model_WinRMListener.jl index 1d47a99..1fd9d07 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_WinRMListener.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_WinRMListener.jl @@ -11,28 +11,36 @@ Describes Protocol and thumbprint of Windows Remote Management listener ) - protocol::String : Specifies the protocol of WinRM listener. <br><br> Possible values are: <br>**http** <br><br> **https** - - certificateUrl::String : This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} + - certificateUrl::String : This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8: <br><br> {<br> \"data\":\"<Base64-encoded-certificate>\",<br> \"dataType\":\"pfx\",<br> \"password\":\"<pfx-file-password>\"<br>} <br> To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). """ Base.@kwdef mutable struct WinRMListener <: OpenAPI.APIModel protocol::Union{Nothing, String} = nothing certificateUrl::Union{Nothing, String} = nothing function WinRMListener(protocol, certificateUrl, ) - OpenAPI.validate_property(WinRMListener, Symbol("protocol"), protocol) - OpenAPI.validate_property(WinRMListener, Symbol("certificateUrl"), certificateUrl) - return new(protocol, certificateUrl, ) + o = new(protocol, certificateUrl, ) + OpenAPI.validate_properties(o) + return o end end # type WinRMListener const _property_types_WinRMListener = Dict{Symbol,String}(Symbol("protocol")=>"String", Symbol("certificateUrl")=>"String", ) OpenAPI.property_type(::Type{ WinRMListener }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WinRMListener[name]))} -function check_required(o::WinRMListener) +function OpenAPI.check_required(o::WinRMListener) true end +function OpenAPI.validate_properties(o::WinRMListener) + OpenAPI.validate_property(WinRMListener, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(WinRMListener, Symbol("certificateUrl"), o.certificateUrl) +end + function OpenAPI.validate_property(::Type{ WinRMListener }, name::Symbol, val) + if name === Symbol("protocol") OpenAPI.validate_param(name, "WinRMListener", :enum, val, ["Http", "Https"]) end + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_WindowsConfiguration.jl b/src/Compute/ComputeManagementClient/src/models/model_WindowsConfiguration.jl index 8148a0b..414439a 100644 --- a/src/Compute/ComputeManagementClient/src/models/model_WindowsConfiguration.jl +++ b/src/Compute/ComputeManagementClient/src/models/model_WindowsConfiguration.jl @@ -16,7 +16,7 @@ Specifies Windows operating system settings on the virtual machine. - provisionVMAgent::Bool : Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. - enableAutomaticUpdates::Bool : Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. <br><br> For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. - - timeZone::String : Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/en-us/dotnet/api/system.timezoneinfo.getsystemtimezones). + - timeZone::String : Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". <br><br> Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). - additionalUnattendContent::Vector{AdditionalUnattendContent} : Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. - patchSettings::PatchSettings - winRM::WinRMConfiguration @@ -30,22 +30,33 @@ Base.@kwdef mutable struct WindowsConfiguration <: OpenAPI.APIModel winRM = nothing # spec type: Union{ Nothing, WinRMConfiguration } function WindowsConfiguration(provisionVMAgent, enableAutomaticUpdates, timeZone, additionalUnattendContent, patchSettings, winRM, ) - OpenAPI.validate_property(WindowsConfiguration, Symbol("provisionVMAgent"), provisionVMAgent) - OpenAPI.validate_property(WindowsConfiguration, Symbol("enableAutomaticUpdates"), enableAutomaticUpdates) - OpenAPI.validate_property(WindowsConfiguration, Symbol("timeZone"), timeZone) - OpenAPI.validate_property(WindowsConfiguration, Symbol("additionalUnattendContent"), additionalUnattendContent) - OpenAPI.validate_property(WindowsConfiguration, Symbol("patchSettings"), patchSettings) - OpenAPI.validate_property(WindowsConfiguration, Symbol("winRM"), winRM) - return new(provisionVMAgent, enableAutomaticUpdates, timeZone, additionalUnattendContent, patchSettings, winRM, ) + o = new(provisionVMAgent, enableAutomaticUpdates, timeZone, additionalUnattendContent, patchSettings, winRM, ) + OpenAPI.validate_properties(o) + return o end end # type WindowsConfiguration const _property_types_WindowsConfiguration = Dict{Symbol,String}(Symbol("provisionVMAgent")=>"Bool", Symbol("enableAutomaticUpdates")=>"Bool", Symbol("timeZone")=>"String", Symbol("additionalUnattendContent")=>"Vector{AdditionalUnattendContent}", Symbol("patchSettings")=>"PatchSettings", Symbol("winRM")=>"WinRMConfiguration", ) OpenAPI.property_type(::Type{ WindowsConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WindowsConfiguration[name]))} -function check_required(o::WindowsConfiguration) +function OpenAPI.check_required(o::WindowsConfiguration) true end +function OpenAPI.validate_properties(o::WindowsConfiguration) + OpenAPI.validate_property(WindowsConfiguration, Symbol("provisionVMAgent"), o.provisionVMAgent) + OpenAPI.validate_property(WindowsConfiguration, Symbol("enableAutomaticUpdates"), o.enableAutomaticUpdates) + OpenAPI.validate_property(WindowsConfiguration, Symbol("timeZone"), o.timeZone) + OpenAPI.validate_property(WindowsConfiguration, Symbol("additionalUnattendContent"), o.additionalUnattendContent) + OpenAPI.validate_property(WindowsConfiguration, Symbol("patchSettings"), o.patchSettings) + OpenAPI.validate_property(WindowsConfiguration, Symbol("winRM"), o.winRM) +end + function OpenAPI.validate_property(::Type{ WindowsConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ComputeManagementClient/src/models/model_WindowsParameters.jl b/src/Compute/ComputeManagementClient/src/models/model_WindowsParameters.jl new file mode 100644 index 0000000..89be177 --- /dev/null +++ b/src/Compute/ComputeManagementClient/src/models/model_WindowsParameters.jl @@ -0,0 +1,64 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""WindowsParameters +Input for InstallPatches on a Windows VM, as directly received by the API + + WindowsParameters(; + classificationsToInclude=nothing, + kbNumbersToInclude=nothing, + kbNumbersToExclude=nothing, + excludeKbsRequiringReboot=nothing, + maxPatchPublishDate=nothing, + ) + + - classificationsToInclude::Vector{String} : The update classifications to select when installing patches for Windows. + - kbNumbersToInclude::Vector{String} : Kbs to include in the patch operation + - kbNumbersToExclude::Vector{String} : Kbs to exclude in the patch operation + - excludeKbsRequiringReboot::Bool : Filters out Kbs that don't have an InstallationRebootBehavior of 'NeverReboots' when this is set to true. + - maxPatchPublishDate::ZonedDateTime : This is used to install patches that were published on or before this given max published date. +""" +Base.@kwdef mutable struct WindowsParameters <: OpenAPI.APIModel + classificationsToInclude::Union{Nothing, Vector{String}} = nothing + kbNumbersToInclude::Union{Nothing, Vector{String}} = nothing + kbNumbersToExclude::Union{Nothing, Vector{String}} = nothing + excludeKbsRequiringReboot::Union{Nothing, Bool} = nothing + maxPatchPublishDate::Union{Nothing, ZonedDateTime} = nothing + + function WindowsParameters(classificationsToInclude, kbNumbersToInclude, kbNumbersToExclude, excludeKbsRequiringReboot, maxPatchPublishDate, ) + o = new(classificationsToInclude, kbNumbersToInclude, kbNumbersToExclude, excludeKbsRequiringReboot, maxPatchPublishDate, ) + OpenAPI.validate_properties(o) + return o + end +end # type WindowsParameters + +const _property_types_WindowsParameters = Dict{Symbol,String}(Symbol("classificationsToInclude")=>"Vector{String}", Symbol("kbNumbersToInclude")=>"Vector{String}", Symbol("kbNumbersToExclude")=>"Vector{String}", Symbol("excludeKbsRequiringReboot")=>"Bool", Symbol("maxPatchPublishDate")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ WindowsParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WindowsParameters[name]))} + +function OpenAPI.check_required(o::WindowsParameters) + true +end + +function OpenAPI.validate_properties(o::WindowsParameters) + OpenAPI.validate_property(WindowsParameters, Symbol("classificationsToInclude"), o.classificationsToInclude) + OpenAPI.validate_property(WindowsParameters, Symbol("kbNumbersToInclude"), o.kbNumbersToInclude) + OpenAPI.validate_property(WindowsParameters, Symbol("kbNumbersToExclude"), o.kbNumbersToExclude) + OpenAPI.validate_property(WindowsParameters, Symbol("excludeKbsRequiringReboot"), o.excludeKbsRequiringReboot) + OpenAPI.validate_property(WindowsParameters, Symbol("maxPatchPublishDate"), o.maxPatchPublishDate) +end + +function OpenAPI.validate_property(::Type{ WindowsParameters }, name::Symbol, val) + + if name === Symbol("classificationsToInclude") + OpenAPI.validate_param(name, "WindowsParameters", :enum, val, ["Critical", "Security", "UpdateRollUp", "FeaturePack", "ServicePack", "Definition", "Tools", "Updates"]) + end + + + + + + if name === Symbol("maxPatchPublishDate") + OpenAPI.validate_param(name, "WindowsParameters", :format, val, "date-time") + end +end diff --git a/src/Compute/ContainerServiceClient/.openapi-generator/VERSION b/src/Compute/ContainerServiceClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Compute/ContainerServiceClient/.openapi-generator/VERSION +++ b/src/Compute/ContainerServiceClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Compute/ContainerServiceClient/README.md b/src/Compute/ContainerServiceClient/README.md index 4838b9f..c7d0721 100644 --- a/src/Compute/ContainerServiceClient/README.md +++ b/src/Compute/ContainerServiceClient/README.md @@ -6,6 +6,7 @@ The Container Service Client. This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 2017-01-31 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -46,9 +47,12 @@ Class | Method - [Resource](docs/Resource.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Compute/ContainerServiceClient/docs/ContainerServiceApi.md b/src/Compute/ContainerServiceClient/docs/ContainerServiceApi.md index af417d4..d84eb0f 100644 --- a/src/Compute/ContainerServiceClient/docs/ContainerServiceApi.md +++ b/src/Compute/ContainerServiceClient/docs/ContainerServiceApi.md @@ -22,10 +22,10 @@ Deletes the specified container service in the specified subscription and resour Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ContainerServiceApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**container_service_name** | **String**| The name of the container service in the specified subscription and resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**container_service_name** | **String** | The name of the container service in the specified subscription and resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -55,10 +55,10 @@ Gets the properties of the specified container service in the specified subscrip Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ContainerServiceApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**container_service_name** | **String**| The name of the container service in the specified subscription and resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**container_service_name** | **String** | The name of the container service in the specified subscription and resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -88,9 +88,9 @@ Gets a list of container services in the specified subscription and resource gro Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ContainerServiceApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Compute/ContainerServiceClient/docs/ContainerServicesApi.md b/src/Compute/ContainerServiceClient/docs/ContainerServicesApi.md index e1033f7..c511db6 100644 --- a/src/Compute/ContainerServiceClient/docs/ContainerServicesApi.md +++ b/src/Compute/ContainerServiceClient/docs/ContainerServicesApi.md @@ -21,11 +21,11 @@ Creates or updates a container service with the specified configuration of orche Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ContainerServicesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**container_service_name** | **String**| The name of the container service in the specified subscription and resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ContainerService**](ContainerService.md)| Parameters supplied to the Create or Update a Container Service operation. | +**resource_group_name** | **String** | The name of the resource group. | +**container_service_name** | **String** | The name of the container service in the specified subscription and resource group. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ContainerService**](ContainerService.md) | Parameters supplied to the Create or Update a Container Service operation. | ### Return type @@ -55,8 +55,8 @@ Gets a list of container services in the specified subscription. The operation r Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ContainerServicesApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Compute/ContainerServiceClient/src/apis/api_ContainerServiceApi.jl b/src/Compute/ContainerServiceClient/src/apis/api_ContainerServiceApi.jl index 68b0474..ad379ec 100644 --- a/src/Compute/ContainerServiceClient/src/apis/api_ContainerServiceApi.jl +++ b/src/Compute/ContainerServiceClient/src/apis/api_ContainerServiceApi.jl @@ -21,7 +21,7 @@ function _oacinternal_container_services_delete(_api::ContainerServiceApi, resou OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "containerServiceName", container_service_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -58,7 +58,7 @@ function _oacinternal_container_services_get(_api::ContainerServiceApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "containerServiceName", container_service_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -94,7 +94,7 @@ function _oacinternal_container_services_list_by_resource_group(_api::ContainerS _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_container_services_list_by_resource_group_ContainerServiceApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Compute/ContainerServiceClient/src/apis/api_ContainerServicesApi.jl b/src/Compute/ContainerServiceClient/src/apis/api_ContainerServicesApi.jl index 0698754..03f1b24 100644 --- a/src/Compute/ContainerServiceClient/src/apis/api_ContainerServicesApi.jl +++ b/src/Compute/ContainerServiceClient/src/apis/api_ContainerServicesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_container_services_create_or_update(_api::ContainerService OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "containerServiceName", container_service_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -58,7 +58,7 @@ const _returntypes_container_services_list_ContainerServicesApi = Dict{Regex,Typ function _oacinternal_container_services_list(_api::ContainerServicesApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_container_services_list_ContainerServicesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.ContainerService/containerServices", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerService.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerService.jl index 8af167d..35ff4c5 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerService.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerService.jl @@ -30,23 +30,34 @@ Base.@kwdef mutable struct ContainerService <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ContainerService(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(ContainerService, Symbol("properties"), properties) - OpenAPI.validate_property(ContainerService, Symbol("id"), id) - OpenAPI.validate_property(ContainerService, Symbol("name"), name) - OpenAPI.validate_property(ContainerService, Symbol("type"), type) - OpenAPI.validate_property(ContainerService, Symbol("location"), location) - OpenAPI.validate_property(ContainerService, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerService const _property_types_ContainerService = Dict{Symbol,String}(Symbol("properties")=>"ContainerServiceProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ContainerService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerService[name]))} -function check_required(o::ContainerService) +function OpenAPI.check_required(o::ContainerService) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerService) + OpenAPI.validate_property(ContainerService, Symbol("properties"), o.properties) + OpenAPI.validate_property(ContainerService, Symbol("id"), o.id) + OpenAPI.validate_property(ContainerService, Symbol("name"), o.name) + OpenAPI.validate_property(ContainerService, Symbol("type"), o.type) + OpenAPI.validate_property(ContainerService, Symbol("location"), o.location) + OpenAPI.validate_property(ContainerService, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ContainerService }, name::Symbol, val) + + + + + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceAgentPoolProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceAgentPoolProfile.jl index 640d6f5..2c072e2 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceAgentPoolProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceAgentPoolProfile.jl @@ -27,19 +27,16 @@ Base.@kwdef mutable struct ContainerServiceAgentPoolProfile <: OpenAPI.APIModel fqdn::Union{Nothing, String} = nothing function ContainerServiceAgentPoolProfile(name, count, vmSize, dnsPrefix, fqdn, ) - OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("name"), name) - OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("count"), count) - OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("vmSize"), vmSize) - OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("dnsPrefix"), dnsPrefix) - OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("fqdn"), fqdn) - return new(name, count, vmSize, dnsPrefix, fqdn, ) + o = new(name, count, vmSize, dnsPrefix, fqdn, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceAgentPoolProfile const _property_types_ContainerServiceAgentPoolProfile = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("count")=>"Int64", Symbol("vmSize")=>"String", Symbol("dnsPrefix")=>"String", Symbol("fqdn")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceAgentPoolProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceAgentPoolProfile[name]))} -function check_required(o::ContainerServiceAgentPoolProfile) +function OpenAPI.check_required(o::ContainerServiceAgentPoolProfile) o.name === nothing && (return false) o.count === nothing && (return false) o.vmSize === nothing && (return false) @@ -47,7 +44,17 @@ function check_required(o::ContainerServiceAgentPoolProfile) true end +function OpenAPI.validate_properties(o::ContainerServiceAgentPoolProfile) + OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("name"), o.name) + OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("count"), o.count) + OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("vmSize"), o.vmSize) + OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("dnsPrefix"), o.dnsPrefix) + OpenAPI.validate_property(ContainerServiceAgentPoolProfile, Symbol("fqdn"), o.fqdn) +end + function OpenAPI.validate_property(::Type{ ContainerServiceAgentPoolProfile }, name::Symbol, val) + + if name === Symbol("count") OpenAPI.validate_param(name, "ContainerServiceAgentPoolProfile", :format, val, "int32") end @@ -55,7 +62,11 @@ function OpenAPI.validate_property(::Type{ ContainerServiceAgentPoolProfile }, n OpenAPI.validate_param(name, "ContainerServiceAgentPoolProfile", :maximum, val, 100, false) OpenAPI.validate_param(name, "ContainerServiceAgentPoolProfile", :minimum, val, 1, false) end + if name === Symbol("vmSize") OpenAPI.validate_param(name, "ContainerServiceAgentPoolProfile", :enum, val, ["Standard_A0", "Standard_A1", "Standard_A2", "Standard_A3", "Standard_A4", "Standard_A5", "Standard_A6", "Standard_A7", "Standard_A8", "Standard_A9", "Standard_A10", "Standard_A11", "Standard_D1", "Standard_D2", "Standard_D3", "Standard_D4", "Standard_D11", "Standard_D12", "Standard_D13", "Standard_D14", "Standard_D1_v2", "Standard_D2_v2", "Standard_D3_v2", "Standard_D4_v2", "Standard_D5_v2", "Standard_D11_v2", "Standard_D12_v2", "Standard_D13_v2", "Standard_D14_v2", "Standard_G1", "Standard_G2", "Standard_G3", "Standard_G4", "Standard_G5", "Standard_DS1", "Standard_DS2", "Standard_DS3", "Standard_DS4", "Standard_DS11", "Standard_DS12", "Standard_DS13", "Standard_DS14", "Standard_GS1", "Standard_GS2", "Standard_GS3", "Standard_GS4", "Standard_GS5"]) end + + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceCustomProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceCustomProfile.jl index c4e5b00..ba5c2dc 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceCustomProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceCustomProfile.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct ContainerServiceCustomProfile <: OpenAPI.APIModel orchestrator::Union{Nothing, String} = nothing function ContainerServiceCustomProfile(orchestrator, ) - OpenAPI.validate_property(ContainerServiceCustomProfile, Symbol("orchestrator"), orchestrator) - return new(orchestrator, ) + o = new(orchestrator, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceCustomProfile const _property_types_ContainerServiceCustomProfile = Dict{Symbol,String}(Symbol("orchestrator")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceCustomProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceCustomProfile[name]))} -function check_required(o::ContainerServiceCustomProfile) +function OpenAPI.check_required(o::ContainerServiceCustomProfile) o.orchestrator === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceCustomProfile) + OpenAPI.validate_property(ContainerServiceCustomProfile, Symbol("orchestrator"), o.orchestrator) +end + function OpenAPI.validate_property(::Type{ ContainerServiceCustomProfile }, name::Symbol, val) + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceDiagnosticsProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceDiagnosticsProfile.jl index 2d1e85c..1f3195e 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceDiagnosticsProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceDiagnosticsProfile.jl @@ -14,18 +14,24 @@ Base.@kwdef mutable struct ContainerServiceDiagnosticsProfile <: OpenAPI.APIMode vmDiagnostics = nothing # spec type: Union{ Nothing, ContainerServiceVMDiagnostics } function ContainerServiceDiagnosticsProfile(vmDiagnostics, ) - OpenAPI.validate_property(ContainerServiceDiagnosticsProfile, Symbol("vmDiagnostics"), vmDiagnostics) - return new(vmDiagnostics, ) + o = new(vmDiagnostics, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceDiagnosticsProfile const _property_types_ContainerServiceDiagnosticsProfile = Dict{Symbol,String}(Symbol("vmDiagnostics")=>"ContainerServiceVMDiagnostics", ) OpenAPI.property_type(::Type{ ContainerServiceDiagnosticsProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceDiagnosticsProfile[name]))} -function check_required(o::ContainerServiceDiagnosticsProfile) +function OpenAPI.check_required(o::ContainerServiceDiagnosticsProfile) o.vmDiagnostics === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceDiagnosticsProfile) + OpenAPI.validate_property(ContainerServiceDiagnosticsProfile, Symbol("vmDiagnostics"), o.vmDiagnostics) +end + function OpenAPI.validate_property(::Type{ ContainerServiceDiagnosticsProfile }, name::Symbol, val) + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceLinuxProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceLinuxProfile.jl index fa1b58a..71cddad 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceLinuxProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceLinuxProfile.jl @@ -18,23 +18,30 @@ Base.@kwdef mutable struct ContainerServiceLinuxProfile <: OpenAPI.APIModel ssh = nothing # spec type: Union{ Nothing, ContainerServiceSshConfiguration } function ContainerServiceLinuxProfile(adminUsername, ssh, ) - OpenAPI.validate_property(ContainerServiceLinuxProfile, Symbol("adminUsername"), adminUsername) - OpenAPI.validate_property(ContainerServiceLinuxProfile, Symbol("ssh"), ssh) - return new(adminUsername, ssh, ) + o = new(adminUsername, ssh, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceLinuxProfile const _property_types_ContainerServiceLinuxProfile = Dict{Symbol,String}(Symbol("adminUsername")=>"String", Symbol("ssh")=>"ContainerServiceSshConfiguration", ) OpenAPI.property_type(::Type{ ContainerServiceLinuxProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceLinuxProfile[name]))} -function check_required(o::ContainerServiceLinuxProfile) +function OpenAPI.check_required(o::ContainerServiceLinuxProfile) o.adminUsername === nothing && (return false) o.ssh === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceLinuxProfile) + OpenAPI.validate_property(ContainerServiceLinuxProfile, Symbol("adminUsername"), o.adminUsername) + OpenAPI.validate_property(ContainerServiceLinuxProfile, Symbol("ssh"), o.ssh) +end + function OpenAPI.validate_property(::Type{ ContainerServiceLinuxProfile }, name::Symbol, val) + if name === Symbol("adminUsername") OpenAPI.validate_param(name, "ContainerServiceLinuxProfile", :pattern, val, r"^[a-z][a-z0-9_-]*$") end + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceListResult.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceListResult.jl index 536b744..c870fba 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceListResult.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ContainerServiceListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ContainerServiceListResult(value, nextLink, ) - OpenAPI.validate_property(ContainerServiceListResult, Symbol("value"), value) - OpenAPI.validate_property(ContainerServiceListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceListResult const _property_types_ContainerServiceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ContainerService}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceListResult[name]))} -function check_required(o::ContainerServiceListResult) +function OpenAPI.check_required(o::ContainerServiceListResult) true end +function OpenAPI.validate_properties(o::ContainerServiceListResult) + OpenAPI.validate_property(ContainerServiceListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ContainerServiceListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ContainerServiceListResult }, name::Symbol, val) + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceMasterProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceMasterProfile.jl index e1dd8d9..5c858ae 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceMasterProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceMasterProfile.jl @@ -21,23 +21,32 @@ Base.@kwdef mutable struct ContainerServiceMasterProfile <: OpenAPI.APIModel fqdn::Union{Nothing, String} = nothing function ContainerServiceMasterProfile(count, dnsPrefix, fqdn, ) - OpenAPI.validate_property(ContainerServiceMasterProfile, Symbol("count"), count) - OpenAPI.validate_property(ContainerServiceMasterProfile, Symbol("dnsPrefix"), dnsPrefix) - OpenAPI.validate_property(ContainerServiceMasterProfile, Symbol("fqdn"), fqdn) - return new(count, dnsPrefix, fqdn, ) + o = new(count, dnsPrefix, fqdn, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceMasterProfile const _property_types_ContainerServiceMasterProfile = Dict{Symbol,String}(Symbol("count")=>"Int64", Symbol("dnsPrefix")=>"String", Symbol("fqdn")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceMasterProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceMasterProfile[name]))} -function check_required(o::ContainerServiceMasterProfile) +function OpenAPI.check_required(o::ContainerServiceMasterProfile) o.dnsPrefix === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceMasterProfile) + OpenAPI.validate_property(ContainerServiceMasterProfile, Symbol("count"), o.count) + OpenAPI.validate_property(ContainerServiceMasterProfile, Symbol("dnsPrefix"), o.dnsPrefix) + OpenAPI.validate_property(ContainerServiceMasterProfile, Symbol("fqdn"), o.fqdn) +end + function OpenAPI.validate_property(::Type{ ContainerServiceMasterProfile }, name::Symbol, val) + if name === Symbol("count") - OpenAPI.validate_param(name, "ContainerServiceMasterProfile", :enum, val, ["1", "3", "5"]) + OpenAPI.validate_param(name, "ContainerServiceMasterProfile", :enum, val, [1, 3, 5]) end + + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceOrchestratorProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceOrchestratorProfile.jl index e5612b1..fd693bc 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceOrchestratorProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceOrchestratorProfile.jl @@ -15,21 +15,28 @@ Base.@kwdef mutable struct ContainerServiceOrchestratorProfile <: OpenAPI.APIMod orchestratorType::Union{Nothing, String} = nothing function ContainerServiceOrchestratorProfile(orchestratorType, ) - OpenAPI.validate_property(ContainerServiceOrchestratorProfile, Symbol("orchestratorType"), orchestratorType) - return new(orchestratorType, ) + o = new(orchestratorType, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceOrchestratorProfile const _property_types_ContainerServiceOrchestratorProfile = Dict{Symbol,String}(Symbol("orchestratorType")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceOrchestratorProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceOrchestratorProfile[name]))} -function check_required(o::ContainerServiceOrchestratorProfile) +function OpenAPI.check_required(o::ContainerServiceOrchestratorProfile) o.orchestratorType === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceOrchestratorProfile) + OpenAPI.validate_property(ContainerServiceOrchestratorProfile, Symbol("orchestratorType"), o.orchestratorType) +end + function OpenAPI.validate_property(::Type{ ContainerServiceOrchestratorProfile }, name::Symbol, val) + if name === Symbol("orchestratorType") OpenAPI.validate_param(name, "ContainerServiceOrchestratorProfile", :enum, val, ["Swarm", "DCOS", "Custom", "Kubernetes"]) end + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceProperties.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceProperties.jl index ac03ddb..335776a 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceProperties.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceProperties.jl @@ -39,28 +39,42 @@ Base.@kwdef mutable struct ContainerServiceProperties <: OpenAPI.APIModel diagnosticsProfile = nothing # spec type: Union{ Nothing, ContainerServiceDiagnosticsProfile } function ContainerServiceProperties(provisioningState, orchestratorProfile, customProfile, servicePrincipalProfile, masterProfile, agentPoolProfiles, windowsProfile, linuxProfile, diagnosticsProfile, ) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("orchestratorProfile"), orchestratorProfile) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("customProfile"), customProfile) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("servicePrincipalProfile"), servicePrincipalProfile) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("masterProfile"), masterProfile) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("agentPoolProfiles"), agentPoolProfiles) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("windowsProfile"), windowsProfile) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("linuxProfile"), linuxProfile) - OpenAPI.validate_property(ContainerServiceProperties, Symbol("diagnosticsProfile"), diagnosticsProfile) - return new(provisioningState, orchestratorProfile, customProfile, servicePrincipalProfile, masterProfile, agentPoolProfiles, windowsProfile, linuxProfile, diagnosticsProfile, ) + o = new(provisioningState, orchestratorProfile, customProfile, servicePrincipalProfile, masterProfile, agentPoolProfiles, windowsProfile, linuxProfile, diagnosticsProfile, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceProperties const _property_types_ContainerServiceProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"String", Symbol("orchestratorProfile")=>"ContainerServiceOrchestratorProfile", Symbol("customProfile")=>"ContainerServiceCustomProfile", Symbol("servicePrincipalProfile")=>"ContainerServiceServicePrincipalProfile", Symbol("masterProfile")=>"ContainerServiceMasterProfile", Symbol("agentPoolProfiles")=>"Vector{ContainerServiceAgentPoolProfile}", Symbol("windowsProfile")=>"ContainerServiceWindowsProfile", Symbol("linuxProfile")=>"ContainerServiceLinuxProfile", Symbol("diagnosticsProfile")=>"ContainerServiceDiagnosticsProfile", ) OpenAPI.property_type(::Type{ ContainerServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceProperties[name]))} -function check_required(o::ContainerServiceProperties) +function OpenAPI.check_required(o::ContainerServiceProperties) o.masterProfile === nothing && (return false) o.agentPoolProfiles === nothing && (return false) o.linuxProfile === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceProperties) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("orchestratorProfile"), o.orchestratorProfile) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("customProfile"), o.customProfile) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("servicePrincipalProfile"), o.servicePrincipalProfile) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("masterProfile"), o.masterProfile) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("agentPoolProfiles"), o.agentPoolProfiles) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("windowsProfile"), o.windowsProfile) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("linuxProfile"), o.linuxProfile) + OpenAPI.validate_property(ContainerServiceProperties, Symbol("diagnosticsProfile"), o.diagnosticsProfile) +end + function OpenAPI.validate_property(::Type{ ContainerServiceProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceServicePrincipalProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceServicePrincipalProfile.jl index 12c2bbb..e0261a3 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceServicePrincipalProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceServicePrincipalProfile.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct ContainerServiceServicePrincipalProfile <: OpenAPI.AP secret::Union{Nothing, String} = nothing function ContainerServiceServicePrincipalProfile(clientId, secret, ) - OpenAPI.validate_property(ContainerServiceServicePrincipalProfile, Symbol("clientId"), clientId) - OpenAPI.validate_property(ContainerServiceServicePrincipalProfile, Symbol("secret"), secret) - return new(clientId, secret, ) + o = new(clientId, secret, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceServicePrincipalProfile const _property_types_ContainerServiceServicePrincipalProfile = Dict{Symbol,String}(Symbol("clientId")=>"String", Symbol("secret")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceServicePrincipalProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceServicePrincipalProfile[name]))} -function check_required(o::ContainerServiceServicePrincipalProfile) +function OpenAPI.check_required(o::ContainerServiceServicePrincipalProfile) o.clientId === nothing && (return false) o.secret === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceServicePrincipalProfile) + OpenAPI.validate_property(ContainerServiceServicePrincipalProfile, Symbol("clientId"), o.clientId) + OpenAPI.validate_property(ContainerServiceServicePrincipalProfile, Symbol("secret"), o.secret) +end + function OpenAPI.validate_property(::Type{ ContainerServiceServicePrincipalProfile }, name::Symbol, val) + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshConfiguration.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshConfiguration.jl index 20e94a0..34b5d26 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshConfiguration.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshConfiguration.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct ContainerServiceSshConfiguration <: OpenAPI.APIModel publicKeys::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ContainerServiceSshPublicKey} } function ContainerServiceSshConfiguration(publicKeys, ) - OpenAPI.validate_property(ContainerServiceSshConfiguration, Symbol("publicKeys"), publicKeys) - return new(publicKeys, ) + o = new(publicKeys, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceSshConfiguration const _property_types_ContainerServiceSshConfiguration = Dict{Symbol,String}(Symbol("publicKeys")=>"Vector{ContainerServiceSshPublicKey}", ) OpenAPI.property_type(::Type{ ContainerServiceSshConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceSshConfiguration[name]))} -function check_required(o::ContainerServiceSshConfiguration) +function OpenAPI.check_required(o::ContainerServiceSshConfiguration) o.publicKeys === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceSshConfiguration) + OpenAPI.validate_property(ContainerServiceSshConfiguration, Symbol("publicKeys"), o.publicKeys) +end + function OpenAPI.validate_property(::Type{ ContainerServiceSshConfiguration }, name::Symbol, val) + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshPublicKey.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshPublicKey.jl index 8281aeb..8d61883 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshPublicKey.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceSshPublicKey.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct ContainerServiceSshPublicKey <: OpenAPI.APIModel keyData::Union{Nothing, String} = nothing function ContainerServiceSshPublicKey(keyData, ) - OpenAPI.validate_property(ContainerServiceSshPublicKey, Symbol("keyData"), keyData) - return new(keyData, ) + o = new(keyData, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceSshPublicKey const _property_types_ContainerServiceSshPublicKey = Dict{Symbol,String}(Symbol("keyData")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceSshPublicKey }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceSshPublicKey[name]))} -function check_required(o::ContainerServiceSshPublicKey) +function OpenAPI.check_required(o::ContainerServiceSshPublicKey) o.keyData === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceSshPublicKey) + OpenAPI.validate_property(ContainerServiceSshPublicKey, Symbol("keyData"), o.keyData) +end + function OpenAPI.validate_property(::Type{ ContainerServiceSshPublicKey }, name::Symbol, val) + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceVMDiagnostics.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceVMDiagnostics.jl index e927906..e3da3ae 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceVMDiagnostics.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceVMDiagnostics.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ContainerServiceVMDiagnostics <: OpenAPI.APIModel storageUri::Union{Nothing, String} = nothing function ContainerServiceVMDiagnostics(enabled, storageUri, ) - OpenAPI.validate_property(ContainerServiceVMDiagnostics, Symbol("enabled"), enabled) - OpenAPI.validate_property(ContainerServiceVMDiagnostics, Symbol("storageUri"), storageUri) - return new(enabled, storageUri, ) + o = new(enabled, storageUri, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceVMDiagnostics const _property_types_ContainerServiceVMDiagnostics = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("storageUri")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceVMDiagnostics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceVMDiagnostics[name]))} -function check_required(o::ContainerServiceVMDiagnostics) +function OpenAPI.check_required(o::ContainerServiceVMDiagnostics) o.enabled === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceVMDiagnostics) + OpenAPI.validate_property(ContainerServiceVMDiagnostics, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(ContainerServiceVMDiagnostics, Symbol("storageUri"), o.storageUri) +end + function OpenAPI.validate_property(::Type{ ContainerServiceVMDiagnostics }, name::Symbol, val) + + end diff --git a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceWindowsProfile.jl b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceWindowsProfile.jl index 17c7019..937cb78 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceWindowsProfile.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_ContainerServiceWindowsProfile.jl @@ -18,25 +18,32 @@ Base.@kwdef mutable struct ContainerServiceWindowsProfile <: OpenAPI.APIModel adminPassword::Union{Nothing, String} = nothing function ContainerServiceWindowsProfile(adminUsername, adminPassword, ) - OpenAPI.validate_property(ContainerServiceWindowsProfile, Symbol("adminUsername"), adminUsername) - OpenAPI.validate_property(ContainerServiceWindowsProfile, Symbol("adminPassword"), adminPassword) - return new(adminUsername, adminPassword, ) + o = new(adminUsername, adminPassword, ) + OpenAPI.validate_properties(o) + return o end end # type ContainerServiceWindowsProfile const _property_types_ContainerServiceWindowsProfile = Dict{Symbol,String}(Symbol("adminUsername")=>"String", Symbol("adminPassword")=>"String", ) OpenAPI.property_type(::Type{ ContainerServiceWindowsProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContainerServiceWindowsProfile[name]))} -function check_required(o::ContainerServiceWindowsProfile) +function OpenAPI.check_required(o::ContainerServiceWindowsProfile) o.adminUsername === nothing && (return false) o.adminPassword === nothing && (return false) true end +function OpenAPI.validate_properties(o::ContainerServiceWindowsProfile) + OpenAPI.validate_property(ContainerServiceWindowsProfile, Symbol("adminUsername"), o.adminUsername) + OpenAPI.validate_property(ContainerServiceWindowsProfile, Symbol("adminPassword"), o.adminPassword) +end + function OpenAPI.validate_property(::Type{ ContainerServiceWindowsProfile }, name::Symbol, val) + if name === Symbol("adminUsername") OpenAPI.validate_param(name, "ContainerServiceWindowsProfile", :pattern, val, r"^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$") end + if name === Symbol("adminPassword") OpenAPI.validate_param(name, "ContainerServiceWindowsProfile", :pattern, val, r"^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\^&\*\(\)])[a-zA-Z\d!@#$%\^&\*\(\)]{12,123}$") end diff --git a/src/Compute/ContainerServiceClient/src/models/model_Resource.jl b/src/Compute/ContainerServiceClient/src/models/model_Resource.jl index 6c42530..a55b5df 100644 --- a/src/Compute/ContainerServiceClient/src/models/model_Resource.jl +++ b/src/Compute/ContainerServiceClient/src/models/model_Resource.jl @@ -27,22 +27,32 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Compute/DiskResourceProviderClient/.openapi-generator/FILES b/src/Compute/DiskResourceProviderClient/.openapi-generator/FILES index 6fdbdfa..7e75c5c 100644 --- a/src/Compute/DiskResourceProviderClient/.openapi-generator/FILES +++ b/src/Compute/DiskResourceProviderClient/.openapi-generator/FILES @@ -1,114 +1,66 @@ .openapi-generator-ignore README.md docs/AccessUri.md -docs/ApiError.md -docs/ApiErrorBase.md -docs/CloudError.md docs/CreationData.md +docs/DataAccessAuthMode.md docs/Disk.md -docs/DiskAccess.md -docs/DiskAccessList.md -docs/DiskAccessProperties.md -docs/DiskAccessUpdate.md -docs/DiskAccessesApi.md -docs/DiskAllOf.md -docs/DiskEncryptionSet.md -docs/DiskEncryptionSetList.md -docs/DiskEncryptionSetUpdate.md -docs/DiskEncryptionSetUpdateProperties.md -docs/DiskEncryptionSetsApi.md docs/DiskList.md docs/DiskProperties.md +docs/DiskSecurityProfile.md +docs/DiskSecurityType.md docs/DiskSku.md +docs/DiskState.md docs/DiskUpdate.md docs/DiskUpdateProperties.md docs/DisksApi.md docs/Encryption.md -docs/EncryptionSetIdentity.md -docs/EncryptionSetProperties.md docs/EncryptionSettingsCollection.md docs/EncryptionSettingsElement.md docs/EncryptionType.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/GrantAccessData.md docs/ImageDiskReference.md -docs/InnerError.md docs/KeyVaultAndKeyReference.md docs/KeyVaultAndSecretReference.md docs/NetworkAccessPolicy.md -docs/PrivateEndpoint.md -docs/PrivateEndpointConnection.md -docs/PrivateEndpointConnectionProperties.md -docs/PrivateEndpointConnectionProvisioningState.md -docs/PrivateEndpointServiceConnectionStatus.md -docs/PrivateLinkResource.md -docs/PrivateLinkResourceListResult.md -docs/PrivateLinkResourceProperties.md -docs/PrivateLinkServiceConnectionState.md +docs/PropertyUpdatesInProgress.md +docs/PublicNetworkAccess.md +docs/PurchasePlan.md docs/Resource.md docs/ShareInfoElement.md -docs/Snapshot.md -docs/SnapshotAllOf.md -docs/SnapshotList.md -docs/SnapshotProperties.md -docs/SnapshotSku.md -docs/SnapshotUpdate.md -docs/SnapshotUpdateProperties.md -docs/SnapshotsApi.md docs/SourceVault.md +docs/SupportedCapabilities.md src/DiskResourceProviderClient.jl -src/apis/api_DiskAccessesApi.jl -src/apis/api_DiskEncryptionSetsApi.jl src/apis/api_DisksApi.jl -src/apis/api_SnapshotsApi.jl src/modelincludes.jl src/models/model_AccessUri.jl -src/models/model_ApiError.jl -src/models/model_ApiErrorBase.jl -src/models/model_CloudError.jl src/models/model_CreationData.jl +src/models/model_DataAccessAuthMode.jl src/models/model_Disk.jl -src/models/model_DiskAccess.jl -src/models/model_DiskAccessList.jl -src/models/model_DiskAccessProperties.jl -src/models/model_DiskAccessUpdate.jl -src/models/model_DiskAllOf.jl -src/models/model_DiskEncryptionSet.jl -src/models/model_DiskEncryptionSetList.jl -src/models/model_DiskEncryptionSetUpdate.jl -src/models/model_DiskEncryptionSetUpdateProperties.jl src/models/model_DiskList.jl src/models/model_DiskProperties.jl +src/models/model_DiskSecurityProfile.jl +src/models/model_DiskSecurityType.jl src/models/model_DiskSku.jl +src/models/model_DiskState.jl src/models/model_DiskUpdate.jl src/models/model_DiskUpdateProperties.jl src/models/model_Encryption.jl -src/models/model_EncryptionSetIdentity.jl -src/models/model_EncryptionSetProperties.jl src/models/model_EncryptionSettingsCollection.jl src/models/model_EncryptionSettingsElement.jl src/models/model_EncryptionType.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_GrantAccessData.jl src/models/model_ImageDiskReference.jl -src/models/model_InnerError.jl src/models/model_KeyVaultAndKeyReference.jl src/models/model_KeyVaultAndSecretReference.jl src/models/model_NetworkAccessPolicy.jl -src/models/model_PrivateEndpoint.jl -src/models/model_PrivateEndpointConnection.jl -src/models/model_PrivateEndpointConnectionProperties.jl -src/models/model_PrivateEndpointConnectionProvisioningState.jl -src/models/model_PrivateEndpointServiceConnectionStatus.jl -src/models/model_PrivateLinkResource.jl -src/models/model_PrivateLinkResourceListResult.jl -src/models/model_PrivateLinkResourceProperties.jl -src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PropertyUpdatesInProgress.jl +src/models/model_PublicNetworkAccess.jl +src/models/model_PurchasePlan.jl src/models/model_Resource.jl src/models/model_ShareInfoElement.jl -src/models/model_Snapshot.jl -src/models/model_SnapshotAllOf.jl -src/models/model_SnapshotList.jl -src/models/model_SnapshotProperties.jl -src/models/model_SnapshotSku.jl -src/models/model_SnapshotUpdate.jl -src/models/model_SnapshotUpdateProperties.jl src/models/model_SourceVault.jl +src/models/model_SupportedCapabilities.jl diff --git a/src/Compute/DiskResourceProviderClient/.openapi-generator/VERSION b/src/Compute/DiskResourceProviderClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Compute/DiskResourceProviderClient/.openapi-generator/VERSION +++ b/src/Compute/DiskResourceProviderClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Compute/DiskResourceProviderClient/README.md b/src/Compute/DiskResourceProviderClient/README.md index 9f3bd28..7d248a3 100644 --- a/src/Compute/DiskResourceProviderClient/README.md +++ b/src/Compute/DiskResourceProviderClient/README.md @@ -5,7 +5,8 @@ The Disk Resource Provider Client. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2023-10-02 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -20,19 +21,6 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- -*DiskAccessesApi* | [**disk_accesses_create_or_update**](docs/DiskAccessesApi.md#disk_accesses_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
-*DiskAccessesApi* | [**disk_accesses_delete**](docs/DiskAccessesApi.md#disk_accesses_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
-*DiskAccessesApi* | [**disk_accesses_get**](docs/DiskAccessesApi.md#disk_accesses_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
-*DiskAccessesApi* | [**disk_accesses_get_private_link_resources**](docs/DiskAccessesApi.md#disk_accesses_get_private_link_resources)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources
-*DiskAccessesApi* | [**disk_accesses_list**](docs/DiskAccessesApi.md#disk_accesses_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses
-*DiskAccessesApi* | [**disk_accesses_list_by_resource_group**](docs/DiskAccessesApi.md#disk_accesses_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses
-*DiskAccessesApi* | [**disk_accesses_update**](docs/DiskAccessesApi.md#disk_accesses_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}
-*DiskEncryptionSetsApi* | [**disk_encryption_sets_create_or_update**](docs/DiskEncryptionSetsApi.md#disk_encryption_sets_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
-*DiskEncryptionSetsApi* | [**disk_encryption_sets_delete**](docs/DiskEncryptionSetsApi.md#disk_encryption_sets_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
-*DiskEncryptionSetsApi* | [**disk_encryption_sets_get**](docs/DiskEncryptionSetsApi.md#disk_encryption_sets_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
-*DiskEncryptionSetsApi* | [**disk_encryption_sets_list**](docs/DiskEncryptionSetsApi.md#disk_encryption_sets_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets
-*DiskEncryptionSetsApi* | [**disk_encryption_sets_list_by_resource_group**](docs/DiskEncryptionSetsApi.md#disk_encryption_sets_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets
-*DiskEncryptionSetsApi* | [**disk_encryption_sets_update**](docs/DiskEncryptionSetsApi.md#disk_encryption_sets_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}
*DisksApi* | [**disks_create_or_update**](docs/DisksApi.md#disks_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
*DisksApi* | [**disks_delete**](docs/DisksApi.md#disks_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
*DisksApi* | [**disks_get**](docs/DisksApi.md#disks_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
@@ -41,74 +29,48 @@ Class | Method *DisksApi* | [**disks_list_by_resource_group**](docs/DisksApi.md#disks_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks
*DisksApi* | [**disks_revoke_access**](docs/DisksApi.md#disks_revoke_access)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}/endGetAccess
*DisksApi* | [**disks_update**](docs/DisksApi.md#disks_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks/{diskName}
-*SnapshotsApi* | [**snapshots_create_or_update**](docs/SnapshotsApi.md#snapshots_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
-*SnapshotsApi* | [**snapshots_delete**](docs/SnapshotsApi.md#snapshots_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
-*SnapshotsApi* | [**snapshots_get**](docs/SnapshotsApi.md#snapshots_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
-*SnapshotsApi* | [**snapshots_grant_access**](docs/SnapshotsApi.md#snapshots_grant_access)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess
-*SnapshotsApi* | [**snapshots_list**](docs/SnapshotsApi.md#snapshots_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots
-*SnapshotsApi* | [**snapshots_list_by_resource_group**](docs/SnapshotsApi.md#snapshots_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots
-*SnapshotsApi* | [**snapshots_revoke_access**](docs/SnapshotsApi.md#snapshots_revoke_access)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess
-*SnapshotsApi* | [**snapshots_update**](docs/SnapshotsApi.md#snapshots_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}
## Models - [AccessUri](docs/AccessUri.md) - - [ApiError](docs/ApiError.md) - - [ApiErrorBase](docs/ApiErrorBase.md) - - [CloudError](docs/CloudError.md) - [CreationData](docs/CreationData.md) + - [DataAccessAuthMode](docs/DataAccessAuthMode.md) - [Disk](docs/Disk.md) - - [DiskAccess](docs/DiskAccess.md) - - [DiskAccessList](docs/DiskAccessList.md) - - [DiskAccessProperties](docs/DiskAccessProperties.md) - - [DiskAccessUpdate](docs/DiskAccessUpdate.md) - - [DiskAllOf](docs/DiskAllOf.md) - - [DiskEncryptionSet](docs/DiskEncryptionSet.md) - - [DiskEncryptionSetList](docs/DiskEncryptionSetList.md) - - [DiskEncryptionSetUpdate](docs/DiskEncryptionSetUpdate.md) - - [DiskEncryptionSetUpdateProperties](docs/DiskEncryptionSetUpdateProperties.md) - [DiskList](docs/DiskList.md) - [DiskProperties](docs/DiskProperties.md) + - [DiskSecurityProfile](docs/DiskSecurityProfile.md) + - [DiskSecurityType](docs/DiskSecurityType.md) - [DiskSku](docs/DiskSku.md) + - [DiskState](docs/DiskState.md) - [DiskUpdate](docs/DiskUpdate.md) - [DiskUpdateProperties](docs/DiskUpdateProperties.md) - [Encryption](docs/Encryption.md) - - [EncryptionSetIdentity](docs/EncryptionSetIdentity.md) - - [EncryptionSetProperties](docs/EncryptionSetProperties.md) - [EncryptionSettingsCollection](docs/EncryptionSettingsCollection.md) - [EncryptionSettingsElement](docs/EncryptionSettingsElement.md) - [EncryptionType](docs/EncryptionType.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [GrantAccessData](docs/GrantAccessData.md) - [ImageDiskReference](docs/ImageDiskReference.md) - - [InnerError](docs/InnerError.md) - [KeyVaultAndKeyReference](docs/KeyVaultAndKeyReference.md) - [KeyVaultAndSecretReference](docs/KeyVaultAndSecretReference.md) - [NetworkAccessPolicy](docs/NetworkAccessPolicy.md) - - [PrivateEndpoint](docs/PrivateEndpoint.md) - - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) - - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) - - [PrivateEndpointConnectionProvisioningState](docs/PrivateEndpointConnectionProvisioningState.md) - - [PrivateEndpointServiceConnectionStatus](docs/PrivateEndpointServiceConnectionStatus.md) - - [PrivateLinkResource](docs/PrivateLinkResource.md) - - [PrivateLinkResourceListResult](docs/PrivateLinkResourceListResult.md) - - [PrivateLinkResourceProperties](docs/PrivateLinkResourceProperties.md) - - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PropertyUpdatesInProgress](docs/PropertyUpdatesInProgress.md) + - [PublicNetworkAccess](docs/PublicNetworkAccess.md) + - [PurchasePlan](docs/PurchasePlan.md) - [Resource](docs/Resource.md) - [ShareInfoElement](docs/ShareInfoElement.md) - - [Snapshot](docs/Snapshot.md) - - [SnapshotAllOf](docs/SnapshotAllOf.md) - - [SnapshotList](docs/SnapshotList.md) - - [SnapshotProperties](docs/SnapshotProperties.md) - - [SnapshotSku](docs/SnapshotSku.md) - - [SnapshotUpdate](docs/SnapshotUpdate.md) - - [SnapshotUpdateProperties](docs/SnapshotUpdateProperties.md) - [SourceVault](docs/SourceVault.md) + - [SupportedCapabilities](docs/SupportedCapabilities.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Compute/DiskResourceProviderClient/docs/AccessUri.md b/src/Compute/DiskResourceProviderClient/docs/AccessUri.md index c5de1e5..a70172f 100644 --- a/src/Compute/DiskResourceProviderClient/docs/AccessUri.md +++ b/src/Compute/DiskResourceProviderClient/docs/AccessUri.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **accessSAS** | **String** | A SAS uri for accessing a disk. | [optional] [readonly] [default to nothing] +**securityDataAccessSAS** | **String** | A SAS uri for accessing a VM guest state. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/DiskResourceProviderClient/docs/CreationData.md b/src/Compute/DiskResourceProviderClient/docs/CreationData.md index ed094ca..95d6dfe 100644 --- a/src/Compute/DiskResourceProviderClient/docs/CreationData.md +++ b/src/Compute/DiskResourceProviderClient/docs/CreationData.md @@ -12,6 +12,11 @@ Name | Type | Description | Notes **sourceResourceId** | **String** | If createOption is Copy, this is the ARM id of the source snapshot or disk. | [optional] [default to nothing] **sourceUniqueId** | **String** | If this field is set, this is the unique id identifying the source of this resource. | [optional] [readonly] [default to nothing] **uploadSizeBytes** | **Int64** | If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). | [optional] [default to nothing] +**logicalSectorSize** | **Int64** | Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. | [optional] [default to nothing] +**securityDataUri** | **String** | If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. | [optional] [default to nothing] +**performancePlus** | **Bool** | Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. | [optional] [default to nothing] +**elasticSanResourceId** | **String** | Required if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot. | [optional] [default to nothing] +**provisionedBandwidthCopySpeed** | **String** | If this field is set on a snapshot and createOption is CopyStart, the snapshot will be copied at a quicker speed. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/DiskResourceProviderClient/docs/DataAccessAuthMode.md b/src/Compute/DiskResourceProviderClient/docs/DataAccessAuthMode.md new file mode 100644 index 0000000..6880b0a --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/DataAccessAuthMode.md @@ -0,0 +1,11 @@ +# DataAccessAuthMode + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/Disk.md b/src/Compute/DiskResourceProviderClient/docs/Disk.md index 14eebbc..7738cba 100644 --- a/src/Compute/DiskResourceProviderClient/docs/Disk.md +++ b/src/Compute/DiskResourceProviderClient/docs/Disk.md @@ -4,16 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] **managedBy** | **String** | A relative URI containing the ID of the VM that has the disk attached. | [optional] [readonly] [default to nothing] **managedByExtended** | **Vector{String}** | List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. | [optional] [readonly] [default to nothing] **sku** | [***DiskSku**](DiskSku.md) | | [optional] [default to nothing] **zones** | **Vector{String}** | The Logical zone list for Disk. | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***DiskProperties**](DiskProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskAccess.md b/src/Compute/DiskResourceProviderClient/docs/DiskAccess.md deleted file mode 100644 index 0f7eb0f..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskAccess.md +++ /dev/null @@ -1,17 +0,0 @@ -# DiskAccess - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***DiskAccessProperties**](DiskAccessProperties.md) | | [optional] [default to nothing] -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskAccessList.md b/src/Compute/DiskResourceProviderClient/docs/DiskAccessList.md deleted file mode 100644 index 0fe4b8a..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskAccessList.md +++ /dev/null @@ -1,13 +0,0 @@ -# DiskAccessList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**Vector{DiskAccess}**](DiskAccess.md) | A list of disk access resources. | [default to nothing] -**nextLink** | **String** | The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch the next page of disk access resources. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskAccessProperties.md b/src/Compute/DiskResourceProviderClient/docs/DiskAccessProperties.md deleted file mode 100644 index e1804b3..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskAccessProperties.md +++ /dev/null @@ -1,14 +0,0 @@ -# DiskAccessProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. | [optional] [readonly] [default to nothing] -**provisioningState** | **String** | The disk access resource provisioning state. | [optional] [readonly] [default to nothing] -**timeCreated** | **ZonedDateTime** | The time when the disk access was created. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskAccessUpdate.md b/src/Compute/DiskResourceProviderClient/docs/DiskAccessUpdate.md deleted file mode 100644 index 1c7f3b3..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskAccessUpdate.md +++ /dev/null @@ -1,12 +0,0 @@ -# DiskAccessUpdate - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskAccessesApi.md b/src/Compute/DiskResourceProviderClient/docs/DiskAccessesApi.md deleted file mode 100644 index 83dd373..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskAccessesApi.md +++ /dev/null @@ -1,245 +0,0 @@ -# DiskAccessesApi - -All URIs are relative to *https://management.azure.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**disk_accesses_create_or_update**](DiskAccessesApi.md#disk_accesses_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName} | -[**disk_accesses_delete**](DiskAccessesApi.md#disk_accesses_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName} | -[**disk_accesses_get**](DiskAccessesApi.md#disk_accesses_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName} | -[**disk_accesses_get_private_link_resources**](DiskAccessesApi.md#disk_accesses_get_private_link_resources) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources | -[**disk_accesses_list**](DiskAccessesApi.md#disk_accesses_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses | -[**disk_accesses_list_by_resource_group**](DiskAccessesApi.md#disk_accesses_list_by_resource_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses | -[**disk_accesses_update**](DiskAccessesApi.md#disk_accesses_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName} | - - -# **disk_accesses_create_or_update** -> disk_accesses_create_or_update(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccess; _mediaType=nothing) -> DiskAccess, OpenAPI.Clients.ApiResponse
-> disk_accesses_create_or_update(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccess; _mediaType=nothing) -> Channel{ DiskAccess }, OpenAPI.Clients.ApiResponse - - - -Creates or updates a disk access resource - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_access_name** | **String**| The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**disk_access** | [**DiskAccess**](DiskAccess.md)| disk access object supplied in the body of the Put disk access operation. | - -### Return type - -[**DiskAccess**](DiskAccess.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_accesses_delete** -> disk_accesses_delete(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> disk_accesses_delete(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Deletes a disk access resource. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_access_name** | **String**| The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_accesses_get** -> disk_accesses_get(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) -> DiskAccess, OpenAPI.Clients.ApiResponse
-> disk_accesses_get(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) -> Channel{ DiskAccess }, OpenAPI.Clients.ApiResponse - - - -Gets information about a disk access resource. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_access_name** | **String**| The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**DiskAccess**](DiskAccess.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_accesses_get_private_link_resources** -> disk_accesses_get_private_link_resources(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) -> PrivateLinkResourceListResult, OpenAPI.Clients.ApiResponse
-> disk_accesses_get_private_link_resources(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) -> Channel{ PrivateLinkResourceListResult }, OpenAPI.Clients.ApiResponse - - - -Gets the private link resources possible under disk access resource - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_access_name** | **String**| The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**PrivateLinkResourceListResult**](PrivateLinkResourceListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_accesses_list** -> disk_accesses_list(_api::DiskAccessesApi, subscription_id::String, api_version::String; _mediaType=nothing) -> DiskAccessList, OpenAPI.Clients.ApiResponse
-> disk_accesses_list(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) -> Channel{ DiskAccessList }, OpenAPI.Clients.ApiResponse - - - -Lists all the disk access resources under a subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**DiskAccessList**](DiskAccessList.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_accesses_list_by_resource_group** -> disk_accesses_list_by_resource_group(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> DiskAccessList, OpenAPI.Clients.ApiResponse
-> disk_accesses_list_by_resource_group(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> Channel{ DiskAccessList }, OpenAPI.Clients.ApiResponse - - - -Lists all the disk access resources under a resource group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**DiskAccessList**](DiskAccessList.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_accesses_update** -> disk_accesses_update(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccessUpdate; _mediaType=nothing) -> DiskAccess, OpenAPI.Clients.ApiResponse
-> disk_accesses_update(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccessUpdate; _mediaType=nothing) -> Channel{ DiskAccess }, OpenAPI.Clients.ApiResponse - - - -Updates (patches) a disk access resource. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskAccessesApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_access_name** | **String**| The name of the disk access resource that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**disk_access** | [**DiskAccessUpdate**](DiskAccessUpdate.md)| disk access object supplied in the body of the Patch disk access operation. | - -### Return type - -[**DiskAccess**](DiskAccess.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskAllOf.md b/src/Compute/DiskResourceProviderClient/docs/DiskAllOf.md deleted file mode 100644 index 5ec81a2..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskAllOf.md +++ /dev/null @@ -1,16 +0,0 @@ -# DiskAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**managedBy** | **String** | A relative URI containing the ID of the VM that has the disk attached. | [optional] [readonly] [default to nothing] -**managedByExtended** | **Vector{String}** | List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. | [optional] [readonly] [default to nothing] -**sku** | [***DiskSku**](DiskSku.md) | | [optional] [default to nothing] -**zones** | **Vector{String}** | The Logical zone list for Disk. | [optional] [default to nothing] -**properties** | [***DiskProperties**](DiskProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSet.md b/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSet.md deleted file mode 100644 index beb2c0e..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSet.md +++ /dev/null @@ -1,18 +0,0 @@ -# DiskEncryptionSet - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**identity** | [***EncryptionSetIdentity**](EncryptionSetIdentity.md) | | [optional] [default to nothing] -**properties** | [***EncryptionSetProperties**](EncryptionSetProperties.md) | | [optional] [default to nothing] -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetList.md b/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetList.md deleted file mode 100644 index 8dc6714..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetList.md +++ /dev/null @@ -1,13 +0,0 @@ -# DiskEncryptionSetList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**Vector{DiskEncryptionSet}**](DiskEncryptionSet.md) | A list of disk encryption sets. | [default to nothing] -**nextLink** | **String** | The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetUpdate.md b/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetUpdate.md deleted file mode 100644 index fc3903d..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetUpdate.md +++ /dev/null @@ -1,13 +0,0 @@ -# DiskEncryptionSetUpdate - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***DiskEncryptionSetUpdateProperties**](DiskEncryptionSetUpdateProperties.md) | | [optional] [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetUpdateProperties.md b/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetUpdateProperties.md deleted file mode 100644 index ca69525..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetUpdateProperties.md +++ /dev/null @@ -1,13 +0,0 @@ -# DiskEncryptionSetUpdateProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encryptionType** | [***EncryptionType**](EncryptionType.md) | | [optional] [default to nothing] -**activeKey** | [***KeyVaultAndKeyReference**](KeyVaultAndKeyReference.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetsApi.md b/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetsApi.md deleted file mode 100644 index e339fcd..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/DiskEncryptionSetsApi.md +++ /dev/null @@ -1,211 +0,0 @@ -# DiskEncryptionSetsApi - -All URIs are relative to *https://management.azure.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**disk_encryption_sets_create_or_update**](DiskEncryptionSetsApi.md#disk_encryption_sets_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName} | -[**disk_encryption_sets_delete**](DiskEncryptionSetsApi.md#disk_encryption_sets_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName} | -[**disk_encryption_sets_get**](DiskEncryptionSetsApi.md#disk_encryption_sets_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName} | -[**disk_encryption_sets_list**](DiskEncryptionSetsApi.md#disk_encryption_sets_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets | -[**disk_encryption_sets_list_by_resource_group**](DiskEncryptionSetsApi.md#disk_encryption_sets_list_by_resource_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets | -[**disk_encryption_sets_update**](DiskEncryptionSetsApi.md#disk_encryption_sets_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName} | - - -# **disk_encryption_sets_create_or_update** -> disk_encryption_sets_create_or_update(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSet; _mediaType=nothing) -> DiskEncryptionSet, OpenAPI.Clients.ApiResponse
-> disk_encryption_sets_create_or_update(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSet; _mediaType=nothing) -> Channel{ DiskEncryptionSet }, OpenAPI.Clients.ApiResponse - - - -Creates or updates a disk encryption set - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskEncryptionSetsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_encryption_set_name** | **String**| The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**disk_encryption_set** | [**DiskEncryptionSet**](DiskEncryptionSet.md)| disk encryption set object supplied in the body of the Put disk encryption set operation. | - -### Return type - -[**DiskEncryptionSet**](DiskEncryptionSet.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_encryption_sets_delete** -> disk_encryption_sets_delete(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> disk_encryption_sets_delete(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Deletes a disk encryption set. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskEncryptionSetsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_encryption_set_name** | **String**| The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_encryption_sets_get** -> disk_encryption_sets_get(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) -> DiskEncryptionSet, OpenAPI.Clients.ApiResponse
-> disk_encryption_sets_get(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) -> Channel{ DiskEncryptionSet }, OpenAPI.Clients.ApiResponse - - - -Gets information about a disk encryption set. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskEncryptionSetsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_encryption_set_name** | **String**| The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**DiskEncryptionSet**](DiskEncryptionSet.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_encryption_sets_list** -> disk_encryption_sets_list(_api::DiskEncryptionSetsApi, subscription_id::String, api_version::String; _mediaType=nothing) -> DiskEncryptionSetList, OpenAPI.Clients.ApiResponse
-> disk_encryption_sets_list(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) -> Channel{ DiskEncryptionSetList }, OpenAPI.Clients.ApiResponse - - - -Lists all the disk encryption sets under a subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskEncryptionSetsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**DiskEncryptionSetList**](DiskEncryptionSetList.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_encryption_sets_list_by_resource_group** -> disk_encryption_sets_list_by_resource_group(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> DiskEncryptionSetList, OpenAPI.Clients.ApiResponse
-> disk_encryption_sets_list_by_resource_group(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> Channel{ DiskEncryptionSetList }, OpenAPI.Clients.ApiResponse - - - -Lists all the disk encryption sets under a resource group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskEncryptionSetsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**DiskEncryptionSetList**](DiskEncryptionSetList.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **disk_encryption_sets_update** -> disk_encryption_sets_update(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSetUpdate; _mediaType=nothing) -> DiskEncryptionSet, OpenAPI.Clients.ApiResponse
-> disk_encryption_sets_update(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSetUpdate; _mediaType=nothing) -> Channel{ DiskEncryptionSet }, OpenAPI.Clients.ApiResponse - - - -Updates (patches) a disk encryption set. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DiskEncryptionSetsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_encryption_set_name** | **String**| The name of the disk encryption set that is being created. The name can't be changed after the disk encryption set is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**disk_encryption_set** | [**DiskEncryptionSetUpdate**](DiskEncryptionSetUpdate.md)| disk encryption set object supplied in the body of the Patch disk encryption set operation. | - -### Return type - -[**DiskEncryptionSet**](DiskEncryptionSet.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskProperties.md b/src/Compute/DiskResourceProviderClient/docs/DiskProperties.md index a428bc7..b57f53f 100644 --- a/src/Compute/DiskResourceProviderClient/docs/DiskProperties.md +++ b/src/Compute/DiskResourceProviderClient/docs/DiskProperties.md @@ -7,6 +7,8 @@ Name | Type | Description | Notes **timeCreated** | **ZonedDateTime** | The time when the disk was created. | [optional] [readonly] [default to nothing] **osType** | **String** | The Operating System type. | [optional] [default to nothing] **hyperVGeneration** | **String** | The hypervisor generation of the Virtual Machine. Applicable to OS disks only. | [optional] [default to nothing] +**purchasePlan** | [***PurchasePlan**](PurchasePlan.md) | | [optional] [default to nothing] +**supportedCapabilities** | [***SupportedCapabilities**](SupportedCapabilities.md) | | [optional] [default to nothing] **creationData** | [***CreationData**](CreationData.md) | | [default to nothing] **diskSizeGB** | **Int64** | If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. | [optional] [default to nothing] **diskSizeBytes** | **Int64** | The size of the disk in bytes. This field is read only. | [optional] [readonly] [default to nothing] @@ -17,12 +19,23 @@ Name | Type | Description | Notes **diskMBpsReadWrite** | **Int64** | The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. | [optional] [default to nothing] **diskIOPSReadOnly** | **Int64** | The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. | [optional] [default to nothing] **diskMBpsReadOnly** | **Int64** | The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. | [optional] [default to nothing] -**diskState** | **String** | The state of the disk. | [optional] [readonly] [default to nothing] +**diskState** | [***DiskState**](DiskState.md) | | [optional] [default to nothing] **encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] **maxShares** | **Int64** | The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. | [optional] [default to nothing] **shareInfo** | [**Vector{ShareInfoElement}**](ShareInfoElement.md) | Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. | [optional] [readonly] [default to nothing] **networkAccessPolicy** | [***NetworkAccessPolicy**](NetworkAccessPolicy.md) | | [optional] [default to nothing] **diskAccessId** | **String** | ARM id of the DiskAccess resource for using private endpoints on disks. | [optional] [default to nothing] +**burstingEnabledTime** | **ZonedDateTime** | Latest time when bursting was last enabled on a disk. | [optional] [readonly] [default to nothing] +**tier** | **String** | Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. | [optional] [default to nothing] +**burstingEnabled** | **Bool** | Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. | [optional] [default to nothing] +**propertyUpdatesInProgress** | [***PropertyUpdatesInProgress**](PropertyUpdatesInProgress.md) | | [optional] [default to nothing] +**supportsHibernation** | **Bool** | Indicates the OS on a disk supports hibernation. | [optional] [default to nothing] +**securityProfile** | [***DiskSecurityProfile**](DiskSecurityProfile.md) | | [optional] [default to nothing] +**completionPercent** | **Float64** | Percentage complete for the background copy when a resource is created via the CopyStart operation. | [optional] [default to nothing] +**publicNetworkAccess** | [***PublicNetworkAccess**](PublicNetworkAccess.md) | | [optional] [default to nothing] +**dataAccessAuthMode** | [***DataAccessAuthMode**](DataAccessAuthMode.md) | | [optional] [default to nothing] +**optimizedForFrequentAttach** | **Bool** | Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine. | [optional] [default to nothing] +**LastOwnershipUpdateTime** | **ZonedDateTime** | The UTC time when the ownership state of the disk was last changed i.e., the time the disk was last attached or detached from a VM or the time when the VM to which the disk was attached was deallocated or started. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskSecurityProfile.md b/src/Compute/DiskResourceProviderClient/docs/DiskSecurityProfile.md new file mode 100644 index 0000000..7e2c916 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/DiskSecurityProfile.md @@ -0,0 +1,13 @@ +# DiskSecurityProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**securityType** | [***DiskSecurityType**](DiskSecurityType.md) | | [optional] [default to nothing] +**secureVMDiskEncryptionSetId** | **String** | ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskSecurityType.md b/src/Compute/DiskResourceProviderClient/docs/DiskSecurityType.md new file mode 100644 index 0000000..b01aa30 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/DiskSecurityType.md @@ -0,0 +1,11 @@ +# DiskSecurityType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskState.md b/src/Compute/DiskResourceProviderClient/docs/DiskState.md new file mode 100644 index 0000000..ae8c022 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/DiskState.md @@ -0,0 +1,11 @@ +# DiskState + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/DiskUpdateProperties.md b/src/Compute/DiskResourceProviderClient/docs/DiskUpdateProperties.md index 21a8f88..1f2223d 100644 --- a/src/Compute/DiskResourceProviderClient/docs/DiskUpdateProperties.md +++ b/src/Compute/DiskResourceProviderClient/docs/DiskUpdateProperties.md @@ -15,6 +15,15 @@ Name | Type | Description | Notes **encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] **networkAccessPolicy** | [***NetworkAccessPolicy**](NetworkAccessPolicy.md) | | [optional] [default to nothing] **diskAccessId** | **String** | ARM id of the DiskAccess resource for using private endpoints on disks. | [optional] [default to nothing] +**tier** | **String** | Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. | [optional] [default to nothing] +**burstingEnabled** | **Bool** | Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. | [optional] [default to nothing] +**purchasePlan** | [***PurchasePlan**](PurchasePlan.md) | | [optional] [default to nothing] +**supportedCapabilities** | [***SupportedCapabilities**](SupportedCapabilities.md) | | [optional] [default to nothing] +**propertyUpdatesInProgress** | [***PropertyUpdatesInProgress**](PropertyUpdatesInProgress.md) | | [optional] [default to nothing] +**supportsHibernation** | **Bool** | Indicates the OS on a disk supports hibernation. | [optional] [default to nothing] +**publicNetworkAccess** | [***PublicNetworkAccess**](PublicNetworkAccess.md) | | [optional] [default to nothing] +**dataAccessAuthMode** | [***DataAccessAuthMode**](DataAccessAuthMode.md) | | [optional] [default to nothing] +**optimizedForFrequentAttach** | **Bool** | Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/DiskResourceProviderClient/docs/DisksApi.md b/src/Compute/DiskResourceProviderClient/docs/DisksApi.md index 405208a..8d72b07 100644 --- a/src/Compute/DiskResourceProviderClient/docs/DisksApi.md +++ b/src/Compute/DiskResourceProviderClient/docs/DisksApi.md @@ -27,11 +27,11 @@ Creates or updates a disk. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_name** | **String**| The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**disk** | [**Disk**](Disk.md)| Disk object supplied in the body of the Put disk operation. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**disk_name** | **String** | The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. | +**api_version** | **String** | Client Api Version. | +**disk** | [**Disk**](Disk.md) | Disk object supplied in the body of the Put disk operation. | ### Return type @@ -61,10 +61,10 @@ Deletes a disk. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_name** | **String**| The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**disk_name** | **String** | The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -94,10 +94,10 @@ Gets information about a disk. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_name** | **String**| The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**disk_name** | **String** | The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -127,11 +127,11 @@ Grants access to a disk. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_name** | **String**| The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**grant_access_data** | [**GrantAccessData**](GrantAccessData.md)| Access data object supplied in the body of the get disk access operation. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**disk_name** | **String** | The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. | +**api_version** | **String** | Client Api Version. | +**grant_access_data** | [**GrantAccessData**](GrantAccessData.md) | Access data object supplied in the body of the get disk access operation. | ### Return type @@ -161,8 +161,8 @@ Lists all the disks under a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -192,9 +192,9 @@ Lists all the disks under a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -224,10 +224,10 @@ Revokes access to a disk. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_name** | **String**| The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**disk_name** | **String** | The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -257,11 +257,11 @@ Updates (patches) a disk. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DisksApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**disk_name** | **String**| The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The maximum name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**disk** | [**DiskUpdate**](DiskUpdate.md)| Disk object supplied in the body of the Patch disk operation. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**disk_name** | **String** | The name of the managed disk that is being created. The name can't be changed after the disk is created. Supported characters for the name are a-z, A-Z, 0-9, _ and -. The maximum name length is 80 characters. | +**api_version** | **String** | Client Api Version. | +**disk** | [**DiskUpdate**](DiskUpdate.md) | Disk object supplied in the body of the Patch disk operation. | ### Return type diff --git a/src/Compute/DiskResourceProviderClient/docs/EncryptionSetIdentity.md b/src/Compute/DiskResourceProviderClient/docs/EncryptionSetIdentity.md deleted file mode 100644 index c2da01a..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/EncryptionSetIdentity.md +++ /dev/null @@ -1,14 +0,0 @@ -# EncryptionSetIdentity - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **String** | The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported. | [optional] [default to nothing] -**principalId** | **String** | The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity | [optional] [readonly] [default to nothing] -**tenantId** | **String** | The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/EncryptionSetProperties.md b/src/Compute/DiskResourceProviderClient/docs/EncryptionSetProperties.md deleted file mode 100644 index 4ffab33..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/EncryptionSetProperties.md +++ /dev/null @@ -1,15 +0,0 @@ -# EncryptionSetProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**encryptionType** | [***EncryptionType**](EncryptionType.md) | | [optional] [default to nothing] -**activeKey** | [***KeyVaultAndKeyReference**](KeyVaultAndKeyReference.md) | | [optional] [default to nothing] -**previousKeys** | [**Vector{KeyVaultAndKeyReference}**](KeyVaultAndKeyReference.md) | A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. | [optional] [readonly] [default to nothing] -**provisioningState** | **String** | The disk encryption set provisioning state. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/ExtendedLocation.md b/src/Compute/DiskResourceProviderClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/ExtendedLocationType.md b/src/Compute/DiskResourceProviderClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/GrantAccessData.md b/src/Compute/DiskResourceProviderClient/docs/GrantAccessData.md index 6a9739b..6c0e1c7 100644 --- a/src/Compute/DiskResourceProviderClient/docs/GrantAccessData.md +++ b/src/Compute/DiskResourceProviderClient/docs/GrantAccessData.md @@ -6,6 +6,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access** | **String** | | [default to nothing] **durationInSeconds** | **Int64** | Time duration in seconds until the SAS access expires. | [default to nothing] +**getSecureVMGuestStateSAS** | **Bool** | Set this flag to true to get additional SAS for VM guest state | [optional] [default to nothing] +**fileFormat** | **String** | Used to specify the file format when making request for SAS on a VHDX file format snapshot | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/DiskResourceProviderClient/docs/ImageDiskReference.md b/src/Compute/DiskResourceProviderClient/docs/ImageDiskReference.md index 59e7410..65b7546 100644 --- a/src/Compute/DiskResourceProviderClient/docs/ImageDiskReference.md +++ b/src/Compute/DiskResourceProviderClient/docs/ImageDiskReference.md @@ -4,7 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | A relative uri containing either a Platform Image Repository or user image reference. | [default to nothing] +**id** | **String** | A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. | [optional] [default to nothing] +**sharedGalleryImageId** | **String** | A relative uri containing a direct shared Azure Compute Gallery image reference. | [optional] [default to nothing] +**communityGalleryImageId** | **String** | A relative uri containing a community Azure Compute Gallery image reference. | [optional] [default to nothing] **lun** | **Int64** | If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. | [optional] [default to nothing] diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpoint.md b/src/Compute/DiskResourceProviderClient/docs/PrivateEndpoint.md deleted file mode 100644 index 081c478..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpoint.md +++ /dev/null @@ -1,12 +0,0 @@ -# PrivateEndpoint - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The ARM identifier for Private Endpoint | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnection.md b/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnection.md deleted file mode 100644 index e3264d8..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnection.md +++ /dev/null @@ -1,15 +0,0 @@ -# PrivateEndpointConnection - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] -**id** | **String** | private endpoint connection Id | [optional] [readonly] [default to nothing] -**name** | **String** | private endpoint connection name | [optional] [readonly] [default to nothing] -**type** | **String** | private endpoint connection type | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnectionProperties.md b/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnectionProperties.md deleted file mode 100644 index 97fda8f..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnectionProperties.md +++ /dev/null @@ -1,14 +0,0 @@ -# PrivateEndpointConnectionProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] -**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [default to nothing] -**provisioningState** | [***PrivateEndpointConnectionProvisioningState**](PrivateEndpointConnectionProvisioningState.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnectionProvisioningState.md b/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnectionProvisioningState.md deleted file mode 100644 index c342b9f..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointConnectionProvisioningState.md +++ /dev/null @@ -1,11 +0,0 @@ -# PrivateEndpointConnectionProvisioningState - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointServiceConnectionStatus.md b/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointServiceConnectionStatus.md deleted file mode 100644 index 6f32414..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateEndpointServiceConnectionStatus.md +++ /dev/null @@ -1,11 +0,0 @@ -# PrivateEndpointServiceConnectionStatus - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResource.md b/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResource.md deleted file mode 100644 index 8759ced..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResource.md +++ /dev/null @@ -1,15 +0,0 @@ -# PrivateLinkResource - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***PrivateLinkResourceProperties**](PrivateLinkResourceProperties.md) | | [optional] [default to nothing] -**id** | **String** | private link resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | private link resource name | [optional] [readonly] [default to nothing] -**type** | **String** | private link resource type | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResourceListResult.md b/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResourceListResult.md deleted file mode 100644 index 5a836df..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResourceListResult.md +++ /dev/null @@ -1,12 +0,0 @@ -# PrivateLinkResourceListResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**Vector{PrivateLinkResource}**](PrivateLinkResource.md) | Array of private link resources | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResourceProperties.md b/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResourceProperties.md deleted file mode 100644 index ef40944..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkResourceProperties.md +++ /dev/null @@ -1,14 +0,0 @@ -# PrivateLinkResourceProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**groupId** | **String** | The private link resource group id. | [optional] [readonly] [default to nothing] -**requiredMembers** | **Vector{String}** | The private link resource required member names. | [optional] [readonly] [default to nothing] -**requiredZoneNames** | **Vector{String}** | The private link resource DNS zone name. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkServiceConnectionState.md b/src/Compute/DiskResourceProviderClient/docs/PrivateLinkServiceConnectionState.md deleted file mode 100644 index e569182..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/PrivateLinkServiceConnectionState.md +++ /dev/null @@ -1,14 +0,0 @@ -# PrivateLinkServiceConnectionState - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | [***PrivateEndpointServiceConnectionStatus**](PrivateEndpointServiceConnectionStatus.md) | | [optional] [default to nothing] -**description** | **String** | The reason for approval/rejection of the connection. | [optional] [default to nothing] -**actionsRequired** | **String** | A message indicating if changes on the service provider require any updates on the consumer. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/PropertyUpdatesInProgress.md b/src/Compute/DiskResourceProviderClient/docs/PropertyUpdatesInProgress.md new file mode 100644 index 0000000..808444a --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/PropertyUpdatesInProgress.md @@ -0,0 +1,12 @@ +# PropertyUpdatesInProgress + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**targetTier** | **String** | The target performance tier of the disk if a tier change operation is in progress. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/PublicNetworkAccess.md b/src/Compute/DiskResourceProviderClient/docs/PublicNetworkAccess.md new file mode 100644 index 0000000..836025c --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/PublicNetworkAccess.md @@ -0,0 +1,11 @@ +# PublicNetworkAccess + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/PurchasePlan.md b/src/Compute/DiskResourceProviderClient/docs/PurchasePlan.md new file mode 100644 index 0000000..633e434 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/PurchasePlan.md @@ -0,0 +1,15 @@ +# PurchasePlan + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The plan ID. | [default to nothing] +**publisher** | **String** | The publisher ID. | [default to nothing] +**product** | **String** | Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. | [default to nothing] +**promotionCode** | **String** | The Offer Promotion Code. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/docs/Snapshot.md b/src/Compute/DiskResourceProviderClient/docs/Snapshot.md deleted file mode 100644 index b8b3c2b..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/Snapshot.md +++ /dev/null @@ -1,19 +0,0 @@ -# Snapshot - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] -**name** | **String** | Resource name | [optional] [readonly] [default to nothing] -**type** | **String** | Resource type | [optional] [readonly] [default to nothing] -**location** | **String** | Resource location | [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] -**managedBy** | **String** | Unused. Always Null. | [optional] [readonly] [default to nothing] -**sku** | [***SnapshotSku**](SnapshotSku.md) | | [optional] [default to nothing] -**properties** | [***SnapshotProperties**](SnapshotProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotAllOf.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotAllOf.md deleted file mode 100644 index c302082..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotAllOf.md +++ /dev/null @@ -1,14 +0,0 @@ -# SnapshotAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**managedBy** | **String** | Unused. Always Null. | [optional] [readonly] [default to nothing] -**sku** | [***SnapshotSku**](SnapshotSku.md) | | [optional] [default to nothing] -**properties** | [***SnapshotProperties**](SnapshotProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotList.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotList.md deleted file mode 100644 index d8e91fd..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotList.md +++ /dev/null @@ -1,13 +0,0 @@ -# SnapshotList - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**Vector{Snapshot}**](Snapshot.md) | A list of snapshots. | [default to nothing] -**nextLink** | **String** | The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotProperties.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotProperties.md deleted file mode 100644 index 75db462..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotProperties.md +++ /dev/null @@ -1,24 +0,0 @@ -# SnapshotProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**timeCreated** | **ZonedDateTime** | The time when the snapshot was created. | [optional] [readonly] [default to nothing] -**osType** | **String** | The Operating System type. | [optional] [default to nothing] -**hyperVGeneration** | **String** | The hypervisor generation of the Virtual Machine. Applicable to OS disks only. | [optional] [default to nothing] -**creationData** | [***CreationData**](CreationData.md) | | [default to nothing] -**diskSizeGB** | **Int64** | If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. | [optional] [default to nothing] -**diskSizeBytes** | **Int64** | The size of the disk in bytes. This field is read only. | [optional] [readonly] [default to nothing] -**uniqueId** | **String** | Unique Guid identifying the resource. | [optional] [readonly] [default to nothing] -**encryptionSettingsCollection** | [***EncryptionSettingsCollection**](EncryptionSettingsCollection.md) | | [optional] [default to nothing] -**provisioningState** | **String** | The disk provisioning state. | [optional] [readonly] [default to nothing] -**incremental** | **Bool** | Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. | [optional] [default to nothing] -**encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] -**networkAccessPolicy** | [***NetworkAccessPolicy**](NetworkAccessPolicy.md) | | [optional] [default to nothing] -**diskAccessId** | **String** | ARM id of the DiskAccess resource for using private endpoints on disks. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotSku.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotSku.md deleted file mode 100644 index 1e6f396..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotSku.md +++ /dev/null @@ -1,13 +0,0 @@ -# SnapshotSku - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The sku name. | [optional] [default to nothing] -**tier** | **String** | The sku tier. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotUpdate.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotUpdate.md deleted file mode 100644 index b01d913..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotUpdate.md +++ /dev/null @@ -1,14 +0,0 @@ -# SnapshotUpdate - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**properties** | [***SnapshotUpdateProperties**](SnapshotUpdateProperties.md) | | [optional] [default to nothing] -**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] -**sku** | [***SnapshotSku**](SnapshotSku.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotUpdateProperties.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotUpdateProperties.md deleted file mode 100644 index 4447081..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotUpdateProperties.md +++ /dev/null @@ -1,17 +0,0 @@ -# SnapshotUpdateProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**osType** | **String** | the Operating System type. | [optional] [default to nothing] -**diskSizeGB** | **Int64** | If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. | [optional] [default to nothing] -**encryptionSettingsCollection** | [***EncryptionSettingsCollection**](EncryptionSettingsCollection.md) | | [optional] [default to nothing] -**encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] -**networkAccessPolicy** | [***NetworkAccessPolicy**](NetworkAccessPolicy.md) | | [optional] [default to nothing] -**diskAccessId** | **String** | ARM id of the DiskAccess resource for using private endpoints on disks. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/DiskResourceProviderClient/docs/SnapshotsApi.md b/src/Compute/DiskResourceProviderClient/docs/SnapshotsApi.md deleted file mode 100644 index 773446c..0000000 --- a/src/Compute/DiskResourceProviderClient/docs/SnapshotsApi.md +++ /dev/null @@ -1,280 +0,0 @@ -# SnapshotsApi - -All URIs are relative to *https://management.azure.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**snapshots_create_or_update**](SnapshotsApi.md#snapshots_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName} | -[**snapshots_delete**](SnapshotsApi.md#snapshots_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName} | -[**snapshots_get**](SnapshotsApi.md#snapshots_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName} | -[**snapshots_grant_access**](SnapshotsApi.md#snapshots_grant_access) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess | -[**snapshots_list**](SnapshotsApi.md#snapshots_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots | -[**snapshots_list_by_resource_group**](SnapshotsApi.md#snapshots_list_by_resource_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots | -[**snapshots_revoke_access**](SnapshotsApi.md#snapshots_revoke_access) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess | -[**snapshots_update**](SnapshotsApi.md#snapshots_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName} | - - -# **snapshots_create_or_update** -> snapshots_create_or_update(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::Snapshot; _mediaType=nothing) -> Snapshot, OpenAPI.Clients.ApiResponse
-> snapshots_create_or_update(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::Snapshot; _mediaType=nothing) -> Channel{ Snapshot }, OpenAPI.Clients.ApiResponse - - - -Creates or updates a snapshot. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**snapshot_name** | **String**| The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**snapshot** | [**Snapshot**](Snapshot.md)| Snapshot object supplied in the body of the Put disk operation. | - -### Return type - -[**Snapshot**](Snapshot.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_delete** -> snapshots_delete(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> snapshots_delete(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Deletes a snapshot. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**snapshot_name** | **String**| The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_get** -> snapshots_get(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) -> Snapshot, OpenAPI.Clients.ApiResponse
-> snapshots_get(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) -> Channel{ Snapshot }, OpenAPI.Clients.ApiResponse - - - -Gets information about a snapshot. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**snapshot_name** | **String**| The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**Snapshot**](Snapshot.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_grant_access** -> snapshots_grant_access(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, grant_access_data::GrantAccessData; _mediaType=nothing) -> AccessUri, OpenAPI.Clients.ApiResponse
-> snapshots_grant_access(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, grant_access_data::GrantAccessData; _mediaType=nothing) -> Channel{ AccessUri }, OpenAPI.Clients.ApiResponse - - - -Grants access to a snapshot. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**snapshot_name** | **String**| The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**grant_access_data** | [**GrantAccessData**](GrantAccessData.md)| Access data object supplied in the body of the get snapshot access operation. | - -### Return type - -[**AccessUri**](AccessUri.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_list** -> snapshots_list(_api::SnapshotsApi, subscription_id::String, api_version::String; _mediaType=nothing) -> SnapshotList, OpenAPI.Clients.ApiResponse
-> snapshots_list(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) -> Channel{ SnapshotList }, OpenAPI.Clients.ApiResponse - - - -Lists snapshots under a subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**SnapshotList**](SnapshotList.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_list_by_resource_group** -> snapshots_list_by_resource_group(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> SnapshotList, OpenAPI.Clients.ApiResponse
-> snapshots_list_by_resource_group(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) -> Channel{ SnapshotList }, OpenAPI.Clients.ApiResponse - - - -Lists snapshots under a resource group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -[**SnapshotList**](SnapshotList.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_revoke_access** -> snapshots_revoke_access(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> snapshots_revoke_access(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Revokes access to a snapshot. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**snapshot_name** | **String**| The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **snapshots_update** -> snapshots_update(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::SnapshotUpdate; _mediaType=nothing) -> Snapshot, OpenAPI.Clients.ApiResponse
-> snapshots_update(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::SnapshotUpdate; _mediaType=nothing) -> Channel{ Snapshot }, OpenAPI.Clients.ApiResponse - - - -Updates (patches) a snapshot. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **SnapshotsApi** | API context | -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**snapshot_name** | **String**| The name of the snapshot that is being created. The name can't be changed after the snapshot is created. Supported characters for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**snapshot** | [**SnapshotUpdate**](SnapshotUpdate.md)| Snapshot object supplied in the body of the Patch snapshot operation. | - -### Return type - -[**Snapshot**](Snapshot.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - diff --git a/src/Compute/DiskResourceProviderClient/docs/SupportedCapabilities.md b/src/Compute/DiskResourceProviderClient/docs/SupportedCapabilities.md new file mode 100644 index 0000000..3bf7b73 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/docs/SupportedCapabilities.md @@ -0,0 +1,14 @@ +# SupportedCapabilities + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**diskControllerTypes** | **String** | The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. | [optional] [default to nothing] +**acceleratedNetwork** | **Bool** | True if the image from which the OS disk is created supports accelerated networking. | [optional] [default to nothing] +**architecture** | **String** | CPU architecture supported by an OS disk. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/DiskResourceProviderClient/src/DiskResourceProviderClient.jl b/src/Compute/DiskResourceProviderClient/src/DiskResourceProviderClient.jl index 083d29e..837f5a5 100644 --- a/src/Compute/DiskResourceProviderClient/src/DiskResourceProviderClient.jl +++ b/src/Compute/DiskResourceProviderClient/src/DiskResourceProviderClient.jl @@ -7,13 +7,10 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2023-10-02" include("modelincludes.jl") -include("apis/api_DiskAccessesApi.jl") -include("apis/api_DiskEncryptionSetsApi.jl") include("apis/api_DisksApi.jl") -include("apis/api_SnapshotsApi.jl") end # module DiskResourceProviderClient diff --git a/src/Compute/DiskResourceProviderClient/src/apis/api_DiskAccessesApi.jl b/src/Compute/DiskResourceProviderClient/src/apis/api_DiskAccessesApi.jl deleted file mode 100644 index c55c08c..0000000 --- a/src/Compute/DiskResourceProviderClient/src/apis/api_DiskAccessesApi.jl +++ /dev/null @@ -1,271 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - -struct DiskAccessesApi <: OpenAPI.APIClientImpl - client::OpenAPI.Clients.Client -end - -""" -The default API base path for APIs in `DiskAccessesApi`. -This can be used to construct the `OpenAPI.Clients.Client` instance. -""" -basepath(::Type{ DiskAccessesApi }) = "https://management.azure.com" - -const _returntypes_disk_accesses_create_or_update_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskAccess, - Regex("^" * replace("202", "x"=>".") * "\$") => DiskAccess, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_accesses_create_or_update(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccess; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_disk_accesses_create_or_update_DiskAccessesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", ["azure_auth", ], disk_access) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskAccessName", disk_access_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Creates or updates a disk access resource - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_access_name::String (required) -- api_version::String (required) -- disk_access::DiskAccess (required) - -Return: DiskAccess, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_create_or_update(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccess; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_create_or_update(_api, subscription_id, resource_group_name, disk_access_name, api_version, disk_access; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_create_or_update(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccess; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_create_or_update(_api, subscription_id, resource_group_name, disk_access_name, api_version, disk_access; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_accesses_delete_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_accesses_delete(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_disk_accesses_delete_DiskAccessesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskAccessName", disk_access_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a disk access resource. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_access_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_delete(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_delete(_api, subscription_id, resource_group_name, disk_access_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_delete(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_delete(_api, subscription_id, resource_group_name, disk_access_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_accesses_get_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskAccess, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_accesses_get(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_accesses_get_DiskAccessesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskAccessName", disk_access_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets information about a disk access resource. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_access_name::String (required) -- api_version::String (required) - -Return: DiskAccess, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_get(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_get(_api, subscription_id, resource_group_name, disk_access_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_get(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_get(_api, subscription_id, resource_group_name, disk_access_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_accesses_get_private_link_resources_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => PrivateLinkResourceListResult, -) - -function _oacinternal_disk_accesses_get_private_link_resources(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_accesses_get_private_link_resources_DiskAccessesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}/privateLinkResources", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskAccessName", disk_access_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets the private link resources possible under disk access resource - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_access_name::String (required) -- api_version::String (required) - -Return: PrivateLinkResourceListResult, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_get_private_link_resources(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_get_private_link_resources(_api, subscription_id, resource_group_name, disk_access_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_get_private_link_resources(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_get_private_link_resources(_api, subscription_id, resource_group_name, disk_access_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_accesses_list_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskAccessList, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_accesses_list(_api::DiskAccessesApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_accesses_list_DiskAccessesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskAccesses", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Lists all the disk access resources under a subscription. - -Params: -- subscription_id::String (required) -- api_version::String (required) - -Return: DiskAccessList, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_list(_api::DiskAccessesApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_list(_api, subscription_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_list(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_list(_api, subscription_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_accesses_list_by_resource_group_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskAccessList, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_accesses_list_by_resource_group(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_accesses_list_by_resource_group_DiskAccessesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Lists all the disk access resources under a resource group. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- api_version::String (required) - -Return: DiskAccessList, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_list_by_resource_group(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_list_by_resource_group(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_list_by_resource_group(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_list_by_resource_group(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_accesses_update_DiskAccessesApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskAccess, - Regex("^" * replace("202", "x"=>".") * "\$") => DiskAccess, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_accesses_update(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccessUpdate; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_disk_accesses_update_DiskAccessesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskAccesses/{diskAccessName}", ["azure_auth", ], disk_access) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskAccessName", disk_access_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Updates (patches) a disk access resource. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_access_name::String (required) -- api_version::String (required) -- disk_access::DiskAccessUpdate (required) - -Return: DiskAccess, OpenAPI.Clients.ApiResponse -""" -function disk_accesses_update(_api::DiskAccessesApi, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccessUpdate; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_update(_api, subscription_id, resource_group_name, disk_access_name, api_version, disk_access; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_accesses_update(_api::DiskAccessesApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_access_name::String, api_version::String, disk_access::DiskAccessUpdate; _mediaType=nothing) - _ctx = _oacinternal_disk_accesses_update(_api, subscription_id, resource_group_name, disk_access_name, api_version, disk_access; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -export disk_accesses_create_or_update -export disk_accesses_delete -export disk_accesses_get -export disk_accesses_get_private_link_resources -export disk_accesses_list -export disk_accesses_list_by_resource_group -export disk_accesses_update diff --git a/src/Compute/DiskResourceProviderClient/src/apis/api_DiskEncryptionSetsApi.jl b/src/Compute/DiskResourceProviderClient/src/apis/api_DiskEncryptionSetsApi.jl deleted file mode 100644 index 5445b13..0000000 --- a/src/Compute/DiskResourceProviderClient/src/apis/api_DiskEncryptionSetsApi.jl +++ /dev/null @@ -1,235 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - -struct DiskEncryptionSetsApi <: OpenAPI.APIClientImpl - client::OpenAPI.Clients.Client -end - -""" -The default API base path for APIs in `DiskEncryptionSetsApi`. -This can be used to construct the `OpenAPI.Clients.Client` instance. -""" -basepath(::Type{ DiskEncryptionSetsApi }) = "https://management.azure.com" - -const _returntypes_disk_encryption_sets_create_or_update_DiskEncryptionSetsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskEncryptionSet, - Regex("^" * replace("202", "x"=>".") * "\$") => DiskEncryptionSet, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_encryption_sets_create_or_update(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSet; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_disk_encryption_sets_create_or_update_DiskEncryptionSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", ["azure_auth", ], disk_encryption_set) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskEncryptionSetName", disk_encryption_set_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Creates or updates a disk encryption set - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_encryption_set_name::String (required) -- api_version::String (required) -- disk_encryption_set::DiskEncryptionSet (required) - -Return: DiskEncryptionSet, OpenAPI.Clients.ApiResponse -""" -function disk_encryption_sets_create_or_update(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSet; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_create_or_update(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version, disk_encryption_set; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_encryption_sets_create_or_update(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSet; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_create_or_update(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version, disk_encryption_set; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_encryption_sets_delete_DiskEncryptionSetsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_encryption_sets_delete(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_disk_encryption_sets_delete_DiskEncryptionSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskEncryptionSetName", disk_encryption_set_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a disk encryption set. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_encryption_set_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function disk_encryption_sets_delete(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_delete(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_encryption_sets_delete(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_delete(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_encryption_sets_get_DiskEncryptionSetsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskEncryptionSet, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_encryption_sets_get(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_encryption_sets_get_DiskEncryptionSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskEncryptionSetName", disk_encryption_set_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets information about a disk encryption set. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_encryption_set_name::String (required) -- api_version::String (required) - -Return: DiskEncryptionSet, OpenAPI.Clients.ApiResponse -""" -function disk_encryption_sets_get(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_get(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_encryption_sets_get(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_get(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_encryption_sets_list_DiskEncryptionSetsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskEncryptionSetList, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_encryption_sets_list(_api::DiskEncryptionSetsApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_encryption_sets_list_DiskEncryptionSetsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/diskEncryptionSets", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Lists all the disk encryption sets under a subscription. - -Params: -- subscription_id::String (required) -- api_version::String (required) - -Return: DiskEncryptionSetList, OpenAPI.Clients.ApiResponse -""" -function disk_encryption_sets_list(_api::DiskEncryptionSetsApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_list(_api, subscription_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_encryption_sets_list(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_list(_api, subscription_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_encryption_sets_list_by_resource_group_DiskEncryptionSetsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskEncryptionSetList, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_encryption_sets_list_by_resource_group(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disk_encryption_sets_list_by_resource_group_DiskEncryptionSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Lists all the disk encryption sets under a resource group. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- api_version::String (required) - -Return: DiskEncryptionSetList, OpenAPI.Clients.ApiResponse -""" -function disk_encryption_sets_list_by_resource_group(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_list_by_resource_group(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_encryption_sets_list_by_resource_group(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_list_by_resource_group(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_disk_encryption_sets_update_DiskEncryptionSetsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DiskEncryptionSet, - Regex("^" * replace("202", "x"=>".") * "\$") => DiskEncryptionSet, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_disk_encryption_sets_update(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSetUpdate; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_disk_encryption_sets_update_DiskEncryptionSetsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/diskEncryptionSets/{diskEncryptionSetName}", ["azure_auth", ], disk_encryption_set) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "diskEncryptionSetName", disk_encryption_set_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Updates (patches) a disk encryption set. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- disk_encryption_set_name::String (required) -- api_version::String (required) -- disk_encryption_set::DiskEncryptionSetUpdate (required) - -Return: DiskEncryptionSet, OpenAPI.Clients.ApiResponse -""" -function disk_encryption_sets_update(_api::DiskEncryptionSetsApi, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSetUpdate; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_update(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version, disk_encryption_set; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function disk_encryption_sets_update(_api::DiskEncryptionSetsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, disk_encryption_set_name::String, api_version::String, disk_encryption_set::DiskEncryptionSetUpdate; _mediaType=nothing) - _ctx = _oacinternal_disk_encryption_sets_update(_api, subscription_id, resource_group_name, disk_encryption_set_name, api_version, disk_encryption_set; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -export disk_encryption_sets_create_or_update -export disk_encryption_sets_delete -export disk_encryption_sets_get -export disk_encryption_sets_list -export disk_encryption_sets_list_by_resource_group -export disk_encryption_sets_update diff --git a/src/Compute/DiskResourceProviderClient/src/apis/api_DisksApi.jl b/src/Compute/DiskResourceProviderClient/src/apis/api_DisksApi.jl index 776df03..1df7223 100644 --- a/src/Compute/DiskResourceProviderClient/src/apis/api_DisksApi.jl +++ b/src/Compute/DiskResourceProviderClient/src/apis/api_DisksApi.jl @@ -21,7 +21,7 @@ function _oacinternal_disks_create_or_update(_api::DisksApi, subscription_id::St OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "diskName", disk_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -59,7 +59,7 @@ function _oacinternal_disks_delete(_api::DisksApi, subscription_id::String, reso OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "diskName", disk_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -94,7 +94,7 @@ function _oacinternal_disks_get(_api::DisksApi, subscription_id::String, resourc OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "diskName", disk_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -130,7 +130,7 @@ function _oacinternal_disks_grant_access(_api::DisksApi, subscription_id::String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "diskName", disk_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -164,7 +164,7 @@ const _returntypes_disks_list_DisksApi = Dict{Regex,Type}( function _oacinternal_disks_list(_api::DisksApi, subscription_id::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disks_list_DisksApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/disks", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -196,7 +196,7 @@ function _oacinternal_disks_list_by_resource_group(_api::DisksApi, subscription_ _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_disks_list_by_resource_group_DisksApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/disks", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -231,7 +231,7 @@ function _oacinternal_disks_revoke_access(_api::DisksApi, subscription_id::Strin OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "diskName", disk_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -267,7 +267,7 @@ function _oacinternal_disks_update(_api::DisksApi, subscription_id::String, reso OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "diskName", disk_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/DiskResourceProviderClient/src/apis/api_SnapshotsApi.jl b/src/Compute/DiskResourceProviderClient/src/apis/api_SnapshotsApi.jl deleted file mode 100644 index bb413d7..0000000 --- a/src/Compute/DiskResourceProviderClient/src/apis/api_SnapshotsApi.jl +++ /dev/null @@ -1,304 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - -struct SnapshotsApi <: OpenAPI.APIClientImpl - client::OpenAPI.Clients.Client -end - -""" -The default API base path for APIs in `SnapshotsApi`. -This can be used to construct the `OpenAPI.Clients.Client` instance. -""" -basepath(::Type{ SnapshotsApi }) = "https://management.azure.com" - -const _returntypes_snapshots_create_or_update_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Snapshot, - Regex("^" * replace("202", "x"=>".") * "\$") => Snapshot, -) - -function _oacinternal_snapshots_create_or_update(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::Snapshot; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_snapshots_create_or_update_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", ["azure_auth", ], snapshot) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "snapshotName", snapshot_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Creates or updates a snapshot. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- snapshot_name::String (required) -- api_version::String (required) -- snapshot::Snapshot (required) - -Return: Snapshot, OpenAPI.Clients.ApiResponse -""" -function snapshots_create_or_update(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::Snapshot; _mediaType=nothing) - _ctx = _oacinternal_snapshots_create_or_update(_api, subscription_id, resource_group_name, snapshot_name, api_version, snapshot; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_create_or_update(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::Snapshot; _mediaType=nothing) - _ctx = _oacinternal_snapshots_create_or_update(_api, subscription_id, resource_group_name, snapshot_name, api_version, snapshot; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_delete_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, -) - -function _oacinternal_snapshots_delete(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_snapshots_delete_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "snapshotName", snapshot_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a snapshot. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- snapshot_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function snapshots_delete(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_delete(_api, subscription_id, resource_group_name, snapshot_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_delete(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_delete(_api, subscription_id, resource_group_name, snapshot_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_get_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Snapshot, -) - -function _oacinternal_snapshots_get(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_snapshots_get_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "snapshotName", snapshot_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets information about a snapshot. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- snapshot_name::String (required) -- api_version::String (required) - -Return: Snapshot, OpenAPI.Clients.ApiResponse -""" -function snapshots_get(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_get(_api, subscription_id, resource_group_name, snapshot_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_get(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_get(_api, subscription_id, resource_group_name, snapshot_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_grant_access_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => AccessUri, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, -) - -function _oacinternal_snapshots_grant_access(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, grant_access_data::GrantAccessData; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_snapshots_grant_access_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/beginGetAccess", ["azure_auth", ], grant_access_data) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "snapshotName", snapshot_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Grants access to a snapshot. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- snapshot_name::String (required) -- api_version::String (required) -- grant_access_data::GrantAccessData (required) - -Return: AccessUri, OpenAPI.Clients.ApiResponse -""" -function snapshots_grant_access(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, grant_access_data::GrantAccessData; _mediaType=nothing) - _ctx = _oacinternal_snapshots_grant_access(_api, subscription_id, resource_group_name, snapshot_name, api_version, grant_access_data; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_grant_access(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, grant_access_data::GrantAccessData; _mediaType=nothing) - _ctx = _oacinternal_snapshots_grant_access(_api, subscription_id, resource_group_name, snapshot_name, api_version, grant_access_data; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_list_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => SnapshotList, -) - -function _oacinternal_snapshots_list(_api::SnapshotsApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_snapshots_list_SnapshotsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/snapshots", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Lists snapshots under a subscription. - -Params: -- subscription_id::String (required) -- api_version::String (required) - -Return: SnapshotList, OpenAPI.Clients.ApiResponse -""" -function snapshots_list(_api::SnapshotsApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_list(_api, subscription_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_list(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_list(_api, subscription_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_list_by_resource_group_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => SnapshotList, -) - -function _oacinternal_snapshots_list_by_resource_group(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_snapshots_list_by_resource_group_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Lists snapshots under a resource group. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- api_version::String (required) - -Return: SnapshotList, OpenAPI.Clients.ApiResponse -""" -function snapshots_list_by_resource_group(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_list_by_resource_group(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_list_by_resource_group(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_list_by_resource_group(_api, subscription_id, resource_group_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_revoke_access_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, -) - -function _oacinternal_snapshots_revoke_access(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_snapshots_revoke_access_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}/endGetAccess", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "snapshotName", snapshot_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, []) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Revokes access to a snapshot. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- snapshot_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function snapshots_revoke_access(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_revoke_access(_api, subscription_id, resource_group_name, snapshot_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_revoke_access(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_snapshots_revoke_access(_api, subscription_id, resource_group_name, snapshot_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_snapshots_update_SnapshotsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Snapshot, - Regex("^" * replace("202", "x"=>".") * "\$") => Snapshot, -) - -function _oacinternal_snapshots_update(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::SnapshotUpdate; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_snapshots_update_SnapshotsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/snapshots/{snapshotName}", ["azure_auth", ], snapshot) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "snapshotName", snapshot_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Updates (patches) a snapshot. - -Params: -- subscription_id::String (required) -- resource_group_name::String (required) -- snapshot_name::String (required) -- api_version::String (required) -- snapshot::SnapshotUpdate (required) - -Return: Snapshot, OpenAPI.Clients.ApiResponse -""" -function snapshots_update(_api::SnapshotsApi, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::SnapshotUpdate; _mediaType=nothing) - _ctx = _oacinternal_snapshots_update(_api, subscription_id, resource_group_name, snapshot_name, api_version, snapshot; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function snapshots_update(_api::SnapshotsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, snapshot_name::String, api_version::String, snapshot::SnapshotUpdate; _mediaType=nothing) - _ctx = _oacinternal_snapshots_update(_api, subscription_id, resource_group_name, snapshot_name, api_version, snapshot; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -export snapshots_create_or_update -export snapshots_delete -export snapshots_get -export snapshots_grant_access -export snapshots_list -export snapshots_list_by_resource_group -export snapshots_revoke_access -export snapshots_update diff --git a/src/Compute/DiskResourceProviderClient/src/modelincludes.jl b/src/Compute/DiskResourceProviderClient/src/modelincludes.jl index afc58a7..01205c0 100644 --- a/src/Compute/DiskResourceProviderClient/src/modelincludes.jl +++ b/src/Compute/DiskResourceProviderClient/src/modelincludes.jl @@ -2,53 +2,32 @@ # Do not modify this file directly. Modify the OpenAPI specification instead. include("models/model_AccessUri.jl") -include("models/model_ApiError.jl") -include("models/model_ApiErrorBase.jl") -include("models/model_CloudError.jl") include("models/model_CreationData.jl") +include("models/model_DataAccessAuthMode.jl") include("models/model_Disk.jl") -include("models/model_DiskAccess.jl") -include("models/model_DiskAccessList.jl") -include("models/model_DiskAccessProperties.jl") -include("models/model_DiskAccessUpdate.jl") -include("models/model_DiskAllOf.jl") -include("models/model_DiskEncryptionSet.jl") -include("models/model_DiskEncryptionSetList.jl") -include("models/model_DiskEncryptionSetUpdate.jl") -include("models/model_DiskEncryptionSetUpdateProperties.jl") include("models/model_DiskList.jl") include("models/model_DiskProperties.jl") +include("models/model_DiskSecurityProfile.jl") +include("models/model_DiskSecurityType.jl") include("models/model_DiskSku.jl") +include("models/model_DiskState.jl") include("models/model_DiskUpdate.jl") include("models/model_DiskUpdateProperties.jl") include("models/model_Encryption.jl") -include("models/model_EncryptionSetIdentity.jl") -include("models/model_EncryptionSetProperties.jl") include("models/model_EncryptionSettingsCollection.jl") include("models/model_EncryptionSettingsElement.jl") include("models/model_EncryptionType.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_GrantAccessData.jl") include("models/model_ImageDiskReference.jl") -include("models/model_InnerError.jl") include("models/model_KeyVaultAndKeyReference.jl") include("models/model_KeyVaultAndSecretReference.jl") include("models/model_NetworkAccessPolicy.jl") -include("models/model_PrivateEndpoint.jl") -include("models/model_PrivateEndpointConnection.jl") -include("models/model_PrivateEndpointConnectionProperties.jl") -include("models/model_PrivateEndpointConnectionProvisioningState.jl") -include("models/model_PrivateEndpointServiceConnectionStatus.jl") -include("models/model_PrivateLinkResource.jl") -include("models/model_PrivateLinkResourceListResult.jl") -include("models/model_PrivateLinkResourceProperties.jl") -include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PropertyUpdatesInProgress.jl") +include("models/model_PublicNetworkAccess.jl") +include("models/model_PurchasePlan.jl") include("models/model_Resource.jl") include("models/model_ShareInfoElement.jl") -include("models/model_Snapshot.jl") -include("models/model_SnapshotAllOf.jl") -include("models/model_SnapshotList.jl") -include("models/model_SnapshotProperties.jl") -include("models/model_SnapshotSku.jl") -include("models/model_SnapshotUpdate.jl") -include("models/model_SnapshotUpdateProperties.jl") include("models/model_SourceVault.jl") +include("models/model_SupportedCapabilities.jl") diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_AccessUri.jl b/src/Compute/DiskResourceProviderClient/src/models/model_AccessUri.jl index 4026dd9..6cae12f 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_AccessUri.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_AccessUri.jl @@ -7,25 +7,36 @@ A disk access SAS uri. AccessUri(; accessSAS=nothing, + securityDataAccessSAS=nothing, ) - accessSAS::String : A SAS uri for accessing a disk. + - securityDataAccessSAS::String : A SAS uri for accessing a VM guest state. """ Base.@kwdef mutable struct AccessUri <: OpenAPI.APIModel accessSAS::Union{Nothing, String} = nothing + securityDataAccessSAS::Union{Nothing, String} = nothing - function AccessUri(accessSAS, ) - OpenAPI.validate_property(AccessUri, Symbol("accessSAS"), accessSAS) - return new(accessSAS, ) + function AccessUri(accessSAS, securityDataAccessSAS, ) + o = new(accessSAS, securityDataAccessSAS, ) + OpenAPI.validate_properties(o) + return o end end # type AccessUri -const _property_types_AccessUri = Dict{Symbol,String}(Symbol("accessSAS")=>"String", ) +const _property_types_AccessUri = Dict{Symbol,String}(Symbol("accessSAS")=>"String", Symbol("securityDataAccessSAS")=>"String", ) OpenAPI.property_type(::Type{ AccessUri }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AccessUri[name]))} -function check_required(o::AccessUri) +function OpenAPI.check_required(o::AccessUri) true end +function OpenAPI.validate_properties(o::AccessUri) + OpenAPI.validate_property(AccessUri, Symbol("accessSAS"), o.accessSAS) + OpenAPI.validate_property(AccessUri, Symbol("securityDataAccessSAS"), o.securityDataAccessSAS) +end + function OpenAPI.validate_property(::Type{ AccessUri }, name::Symbol, val) + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_ApiError.jl b/src/Compute/DiskResourceProviderClient/src/models/model_ApiError.jl deleted file mode 100644 index 4659dda..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_ApiError.jl +++ /dev/null @@ -1,47 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ApiError -Api error. - - ApiError(; - details=nothing, - innererror=nothing, - code=nothing, - target=nothing, - message=nothing, - ) - - - details::Vector{ApiErrorBase} : The Api error details - - innererror::InnerError - - code::String : The error code. - - target::String : The target of the particular error. - - message::String : The error message. -""" -Base.@kwdef mutable struct ApiError <: OpenAPI.APIModel - details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApiErrorBase} } - innererror = nothing # spec type: Union{ Nothing, InnerError } - code::Union{Nothing, String} = nothing - target::Union{Nothing, String} = nothing - message::Union{Nothing, String} = nothing - - function ApiError(details, innererror, code, target, message, ) - OpenAPI.validate_property(ApiError, Symbol("details"), details) - OpenAPI.validate_property(ApiError, Symbol("innererror"), innererror) - OpenAPI.validate_property(ApiError, Symbol("code"), code) - OpenAPI.validate_property(ApiError, Symbol("target"), target) - OpenAPI.validate_property(ApiError, Symbol("message"), message) - return new(details, innererror, code, target, message, ) - end -end # type ApiError - -const _property_types_ApiError = Dict{Symbol,String}(Symbol("details")=>"Vector{ApiErrorBase}", Symbol("innererror")=>"InnerError", Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) -OpenAPI.property_type(::Type{ ApiError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiError[name]))} - -function check_required(o::ApiError) - true -end - -function OpenAPI.validate_property(::Type{ ApiError }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_ApiErrorBase.jl b/src/Compute/DiskResourceProviderClient/src/models/model_ApiErrorBase.jl deleted file mode 100644 index b3978a1..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_ApiErrorBase.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ApiErrorBase -Api error base. - - ApiErrorBase(; - code=nothing, - target=nothing, - message=nothing, - ) - - - code::String : The error code. - - target::String : The target of the particular error. - - message::String : The error message. -""" -Base.@kwdef mutable struct ApiErrorBase <: OpenAPI.APIModel - code::Union{Nothing, String} = nothing - target::Union{Nothing, String} = nothing - message::Union{Nothing, String} = nothing - - function ApiErrorBase(code, target, message, ) - OpenAPI.validate_property(ApiErrorBase, Symbol("code"), code) - OpenAPI.validate_property(ApiErrorBase, Symbol("target"), target) - OpenAPI.validate_property(ApiErrorBase, Symbol("message"), message) - return new(code, target, message, ) - end -end # type ApiErrorBase - -const _property_types_ApiErrorBase = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) -OpenAPI.property_type(::Type{ ApiErrorBase }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiErrorBase[name]))} - -function check_required(o::ApiErrorBase) - true -end - -function OpenAPI.validate_property(::Type{ ApiErrorBase }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_CloudError.jl b/src/Compute/DiskResourceProviderClient/src/models/model_CloudError.jl deleted file mode 100644 index f530546..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_CloudError.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""CloudError -An error response from the Compute service. - - CloudError(; - error=nothing, - ) - - - error::ApiError -""" -Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel - error = nothing # spec type: Union{ Nothing, ApiError } - - function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) - end -end # type CloudError - -const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ApiError", ) -OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} - -function check_required(o::CloudError) - true -end - -function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_CreationData.jl b/src/Compute/DiskResourceProviderClient/src/models/model_CreationData.jl index 395e5e0..c9c93a0 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_CreationData.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_CreationData.jl @@ -14,6 +14,11 @@ Data used when creating a disk. sourceResourceId=nothing, sourceUniqueId=nothing, uploadSizeBytes=nothing, + logicalSectorSize=nothing, + securityDataUri=nothing, + performancePlus=nothing, + elasticSanResourceId=nothing, + provisionedBandwidthCopySpeed=nothing, ) - createOption::String : This enumerates the possible sources of a disk's creation. @@ -24,6 +29,11 @@ Data used when creating a disk. - sourceResourceId::String : If createOption is Copy, this is the ARM id of the source snapshot or disk. - sourceUniqueId::String : If this field is set, this is the unique id identifying the source of this resource. - uploadSizeBytes::Int64 : If createOption is Upload, this is the size of the contents of the upload including the VHD footer. This value should be between 20972032 (20 MiB + 512 bytes for the VHD footer) and 35183298347520 bytes (32 TiB + 512 bytes for the VHD footer). + - logicalSectorSize::Int64 : Logical sector size in bytes for Ultra disks. Supported values are 512 ad 4096. 4096 is the default. + - securityDataUri::String : If createOption is ImportSecure, this is the URI of a blob to be imported into VM guest state. + - performancePlus::Bool : Set this flag to true to get a boost on the performance target of the disk deployed, see here on the respective performance target. This flag can only be set on disk creation time and cannot be disabled after enabled. + - elasticSanResourceId::String : Required if createOption is CopyFromSanSnapshot. This is the ARM id of the source elastic san volume snapshot. + - provisionedBandwidthCopySpeed::String : If this field is set on a snapshot and createOption is CopyStart, the snapshot will be copied at a quicker speed. """ Base.@kwdef mutable struct CreationData <: OpenAPI.APIModel createOption::Union{Nothing, String} = nothing @@ -34,33 +44,69 @@ Base.@kwdef mutable struct CreationData <: OpenAPI.APIModel sourceResourceId::Union{Nothing, String} = nothing sourceUniqueId::Union{Nothing, String} = nothing uploadSizeBytes::Union{Nothing, Int64} = nothing + logicalSectorSize::Union{Nothing, Int64} = nothing + securityDataUri::Union{Nothing, String} = nothing + performancePlus::Union{Nothing, Bool} = nothing + elasticSanResourceId::Union{Nothing, String} = nothing + provisionedBandwidthCopySpeed::Union{Nothing, String} = nothing - function CreationData(createOption, storageAccountId, imageReference, galleryImageReference, sourceUri, sourceResourceId, sourceUniqueId, uploadSizeBytes, ) - OpenAPI.validate_property(CreationData, Symbol("createOption"), createOption) - OpenAPI.validate_property(CreationData, Symbol("storageAccountId"), storageAccountId) - OpenAPI.validate_property(CreationData, Symbol("imageReference"), imageReference) - OpenAPI.validate_property(CreationData, Symbol("galleryImageReference"), galleryImageReference) - OpenAPI.validate_property(CreationData, Symbol("sourceUri"), sourceUri) - OpenAPI.validate_property(CreationData, Symbol("sourceResourceId"), sourceResourceId) - OpenAPI.validate_property(CreationData, Symbol("sourceUniqueId"), sourceUniqueId) - OpenAPI.validate_property(CreationData, Symbol("uploadSizeBytes"), uploadSizeBytes) - return new(createOption, storageAccountId, imageReference, galleryImageReference, sourceUri, sourceResourceId, sourceUniqueId, uploadSizeBytes, ) + function CreationData(createOption, storageAccountId, imageReference, galleryImageReference, sourceUri, sourceResourceId, sourceUniqueId, uploadSizeBytes, logicalSectorSize, securityDataUri, performancePlus, elasticSanResourceId, provisionedBandwidthCopySpeed, ) + o = new(createOption, storageAccountId, imageReference, galleryImageReference, sourceUri, sourceResourceId, sourceUniqueId, uploadSizeBytes, logicalSectorSize, securityDataUri, performancePlus, elasticSanResourceId, provisionedBandwidthCopySpeed, ) + OpenAPI.validate_properties(o) + return o end end # type CreationData -const _property_types_CreationData = Dict{Symbol,String}(Symbol("createOption")=>"String", Symbol("storageAccountId")=>"String", Symbol("imageReference")=>"ImageDiskReference", Symbol("galleryImageReference")=>"ImageDiskReference", Symbol("sourceUri")=>"String", Symbol("sourceResourceId")=>"String", Symbol("sourceUniqueId")=>"String", Symbol("uploadSizeBytes")=>"Int64", ) +const _property_types_CreationData = Dict{Symbol,String}(Symbol("createOption")=>"String", Symbol("storageAccountId")=>"String", Symbol("imageReference")=>"ImageDiskReference", Symbol("galleryImageReference")=>"ImageDiskReference", Symbol("sourceUri")=>"String", Symbol("sourceResourceId")=>"String", Symbol("sourceUniqueId")=>"String", Symbol("uploadSizeBytes")=>"Int64", Symbol("logicalSectorSize")=>"Int64", Symbol("securityDataUri")=>"String", Symbol("performancePlus")=>"Bool", Symbol("elasticSanResourceId")=>"String", Symbol("provisionedBandwidthCopySpeed")=>"String", ) OpenAPI.property_type(::Type{ CreationData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreationData[name]))} -function check_required(o::CreationData) +function OpenAPI.check_required(o::CreationData) o.createOption === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreationData) + OpenAPI.validate_property(CreationData, Symbol("createOption"), o.createOption) + OpenAPI.validate_property(CreationData, Symbol("storageAccountId"), o.storageAccountId) + OpenAPI.validate_property(CreationData, Symbol("imageReference"), o.imageReference) + OpenAPI.validate_property(CreationData, Symbol("galleryImageReference"), o.galleryImageReference) + OpenAPI.validate_property(CreationData, Symbol("sourceUri"), o.sourceUri) + OpenAPI.validate_property(CreationData, Symbol("sourceResourceId"), o.sourceResourceId) + OpenAPI.validate_property(CreationData, Symbol("sourceUniqueId"), o.sourceUniqueId) + OpenAPI.validate_property(CreationData, Symbol("uploadSizeBytes"), o.uploadSizeBytes) + OpenAPI.validate_property(CreationData, Symbol("logicalSectorSize"), o.logicalSectorSize) + OpenAPI.validate_property(CreationData, Symbol("securityDataUri"), o.securityDataUri) + OpenAPI.validate_property(CreationData, Symbol("performancePlus"), o.performancePlus) + OpenAPI.validate_property(CreationData, Symbol("elasticSanResourceId"), o.elasticSanResourceId) + OpenAPI.validate_property(CreationData, Symbol("provisionedBandwidthCopySpeed"), o.provisionedBandwidthCopySpeed) +end + function OpenAPI.validate_property(::Type{ CreationData }, name::Symbol, val) + if name === Symbol("createOption") - OpenAPI.validate_param(name, "CreationData", :enum, val, ["Empty", "Attach", "FromImage", "Import", "Copy", "Restore", "Upload"]) + OpenAPI.validate_param(name, "CreationData", :enum, val, ["Empty", "Attach", "FromImage", "Import", "Copy", "Restore", "Upload", "CopyStart", "ImportSecure", "UploadPreparedSecure", "CopyFromSanSnapshot"]) end + + + + + + + + if name === Symbol("uploadSizeBytes") OpenAPI.validate_param(name, "CreationData", :format, val, "int64") end + + if name === Symbol("logicalSectorSize") + OpenAPI.validate_param(name, "CreationData", :format, val, "int32") + end + + + + + if name === Symbol("provisionedBandwidthCopySpeed") + OpenAPI.validate_param(name, "CreationData", :enum, val, ["None", "Enhanced"]) + end + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DataAccessAuthMode.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DataAccessAuthMode.jl new file mode 100644 index 0000000..3138136 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DataAccessAuthMode.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :DataAccessAuthMode) + const DataAccessAuthMode = String +else + @warn("Skipping redefinition of DataAccessAuthMode to String") +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_Disk.jl b/src/Compute/DiskResourceProviderClient/src/models/model_Disk.jl index d726e24..d3dde81 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_Disk.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_Disk.jl @@ -6,63 +6,83 @@ Disk resource. Disk(; - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, managedBy=nothing, managedByExtended=nothing, sku=nothing, zones=nothing, + extendedLocation=nothing, properties=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, ) - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags - managedBy::String : A relative URI containing the ID of the VM that has the disk attached. - managedByExtended::Vector{String} : List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. - sku::DiskSku - zones::Vector{String} : The Logical zone list for Disk. + - extendedLocation::ExtendedLocation - properties::DiskProperties + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct Disk <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing managedBy::Union{Nothing, String} = nothing managedByExtended::Union{Nothing, Vector{String}} = nothing sku = nothing # spec type: Union{ Nothing, DiskSku } zones::Union{Nothing, Vector{String}} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, DiskProperties } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing - function Disk(id, name, type, location, tags, managedBy, managedByExtended, sku, zones, properties, ) - OpenAPI.validate_property(Disk, Symbol("id"), id) - OpenAPI.validate_property(Disk, Symbol("name"), name) - OpenAPI.validate_property(Disk, Symbol("type"), type) - OpenAPI.validate_property(Disk, Symbol("location"), location) - OpenAPI.validate_property(Disk, Symbol("tags"), tags) - OpenAPI.validate_property(Disk, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(Disk, Symbol("managedByExtended"), managedByExtended) - OpenAPI.validate_property(Disk, Symbol("sku"), sku) - OpenAPI.validate_property(Disk, Symbol("zones"), zones) - OpenAPI.validate_property(Disk, Symbol("properties"), properties) - return new(id, name, type, location, tags, managedBy, managedByExtended, sku, zones, properties, ) + function Disk(managedBy, managedByExtended, sku, zones, extendedLocation, properties, id, name, type, location, tags, ) + o = new(managedBy, managedByExtended, sku, zones, extendedLocation, properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Disk -const _property_types_Disk = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("managedBy")=>"String", Symbol("managedByExtended")=>"Vector{String}", Symbol("sku")=>"DiskSku", Symbol("zones")=>"Vector{String}", Symbol("properties")=>"DiskProperties", ) +const _property_types_Disk = Dict{Symbol,String}(Symbol("managedBy")=>"String", Symbol("managedByExtended")=>"Vector{String}", Symbol("sku")=>"DiskSku", Symbol("zones")=>"Vector{String}", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"DiskProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Disk }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Disk[name]))} -function check_required(o::Disk) +function OpenAPI.check_required(o::Disk) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::Disk) + OpenAPI.validate_property(Disk, Symbol("managedBy"), o.managedBy) + OpenAPI.validate_property(Disk, Symbol("managedByExtended"), o.managedByExtended) + OpenAPI.validate_property(Disk, Symbol("sku"), o.sku) + OpenAPI.validate_property(Disk, Symbol("zones"), o.zones) + OpenAPI.validate_property(Disk, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(Disk, Symbol("properties"), o.properties) + OpenAPI.validate_property(Disk, Symbol("id"), o.id) + OpenAPI.validate_property(Disk, Symbol("name"), o.name) + OpenAPI.validate_property(Disk, Symbol("type"), o.type) + OpenAPI.validate_property(Disk, Symbol("location"), o.location) + OpenAPI.validate_property(Disk, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Disk }, name::Symbol, val) + + + + + + + + + + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccess.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccess.jl deleted file mode 100644 index c47bf2f..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccess.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskAccess -disk access resource. - - DiskAccess(; - properties=nothing, - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, - ) - - - properties::DiskAccessProperties - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags -""" -Base.@kwdef mutable struct DiskAccess <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, DiskAccessProperties } - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing - - function DiskAccess(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(DiskAccess, Symbol("properties"), properties) - OpenAPI.validate_property(DiskAccess, Symbol("id"), id) - OpenAPI.validate_property(DiskAccess, Symbol("name"), name) - OpenAPI.validate_property(DiskAccess, Symbol("type"), type) - OpenAPI.validate_property(DiskAccess, Symbol("location"), location) - OpenAPI.validate_property(DiskAccess, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) - end -end # type DiskAccess - -const _property_types_DiskAccess = Dict{Symbol,String}(Symbol("properties")=>"DiskAccessProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ DiskAccess }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskAccess[name]))} - -function check_required(o::DiskAccess) - o.location === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DiskAccess }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessList.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessList.jl deleted file mode 100644 index 62b7e08..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessList.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskAccessList -The List disk access operation response. - - DiskAccessList(; - value=nothing, - nextLink=nothing, - ) - - - value::Vector{DiskAccess} : A list of disk access resources. - - nextLink::String : The uri to fetch the next page of disk access resources. Call ListNext() with this to fetch the next page of disk access resources. -""" -Base.@kwdef mutable struct DiskAccessList <: OpenAPI.APIModel - value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DiskAccess} } - nextLink::Union{Nothing, String} = nothing - - function DiskAccessList(value, nextLink, ) - OpenAPI.validate_property(DiskAccessList, Symbol("value"), value) - OpenAPI.validate_property(DiskAccessList, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) - end -end # type DiskAccessList - -const _property_types_DiskAccessList = Dict{Symbol,String}(Symbol("value")=>"Vector{DiskAccess}", Symbol("nextLink")=>"String", ) -OpenAPI.property_type(::Type{ DiskAccessList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskAccessList[name]))} - -function check_required(o::DiskAccessList) - o.value === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DiskAccessList }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessProperties.jl deleted file mode 100644 index a9548ae..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessProperties.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskAccessProperties - - DiskAccessProperties(; - privateEndpointConnections=nothing, - provisioningState=nothing, - timeCreated=nothing, - ) - - - privateEndpointConnections::Vector{PrivateEndpointConnection} : A readonly collection of private endpoint connections created on the disk. Currently only one endpoint connection is supported. - - provisioningState::String : The disk access resource provisioning state. - - timeCreated::ZonedDateTime : The time when the disk access was created. -""" -Base.@kwdef mutable struct DiskAccessProperties <: OpenAPI.APIModel - privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } - provisioningState::Union{Nothing, String} = nothing - timeCreated::Union{Nothing, ZonedDateTime} = nothing - - function DiskAccessProperties(privateEndpointConnections, provisioningState, timeCreated, ) - OpenAPI.validate_property(DiskAccessProperties, Symbol("privateEndpointConnections"), privateEndpointConnections) - OpenAPI.validate_property(DiskAccessProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DiskAccessProperties, Symbol("timeCreated"), timeCreated) - return new(privateEndpointConnections, provisioningState, timeCreated, ) - end -end # type DiskAccessProperties - -const _property_types_DiskAccessProperties = Dict{Symbol,String}(Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("provisioningState")=>"String", Symbol("timeCreated")=>"ZonedDateTime", ) -OpenAPI.property_type(::Type{ DiskAccessProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskAccessProperties[name]))} - -function check_required(o::DiskAccessProperties) - true -end - -function OpenAPI.validate_property(::Type{ DiskAccessProperties }, name::Symbol, val) - if name === Symbol("timeCreated") - OpenAPI.validate_param(name, "DiskAccessProperties", :format, val, "date-time") - end -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessUpdate.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessUpdate.jl deleted file mode 100644 index 6d62eac..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAccessUpdate.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskAccessUpdate -Used for updating a disk access resource. - - DiskAccessUpdate(; - tags=nothing, - ) - - - tags::Dict{String, String} : Resource tags -""" -Base.@kwdef mutable struct DiskAccessUpdate <: OpenAPI.APIModel - tags::Union{Nothing, Dict{String, String}} = nothing - - function DiskAccessUpdate(tags, ) - OpenAPI.validate_property(DiskAccessUpdate, Symbol("tags"), tags) - return new(tags, ) - end -end # type DiskAccessUpdate - -const _property_types_DiskAccessUpdate = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ DiskAccessUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskAccessUpdate[name]))} - -function check_required(o::DiskAccessUpdate) - true -end - -function OpenAPI.validate_property(::Type{ DiskAccessUpdate }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAllOf.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskAllOf.jl deleted file mode 100644 index d0565fc..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskAllOf.jl +++ /dev/null @@ -1,46 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""Disk_allOf - - DiskAllOf(; - managedBy=nothing, - managedByExtended=nothing, - sku=nothing, - zones=nothing, - properties=nothing, - ) - - - managedBy::String : A relative URI containing the ID of the VM that has the disk attached. - - managedByExtended::Vector{String} : List of relative URIs containing the IDs of the VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. - - sku::DiskSku - - zones::Vector{String} : The Logical zone list for Disk. - - properties::DiskProperties -""" -Base.@kwdef mutable struct DiskAllOf <: OpenAPI.APIModel - managedBy::Union{Nothing, String} = nothing - managedByExtended::Union{Nothing, Vector{String}} = nothing - sku = nothing # spec type: Union{ Nothing, DiskSku } - zones::Union{Nothing, Vector{String}} = nothing - properties = nothing # spec type: Union{ Nothing, DiskProperties } - - function DiskAllOf(managedBy, managedByExtended, sku, zones, properties, ) - OpenAPI.validate_property(DiskAllOf, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(DiskAllOf, Symbol("managedByExtended"), managedByExtended) - OpenAPI.validate_property(DiskAllOf, Symbol("sku"), sku) - OpenAPI.validate_property(DiskAllOf, Symbol("zones"), zones) - OpenAPI.validate_property(DiskAllOf, Symbol("properties"), properties) - return new(managedBy, managedByExtended, sku, zones, properties, ) - end -end # type DiskAllOf - -const _property_types_DiskAllOf = Dict{Symbol,String}(Symbol("managedBy")=>"String", Symbol("managedByExtended")=>"Vector{String}", Symbol("sku")=>"DiskSku", Symbol("zones")=>"Vector{String}", Symbol("properties")=>"DiskProperties", ) -OpenAPI.property_type(::Type{ DiskAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskAllOf[name]))} - -function check_required(o::DiskAllOf) - true -end - -function OpenAPI.validate_property(::Type{ DiskAllOf }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSet.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSet.jl deleted file mode 100644 index 8f4c6bf..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSet.jl +++ /dev/null @@ -1,56 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskEncryptionSet -disk encryption set resource. - - DiskEncryptionSet(; - identity=nothing, - properties=nothing, - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, - ) - - - identity::EncryptionSetIdentity - - properties::EncryptionSetProperties - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags -""" -Base.@kwdef mutable struct DiskEncryptionSet <: OpenAPI.APIModel - identity = nothing # spec type: Union{ Nothing, EncryptionSetIdentity } - properties = nothing # spec type: Union{ Nothing, EncryptionSetProperties } - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing - - function DiskEncryptionSet(identity, properties, id, name, type, location, tags, ) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("identity"), identity) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("properties"), properties) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("id"), id) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("name"), name) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("type"), type) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("location"), location) - OpenAPI.validate_property(DiskEncryptionSet, Symbol("tags"), tags) - return new(identity, properties, id, name, type, location, tags, ) - end -end # type DiskEncryptionSet - -const _property_types_DiskEncryptionSet = Dict{Symbol,String}(Symbol("identity")=>"EncryptionSetIdentity", Symbol("properties")=>"EncryptionSetProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ DiskEncryptionSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskEncryptionSet[name]))} - -function check_required(o::DiskEncryptionSet) - o.location === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DiskEncryptionSet }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetList.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetList.jl deleted file mode 100644 index 8b7eb1f..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetList.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskEncryptionSetList -The List disk encryption set operation response. - - DiskEncryptionSetList(; - value=nothing, - nextLink=nothing, - ) - - - value::Vector{DiskEncryptionSet} : A list of disk encryption sets. - - nextLink::String : The uri to fetch the next page of disk encryption sets. Call ListNext() with this to fetch the next page of disk encryption sets. -""" -Base.@kwdef mutable struct DiskEncryptionSetList <: OpenAPI.APIModel - value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DiskEncryptionSet} } - nextLink::Union{Nothing, String} = nothing - - function DiskEncryptionSetList(value, nextLink, ) - OpenAPI.validate_property(DiskEncryptionSetList, Symbol("value"), value) - OpenAPI.validate_property(DiskEncryptionSetList, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) - end -end # type DiskEncryptionSetList - -const _property_types_DiskEncryptionSetList = Dict{Symbol,String}(Symbol("value")=>"Vector{DiskEncryptionSet}", Symbol("nextLink")=>"String", ) -OpenAPI.property_type(::Type{ DiskEncryptionSetList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskEncryptionSetList[name]))} - -function check_required(o::DiskEncryptionSetList) - o.value === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DiskEncryptionSetList }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetUpdate.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetUpdate.jl deleted file mode 100644 index e18c5ac..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetUpdate.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskEncryptionSetUpdate -disk encryption set update resource. - - DiskEncryptionSetUpdate(; - properties=nothing, - tags=nothing, - ) - - - properties::DiskEncryptionSetUpdateProperties - - tags::Dict{String, String} : Resource tags -""" -Base.@kwdef mutable struct DiskEncryptionSetUpdate <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, DiskEncryptionSetUpdateProperties } - tags::Union{Nothing, Dict{String, String}} = nothing - - function DiskEncryptionSetUpdate(properties, tags, ) - OpenAPI.validate_property(DiskEncryptionSetUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(DiskEncryptionSetUpdate, Symbol("tags"), tags) - return new(properties, tags, ) - end -end # type DiskEncryptionSetUpdate - -const _property_types_DiskEncryptionSetUpdate = Dict{Symbol,String}(Symbol("properties")=>"DiskEncryptionSetUpdateProperties", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ DiskEncryptionSetUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskEncryptionSetUpdate[name]))} - -function check_required(o::DiskEncryptionSetUpdate) - true -end - -function OpenAPI.validate_property(::Type{ DiskEncryptionSetUpdate }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetUpdateProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetUpdateProperties.jl deleted file mode 100644 index 9be7025..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskEncryptionSetUpdateProperties.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DiskEncryptionSetUpdateProperties -disk encryption set resource update properties. - - DiskEncryptionSetUpdateProperties(; - encryptionType=nothing, - activeKey=nothing, - ) - - - encryptionType::EncryptionType - - activeKey::KeyVaultAndKeyReference -""" -Base.@kwdef mutable struct DiskEncryptionSetUpdateProperties <: OpenAPI.APIModel - encryptionType = nothing # spec type: Union{ Nothing, EncryptionType } - activeKey = nothing # spec type: Union{ Nothing, KeyVaultAndKeyReference } - - function DiskEncryptionSetUpdateProperties(encryptionType, activeKey, ) - OpenAPI.validate_property(DiskEncryptionSetUpdateProperties, Symbol("encryptionType"), encryptionType) - OpenAPI.validate_property(DiskEncryptionSetUpdateProperties, Symbol("activeKey"), activeKey) - return new(encryptionType, activeKey, ) - end -end # type DiskEncryptionSetUpdateProperties - -const _property_types_DiskEncryptionSetUpdateProperties = Dict{Symbol,String}(Symbol("encryptionType")=>"EncryptionType", Symbol("activeKey")=>"KeyVaultAndKeyReference", ) -OpenAPI.property_type(::Type{ DiskEncryptionSetUpdateProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskEncryptionSetUpdateProperties[name]))} - -function check_required(o::DiskEncryptionSetUpdateProperties) - true -end - -function OpenAPI.validate_property(::Type{ DiskEncryptionSetUpdateProperties }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskList.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskList.jl index a0adee4..a4ae7c7 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskList.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskList.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct DiskList <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function DiskList(value, nextLink, ) - OpenAPI.validate_property(DiskList, Symbol("value"), value) - OpenAPI.validate_property(DiskList, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type DiskList const _property_types_DiskList = Dict{Symbol,String}(Symbol("value")=>"Vector{Disk}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ DiskList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskList[name]))} -function check_required(o::DiskList) +function OpenAPI.check_required(o::DiskList) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::DiskList) + OpenAPI.validate_property(DiskList, Symbol("value"), o.value) + OpenAPI.validate_property(DiskList, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ DiskList }, name::Symbol, val) + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskProperties.jl index 67de6b3..0a80e4a 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskProperties.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskProperties.jl @@ -9,6 +9,8 @@ Disk resource properties. timeCreated=nothing, osType=nothing, hyperVGeneration=nothing, + purchasePlan=nothing, + supportedCapabilities=nothing, creationData=nothing, diskSizeGB=nothing, diskSizeBytes=nothing, @@ -25,11 +27,24 @@ Disk resource properties. shareInfo=nothing, networkAccessPolicy=nothing, diskAccessId=nothing, + burstingEnabledTime=nothing, + tier=nothing, + burstingEnabled=nothing, + propertyUpdatesInProgress=nothing, + supportsHibernation=nothing, + securityProfile=nothing, + completionPercent=nothing, + publicNetworkAccess=nothing, + dataAccessAuthMode=nothing, + optimizedForFrequentAttach=nothing, + LastOwnershipUpdateTime=nothing, ) - timeCreated::ZonedDateTime : The time when the disk was created. - osType::String : The Operating System type. - hyperVGeneration::String : The hypervisor generation of the Virtual Machine. Applicable to OS disks only. + - purchasePlan::PurchasePlan + - supportedCapabilities::SupportedCapabilities - creationData::CreationData - diskSizeGB::Int64 : If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. - diskSizeBytes::Int64 : The size of the disk in bytes. This field is read only. @@ -40,17 +55,30 @@ Disk resource properties. - diskMBpsReadWrite::Int64 : The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. - diskIOPSReadOnly::Int64 : The total number of IOPS that will be allowed across all VMs mounting the shared disk as ReadOnly. One operation can transfer between 4k and 256k bytes. - diskMBpsReadOnly::Int64 : The total throughput (MBps) that will be allowed across all VMs mounting the shared disk as ReadOnly. MBps means millions of bytes per second - MB here uses the ISO notation, of powers of 10. - - diskState::String : The state of the disk. + - diskState::DiskState - encryption::Encryption - maxShares::Int64 : The maximum number of VMs that can attach to the disk at the same time. Value greater than one indicates a disk that can be mounted on multiple VMs at the same time. - shareInfo::Vector{ShareInfoElement} : Details of the list of all VMs that have the disk attached. maxShares should be set to a value greater than one for disks to allow attaching them to multiple VMs. - networkAccessPolicy::NetworkAccessPolicy - diskAccessId::String : ARM id of the DiskAccess resource for using private endpoints on disks. + - burstingEnabledTime::ZonedDateTime : Latest time when bursting was last enabled on a disk. + - tier::String : Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. + - burstingEnabled::Bool : Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. + - propertyUpdatesInProgress::PropertyUpdatesInProgress + - supportsHibernation::Bool : Indicates the OS on a disk supports hibernation. + - securityProfile::DiskSecurityProfile + - completionPercent::Float64 : Percentage complete for the background copy when a resource is created via the CopyStart operation. + - publicNetworkAccess::PublicNetworkAccess + - dataAccessAuthMode::DataAccessAuthMode + - optimizedForFrequentAttach::Bool : Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine. + - LastOwnershipUpdateTime::ZonedDateTime : The UTC time when the ownership state of the disk was last changed i.e., the time the disk was last attached or detached from a VM or the time when the VM to which the disk was attached was deallocated or started. """ Base.@kwdef mutable struct DiskProperties <: OpenAPI.APIModel timeCreated::Union{Nothing, ZonedDateTime} = nothing osType::Union{Nothing, String} = nothing hyperVGeneration::Union{Nothing, String} = nothing + purchasePlan = nothing # spec type: Union{ Nothing, PurchasePlan } + supportedCapabilities = nothing # spec type: Union{ Nothing, SupportedCapabilities } creationData = nothing # spec type: Union{ Nothing, CreationData } diskSizeGB::Union{Nothing, Int64} = nothing diskSizeBytes::Union{Nothing, Int64} = nothing @@ -61,77 +89,143 @@ Base.@kwdef mutable struct DiskProperties <: OpenAPI.APIModel diskMBpsReadWrite::Union{Nothing, Int64} = nothing diskIOPSReadOnly::Union{Nothing, Int64} = nothing diskMBpsReadOnly::Union{Nothing, Int64} = nothing - diskState::Union{Nothing, String} = nothing + diskState = nothing # spec type: Union{ Nothing, DiskState } encryption = nothing # spec type: Union{ Nothing, Encryption } maxShares::Union{Nothing, Int64} = nothing shareInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ShareInfoElement} } networkAccessPolicy = nothing # spec type: Union{ Nothing, NetworkAccessPolicy } diskAccessId::Union{Nothing, String} = nothing + burstingEnabledTime::Union{Nothing, ZonedDateTime} = nothing + tier::Union{Nothing, String} = nothing + burstingEnabled::Union{Nothing, Bool} = nothing + propertyUpdatesInProgress = nothing # spec type: Union{ Nothing, PropertyUpdatesInProgress } + supportsHibernation::Union{Nothing, Bool} = nothing + securityProfile = nothing # spec type: Union{ Nothing, DiskSecurityProfile } + completionPercent::Union{Nothing, Float64} = nothing + publicNetworkAccess = nothing # spec type: Union{ Nothing, PublicNetworkAccess } + dataAccessAuthMode = nothing # spec type: Union{ Nothing, DataAccessAuthMode } + optimizedForFrequentAttach::Union{Nothing, Bool} = nothing + LastOwnershipUpdateTime::Union{Nothing, ZonedDateTime} = nothing - function DiskProperties(timeCreated, osType, hyperVGeneration, creationData, diskSizeGB, diskSizeBytes, uniqueId, encryptionSettingsCollection, provisioningState, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, diskState, encryption, maxShares, shareInfo, networkAccessPolicy, diskAccessId, ) - OpenAPI.validate_property(DiskProperties, Symbol("timeCreated"), timeCreated) - OpenAPI.validate_property(DiskProperties, Symbol("osType"), osType) - OpenAPI.validate_property(DiskProperties, Symbol("hyperVGeneration"), hyperVGeneration) - OpenAPI.validate_property(DiskProperties, Symbol("creationData"), creationData) - OpenAPI.validate_property(DiskProperties, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(DiskProperties, Symbol("diskSizeBytes"), diskSizeBytes) - OpenAPI.validate_property(DiskProperties, Symbol("uniqueId"), uniqueId) - OpenAPI.validate_property(DiskProperties, Symbol("encryptionSettingsCollection"), encryptionSettingsCollection) - OpenAPI.validate_property(DiskProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DiskProperties, Symbol("diskIOPSReadWrite"), diskIOPSReadWrite) - OpenAPI.validate_property(DiskProperties, Symbol("diskMBpsReadWrite"), diskMBpsReadWrite) - OpenAPI.validate_property(DiskProperties, Symbol("diskIOPSReadOnly"), diskIOPSReadOnly) - OpenAPI.validate_property(DiskProperties, Symbol("diskMBpsReadOnly"), diskMBpsReadOnly) - OpenAPI.validate_property(DiskProperties, Symbol("diskState"), diskState) - OpenAPI.validate_property(DiskProperties, Symbol("encryption"), encryption) - OpenAPI.validate_property(DiskProperties, Symbol("maxShares"), maxShares) - OpenAPI.validate_property(DiskProperties, Symbol("shareInfo"), shareInfo) - OpenAPI.validate_property(DiskProperties, Symbol("networkAccessPolicy"), networkAccessPolicy) - OpenAPI.validate_property(DiskProperties, Symbol("diskAccessId"), diskAccessId) - return new(timeCreated, osType, hyperVGeneration, creationData, diskSizeGB, diskSizeBytes, uniqueId, encryptionSettingsCollection, provisioningState, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, diskState, encryption, maxShares, shareInfo, networkAccessPolicy, diskAccessId, ) + function DiskProperties(timeCreated, osType, hyperVGeneration, purchasePlan, supportedCapabilities, creationData, diskSizeGB, diskSizeBytes, uniqueId, encryptionSettingsCollection, provisioningState, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, diskState, encryption, maxShares, shareInfo, networkAccessPolicy, diskAccessId, burstingEnabledTime, tier, burstingEnabled, propertyUpdatesInProgress, supportsHibernation, securityProfile, completionPercent, publicNetworkAccess, dataAccessAuthMode, optimizedForFrequentAttach, LastOwnershipUpdateTime, ) + o = new(timeCreated, osType, hyperVGeneration, purchasePlan, supportedCapabilities, creationData, diskSizeGB, diskSizeBytes, uniqueId, encryptionSettingsCollection, provisioningState, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, diskState, encryption, maxShares, shareInfo, networkAccessPolicy, diskAccessId, burstingEnabledTime, tier, burstingEnabled, propertyUpdatesInProgress, supportsHibernation, securityProfile, completionPercent, publicNetworkAccess, dataAccessAuthMode, optimizedForFrequentAttach, LastOwnershipUpdateTime, ) + OpenAPI.validate_properties(o) + return o end end # type DiskProperties -const _property_types_DiskProperties = Dict{Symbol,String}(Symbol("timeCreated")=>"ZonedDateTime", Symbol("osType")=>"String", Symbol("hyperVGeneration")=>"String", Symbol("creationData")=>"CreationData", Symbol("diskSizeGB")=>"Int64", Symbol("diskSizeBytes")=>"Int64", Symbol("uniqueId")=>"String", Symbol("encryptionSettingsCollection")=>"EncryptionSettingsCollection", Symbol("provisioningState")=>"String", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", Symbol("diskIOPSReadOnly")=>"Int64", Symbol("diskMBpsReadOnly")=>"Int64", Symbol("diskState")=>"String", Symbol("encryption")=>"Encryption", Symbol("maxShares")=>"Int64", Symbol("shareInfo")=>"Vector{ShareInfoElement}", Symbol("networkAccessPolicy")=>"NetworkAccessPolicy", Symbol("diskAccessId")=>"String", ) +const _property_types_DiskProperties = Dict{Symbol,String}(Symbol("timeCreated")=>"ZonedDateTime", Symbol("osType")=>"String", Symbol("hyperVGeneration")=>"String", Symbol("purchasePlan")=>"PurchasePlan", Symbol("supportedCapabilities")=>"SupportedCapabilities", Symbol("creationData")=>"CreationData", Symbol("diskSizeGB")=>"Int64", Symbol("diskSizeBytes")=>"Int64", Symbol("uniqueId")=>"String", Symbol("encryptionSettingsCollection")=>"EncryptionSettingsCollection", Symbol("provisioningState")=>"String", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", Symbol("diskIOPSReadOnly")=>"Int64", Symbol("diskMBpsReadOnly")=>"Int64", Symbol("diskState")=>"DiskState", Symbol("encryption")=>"Encryption", Symbol("maxShares")=>"Int64", Symbol("shareInfo")=>"Vector{ShareInfoElement}", Symbol("networkAccessPolicy")=>"NetworkAccessPolicy", Symbol("diskAccessId")=>"String", Symbol("burstingEnabledTime")=>"ZonedDateTime", Symbol("tier")=>"String", Symbol("burstingEnabled")=>"Bool", Symbol("propertyUpdatesInProgress")=>"PropertyUpdatesInProgress", Symbol("supportsHibernation")=>"Bool", Symbol("securityProfile")=>"DiskSecurityProfile", Symbol("completionPercent")=>"Float64", Symbol("publicNetworkAccess")=>"PublicNetworkAccess", Symbol("dataAccessAuthMode")=>"DataAccessAuthMode", Symbol("optimizedForFrequentAttach")=>"Bool", Symbol("LastOwnershipUpdateTime")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ DiskProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskProperties[name]))} -function check_required(o::DiskProperties) +function OpenAPI.check_required(o::DiskProperties) o.creationData === nothing && (return false) true end +function OpenAPI.validate_properties(o::DiskProperties) + OpenAPI.validate_property(DiskProperties, Symbol("timeCreated"), o.timeCreated) + OpenAPI.validate_property(DiskProperties, Symbol("osType"), o.osType) + OpenAPI.validate_property(DiskProperties, Symbol("hyperVGeneration"), o.hyperVGeneration) + OpenAPI.validate_property(DiskProperties, Symbol("purchasePlan"), o.purchasePlan) + OpenAPI.validate_property(DiskProperties, Symbol("supportedCapabilities"), o.supportedCapabilities) + OpenAPI.validate_property(DiskProperties, Symbol("creationData"), o.creationData) + OpenAPI.validate_property(DiskProperties, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(DiskProperties, Symbol("diskSizeBytes"), o.diskSizeBytes) + OpenAPI.validate_property(DiskProperties, Symbol("uniqueId"), o.uniqueId) + OpenAPI.validate_property(DiskProperties, Symbol("encryptionSettingsCollection"), o.encryptionSettingsCollection) + OpenAPI.validate_property(DiskProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(DiskProperties, Symbol("diskIOPSReadWrite"), o.diskIOPSReadWrite) + OpenAPI.validate_property(DiskProperties, Symbol("diskMBpsReadWrite"), o.diskMBpsReadWrite) + OpenAPI.validate_property(DiskProperties, Symbol("diskIOPSReadOnly"), o.diskIOPSReadOnly) + OpenAPI.validate_property(DiskProperties, Symbol("diskMBpsReadOnly"), o.diskMBpsReadOnly) + OpenAPI.validate_property(DiskProperties, Symbol("diskState"), o.diskState) + OpenAPI.validate_property(DiskProperties, Symbol("encryption"), o.encryption) + OpenAPI.validate_property(DiskProperties, Symbol("maxShares"), o.maxShares) + OpenAPI.validate_property(DiskProperties, Symbol("shareInfo"), o.shareInfo) + OpenAPI.validate_property(DiskProperties, Symbol("networkAccessPolicy"), o.networkAccessPolicy) + OpenAPI.validate_property(DiskProperties, Symbol("diskAccessId"), o.diskAccessId) + OpenAPI.validate_property(DiskProperties, Symbol("burstingEnabledTime"), o.burstingEnabledTime) + OpenAPI.validate_property(DiskProperties, Symbol("tier"), o.tier) + OpenAPI.validate_property(DiskProperties, Symbol("burstingEnabled"), o.burstingEnabled) + OpenAPI.validate_property(DiskProperties, Symbol("propertyUpdatesInProgress"), o.propertyUpdatesInProgress) + OpenAPI.validate_property(DiskProperties, Symbol("supportsHibernation"), o.supportsHibernation) + OpenAPI.validate_property(DiskProperties, Symbol("securityProfile"), o.securityProfile) + OpenAPI.validate_property(DiskProperties, Symbol("completionPercent"), o.completionPercent) + OpenAPI.validate_property(DiskProperties, Symbol("publicNetworkAccess"), o.publicNetworkAccess) + OpenAPI.validate_property(DiskProperties, Symbol("dataAccessAuthMode"), o.dataAccessAuthMode) + OpenAPI.validate_property(DiskProperties, Symbol("optimizedForFrequentAttach"), o.optimizedForFrequentAttach) + OpenAPI.validate_property(DiskProperties, Symbol("LastOwnershipUpdateTime"), o.LastOwnershipUpdateTime) +end + function OpenAPI.validate_property(::Type{ DiskProperties }, name::Symbol, val) + if name === Symbol("timeCreated") OpenAPI.validate_param(name, "DiskProperties", :format, val, "date-time") end + if name === Symbol("osType") OpenAPI.validate_param(name, "DiskProperties", :enum, val, ["Windows", "Linux"]) end + + if name === Symbol("hyperVGeneration") OpenAPI.validate_param(name, "DiskProperties", :enum, val, ["V1", "V2"]) end + + + + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int32") end + if name === Symbol("diskSizeBytes") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int64") end + + + + if name === Symbol("diskIOPSReadWrite") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int64") end + if name === Symbol("diskMBpsReadWrite") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int64") end + if name === Symbol("diskIOPSReadOnly") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int64") end + if name === Symbol("diskMBpsReadOnly") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int64") end - if name === Symbol("diskState") - OpenAPI.validate_param(name, "DiskProperties", :enum, val, ["Unattached", "Attached", "Reserved", "ActiveSAS", "ReadyToUpload", "ActiveUpload"]) - end + + + if name === Symbol("maxShares") OpenAPI.validate_param(name, "DiskProperties", :format, val, "int32") end + + + + + if name === Symbol("burstingEnabledTime") + OpenAPI.validate_param(name, "DiskProperties", :format, val, "date-time") + end + + + + + + + + + + + if name === Symbol("LastOwnershipUpdateTime") + OpenAPI.validate_param(name, "DiskProperties", :format, val, "date-time") + end end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskSecurityProfile.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskSecurityProfile.jl new file mode 100644 index 0000000..b6b1c04 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskSecurityProfile.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DiskSecurityProfile +Contains the security related information for the resource. + + DiskSecurityProfile(; + securityType=nothing, + secureVMDiskEncryptionSetId=nothing, + ) + + - securityType::DiskSecurityType + - secureVMDiskEncryptionSetId::String : ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key +""" +Base.@kwdef mutable struct DiskSecurityProfile <: OpenAPI.APIModel + securityType = nothing # spec type: Union{ Nothing, DiskSecurityType } + secureVMDiskEncryptionSetId::Union{Nothing, String} = nothing + + function DiskSecurityProfile(securityType, secureVMDiskEncryptionSetId, ) + o = new(securityType, secureVMDiskEncryptionSetId, ) + OpenAPI.validate_properties(o) + return o + end +end # type DiskSecurityProfile + +const _property_types_DiskSecurityProfile = Dict{Symbol,String}(Symbol("securityType")=>"DiskSecurityType", Symbol("secureVMDiskEncryptionSetId")=>"String", ) +OpenAPI.property_type(::Type{ DiskSecurityProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskSecurityProfile[name]))} + +function OpenAPI.check_required(o::DiskSecurityProfile) + true +end + +function OpenAPI.validate_properties(o::DiskSecurityProfile) + OpenAPI.validate_property(DiskSecurityProfile, Symbol("securityType"), o.securityType) + OpenAPI.validate_property(DiskSecurityProfile, Symbol("secureVMDiskEncryptionSetId"), o.secureVMDiskEncryptionSetId) +end + +function OpenAPI.validate_property(::Type{ DiskSecurityProfile }, name::Symbol, val) + + +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskSecurityType.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskSecurityType.jl new file mode 100644 index 0000000..52564d8 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskSecurityType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :DiskSecurityType) + const DiskSecurityType = String +else + @warn("Skipping redefinition of DiskSecurityType to String") +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskSku.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskSku.jl index 92f8f6c..615caec 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskSku.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskSku.jl @@ -3,7 +3,7 @@ @doc raw"""DiskSku -The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, or UltraSSD_LRS. +The disks sku name. Can be Standard_LRS, Premium_LRS, StandardSSD_LRS, UltraSSD_LRS, Premium_ZRS, StandardSSD_ZRS, or PremiumV2_LRS. DiskSku(; name=nothing, @@ -18,21 +18,29 @@ Base.@kwdef mutable struct DiskSku <: OpenAPI.APIModel tier::Union{Nothing, String} = nothing function DiskSku(name, tier, ) - OpenAPI.validate_property(DiskSku, Symbol("name"), name) - OpenAPI.validate_property(DiskSku, Symbol("tier"), tier) - return new(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type DiskSku const _property_types_DiskSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ DiskSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskSku[name]))} -function check_required(o::DiskSku) +function OpenAPI.check_required(o::DiskSku) true end +function OpenAPI.validate_properties(o::DiskSku) + OpenAPI.validate_property(DiskSku, Symbol("name"), o.name) + OpenAPI.validate_property(DiskSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ DiskSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "DiskSku", :enum, val, ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS"]) + OpenAPI.validate_param(name, "DiskSku", :enum, val, ["Standard_LRS", "Premium_LRS", "StandardSSD_LRS", "UltraSSD_LRS", "Premium_ZRS", "StandardSSD_ZRS", "PremiumV2_LRS"]) end + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskState.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskState.jl new file mode 100644 index 0000000..07d1829 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskState.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :DiskState) + const DiskState = String +else + @warn("Skipping redefinition of DiskState to String") +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdate.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdate.jl index 32c84e7..b6e350d 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdate.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdate.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct DiskUpdate <: OpenAPI.APIModel sku = nothing # spec type: Union{ Nothing, DiskSku } function DiskUpdate(properties, tags, sku, ) - OpenAPI.validate_property(DiskUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(DiskUpdate, Symbol("tags"), tags) - OpenAPI.validate_property(DiskUpdate, Symbol("sku"), sku) - return new(properties, tags, sku, ) + o = new(properties, tags, sku, ) + OpenAPI.validate_properties(o) + return o end end # type DiskUpdate const _property_types_DiskUpdate = Dict{Symbol,String}(Symbol("properties")=>"DiskUpdateProperties", Symbol("tags")=>"Dict{String, String}", Symbol("sku")=>"DiskSku", ) OpenAPI.property_type(::Type{ DiskUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskUpdate[name]))} -function check_required(o::DiskUpdate) +function OpenAPI.check_required(o::DiskUpdate) true end +function OpenAPI.validate_properties(o::DiskUpdate) + OpenAPI.validate_property(DiskUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(DiskUpdate, Symbol("tags"), o.tags) + OpenAPI.validate_property(DiskUpdate, Symbol("sku"), o.sku) +end + function OpenAPI.validate_property(::Type{ DiskUpdate }, name::Symbol, val) + + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdateProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdateProperties.jl index 7f96e27..6c02f43 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdateProperties.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_DiskUpdateProperties.jl @@ -17,6 +17,15 @@ Disk resource update properties. encryption=nothing, networkAccessPolicy=nothing, diskAccessId=nothing, + tier=nothing, + burstingEnabled=nothing, + purchasePlan=nothing, + supportedCapabilities=nothing, + propertyUpdatesInProgress=nothing, + supportsHibernation=nothing, + publicNetworkAccess=nothing, + dataAccessAuthMode=nothing, + optimizedForFrequentAttach=nothing, ) - osType::String : the Operating System type. @@ -30,6 +39,15 @@ Disk resource update properties. - encryption::Encryption - networkAccessPolicy::NetworkAccessPolicy - diskAccessId::String : ARM id of the DiskAccess resource for using private endpoints on disks. + - tier::String : Performance tier of the disk (e.g, P4, S10) as described here: https://azure.microsoft.com/en-us/pricing/details/managed-disks/. Does not apply to Ultra disks. + - burstingEnabled::Bool : Set to true to enable bursting beyond the provisioned performance target of the disk. Bursting is disabled by default. Does not apply to Ultra disks. + - purchasePlan::PurchasePlan + - supportedCapabilities::SupportedCapabilities + - propertyUpdatesInProgress::PropertyUpdatesInProgress + - supportsHibernation::Bool : Indicates the OS on a disk supports hibernation. + - publicNetworkAccess::PublicNetworkAccess + - dataAccessAuthMode::DataAccessAuthMode + - optimizedForFrequentAttach::Bool : Setting this property to true improves reliability and performance of data disks that are frequently (more than 5 times a day) by detached from one virtual machine and attached to another. This property should not be set for disks that are not detached and attached frequently as it causes the disks to not align with the fault domain of the virtual machine. """ Base.@kwdef mutable struct DiskUpdateProperties <: OpenAPI.APIModel osType::Union{Nothing, String} = nothing @@ -43,50 +61,94 @@ Base.@kwdef mutable struct DiskUpdateProperties <: OpenAPI.APIModel encryption = nothing # spec type: Union{ Nothing, Encryption } networkAccessPolicy = nothing # spec type: Union{ Nothing, NetworkAccessPolicy } diskAccessId::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing + burstingEnabled::Union{Nothing, Bool} = nothing + purchasePlan = nothing # spec type: Union{ Nothing, PurchasePlan } + supportedCapabilities = nothing # spec type: Union{ Nothing, SupportedCapabilities } + propertyUpdatesInProgress = nothing # spec type: Union{ Nothing, PropertyUpdatesInProgress } + supportsHibernation::Union{Nothing, Bool} = nothing + publicNetworkAccess = nothing # spec type: Union{ Nothing, PublicNetworkAccess } + dataAccessAuthMode = nothing # spec type: Union{ Nothing, DataAccessAuthMode } + optimizedForFrequentAttach::Union{Nothing, Bool} = nothing - function DiskUpdateProperties(osType, diskSizeGB, encryptionSettingsCollection, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, maxShares, encryption, networkAccessPolicy, diskAccessId, ) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("osType"), osType) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("encryptionSettingsCollection"), encryptionSettingsCollection) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskIOPSReadWrite"), diskIOPSReadWrite) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskMBpsReadWrite"), diskMBpsReadWrite) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskIOPSReadOnly"), diskIOPSReadOnly) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskMBpsReadOnly"), diskMBpsReadOnly) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("maxShares"), maxShares) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("encryption"), encryption) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("networkAccessPolicy"), networkAccessPolicy) - OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskAccessId"), diskAccessId) - return new(osType, diskSizeGB, encryptionSettingsCollection, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, maxShares, encryption, networkAccessPolicy, diskAccessId, ) + function DiskUpdateProperties(osType, diskSizeGB, encryptionSettingsCollection, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, maxShares, encryption, networkAccessPolicy, diskAccessId, tier, burstingEnabled, purchasePlan, supportedCapabilities, propertyUpdatesInProgress, supportsHibernation, publicNetworkAccess, dataAccessAuthMode, optimizedForFrequentAttach, ) + o = new(osType, diskSizeGB, encryptionSettingsCollection, diskIOPSReadWrite, diskMBpsReadWrite, diskIOPSReadOnly, diskMBpsReadOnly, maxShares, encryption, networkAccessPolicy, diskAccessId, tier, burstingEnabled, purchasePlan, supportedCapabilities, propertyUpdatesInProgress, supportsHibernation, publicNetworkAccess, dataAccessAuthMode, optimizedForFrequentAttach, ) + OpenAPI.validate_properties(o) + return o end end # type DiskUpdateProperties -const _property_types_DiskUpdateProperties = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("diskSizeGB")=>"Int64", Symbol("encryptionSettingsCollection")=>"EncryptionSettingsCollection", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", Symbol("diskIOPSReadOnly")=>"Int64", Symbol("diskMBpsReadOnly")=>"Int64", Symbol("maxShares")=>"Int64", Symbol("encryption")=>"Encryption", Symbol("networkAccessPolicy")=>"NetworkAccessPolicy", Symbol("diskAccessId")=>"String", ) +const _property_types_DiskUpdateProperties = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("diskSizeGB")=>"Int64", Symbol("encryptionSettingsCollection")=>"EncryptionSettingsCollection", Symbol("diskIOPSReadWrite")=>"Int64", Symbol("diskMBpsReadWrite")=>"Int64", Symbol("diskIOPSReadOnly")=>"Int64", Symbol("diskMBpsReadOnly")=>"Int64", Symbol("maxShares")=>"Int64", Symbol("encryption")=>"Encryption", Symbol("networkAccessPolicy")=>"NetworkAccessPolicy", Symbol("diskAccessId")=>"String", Symbol("tier")=>"String", Symbol("burstingEnabled")=>"Bool", Symbol("purchasePlan")=>"PurchasePlan", Symbol("supportedCapabilities")=>"SupportedCapabilities", Symbol("propertyUpdatesInProgress")=>"PropertyUpdatesInProgress", Symbol("supportsHibernation")=>"Bool", Symbol("publicNetworkAccess")=>"PublicNetworkAccess", Symbol("dataAccessAuthMode")=>"DataAccessAuthMode", Symbol("optimizedForFrequentAttach")=>"Bool", ) OpenAPI.property_type(::Type{ DiskUpdateProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DiskUpdateProperties[name]))} -function check_required(o::DiskUpdateProperties) +function OpenAPI.check_required(o::DiskUpdateProperties) true end +function OpenAPI.validate_properties(o::DiskUpdateProperties) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("osType"), o.osType) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskSizeGB"), o.diskSizeGB) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("encryptionSettingsCollection"), o.encryptionSettingsCollection) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskIOPSReadWrite"), o.diskIOPSReadWrite) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskMBpsReadWrite"), o.diskMBpsReadWrite) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskIOPSReadOnly"), o.diskIOPSReadOnly) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskMBpsReadOnly"), o.diskMBpsReadOnly) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("maxShares"), o.maxShares) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("encryption"), o.encryption) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("networkAccessPolicy"), o.networkAccessPolicy) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("diskAccessId"), o.diskAccessId) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("tier"), o.tier) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("burstingEnabled"), o.burstingEnabled) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("purchasePlan"), o.purchasePlan) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("supportedCapabilities"), o.supportedCapabilities) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("propertyUpdatesInProgress"), o.propertyUpdatesInProgress) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("supportsHibernation"), o.supportsHibernation) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("publicNetworkAccess"), o.publicNetworkAccess) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("dataAccessAuthMode"), o.dataAccessAuthMode) + OpenAPI.validate_property(DiskUpdateProperties, Symbol("optimizedForFrequentAttach"), o.optimizedForFrequentAttach) +end + function OpenAPI.validate_property(::Type{ DiskUpdateProperties }, name::Symbol, val) + if name === Symbol("osType") OpenAPI.validate_param(name, "DiskUpdateProperties", :enum, val, ["Windows", "Linux"]) end + + if name === Symbol("diskSizeGB") OpenAPI.validate_param(name, "DiskUpdateProperties", :format, val, "int32") end + + if name === Symbol("diskIOPSReadWrite") OpenAPI.validate_param(name, "DiskUpdateProperties", :format, val, "int64") end + if name === Symbol("diskMBpsReadWrite") OpenAPI.validate_param(name, "DiskUpdateProperties", :format, val, "int64") end + if name === Symbol("diskIOPSReadOnly") OpenAPI.validate_param(name, "DiskUpdateProperties", :format, val, "int64") end + if name === Symbol("diskMBpsReadOnly") OpenAPI.validate_param(name, "DiskUpdateProperties", :format, val, "int64") end + if name === Symbol("maxShares") OpenAPI.validate_param(name, "DiskUpdateProperties", :format, val, "int32") end + + + + + + + + + + + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_Encryption.jl b/src/Compute/DiskResourceProviderClient/src/models/model_Encryption.jl index ac618d5..76461b5 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_Encryption.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_Encryption.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct Encryption <: OpenAPI.APIModel type = nothing # spec type: Union{ Nothing, EncryptionType } function Encryption(diskEncryptionSetId, type, ) - OpenAPI.validate_property(Encryption, Symbol("diskEncryptionSetId"), diskEncryptionSetId) - OpenAPI.validate_property(Encryption, Symbol("type"), type) - return new(diskEncryptionSetId, type, ) + o = new(diskEncryptionSetId, type, ) + OpenAPI.validate_properties(o) + return o end end # type Encryption const _property_types_Encryption = Dict{Symbol,String}(Symbol("diskEncryptionSetId")=>"String", Symbol("type")=>"EncryptionType", ) OpenAPI.property_type(::Type{ Encryption }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Encryption[name]))} -function check_required(o::Encryption) +function OpenAPI.check_required(o::Encryption) true end +function OpenAPI.validate_properties(o::Encryption) + OpenAPI.validate_property(Encryption, Symbol("diskEncryptionSetId"), o.diskEncryptionSetId) + OpenAPI.validate_property(Encryption, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ Encryption }, name::Symbol, val) + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSetIdentity.jl b/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSetIdentity.jl deleted file mode 100644 index 4213dcf..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSetIdentity.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""EncryptionSetIdentity -The managed identity for the disk encryption set. It should be given permission on the key vault before it can be used to encrypt disks. - - EncryptionSetIdentity(; - type=nothing, - principalId=nothing, - tenantId=nothing, - ) - - - type::String : The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported. - - principalId::String : The object id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-identity-principal-id header in the PUT request if the resource has a systemAssigned(implicit) identity - - tenantId::String : The tenant id of the Managed Identity Resource. This will be sent to the RP from ARM via the x-ms-client-tenant-id header in the PUT request if the resource has a systemAssigned(implicit) identity -""" -Base.@kwdef mutable struct EncryptionSetIdentity <: OpenAPI.APIModel - type::Union{Nothing, String} = nothing - principalId::Union{Nothing, String} = nothing - tenantId::Union{Nothing, String} = nothing - - function EncryptionSetIdentity(type, principalId, tenantId, ) - OpenAPI.validate_property(EncryptionSetIdentity, Symbol("type"), type) - OpenAPI.validate_property(EncryptionSetIdentity, Symbol("principalId"), principalId) - OpenAPI.validate_property(EncryptionSetIdentity, Symbol("tenantId"), tenantId) - return new(type, principalId, tenantId, ) - end -end # type EncryptionSetIdentity - -const _property_types_EncryptionSetIdentity = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("principalId")=>"String", Symbol("tenantId")=>"String", ) -OpenAPI.property_type(::Type{ EncryptionSetIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionSetIdentity[name]))} - -function check_required(o::EncryptionSetIdentity) - true -end - -function OpenAPI.validate_property(::Type{ EncryptionSetIdentity }, name::Symbol, val) - if name === Symbol("type") - OpenAPI.validate_param(name, "EncryptionSetIdentity", :enum, val, ["SystemAssigned"]) - end -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSetProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSetProperties.jl deleted file mode 100644 index c79e6e7..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSetProperties.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""EncryptionSetProperties - - EncryptionSetProperties(; - encryptionType=nothing, - activeKey=nothing, - previousKeys=nothing, - provisioningState=nothing, - ) - - - encryptionType::EncryptionType - - activeKey::KeyVaultAndKeyReference - - previousKeys::Vector{KeyVaultAndKeyReference} : A readonly collection of key vault keys previously used by this disk encryption set while a key rotation is in progress. It will be empty if there is no ongoing key rotation. - - provisioningState::String : The disk encryption set provisioning state. -""" -Base.@kwdef mutable struct EncryptionSetProperties <: OpenAPI.APIModel - encryptionType = nothing # spec type: Union{ Nothing, EncryptionType } - activeKey = nothing # spec type: Union{ Nothing, KeyVaultAndKeyReference } - previousKeys::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{KeyVaultAndKeyReference} } - provisioningState::Union{Nothing, String} = nothing - - function EncryptionSetProperties(encryptionType, activeKey, previousKeys, provisioningState, ) - OpenAPI.validate_property(EncryptionSetProperties, Symbol("encryptionType"), encryptionType) - OpenAPI.validate_property(EncryptionSetProperties, Symbol("activeKey"), activeKey) - OpenAPI.validate_property(EncryptionSetProperties, Symbol("previousKeys"), previousKeys) - OpenAPI.validate_property(EncryptionSetProperties, Symbol("provisioningState"), provisioningState) - return new(encryptionType, activeKey, previousKeys, provisioningState, ) - end -end # type EncryptionSetProperties - -const _property_types_EncryptionSetProperties = Dict{Symbol,String}(Symbol("encryptionType")=>"EncryptionType", Symbol("activeKey")=>"KeyVaultAndKeyReference", Symbol("previousKeys")=>"Vector{KeyVaultAndKeyReference}", Symbol("provisioningState")=>"String", ) -OpenAPI.property_type(::Type{ EncryptionSetProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionSetProperties[name]))} - -function check_required(o::EncryptionSetProperties) - true -end - -function OpenAPI.validate_property(::Type{ EncryptionSetProperties }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsCollection.jl b/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsCollection.jl index 580c493..cdbce8d 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsCollection.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsCollection.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct EncryptionSettingsCollection <: OpenAPI.APIModel encryptionSettingsVersion::Union{Nothing, String} = nothing function EncryptionSettingsCollection(enabled, encryptionSettings, encryptionSettingsVersion, ) - OpenAPI.validate_property(EncryptionSettingsCollection, Symbol("enabled"), enabled) - OpenAPI.validate_property(EncryptionSettingsCollection, Symbol("encryptionSettings"), encryptionSettings) - OpenAPI.validate_property(EncryptionSettingsCollection, Symbol("encryptionSettingsVersion"), encryptionSettingsVersion) - return new(enabled, encryptionSettings, encryptionSettingsVersion, ) + o = new(enabled, encryptionSettings, encryptionSettingsVersion, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionSettingsCollection const _property_types_EncryptionSettingsCollection = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("encryptionSettings")=>"Vector{EncryptionSettingsElement}", Symbol("encryptionSettingsVersion")=>"String", ) OpenAPI.property_type(::Type{ EncryptionSettingsCollection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionSettingsCollection[name]))} -function check_required(o::EncryptionSettingsCollection) +function OpenAPI.check_required(o::EncryptionSettingsCollection) o.enabled === nothing && (return false) true end +function OpenAPI.validate_properties(o::EncryptionSettingsCollection) + OpenAPI.validate_property(EncryptionSettingsCollection, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(EncryptionSettingsCollection, Symbol("encryptionSettings"), o.encryptionSettings) + OpenAPI.validate_property(EncryptionSettingsCollection, Symbol("encryptionSettingsVersion"), o.encryptionSettingsVersion) +end + function OpenAPI.validate_property(::Type{ EncryptionSettingsCollection }, name::Symbol, val) + + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsElement.jl b/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsElement.jl index 84cfb27..2975f80 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsElement.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_EncryptionSettingsElement.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct EncryptionSettingsElement <: OpenAPI.APIModel keyEncryptionKey = nothing # spec type: Union{ Nothing, KeyVaultAndKeyReference } function EncryptionSettingsElement(diskEncryptionKey, keyEncryptionKey, ) - OpenAPI.validate_property(EncryptionSettingsElement, Symbol("diskEncryptionKey"), diskEncryptionKey) - OpenAPI.validate_property(EncryptionSettingsElement, Symbol("keyEncryptionKey"), keyEncryptionKey) - return new(diskEncryptionKey, keyEncryptionKey, ) + o = new(diskEncryptionKey, keyEncryptionKey, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionSettingsElement const _property_types_EncryptionSettingsElement = Dict{Symbol,String}(Symbol("diskEncryptionKey")=>"KeyVaultAndSecretReference", Symbol("keyEncryptionKey")=>"KeyVaultAndKeyReference", ) OpenAPI.property_type(::Type{ EncryptionSettingsElement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionSettingsElement[name]))} -function check_required(o::EncryptionSettingsElement) +function OpenAPI.check_required(o::EncryptionSettingsElement) true end +function OpenAPI.validate_properties(o::EncryptionSettingsElement) + OpenAPI.validate_property(EncryptionSettingsElement, Symbol("diskEncryptionKey"), o.diskEncryptionKey) + OpenAPI.validate_property(EncryptionSettingsElement, Symbol("keyEncryptionKey"), o.keyEncryptionKey) +end + function OpenAPI.validate_property(::Type{ EncryptionSettingsElement }, name::Symbol, val) + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_ExtendedLocation.jl b/src/Compute/DiskResourceProviderClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..6efe5c5 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +The complex type of the extended location. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_ExtendedLocationType.jl b/src/Compute/DiskResourceProviderClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_GrantAccessData.jl b/src/Compute/DiskResourceProviderClient/src/models/model_GrantAccessData.jl index 0bac4f8..5451881 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_GrantAccessData.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_GrantAccessData.jl @@ -8,36 +8,58 @@ Data used for requesting a SAS. GrantAccessData(; access=nothing, durationInSeconds=nothing, + getSecureVMGuestStateSAS=nothing, + fileFormat=nothing, ) - access::String - durationInSeconds::Int64 : Time duration in seconds until the SAS access expires. + - getSecureVMGuestStateSAS::Bool : Set this flag to true to get additional SAS for VM guest state + - fileFormat::String : Used to specify the file format when making request for SAS on a VHDX file format snapshot """ Base.@kwdef mutable struct GrantAccessData <: OpenAPI.APIModel access::Union{Nothing, String} = nothing durationInSeconds::Union{Nothing, Int64} = nothing + getSecureVMGuestStateSAS::Union{Nothing, Bool} = nothing + fileFormat::Union{Nothing, String} = nothing - function GrantAccessData(access, durationInSeconds, ) - OpenAPI.validate_property(GrantAccessData, Symbol("access"), access) - OpenAPI.validate_property(GrantAccessData, Symbol("durationInSeconds"), durationInSeconds) - return new(access, durationInSeconds, ) + function GrantAccessData(access, durationInSeconds, getSecureVMGuestStateSAS, fileFormat, ) + o = new(access, durationInSeconds, getSecureVMGuestStateSAS, fileFormat, ) + OpenAPI.validate_properties(o) + return o end end # type GrantAccessData -const _property_types_GrantAccessData = Dict{Symbol,String}(Symbol("access")=>"String", Symbol("durationInSeconds")=>"Int64", ) +const _property_types_GrantAccessData = Dict{Symbol,String}(Symbol("access")=>"String", Symbol("durationInSeconds")=>"Int64", Symbol("getSecureVMGuestStateSAS")=>"Bool", Symbol("fileFormat")=>"String", ) OpenAPI.property_type(::Type{ GrantAccessData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GrantAccessData[name]))} -function check_required(o::GrantAccessData) +function OpenAPI.check_required(o::GrantAccessData) o.access === nothing && (return false) o.durationInSeconds === nothing && (return false) true end +function OpenAPI.validate_properties(o::GrantAccessData) + OpenAPI.validate_property(GrantAccessData, Symbol("access"), o.access) + OpenAPI.validate_property(GrantAccessData, Symbol("durationInSeconds"), o.durationInSeconds) + OpenAPI.validate_property(GrantAccessData, Symbol("getSecureVMGuestStateSAS"), o.getSecureVMGuestStateSAS) + OpenAPI.validate_property(GrantAccessData, Symbol("fileFormat"), o.fileFormat) +end + function OpenAPI.validate_property(::Type{ GrantAccessData }, name::Symbol, val) + if name === Symbol("access") OpenAPI.validate_param(name, "GrantAccessData", :enum, val, ["None", "Read", "Write"]) end + + if name === Symbol("durationInSeconds") OpenAPI.validate_param(name, "GrantAccessData", :format, val, "int32") end + + + if name === Symbol("fileFormat") + OpenAPI.validate_param(name, "GrantAccessData", :enum, val, ["VHD", "VHDX"]) + end + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_ImageDiskReference.jl b/src/Compute/DiskResourceProviderClient/src/models/model_ImageDiskReference.jl index 9412bf9..38bf3e6 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_ImageDiskReference.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_ImageDiskReference.jl @@ -7,32 +7,48 @@ The source image used for creating the disk. ImageDiskReference(; id=nothing, + sharedGalleryImageId=nothing, + communityGalleryImageId=nothing, lun=nothing, ) - - id::String : A relative uri containing either a Platform Image Repository or user image reference. + - id::String : A relative uri containing either a Platform Image Repository, user image, or Azure Compute Gallery image reference. + - sharedGalleryImageId::String : A relative uri containing a direct shared Azure Compute Gallery image reference. + - communityGalleryImageId::String : A relative uri containing a community Azure Compute Gallery image reference. - lun::Int64 : If the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null. """ Base.@kwdef mutable struct ImageDiskReference <: OpenAPI.APIModel id::Union{Nothing, String} = nothing + sharedGalleryImageId::Union{Nothing, String} = nothing + communityGalleryImageId::Union{Nothing, String} = nothing lun::Union{Nothing, Int64} = nothing - function ImageDiskReference(id, lun, ) - OpenAPI.validate_property(ImageDiskReference, Symbol("id"), id) - OpenAPI.validate_property(ImageDiskReference, Symbol("lun"), lun) - return new(id, lun, ) + function ImageDiskReference(id, sharedGalleryImageId, communityGalleryImageId, lun, ) + o = new(id, sharedGalleryImageId, communityGalleryImageId, lun, ) + OpenAPI.validate_properties(o) + return o end end # type ImageDiskReference -const _property_types_ImageDiskReference = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("lun")=>"Int64", ) +const _property_types_ImageDiskReference = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("sharedGalleryImageId")=>"String", Symbol("communityGalleryImageId")=>"String", Symbol("lun")=>"Int64", ) OpenAPI.property_type(::Type{ ImageDiskReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImageDiskReference[name]))} -function check_required(o::ImageDiskReference) - o.id === nothing && (return false) +function OpenAPI.check_required(o::ImageDiskReference) true end +function OpenAPI.validate_properties(o::ImageDiskReference) + OpenAPI.validate_property(ImageDiskReference, Symbol("id"), o.id) + OpenAPI.validate_property(ImageDiskReference, Symbol("sharedGalleryImageId"), o.sharedGalleryImageId) + OpenAPI.validate_property(ImageDiskReference, Symbol("communityGalleryImageId"), o.communityGalleryImageId) + OpenAPI.validate_property(ImageDiskReference, Symbol("lun"), o.lun) +end + function OpenAPI.validate_property(::Type{ ImageDiskReference }, name::Symbol, val) + + + + if name === Symbol("lun") OpenAPI.validate_param(name, "ImageDiskReference", :format, val, "int32") end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_InnerError.jl b/src/Compute/DiskResourceProviderClient/src/models/model_InnerError.jl deleted file mode 100644 index b04a19e..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_InnerError.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""InnerError -Inner error details. - - InnerError(; - exceptiontype=nothing, - errordetail=nothing, - ) - - - exceptiontype::String : The exception type. - - errordetail::String : The internal error message or exception dump. -""" -Base.@kwdef mutable struct InnerError <: OpenAPI.APIModel - exceptiontype::Union{Nothing, String} = nothing - errordetail::Union{Nothing, String} = nothing - - function InnerError(exceptiontype, errordetail, ) - OpenAPI.validate_property(InnerError, Symbol("exceptiontype"), exceptiontype) - OpenAPI.validate_property(InnerError, Symbol("errordetail"), errordetail) - return new(exceptiontype, errordetail, ) - end -end # type InnerError - -const _property_types_InnerError = Dict{Symbol,String}(Symbol("exceptiontype")=>"String", Symbol("errordetail")=>"String", ) -OpenAPI.property_type(::Type{ InnerError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InnerError[name]))} - -function check_required(o::InnerError) - true -end - -function OpenAPI.validate_property(::Type{ InnerError }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndKeyReference.jl b/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndKeyReference.jl index 55e5ded..8392ede 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndKeyReference.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndKeyReference.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct KeyVaultAndKeyReference <: OpenAPI.APIModel keyUrl::Union{Nothing, String} = nothing function KeyVaultAndKeyReference(sourceVault, keyUrl, ) - OpenAPI.validate_property(KeyVaultAndKeyReference, Symbol("sourceVault"), sourceVault) - OpenAPI.validate_property(KeyVaultAndKeyReference, Symbol("keyUrl"), keyUrl) - return new(sourceVault, keyUrl, ) + o = new(sourceVault, keyUrl, ) + OpenAPI.validate_properties(o) + return o end end # type KeyVaultAndKeyReference const _property_types_KeyVaultAndKeyReference = Dict{Symbol,String}(Symbol("sourceVault")=>"SourceVault", Symbol("keyUrl")=>"String", ) OpenAPI.property_type(::Type{ KeyVaultAndKeyReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyVaultAndKeyReference[name]))} -function check_required(o::KeyVaultAndKeyReference) +function OpenAPI.check_required(o::KeyVaultAndKeyReference) o.sourceVault === nothing && (return false) o.keyUrl === nothing && (return false) true end +function OpenAPI.validate_properties(o::KeyVaultAndKeyReference) + OpenAPI.validate_property(KeyVaultAndKeyReference, Symbol("sourceVault"), o.sourceVault) + OpenAPI.validate_property(KeyVaultAndKeyReference, Symbol("keyUrl"), o.keyUrl) +end + function OpenAPI.validate_property(::Type{ KeyVaultAndKeyReference }, name::Symbol, val) + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndSecretReference.jl b/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndSecretReference.jl index 53e4c3c..3979744 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndSecretReference.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_KeyVaultAndSecretReference.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct KeyVaultAndSecretReference <: OpenAPI.APIModel secretUrl::Union{Nothing, String} = nothing function KeyVaultAndSecretReference(sourceVault, secretUrl, ) - OpenAPI.validate_property(KeyVaultAndSecretReference, Symbol("sourceVault"), sourceVault) - OpenAPI.validate_property(KeyVaultAndSecretReference, Symbol("secretUrl"), secretUrl) - return new(sourceVault, secretUrl, ) + o = new(sourceVault, secretUrl, ) + OpenAPI.validate_properties(o) + return o end end # type KeyVaultAndSecretReference const _property_types_KeyVaultAndSecretReference = Dict{Symbol,String}(Symbol("sourceVault")=>"SourceVault", Symbol("secretUrl")=>"String", ) OpenAPI.property_type(::Type{ KeyVaultAndSecretReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyVaultAndSecretReference[name]))} -function check_required(o::KeyVaultAndSecretReference) +function OpenAPI.check_required(o::KeyVaultAndSecretReference) o.sourceVault === nothing && (return false) o.secretUrl === nothing && (return false) true end +function OpenAPI.validate_properties(o::KeyVaultAndSecretReference) + OpenAPI.validate_property(KeyVaultAndSecretReference, Symbol("sourceVault"), o.sourceVault) + OpenAPI.validate_property(KeyVaultAndSecretReference, Symbol("secretUrl"), o.secretUrl) +end + function OpenAPI.validate_property(::Type{ KeyVaultAndSecretReference }, name::Symbol, val) + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpoint.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpoint.jl deleted file mode 100644 index 7ba0917..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpoint.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateEndpoint -The Private Endpoint resource. - - PrivateEndpoint(; - id=nothing, - ) - - - id::String : The ARM identifier for Private Endpoint -""" -Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - - function PrivateEndpoint(id, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - return new(id, ) - end -end # type PrivateEndpoint - -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("id")=>"String", ) -OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} - -function check_required(o::PrivateEndpoint) - true -end - -function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnection.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnection.jl deleted file mode 100644 index 0e4ef02..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnection.jl +++ /dev/null @@ -1,43 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateEndpointConnection -The Private Endpoint Connection resource. - - PrivateEndpointConnection(; - properties=nothing, - id=nothing, - name=nothing, - type=nothing, - ) - - - properties::PrivateEndpointConnectionProperties - - id::String : private endpoint connection Id - - name::String : private endpoint connection name - - type::String : private endpoint connection type -""" -Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - - function PrivateEndpointConnection(properties, id, name, type, ) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), type) - return new(properties, id, name, type, ) - end -end # type PrivateEndpointConnection - -const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) -OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} - -function check_required(o::PrivateEndpointConnection) - true -end - -function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnectionProperties.jl deleted file mode 100644 index a54ebee..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnectionProperties.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateEndpointConnectionProperties -Properties of the PrivateEndpointConnectProperties. - - PrivateEndpointConnectionProperties(; - privateEndpoint=nothing, - privateLinkServiceConnectionState=nothing, - provisioningState=nothing, - ) - - - privateEndpoint::PrivateEndpoint - - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState - - provisioningState::PrivateEndpointConnectionProvisioningState -""" -Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel - privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } - privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } - provisioningState = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProvisioningState } - - function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, ) - OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), provisioningState) - return new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, ) - end -end # type PrivateEndpointConnectionProperties - -const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"PrivateEndpointConnectionProvisioningState", ) -OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} - -function check_required(o::PrivateEndpointConnectionProperties) - o.privateLinkServiceConnectionState === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnectionProvisioningState.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnectionProvisioningState.jl deleted file mode 100644 index c56d60c..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointConnectionProvisioningState.jl +++ /dev/null @@ -1,9 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -if !isdefined(@__MODULE__, :PrivateEndpointConnectionProvisioningState) - const PrivateEndpointConnectionProvisioningState = String -else - @warn("Skipping redefinition of PrivateEndpointConnectionProvisioningState to String") -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointServiceConnectionStatus.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointServiceConnectionStatus.jl deleted file mode 100644 index 2052b75..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateEndpointServiceConnectionStatus.jl +++ /dev/null @@ -1,9 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -if !isdefined(@__MODULE__, :PrivateEndpointServiceConnectionStatus) - const PrivateEndpointServiceConnectionStatus = String -else - @warn("Skipping redefinition of PrivateEndpointServiceConnectionStatus to String") -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResource.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResource.jl deleted file mode 100644 index 706649b..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResource.jl +++ /dev/null @@ -1,43 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateLinkResource -A private link resource - - PrivateLinkResource(; - properties=nothing, - id=nothing, - name=nothing, - type=nothing, - ) - - - properties::PrivateLinkResourceProperties - - id::String : private link resource Id - - name::String : private link resource name - - type::String : private link resource type -""" -Base.@kwdef mutable struct PrivateLinkResource <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, PrivateLinkResourceProperties } - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - - function PrivateLinkResource(properties, id, name, type, ) - OpenAPI.validate_property(PrivateLinkResource, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkResource, Symbol("id"), id) - OpenAPI.validate_property(PrivateLinkResource, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkResource, Symbol("type"), type) - return new(properties, id, name, type, ) - end -end # type PrivateLinkResource - -const _property_types_PrivateLinkResource = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkResourceProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) -OpenAPI.property_type(::Type{ PrivateLinkResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkResource[name]))} - -function check_required(o::PrivateLinkResource) - true -end - -function OpenAPI.validate_property(::Type{ PrivateLinkResource }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResourceListResult.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResourceListResult.jl deleted file mode 100644 index fb563ef..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResourceListResult.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateLinkResourceListResult -A list of private link resources - - PrivateLinkResourceListResult(; - value=nothing, - ) - - - value::Vector{PrivateLinkResource} : Array of private link resources -""" -Base.@kwdef mutable struct PrivateLinkResourceListResult <: OpenAPI.APIModel - value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkResource} } - - function PrivateLinkResourceListResult(value, ) - OpenAPI.validate_property(PrivateLinkResourceListResult, Symbol("value"), value) - return new(value, ) - end -end # type PrivateLinkResourceListResult - -const _property_types_PrivateLinkResourceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PrivateLinkResource}", ) -OpenAPI.property_type(::Type{ PrivateLinkResourceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkResourceListResult[name]))} - -function check_required(o::PrivateLinkResourceListResult) - true -end - -function OpenAPI.validate_property(::Type{ PrivateLinkResourceListResult }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResourceProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResourceProperties.jl deleted file mode 100644 index eb6d7bd..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkResourceProperties.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateLinkResourceProperties -Properties of a private link resource. - - PrivateLinkResourceProperties(; - groupId=nothing, - requiredMembers=nothing, - requiredZoneNames=nothing, - ) - - - groupId::String : The private link resource group id. - - requiredMembers::Vector{String} : The private link resource required member names. - - requiredZoneNames::Vector{String} : The private link resource DNS zone name. -""" -Base.@kwdef mutable struct PrivateLinkResourceProperties <: OpenAPI.APIModel - groupId::Union{Nothing, String} = nothing - requiredMembers::Union{Nothing, Vector{String}} = nothing - requiredZoneNames::Union{Nothing, Vector{String}} = nothing - - function PrivateLinkResourceProperties(groupId, requiredMembers, requiredZoneNames, ) - OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("requiredMembers"), requiredMembers) - OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("requiredZoneNames"), requiredZoneNames) - return new(groupId, requiredMembers, requiredZoneNames, ) - end -end # type PrivateLinkResourceProperties - -const _property_types_PrivateLinkResourceProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMembers")=>"Vector{String}", Symbol("requiredZoneNames")=>"Vector{String}", ) -OpenAPI.property_type(::Type{ PrivateLinkResourceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkResourceProperties[name]))} - -function check_required(o::PrivateLinkResourceProperties) - true -end - -function OpenAPI.validate_property(::Type{ PrivateLinkResourceProperties }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkServiceConnectionState.jl deleted file mode 100644 index dbc0a82..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PrivateLinkServiceConnectionState -A collection of information about the state of the connection between service consumer and provider. - - PrivateLinkServiceConnectionState(; - status=nothing, - description=nothing, - actionsRequired=nothing, - ) - - - status::PrivateEndpointServiceConnectionStatus - - description::String : The reason for approval/rejection of the connection. - - actionsRequired::String : A message indicating if changes on the service provider require any updates on the consumer. -""" -Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel - status = nothing # spec type: Union{ Nothing, PrivateEndpointServiceConnectionStatus } - description::Union{Nothing, String} = nothing - actionsRequired::Union{Nothing, String} = nothing - - function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) - end -end # type PrivateLinkServiceConnectionState - -const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"PrivateEndpointServiceConnectionStatus", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) -OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} - -function check_required(o::PrivateLinkServiceConnectionState) - true -end - -function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PropertyUpdatesInProgress.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PropertyUpdatesInProgress.jl new file mode 100644 index 0000000..445123f --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_PropertyUpdatesInProgress.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PropertyUpdatesInProgress +Properties of the disk for which update is pending. + + PropertyUpdatesInProgress(; + targetTier=nothing, + ) + + - targetTier::String : The target performance tier of the disk if a tier change operation is in progress. +""" +Base.@kwdef mutable struct PropertyUpdatesInProgress <: OpenAPI.APIModel + targetTier::Union{Nothing, String} = nothing + + function PropertyUpdatesInProgress(targetTier, ) + o = new(targetTier, ) + OpenAPI.validate_properties(o) + return o + end +end # type PropertyUpdatesInProgress + +const _property_types_PropertyUpdatesInProgress = Dict{Symbol,String}(Symbol("targetTier")=>"String", ) +OpenAPI.property_type(::Type{ PropertyUpdatesInProgress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PropertyUpdatesInProgress[name]))} + +function OpenAPI.check_required(o::PropertyUpdatesInProgress) + true +end + +function OpenAPI.validate_properties(o::PropertyUpdatesInProgress) + OpenAPI.validate_property(PropertyUpdatesInProgress, Symbol("targetTier"), o.targetTier) +end + +function OpenAPI.validate_property(::Type{ PropertyUpdatesInProgress }, name::Symbol, val) + +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PublicNetworkAccess.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PublicNetworkAccess.jl new file mode 100644 index 0000000..846ec32 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_PublicNetworkAccess.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :PublicNetworkAccess) + const PublicNetworkAccess = String +else + @warn("Skipping redefinition of PublicNetworkAccess to String") +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_PurchasePlan.jl b/src/Compute/DiskResourceProviderClient/src/models/model_PurchasePlan.jl new file mode 100644 index 0000000..984d409 --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_PurchasePlan.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PurchasePlan +Used for establishing the purchase context of any 3rd Party artifact through MarketPlace. + + PurchasePlan(; + name=nothing, + publisher=nothing, + product=nothing, + promotionCode=nothing, + ) + + - name::String : The plan ID. + - publisher::String : The publisher ID. + - product::String : Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element. + - promotionCode::String : The Offer Promotion Code. +""" +Base.@kwdef mutable struct PurchasePlan <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + publisher::Union{Nothing, String} = nothing + product::Union{Nothing, String} = nothing + promotionCode::Union{Nothing, String} = nothing + + function PurchasePlan(name, publisher, product, promotionCode, ) + o = new(name, publisher, product, promotionCode, ) + OpenAPI.validate_properties(o) + return o + end +end # type PurchasePlan + +const _property_types_PurchasePlan = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("publisher")=>"String", Symbol("product")=>"String", Symbol("promotionCode")=>"String", ) +OpenAPI.property_type(::Type{ PurchasePlan }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PurchasePlan[name]))} + +function OpenAPI.check_required(o::PurchasePlan) + o.name === nothing && (return false) + o.publisher === nothing && (return false) + o.product === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::PurchasePlan) + OpenAPI.validate_property(PurchasePlan, Symbol("name"), o.name) + OpenAPI.validate_property(PurchasePlan, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(PurchasePlan, Symbol("product"), o.product) + OpenAPI.validate_property(PurchasePlan, Symbol("promotionCode"), o.promotionCode) +end + +function OpenAPI.validate_property(::Type{ PurchasePlan }, name::Symbol, val) + + + + +end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_Resource.jl b/src/Compute/DiskResourceProviderClient/src/models/model_Resource.jl index 6c42530..a55b5df 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_Resource.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_Resource.jl @@ -27,22 +27,32 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_ShareInfoElement.jl b/src/Compute/DiskResourceProviderClient/src/models/model_ShareInfoElement.jl index df016e4..152fa6a 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_ShareInfoElement.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_ShareInfoElement.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct ShareInfoElement <: OpenAPI.APIModel vmUri::Union{Nothing, String} = nothing function ShareInfoElement(vmUri, ) - OpenAPI.validate_property(ShareInfoElement, Symbol("vmUri"), vmUri) - return new(vmUri, ) + o = new(vmUri, ) + OpenAPI.validate_properties(o) + return o end end # type ShareInfoElement const _property_types_ShareInfoElement = Dict{Symbol,String}(Symbol("vmUri")=>"String", ) OpenAPI.property_type(::Type{ ShareInfoElement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ShareInfoElement[name]))} -function check_required(o::ShareInfoElement) +function OpenAPI.check_required(o::ShareInfoElement) true end +function OpenAPI.validate_properties(o::ShareInfoElement) + OpenAPI.validate_property(ShareInfoElement, Symbol("vmUri"), o.vmUri) +end + function OpenAPI.validate_property(::Type{ ShareInfoElement }, name::Symbol, val) + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_Snapshot.jl b/src/Compute/DiskResourceProviderClient/src/models/model_Snapshot.jl deleted file mode 100644 index 80ab4ec..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_Snapshot.jl +++ /dev/null @@ -1,60 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""Snapshot -Snapshot resource. - - Snapshot(; - id=nothing, - name=nothing, - type=nothing, - location=nothing, - tags=nothing, - managedBy=nothing, - sku=nothing, - properties=nothing, - ) - - - id::String : Resource Id - - name::String : Resource name - - type::String : Resource type - - location::String : Resource location - - tags::Dict{String, String} : Resource tags - - managedBy::String : Unused. Always Null. - - sku::SnapshotSku - - properties::SnapshotProperties -""" -Base.@kwdef mutable struct Snapshot <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - tags::Union{Nothing, Dict{String, String}} = nothing - managedBy::Union{Nothing, String} = nothing - sku = nothing # spec type: Union{ Nothing, SnapshotSku } - properties = nothing # spec type: Union{ Nothing, SnapshotProperties } - - function Snapshot(id, name, type, location, tags, managedBy, sku, properties, ) - OpenAPI.validate_property(Snapshot, Symbol("id"), id) - OpenAPI.validate_property(Snapshot, Symbol("name"), name) - OpenAPI.validate_property(Snapshot, Symbol("type"), type) - OpenAPI.validate_property(Snapshot, Symbol("location"), location) - OpenAPI.validate_property(Snapshot, Symbol("tags"), tags) - OpenAPI.validate_property(Snapshot, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(Snapshot, Symbol("sku"), sku) - OpenAPI.validate_property(Snapshot, Symbol("properties"), properties) - return new(id, name, type, location, tags, managedBy, sku, properties, ) - end -end # type Snapshot - -const _property_types_Snapshot = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("managedBy")=>"String", Symbol("sku")=>"SnapshotSku", Symbol("properties")=>"SnapshotProperties", ) -OpenAPI.property_type(::Type{ Snapshot }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Snapshot[name]))} - -function check_required(o::Snapshot) - o.location === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ Snapshot }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotAllOf.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotAllOf.jl deleted file mode 100644 index 883f03f..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotAllOf.jl +++ /dev/null @@ -1,38 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""Snapshot_allOf - - SnapshotAllOf(; - managedBy=nothing, - sku=nothing, - properties=nothing, - ) - - - managedBy::String : Unused. Always Null. - - sku::SnapshotSku - - properties::SnapshotProperties -""" -Base.@kwdef mutable struct SnapshotAllOf <: OpenAPI.APIModel - managedBy::Union{Nothing, String} = nothing - sku = nothing # spec type: Union{ Nothing, SnapshotSku } - properties = nothing # spec type: Union{ Nothing, SnapshotProperties } - - function SnapshotAllOf(managedBy, sku, properties, ) - OpenAPI.validate_property(SnapshotAllOf, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(SnapshotAllOf, Symbol("sku"), sku) - OpenAPI.validate_property(SnapshotAllOf, Symbol("properties"), properties) - return new(managedBy, sku, properties, ) - end -end # type SnapshotAllOf - -const _property_types_SnapshotAllOf = Dict{Symbol,String}(Symbol("managedBy")=>"String", Symbol("sku")=>"SnapshotSku", Symbol("properties")=>"SnapshotProperties", ) -OpenAPI.property_type(::Type{ SnapshotAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SnapshotAllOf[name]))} - -function check_required(o::SnapshotAllOf) - true -end - -function OpenAPI.validate_property(::Type{ SnapshotAllOf }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotList.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotList.jl deleted file mode 100644 index 1e55f45..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotList.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""SnapshotList -The List Snapshots operation response. - - SnapshotList(; - value=nothing, - nextLink=nothing, - ) - - - value::Vector{Snapshot} : A list of snapshots. - - nextLink::String : The uri to fetch the next page of snapshots. Call ListNext() with this to fetch the next page of snapshots. -""" -Base.@kwdef mutable struct SnapshotList <: OpenAPI.APIModel - value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Snapshot} } - nextLink::Union{Nothing, String} = nothing - - function SnapshotList(value, nextLink, ) - OpenAPI.validate_property(SnapshotList, Symbol("value"), value) - OpenAPI.validate_property(SnapshotList, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) - end -end # type SnapshotList - -const _property_types_SnapshotList = Dict{Symbol,String}(Symbol("value")=>"Vector{Snapshot}", Symbol("nextLink")=>"String", ) -OpenAPI.property_type(::Type{ SnapshotList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SnapshotList[name]))} - -function check_required(o::SnapshotList) - o.value === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ SnapshotList }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotProperties.jl deleted file mode 100644 index 1a6c7b0..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotProperties.jl +++ /dev/null @@ -1,95 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""SnapshotProperties -Snapshot resource properties. - - SnapshotProperties(; - timeCreated=nothing, - osType=nothing, - hyperVGeneration=nothing, - creationData=nothing, - diskSizeGB=nothing, - diskSizeBytes=nothing, - uniqueId=nothing, - encryptionSettingsCollection=nothing, - provisioningState=nothing, - incremental=nothing, - encryption=nothing, - networkAccessPolicy=nothing, - diskAccessId=nothing, - ) - - - timeCreated::ZonedDateTime : The time when the snapshot was created. - - osType::String : The Operating System type. - - hyperVGeneration::String : The hypervisor generation of the Virtual Machine. Applicable to OS disks only. - - creationData::CreationData - - diskSizeGB::Int64 : If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. - - diskSizeBytes::Int64 : The size of the disk in bytes. This field is read only. - - uniqueId::String : Unique Guid identifying the resource. - - encryptionSettingsCollection::EncryptionSettingsCollection - - provisioningState::String : The disk provisioning state. - - incremental::Bool : Whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. - - encryption::Encryption - - networkAccessPolicy::NetworkAccessPolicy - - diskAccessId::String : ARM id of the DiskAccess resource for using private endpoints on disks. -""" -Base.@kwdef mutable struct SnapshotProperties <: OpenAPI.APIModel - timeCreated::Union{Nothing, ZonedDateTime} = nothing - osType::Union{Nothing, String} = nothing - hyperVGeneration::Union{Nothing, String} = nothing - creationData = nothing # spec type: Union{ Nothing, CreationData } - diskSizeGB::Union{Nothing, Int64} = nothing - diskSizeBytes::Union{Nothing, Int64} = nothing - uniqueId::Union{Nothing, String} = nothing - encryptionSettingsCollection = nothing # spec type: Union{ Nothing, EncryptionSettingsCollection } - provisioningState::Union{Nothing, String} = nothing - incremental::Union{Nothing, Bool} = nothing - encryption = nothing # spec type: Union{ Nothing, Encryption } - networkAccessPolicy = nothing # spec type: Union{ Nothing, NetworkAccessPolicy } - diskAccessId::Union{Nothing, String} = nothing - - function SnapshotProperties(timeCreated, osType, hyperVGeneration, creationData, diskSizeGB, diskSizeBytes, uniqueId, encryptionSettingsCollection, provisioningState, incremental, encryption, networkAccessPolicy, diskAccessId, ) - OpenAPI.validate_property(SnapshotProperties, Symbol("timeCreated"), timeCreated) - OpenAPI.validate_property(SnapshotProperties, Symbol("osType"), osType) - OpenAPI.validate_property(SnapshotProperties, Symbol("hyperVGeneration"), hyperVGeneration) - OpenAPI.validate_property(SnapshotProperties, Symbol("creationData"), creationData) - OpenAPI.validate_property(SnapshotProperties, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(SnapshotProperties, Symbol("diskSizeBytes"), diskSizeBytes) - OpenAPI.validate_property(SnapshotProperties, Symbol("uniqueId"), uniqueId) - OpenAPI.validate_property(SnapshotProperties, Symbol("encryptionSettingsCollection"), encryptionSettingsCollection) - OpenAPI.validate_property(SnapshotProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SnapshotProperties, Symbol("incremental"), incremental) - OpenAPI.validate_property(SnapshotProperties, Symbol("encryption"), encryption) - OpenAPI.validate_property(SnapshotProperties, Symbol("networkAccessPolicy"), networkAccessPolicy) - OpenAPI.validate_property(SnapshotProperties, Symbol("diskAccessId"), diskAccessId) - return new(timeCreated, osType, hyperVGeneration, creationData, diskSizeGB, diskSizeBytes, uniqueId, encryptionSettingsCollection, provisioningState, incremental, encryption, networkAccessPolicy, diskAccessId, ) - end -end # type SnapshotProperties - -const _property_types_SnapshotProperties = Dict{Symbol,String}(Symbol("timeCreated")=>"ZonedDateTime", Symbol("osType")=>"String", Symbol("hyperVGeneration")=>"String", Symbol("creationData")=>"CreationData", Symbol("diskSizeGB")=>"Int64", Symbol("diskSizeBytes")=>"Int64", Symbol("uniqueId")=>"String", Symbol("encryptionSettingsCollection")=>"EncryptionSettingsCollection", Symbol("provisioningState")=>"String", Symbol("incremental")=>"Bool", Symbol("encryption")=>"Encryption", Symbol("networkAccessPolicy")=>"NetworkAccessPolicy", Symbol("diskAccessId")=>"String", ) -OpenAPI.property_type(::Type{ SnapshotProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SnapshotProperties[name]))} - -function check_required(o::SnapshotProperties) - o.creationData === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ SnapshotProperties }, name::Symbol, val) - if name === Symbol("timeCreated") - OpenAPI.validate_param(name, "SnapshotProperties", :format, val, "date-time") - end - if name === Symbol("osType") - OpenAPI.validate_param(name, "SnapshotProperties", :enum, val, ["Windows", "Linux"]) - end - if name === Symbol("hyperVGeneration") - OpenAPI.validate_param(name, "SnapshotProperties", :enum, val, ["V1", "V2"]) - end - if name === Symbol("diskSizeGB") - OpenAPI.validate_param(name, "SnapshotProperties", :format, val, "int32") - end - if name === Symbol("diskSizeBytes") - OpenAPI.validate_param(name, "SnapshotProperties", :format, val, "int64") - end -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotSku.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotSku.jl deleted file mode 100644 index deb49ce..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotSku.jl +++ /dev/null @@ -1,38 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""SnapshotSku -The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. - - SnapshotSku(; - name=nothing, - tier=nothing, - ) - - - name::String : The sku name. - - tier::String : The sku tier. -""" -Base.@kwdef mutable struct SnapshotSku <: OpenAPI.APIModel - name::Union{Nothing, String} = nothing - tier::Union{Nothing, String} = nothing - - function SnapshotSku(name, tier, ) - OpenAPI.validate_property(SnapshotSku, Symbol("name"), name) - OpenAPI.validate_property(SnapshotSku, Symbol("tier"), tier) - return new(name, tier, ) - end -end # type SnapshotSku - -const _property_types_SnapshotSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) -OpenAPI.property_type(::Type{ SnapshotSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SnapshotSku[name]))} - -function check_required(o::SnapshotSku) - true -end - -function OpenAPI.validate_property(::Type{ SnapshotSku }, name::Symbol, val) - if name === Symbol("name") - OpenAPI.validate_param(name, "SnapshotSku", :enum, val, ["Standard_LRS", "Premium_LRS", "Standard_ZRS"]) - end -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotUpdate.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotUpdate.jl deleted file mode 100644 index b74ac1f..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotUpdate.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""SnapshotUpdate -Snapshot update resource. - - SnapshotUpdate(; - properties=nothing, - tags=nothing, - sku=nothing, - ) - - - properties::SnapshotUpdateProperties - - tags::Dict{String, String} : Resource tags - - sku::SnapshotSku -""" -Base.@kwdef mutable struct SnapshotUpdate <: OpenAPI.APIModel - properties = nothing # spec type: Union{ Nothing, SnapshotUpdateProperties } - tags::Union{Nothing, Dict{String, String}} = nothing - sku = nothing # spec type: Union{ Nothing, SnapshotSku } - - function SnapshotUpdate(properties, tags, sku, ) - OpenAPI.validate_property(SnapshotUpdate, Symbol("properties"), properties) - OpenAPI.validate_property(SnapshotUpdate, Symbol("tags"), tags) - OpenAPI.validate_property(SnapshotUpdate, Symbol("sku"), sku) - return new(properties, tags, sku, ) - end -end # type SnapshotUpdate - -const _property_types_SnapshotUpdate = Dict{Symbol,String}(Symbol("properties")=>"SnapshotUpdateProperties", Symbol("tags")=>"Dict{String, String}", Symbol("sku")=>"SnapshotSku", ) -OpenAPI.property_type(::Type{ SnapshotUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SnapshotUpdate[name]))} - -function check_required(o::SnapshotUpdate) - true -end - -function OpenAPI.validate_property(::Type{ SnapshotUpdate }, name::Symbol, val) -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotUpdateProperties.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotUpdateProperties.jl deleted file mode 100644 index 9a50280..0000000 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SnapshotUpdateProperties.jl +++ /dev/null @@ -1,57 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""SnapshotUpdateProperties -Snapshot resource update properties. - - SnapshotUpdateProperties(; - osType=nothing, - diskSizeGB=nothing, - encryptionSettingsCollection=nothing, - encryption=nothing, - networkAccessPolicy=nothing, - diskAccessId=nothing, - ) - - - osType::String : the Operating System type. - - diskSizeGB::Int64 : If creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. - - encryptionSettingsCollection::EncryptionSettingsCollection - - encryption::Encryption - - networkAccessPolicy::NetworkAccessPolicy - - diskAccessId::String : ARM id of the DiskAccess resource for using private endpoints on disks. -""" -Base.@kwdef mutable struct SnapshotUpdateProperties <: OpenAPI.APIModel - osType::Union{Nothing, String} = nothing - diskSizeGB::Union{Nothing, Int64} = nothing - encryptionSettingsCollection = nothing # spec type: Union{ Nothing, EncryptionSettingsCollection } - encryption = nothing # spec type: Union{ Nothing, Encryption } - networkAccessPolicy = nothing # spec type: Union{ Nothing, NetworkAccessPolicy } - diskAccessId::Union{Nothing, String} = nothing - - function SnapshotUpdateProperties(osType, diskSizeGB, encryptionSettingsCollection, encryption, networkAccessPolicy, diskAccessId, ) - OpenAPI.validate_property(SnapshotUpdateProperties, Symbol("osType"), osType) - OpenAPI.validate_property(SnapshotUpdateProperties, Symbol("diskSizeGB"), diskSizeGB) - OpenAPI.validate_property(SnapshotUpdateProperties, Symbol("encryptionSettingsCollection"), encryptionSettingsCollection) - OpenAPI.validate_property(SnapshotUpdateProperties, Symbol("encryption"), encryption) - OpenAPI.validate_property(SnapshotUpdateProperties, Symbol("networkAccessPolicy"), networkAccessPolicy) - OpenAPI.validate_property(SnapshotUpdateProperties, Symbol("diskAccessId"), diskAccessId) - return new(osType, diskSizeGB, encryptionSettingsCollection, encryption, networkAccessPolicy, diskAccessId, ) - end -end # type SnapshotUpdateProperties - -const _property_types_SnapshotUpdateProperties = Dict{Symbol,String}(Symbol("osType")=>"String", Symbol("diskSizeGB")=>"Int64", Symbol("encryptionSettingsCollection")=>"EncryptionSettingsCollection", Symbol("encryption")=>"Encryption", Symbol("networkAccessPolicy")=>"NetworkAccessPolicy", Symbol("diskAccessId")=>"String", ) -OpenAPI.property_type(::Type{ SnapshotUpdateProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SnapshotUpdateProperties[name]))} - -function check_required(o::SnapshotUpdateProperties) - true -end - -function OpenAPI.validate_property(::Type{ SnapshotUpdateProperties }, name::Symbol, val) - if name === Symbol("osType") - OpenAPI.validate_param(name, "SnapshotUpdateProperties", :enum, val, ["Windows", "Linux"]) - end - if name === Symbol("diskSizeGB") - OpenAPI.validate_param(name, "SnapshotUpdateProperties", :format, val, "int32") - end -end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SourceVault.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SourceVault.jl index 5830cab..953035a 100644 --- a/src/Compute/DiskResourceProviderClient/src/models/model_SourceVault.jl +++ b/src/Compute/DiskResourceProviderClient/src/models/model_SourceVault.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SourceVault <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SourceVault(id, ) - OpenAPI.validate_property(SourceVault, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SourceVault const _property_types_SourceVault = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SourceVault }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SourceVault[name]))} -function check_required(o::SourceVault) +function OpenAPI.check_required(o::SourceVault) true end +function OpenAPI.validate_properties(o::SourceVault) + OpenAPI.validate_property(SourceVault, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SourceVault }, name::Symbol, val) + end diff --git a/src/Compute/DiskResourceProviderClient/src/models/model_SupportedCapabilities.jl b/src/Compute/DiskResourceProviderClient/src/models/model_SupportedCapabilities.jl new file mode 100644 index 0000000..243418d --- /dev/null +++ b/src/Compute/DiskResourceProviderClient/src/models/model_SupportedCapabilities.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SupportedCapabilities +List of supported capabilities persisted on the disk resource for VM use. + + SupportedCapabilities(; + diskControllerTypes=nothing, + acceleratedNetwork=nothing, + architecture=nothing, + ) + + - diskControllerTypes::String : The disk controllers that an OS disk supports. If set it can be SCSI or SCSI, NVME or NVME, SCSI. + - acceleratedNetwork::Bool : True if the image from which the OS disk is created supports accelerated networking. + - architecture::String : CPU architecture supported by an OS disk. +""" +Base.@kwdef mutable struct SupportedCapabilities <: OpenAPI.APIModel + diskControllerTypes::Union{Nothing, String} = nothing + acceleratedNetwork::Union{Nothing, Bool} = nothing + architecture::Union{Nothing, String} = nothing + + function SupportedCapabilities(diskControllerTypes, acceleratedNetwork, architecture, ) + o = new(diskControllerTypes, acceleratedNetwork, architecture, ) + OpenAPI.validate_properties(o) + return o + end +end # type SupportedCapabilities + +const _property_types_SupportedCapabilities = Dict{Symbol,String}(Symbol("diskControllerTypes")=>"String", Symbol("acceleratedNetwork")=>"Bool", Symbol("architecture")=>"String", ) +OpenAPI.property_type(::Type{ SupportedCapabilities }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SupportedCapabilities[name]))} + +function OpenAPI.check_required(o::SupportedCapabilities) + true +end + +function OpenAPI.validate_properties(o::SupportedCapabilities) + OpenAPI.validate_property(SupportedCapabilities, Symbol("diskControllerTypes"), o.diskControllerTypes) + OpenAPI.validate_property(SupportedCapabilities, Symbol("acceleratedNetwork"), o.acceleratedNetwork) + OpenAPI.validate_property(SupportedCapabilities, Symbol("architecture"), o.architecture) +end + +function OpenAPI.validate_property(::Type{ SupportedCapabilities }, name::Symbol, val) + + + + if name === Symbol("architecture") + OpenAPI.validate_param(name, "SupportedCapabilities", :enum, val, ["x64", "Arm64"]) + end + +end diff --git a/src/Compute/RunCommandsClient/.openapi-generator/FILES b/src/Compute/RunCommandsClient/.openapi-generator/FILES index 52018e3..19b7a54 100644 --- a/src/Compute/RunCommandsClient/.openapi-generator/FILES +++ b/src/Compute/RunCommandsClient/.openapi-generator/FILES @@ -1,28 +1,52 @@ .openapi-generator-ignore README.md +docs/ApiError.md +docs/ApiErrorBase.md +docs/CloudError.md +docs/InnerError.md docs/InstanceViewStatus.md +docs/Resource.md docs/RunCommandDocument.md -docs/RunCommandDocumentAllOf.md docs/RunCommandDocumentBase.md docs/RunCommandInput.md docs/RunCommandInputParameter.md docs/RunCommandListResult.md docs/RunCommandParameterDefinition.md docs/RunCommandResult.md +docs/UpdateResource.md +docs/VirtualMachineRunCommand.md +docs/VirtualMachineRunCommandInstanceView.md +docs/VirtualMachineRunCommandProperties.md +docs/VirtualMachineRunCommandScriptSource.md +docs/VirtualMachineRunCommandUpdate.md docs/VirtualMachineRunCommandsApi.md +docs/VirtualMachineRunCommandsListResult.md +docs/VirtualMachineScaleSetVMRunCommandsApi.md docs/VirtualMachineScaleSetVMsApi.md docs/VirtualMachinesApi.md src/RunCommandsClient.jl src/apis/api_VirtualMachineRunCommandsApi.jl +src/apis/api_VirtualMachineScaleSetVMRunCommandsApi.jl src/apis/api_VirtualMachineScaleSetVMsApi.jl src/apis/api_VirtualMachinesApi.jl src/modelincludes.jl +src/models/model_ApiError.jl +src/models/model_ApiErrorBase.jl +src/models/model_CloudError.jl +src/models/model_InnerError.jl src/models/model_InstanceViewStatus.jl +src/models/model_Resource.jl src/models/model_RunCommandDocument.jl -src/models/model_RunCommandDocumentAllOf.jl src/models/model_RunCommandDocumentBase.jl src/models/model_RunCommandInput.jl src/models/model_RunCommandInputParameter.jl src/models/model_RunCommandListResult.jl src/models/model_RunCommandParameterDefinition.jl src/models/model_RunCommandResult.jl +src/models/model_UpdateResource.jl +src/models/model_VirtualMachineRunCommand.jl +src/models/model_VirtualMachineRunCommandInstanceView.jl +src/models/model_VirtualMachineRunCommandProperties.jl +src/models/model_VirtualMachineRunCommandScriptSource.jl +src/models/model_VirtualMachineRunCommandUpdate.jl +src/models/model_VirtualMachineRunCommandsListResult.jl diff --git a/src/Compute/RunCommandsClient/.openapi-generator/VERSION b/src/Compute/RunCommandsClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Compute/RunCommandsClient/.openapi-generator/VERSION +++ b/src/Compute/RunCommandsClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Compute/RunCommandsClient/README.md b/src/Compute/RunCommandsClient/README.md index e267ff4..338ed4b 100644 --- a/src/Compute/RunCommandsClient/README.md +++ b/src/Compute/RunCommandsClient/README.md @@ -5,7 +5,8 @@ The Run Commands Client. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-06-01 +- API version: 2021-11-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -20,28 +21,52 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- +*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_create_or_update**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}
+*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_delete**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}
*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_get**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_get)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}
+*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_get_by_virtual_machine**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_get_by_virtual_machine)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}
*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_list**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands
+*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_list_by_virtual_machine**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_list_by_virtual_machine)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands
+*VirtualMachineRunCommandsApi* | [**virtual_machine_run_commands_update**](docs/VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}
+*VirtualMachineScaleSetVMRunCommandsApi* | [**virtual_machine_scale_set_v_m_run_commands_create_or_update**](docs/VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}
+*VirtualMachineScaleSetVMRunCommandsApi* | [**virtual_machine_scale_set_v_m_run_commands_delete**](docs/VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}
+*VirtualMachineScaleSetVMRunCommandsApi* | [**virtual_machine_scale_set_v_m_run_commands_get**](docs/VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}
+*VirtualMachineScaleSetVMRunCommandsApi* | [**virtual_machine_scale_set_v_m_run_commands_list**](docs/VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands
+*VirtualMachineScaleSetVMRunCommandsApi* | [**virtual_machine_scale_set_v_m_run_commands_update**](docs/VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_update)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}
*VirtualMachineScaleSetVMsApi* | [**virtual_machine_scale_set_v_ms_run_command**](docs/VirtualMachineScaleSetVMsApi.md#virtual_machine_scale_set_v_ms_run_command)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualmachines/{instanceId}/runCommand
*VirtualMachinesApi* | [**virtual_machines_run_command**](docs/VirtualMachinesApi.md#virtual_machines_run_command)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommand
## Models + - [ApiError](docs/ApiError.md) + - [ApiErrorBase](docs/ApiErrorBase.md) + - [CloudError](docs/CloudError.md) + - [InnerError](docs/InnerError.md) - [InstanceViewStatus](docs/InstanceViewStatus.md) + - [Resource](docs/Resource.md) - [RunCommandDocument](docs/RunCommandDocument.md) - - [RunCommandDocumentAllOf](docs/RunCommandDocumentAllOf.md) - [RunCommandDocumentBase](docs/RunCommandDocumentBase.md) - [RunCommandInput](docs/RunCommandInput.md) - [RunCommandInputParameter](docs/RunCommandInputParameter.md) - [RunCommandListResult](docs/RunCommandListResult.md) - [RunCommandParameterDefinition](docs/RunCommandParameterDefinition.md) - [RunCommandResult](docs/RunCommandResult.md) + - [UpdateResource](docs/UpdateResource.md) + - [VirtualMachineRunCommand](docs/VirtualMachineRunCommand.md) + - [VirtualMachineRunCommandInstanceView](docs/VirtualMachineRunCommandInstanceView.md) + - [VirtualMachineRunCommandProperties](docs/VirtualMachineRunCommandProperties.md) + - [VirtualMachineRunCommandScriptSource](docs/VirtualMachineRunCommandScriptSource.md) + - [VirtualMachineRunCommandUpdate](docs/VirtualMachineRunCommandUpdate.md) + - [VirtualMachineRunCommandsListResult](docs/VirtualMachineRunCommandsListResult.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Compute/DiskResourceProviderClient/docs/ApiError.md b/src/Compute/RunCommandsClient/docs/ApiError.md similarity index 100% rename from src/Compute/DiskResourceProviderClient/docs/ApiError.md rename to src/Compute/RunCommandsClient/docs/ApiError.md diff --git a/src/Compute/DiskResourceProviderClient/docs/ApiErrorBase.md b/src/Compute/RunCommandsClient/docs/ApiErrorBase.md similarity index 100% rename from src/Compute/DiskResourceProviderClient/docs/ApiErrorBase.md rename to src/Compute/RunCommandsClient/docs/ApiErrorBase.md diff --git a/src/Compute/DiskResourceProviderClient/docs/CloudError.md b/src/Compute/RunCommandsClient/docs/CloudError.md similarity index 100% rename from src/Compute/DiskResourceProviderClient/docs/CloudError.md rename to src/Compute/RunCommandsClient/docs/CloudError.md diff --git a/src/Compute/DiskResourceProviderClient/docs/InnerError.md b/src/Compute/RunCommandsClient/docs/InnerError.md similarity index 100% rename from src/Compute/DiskResourceProviderClient/docs/InnerError.md rename to src/Compute/RunCommandsClient/docs/InnerError.md diff --git a/src/Compute/RunCommandsClient/docs/Resource.md b/src/Compute/RunCommandsClient/docs/Resource.md new file mode 100644 index 0000000..6486a0e --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/Resource.md @@ -0,0 +1,16 @@ +# Resource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/RunCommandDocument.md b/src/Compute/RunCommandsClient/docs/RunCommandDocument.md index 46d10fe..fd71aa9 100644 --- a/src/Compute/RunCommandsClient/docs/RunCommandDocument.md +++ b/src/Compute/RunCommandsClient/docs/RunCommandDocument.md @@ -4,13 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**script** | **Vector{String}** | The script to be executed. | [default to nothing] +**parameters** | [**Vector{RunCommandParameterDefinition}**](RunCommandParameterDefinition.md) | The parameters used by the script. | [optional] [default to nothing] **var"$schema"** | **String** | The VM run command schema. | [default to nothing] **id** | **String** | The VM run command id. | [default to nothing] **osType** | **String** | The Operating System type. | [default to nothing] **label** | **String** | The VM run command label. | [default to nothing] **description** | **String** | The VM run command description. | [default to nothing] -**script** | **Vector{String}** | The script to be executed. | [default to nothing] -**parameters** | [**Vector{RunCommandParameterDefinition}**](RunCommandParameterDefinition.md) | The parameters used by the script. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Compute/RunCommandsClient/docs/RunCommandDocumentAllOf.md b/src/Compute/RunCommandsClient/docs/RunCommandDocumentAllOf.md deleted file mode 100644 index b208359..0000000 --- a/src/Compute/RunCommandsClient/docs/RunCommandDocumentAllOf.md +++ /dev/null @@ -1,13 +0,0 @@ -# RunCommandDocumentAllOf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**script** | **Vector{String}** | The script to be executed. | [default to nothing] -**parameters** | [**Vector{RunCommandParameterDefinition}**](RunCommandParameterDefinition.md) | The parameters used by the script. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Compute/RunCommandsClient/docs/UpdateResource.md b/src/Compute/RunCommandsClient/docs/UpdateResource.md new file mode 100644 index 0000000..6b4b001 --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/UpdateResource.md @@ -0,0 +1,12 @@ +# UpdateResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommand.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommand.md new file mode 100644 index 0000000..fbce3a5 --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommand.md @@ -0,0 +1,17 @@ +# VirtualMachineRunCommand + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***VirtualMachineRunCommandProperties**](VirtualMachineRunCommandProperties.md) | | [optional] [default to nothing] +**id** | **String** | Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location | [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandInstanceView.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandInstanceView.md new file mode 100644 index 0000000..48b03fa --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandInstanceView.md @@ -0,0 +1,19 @@ +# VirtualMachineRunCommandInstanceView + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**executionState** | **String** | Script execution status. | [optional] [default to nothing] +**executionMessage** | **String** | Communicate script configuration errors or execution messages. | [optional] [default to nothing] +**exitCode** | **Int64** | Exit code returned from script execution. | [optional] [default to nothing] +**output** | **String** | Script output stream. | [optional] [default to nothing] +**error** | **String** | Script error stream. | [optional] [default to nothing] +**startTime** | **ZonedDateTime** | Script start time. | [optional] [default to nothing] +**endTime** | **ZonedDateTime** | Script end time. | [optional] [default to nothing] +**statuses** | [**Vector{InstanceViewStatus}**](InstanceViewStatus.md) | The resource status information. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandProperties.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandProperties.md new file mode 100644 index 0000000..49b85a3 --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandProperties.md @@ -0,0 +1,22 @@ +# VirtualMachineRunCommandProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**source** | [***VirtualMachineRunCommandScriptSource**](VirtualMachineRunCommandScriptSource.md) | | [optional] [default to nothing] +**parameters** | [**Vector{RunCommandInputParameter}**](RunCommandInputParameter.md) | The parameters used by the script. | [optional] [default to nothing] +**protectedParameters** | [**Vector{RunCommandInputParameter}**](RunCommandInputParameter.md) | The parameters used by the script. | [optional] [default to nothing] +**asyncExecution** | **Bool** | Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. | [optional] [default to false] +**runAsUser** | **String** | Specifies the user account on the VM when executing the run command. | [optional] [default to nothing] +**runAsPassword** | **String** | Specifies the user account password on the VM when executing the run command. | [optional] [default to nothing] +**timeoutInSeconds** | **Int64** | The timeout in seconds to execute the run command. | [optional] [default to nothing] +**outputBlobUri** | **String** | Specifies the Azure storage blob where script output stream will be uploaded. | [optional] [default to nothing] +**errorBlobUri** | **String** | Specifies the Azure storage blob where script error stream will be uploaded. | [optional] [default to nothing] +**provisioningState** | **String** | The provisioning state, which only appears in the response. | [optional] [readonly] [default to nothing] +**instanceView** | [***VirtualMachineRunCommandInstanceView**](VirtualMachineRunCommandInstanceView.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandScriptSource.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandScriptSource.md new file mode 100644 index 0000000..9e64c50 --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandScriptSource.md @@ -0,0 +1,14 @@ +# VirtualMachineRunCommandScriptSource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**script** | **String** | Specifies the script content to be executed on the VM. | [optional] [default to nothing] +**scriptUri** | **String** | Specifies the script download location. | [optional] [default to nothing] +**commandId** | **String** | Specifies a commandId of predefined built-in script. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandUpdate.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandUpdate.md new file mode 100644 index 0000000..271330f --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandUpdate.md @@ -0,0 +1,13 @@ +# VirtualMachineRunCommandUpdate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***VirtualMachineRunCommandProperties**](VirtualMachineRunCommandProperties.md) | | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsApi.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsApi.md index 9997a87..8fd2c18 100644 --- a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsApi.md +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsApi.md @@ -4,10 +4,84 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**virtual_machine_run_commands_create_or_update**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName} | +[**virtual_machine_run_commands_delete**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName} | [**virtual_machine_run_commands_get**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_get) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId} | +[**virtual_machine_run_commands_get_by_virtual_machine**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_get_by_virtual_machine) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName} | [**virtual_machine_run_commands_list**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands | +[**virtual_machine_run_commands_list_by_virtual_machine**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_list_by_virtual_machine) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands | +[**virtual_machine_run_commands_update**](VirtualMachineRunCommandsApi.md#virtual_machine_run_commands_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName} | +# **virtual_machine_run_commands_create_or_update** +> virtual_machine_run_commands_create_or_update(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) -> VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse
+> virtual_machine_run_commands_create_or_update(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) -> Channel{ VirtualMachineRunCommand }, OpenAPI.Clients.ApiResponse + + + +The operation to create or update the run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine where the run command should be created or updated. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**run_command** | [**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) | Parameters supplied to the Create Virtual Machine RunCommand operation. | + +### Return type + +[**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json, text/json + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_run_commands_delete** +> virtual_machine_run_commands_delete(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machine_run_commands_delete(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +The operation to delete the run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine where the run command should be deleted. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_machine_run_commands_get** > virtual_machine_run_commands_get(_api::VirtualMachineRunCommandsApi, location::String, command_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> RunCommandDocument, OpenAPI.Clients.ApiResponse
> virtual_machine_run_commands_get(_api::VirtualMachineRunCommandsApi, response_stream::Channel, location::String, command_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ RunCommandDocument }, OpenAPI.Clients.ApiResponse @@ -21,10 +95,10 @@ Gets specific run command for a subscription in a location. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineRunCommandsApi** | API context | -**location** | **String**| The location upon which run commands is queried. | [default to nothing] -**command_id** | **String**| The command id. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location upon which run commands is queried. | +**command_id** | **String** | The command id. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -41,6 +115,46 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_machine_run_commands_get_by_virtual_machine** +> virtual_machine_run_commands_get_by_virtual_machine(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse
+> virtual_machine_run_commands_get_by_virtual_machine(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineRunCommand }, OpenAPI.Clients.ApiResponse + + + +The operation to get the run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine containing the run command. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] + +### Return type + +[**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_machine_run_commands_list** > virtual_machine_run_commands_list(_api::VirtualMachineRunCommandsApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> RunCommandListResult, OpenAPI.Clients.ApiResponse
> virtual_machine_run_commands_list(_api::VirtualMachineRunCommandsApi, response_stream::Channel, location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ RunCommandListResult }, OpenAPI.Clients.ApiResponse @@ -54,9 +168,9 @@ Lists all available run commands for a subscription in a location. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineRunCommandsApi** | API context | -**location** | **String**| The location upon which run commands is queried. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location upon which run commands is queried. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -73,3 +187,77 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_machine_run_commands_list_by_virtual_machine** +> virtual_machine_run_commands_list_by_virtual_machine(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineRunCommandsListResult, OpenAPI.Clients.ApiResponse
+> virtual_machine_run_commands_list_by_virtual_machine(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineRunCommandsListResult }, OpenAPI.Clients.ApiResponse + + + +The operation to get all run commands of a Virtual Machine. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine containing the run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] + +### Return type + +[**VirtualMachineRunCommandsListResult**](VirtualMachineRunCommandsListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_run_commands_update** +> virtual_machine_run_commands_update(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) -> VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse
+> virtual_machine_run_commands_update(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) -> Channel{ VirtualMachineRunCommand }, OpenAPI.Clients.ApiResponse + + + +The operation to update the run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine where the run command should be updated. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**run_command** | [**VirtualMachineRunCommandUpdate**](VirtualMachineRunCommandUpdate.md) | Parameters supplied to the Update Virtual Machine RunCommand operation. | + +### Return type + +[**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json, text/json + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsListResult.md b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsListResult.md new file mode 100644 index 0000000..1c9fd42 --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineRunCommandsListResult.md @@ -0,0 +1,13 @@ +# VirtualMachineRunCommandsListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{VirtualMachineRunCommand}**](VirtualMachineRunCommand.md) | The list of run commands | [default to nothing] +**nextLink** | **String** | The uri to fetch the next page of run commands. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMRunCommandsApi.md b/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMRunCommandsApi.md new file mode 100644 index 0000000..e8f71ac --- /dev/null +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMRunCommandsApi.md @@ -0,0 +1,201 @@ +# VirtualMachineScaleSetVMRunCommandsApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**virtual_machine_scale_set_v_m_run_commands_create_or_update**](VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName} | +[**virtual_machine_scale_set_v_m_run_commands_delete**](VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName} | +[**virtual_machine_scale_set_v_m_run_commands_get**](VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName} | +[**virtual_machine_scale_set_v_m_run_commands_list**](VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands | +[**virtual_machine_scale_set_v_m_run_commands_update**](VirtualMachineScaleSetVMRunCommandsApi.md#virtual_machine_scale_set_v_m_run_commands_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName} | + + +# **virtual_machine_scale_set_v_m_run_commands_create_or_update** +> virtual_machine_scale_set_v_m_run_commands_create_or_update(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) -> VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_run_commands_create_or_update(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) -> Channel{ VirtualMachineRunCommand }, OpenAPI.Clients.ApiResponse + + + +The operation to create or update the VMSS VM run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineScaleSetVMRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**run_command** | [**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) | Parameters supplied to the Create Virtual Machine RunCommand operation. | + +### Return type + +[**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json, text/json + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_scale_set_v_m_run_commands_delete** +> virtual_machine_scale_set_v_m_run_commands_delete(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_run_commands_delete(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +The operation to delete the VMSS VM run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineScaleSetVMRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_scale_set_v_m_run_commands_get** +> virtual_machine_scale_set_v_m_run_commands_get(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_run_commands_get(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineRunCommand }, OpenAPI.Clients.ApiResponse + + + +The operation to get the VMSS VM run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineScaleSetVMRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] + +### Return type + +[**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_scale_set_v_m_run_commands_list** +> virtual_machine_scale_set_v_m_run_commands_list(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> VirtualMachineRunCommandsListResult, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_run_commands_list(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ VirtualMachineRunCommandsListResult }, OpenAPI.Clients.ApiResponse + + + +The operation to get all run commands of an instance in Virtual Machine Scaleset. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineScaleSetVMRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The expand expression to apply on the operation. | [default to nothing] + +### Return type + +[**VirtualMachineRunCommandsListResult**](VirtualMachineRunCommandsListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_machine_scale_set_v_m_run_commands_update** +> virtual_machine_scale_set_v_m_run_commands_update(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) -> VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse
+> virtual_machine_scale_set_v_m_run_commands_update(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) -> Channel{ VirtualMachineRunCommand }, OpenAPI.Clients.ApiResponse + + + +The operation to update the VMSS VM run command. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualMachineScaleSetVMRunCommandsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**run_command_name** | **String** | The name of the virtual machine run command. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**run_command** | [**VirtualMachineRunCommandUpdate**](VirtualMachineRunCommandUpdate.md) | Parameters supplied to the Update Virtual Machine RunCommand operation. | + +### Return type + +[**VirtualMachineRunCommand**](VirtualMachineRunCommand.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json, text/json + - **Accept**: application/json, text/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMsApi.md b/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMsApi.md index 70498e9..1d7130c 100644 --- a/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMsApi.md +++ b/src/Compute/RunCommandsClient/docs/VirtualMachineScaleSetVMsApi.md @@ -20,12 +20,12 @@ Run command on a virtual machine in a VM scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachineScaleSetVMsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_scale_set_name** | **String**| The name of the VM scale set. | [default to nothing] -**instance_id** | **String**| The instance ID of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**RunCommandInput**](RunCommandInput.md)| Parameters supplied to the Run command operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_scale_set_name** | **String** | The name of the VM scale set. | +**instance_id** | **String** | The instance ID of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**RunCommandInput**](RunCommandInput.md) | Parameters supplied to the Run command operation. | ### Return type diff --git a/src/Compute/RunCommandsClient/docs/VirtualMachinesApi.md b/src/Compute/RunCommandsClient/docs/VirtualMachinesApi.md index 716f2e9..a783da3 100644 --- a/src/Compute/RunCommandsClient/docs/VirtualMachinesApi.md +++ b/src/Compute/RunCommandsClient/docs/VirtualMachinesApi.md @@ -20,11 +20,11 @@ Run command on the VM. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualMachinesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**vm_name** | **String**| The name of the virtual machine. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**RunCommandInput**](RunCommandInput.md)| Parameters supplied to the Run command operation. | +**resource_group_name** | **String** | The name of the resource group. | +**vm_name** | **String** | The name of the virtual machine. | +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**RunCommandInput**](RunCommandInput.md) | Parameters supplied to the Run command operation. | ### Return type diff --git a/src/Compute/RunCommandsClient/src/RunCommandsClient.jl b/src/Compute/RunCommandsClient/src/RunCommandsClient.jl index a8af724..ac4da91 100644 --- a/src/Compute/RunCommandsClient/src/RunCommandsClient.jl +++ b/src/Compute/RunCommandsClient/src/RunCommandsClient.jl @@ -7,11 +7,12 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-06-01" +const API_VERSION = "2021-11-01" include("modelincludes.jl") include("apis/api_VirtualMachineRunCommandsApi.jl") +include("apis/api_VirtualMachineScaleSetVMRunCommandsApi.jl") include("apis/api_VirtualMachineScaleSetVMsApi.jl") include("apis/api_VirtualMachinesApi.jl") diff --git a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineRunCommandsApi.jl b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineRunCommandsApi.jl index ee39a10..6b5516c 100644 --- a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineRunCommandsApi.jl +++ b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineRunCommandsApi.jl @@ -11,17 +11,98 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. """ basepath(::Type{ VirtualMachineRunCommandsApi }) = "https://management.azure.com" +const _returntypes_virtual_machine_run_commands_create_or_update_VirtualMachineRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_run_commands_create_or_update(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_machine_run_commands_create_or_update_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", ["azure_auth", ], run_command) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "text/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to create or update the run command. + +Params: +- resource_group_name::String (required) +- vm_name::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- run_command::VirtualMachineRunCommand (required) + +Return: VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_run_commands_create_or_update(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_create_or_update(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_run_commands_create_or_update(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_create_or_update(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_run_commands_delete_VirtualMachineRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_run_commands_delete(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_machine_run_commands_delete_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to delete the run command. + +Params: +- resource_group_name::String (required) +- vm_name::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_run_commands_delete(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_delete(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_run_commands_delete(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_delete(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_machine_run_commands_get_VirtualMachineRunCommandsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => RunCommandDocument, ) function _oacinternal_virtual_machine_run_commands_get(_api::VirtualMachineRunCommandsApi, location::String, command_id::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "virtual_machine_run_commands_get", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_run_commands_get_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands/{commandId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "commandId", command_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -47,16 +128,57 @@ function virtual_machine_run_commands_get(_api::VirtualMachineRunCommandsApi, re return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_machine_run_commands_get_by_virtual_machine_VirtualMachineRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_run_commands_get_by_virtual_machine(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_run_commands_get_by_virtual_machine_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to get the run command. + +Params: +- resource_group_name::String (required) +- vm_name::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_run_commands_get_by_virtual_machine(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_get_by_virtual_machine(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_run_commands_get_by_virtual_machine(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_get_by_virtual_machine(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_machine_run_commands_list_VirtualMachineRunCommandsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => RunCommandListResult, ) function _oacinternal_virtual_machine_run_commands_list(_api::VirtualMachineRunCommandsApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "virtual_machine_run_commands_list", :pattern, location, r"^[-\w\._]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_run_commands_list_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/runCommands", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -81,5 +203,87 @@ function virtual_machine_run_commands_list(_api::VirtualMachineRunCommandsApi, r return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_machine_run_commands_list_by_virtual_machine_VirtualMachineRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommandsListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_run_commands_list_by_virtual_machine(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_run_commands_list_by_virtual_machine_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to get all run commands of a Virtual Machine. + +Params: +- resource_group_name::String (required) +- vm_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: VirtualMachineRunCommandsListResult, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_run_commands_list_by_virtual_machine(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_list_by_virtual_machine(_api, resource_group_name, vm_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_run_commands_list_by_virtual_machine(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_list_by_virtual_machine(_api, resource_group_name, vm_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_run_commands_update_VirtualMachineRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_run_commands_update(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_virtual_machine_run_commands_update_VirtualMachineRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachines/{vmName}/runCommands/{runCommandName}", ["azure_auth", ], run_command) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "text/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to update the run command. + +Params: +- resource_group_name::String (required) +- vm_name::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- run_command::VirtualMachineRunCommandUpdate (required) + +Return: VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_run_commands_update(_api::VirtualMachineRunCommandsApi, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_update(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_run_commands_update(_api::VirtualMachineRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_name::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_run_commands_update(_api, resource_group_name, vm_name, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export virtual_machine_run_commands_create_or_update +export virtual_machine_run_commands_delete export virtual_machine_run_commands_get +export virtual_machine_run_commands_get_by_virtual_machine export virtual_machine_run_commands_list +export virtual_machine_run_commands_list_by_virtual_machine +export virtual_machine_run_commands_update diff --git a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMRunCommandsApi.jl b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMRunCommandsApi.jl new file mode 100644 index 0000000..743ee45 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMRunCommandsApi.jl @@ -0,0 +1,225 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct VirtualMachineScaleSetVMRunCommandsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `VirtualMachineScaleSetVMRunCommandsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ VirtualMachineScaleSetVMRunCommandsApi }) = "https://management.azure.com" + +const _returntypes_virtual_machine_scale_set_v_m_run_commands_create_or_update_VirtualMachineScaleSetVMRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("201", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_scale_set_v_m_run_commands_create_or_update(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_machine_scale_set_v_m_run_commands_create_or_update_VirtualMachineScaleSetVMRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", ["azure_auth", ], run_command) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "text/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to create or update the VMSS VM run command. + +Params: +- resource_group_name::String (required) +- vm_scale_set_name::String (required) +- instance_id::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- run_command::VirtualMachineRunCommand (required) + +Return: VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_scale_set_v_m_run_commands_create_or_update(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_create_or_update(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_scale_set_v_m_run_commands_create_or_update(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommand; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_create_or_update(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_scale_set_v_m_run_commands_delete_VirtualMachineScaleSetVMRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_scale_set_v_m_run_commands_delete(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_machine_scale_set_v_m_run_commands_delete_VirtualMachineScaleSetVMRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to delete the VMSS VM run command. + +Params: +- resource_group_name::String (required) +- vm_scale_set_name::String (required) +- instance_id::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_scale_set_v_m_run_commands_delete(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_delete(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_scale_set_v_m_run_commands_delete(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_delete(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_scale_set_v_m_run_commands_get_VirtualMachineScaleSetVMRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_scale_set_v_m_run_commands_get(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_set_v_m_run_commands_get_VirtualMachineScaleSetVMRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to get the VMSS VM run command. + +Params: +- resource_group_name::String (required) +- vm_scale_set_name::String (required) +- instance_id::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_scale_set_v_m_run_commands_get(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_get(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_scale_set_v_m_run_commands_get(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_get(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_scale_set_v_m_run_commands_list_VirtualMachineScaleSetVMRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommandsListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_scale_set_v_m_run_commands_list(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_machine_scale_set_v_m_run_commands_list_VirtualMachineScaleSetVMRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to get all run commands of an instance in Virtual Machine Scaleset. + +Params: +- resource_group_name::String (required) +- vm_scale_set_name::String (required) +- instance_id::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: VirtualMachineRunCommandsListResult, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_scale_set_v_m_run_commands_list(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_list(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_scale_set_v_m_run_commands_list(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_list(_api, resource_group_name, vm_scale_set_name, instance_id, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_machine_scale_set_v_m_run_commands_update_VirtualMachineScaleSetVMRunCommandsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualMachineRunCommand, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_machine_scale_set_v_m_run_commands_update(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_virtual_machine_scale_set_v_m_run_commands_update_VirtualMachineScaleSetVMRunCommandsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/virtualMachineScaleSets/{vmScaleSetName}/virtualMachines/{instanceId}/runCommands/{runCommandName}", ["azure_auth", ], run_command) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "runCommandName", run_command_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "text/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""The operation to update the VMSS VM run command. + +Params: +- resource_group_name::String (required) +- vm_scale_set_name::String (required) +- instance_id::String (required) +- run_command_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- run_command::VirtualMachineRunCommandUpdate (required) + +Return: VirtualMachineRunCommand, OpenAPI.Clients.ApiResponse +""" +function virtual_machine_scale_set_v_m_run_commands_update(_api::VirtualMachineScaleSetVMRunCommandsApi, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_update(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_machine_scale_set_v_m_run_commands_update(_api::VirtualMachineScaleSetVMRunCommandsApi, response_stream::Channel, resource_group_name::String, vm_scale_set_name::String, instance_id::String, run_command_name::String, api_version::String, subscription_id::String, run_command::VirtualMachineRunCommandUpdate; _mediaType=nothing) + _ctx = _oacinternal_virtual_machine_scale_set_v_m_run_commands_update(_api, resource_group_name, vm_scale_set_name, instance_id, run_command_name, api_version, subscription_id, run_command; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export virtual_machine_scale_set_v_m_run_commands_create_or_update +export virtual_machine_scale_set_v_m_run_commands_delete +export virtual_machine_scale_set_v_m_run_commands_get +export virtual_machine_scale_set_v_m_run_commands_list +export virtual_machine_scale_set_v_m_run_commands_update diff --git a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl index 5babd0d..8523efe 100644 --- a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl +++ b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachineScaleSetVMsApi.jl @@ -22,7 +22,7 @@ function _oacinternal_virtual_machine_scale_set_v_ms_run_command(_api::VirtualMa OpenAPI.Clients.set_param(_ctx.path, "vmScaleSetName", vm_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "instanceId", instance_id) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "text/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachinesApi.jl b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachinesApi.jl index 51b53b9..342e6d1 100644 --- a/src/Compute/RunCommandsClient/src/apis/api_VirtualMachinesApi.jl +++ b/src/Compute/RunCommandsClient/src/apis/api_VirtualMachinesApi.jl @@ -21,7 +21,7 @@ function _oacinternal_virtual_machines_run_command(_api::VirtualMachinesApi, res OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "vmName", vm_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", "text/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", "text/json", ] : [_mediaType]) return _ctx diff --git a/src/Compute/RunCommandsClient/src/modelincludes.jl b/src/Compute/RunCommandsClient/src/modelincludes.jl index 58ecb15..f125c4a 100644 --- a/src/Compute/RunCommandsClient/src/modelincludes.jl +++ b/src/Compute/RunCommandsClient/src/modelincludes.jl @@ -1,12 +1,23 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. +include("models/model_ApiError.jl") +include("models/model_ApiErrorBase.jl") +include("models/model_CloudError.jl") +include("models/model_InnerError.jl") include("models/model_InstanceViewStatus.jl") +include("models/model_Resource.jl") include("models/model_RunCommandDocument.jl") -include("models/model_RunCommandDocumentAllOf.jl") include("models/model_RunCommandDocumentBase.jl") include("models/model_RunCommandInput.jl") include("models/model_RunCommandInputParameter.jl") include("models/model_RunCommandListResult.jl") include("models/model_RunCommandParameterDefinition.jl") include("models/model_RunCommandResult.jl") +include("models/model_UpdateResource.jl") +include("models/model_VirtualMachineRunCommand.jl") +include("models/model_VirtualMachineRunCommandInstanceView.jl") +include("models/model_VirtualMachineRunCommandProperties.jl") +include("models/model_VirtualMachineRunCommandScriptSource.jl") +include("models/model_VirtualMachineRunCommandUpdate.jl") +include("models/model_VirtualMachineRunCommandsListResult.jl") diff --git a/src/Compute/RunCommandsClient/src/models/model_ApiError.jl b/src/Compute/RunCommandsClient/src/models/model_ApiError.jl new file mode 100644 index 0000000..51a0c28 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_ApiError.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApiError +Api error. + + ApiError(; + details=nothing, + innererror=nothing, + code=nothing, + target=nothing, + message=nothing, + ) + + - details::Vector{ApiErrorBase} : The Api error details + - innererror::InnerError + - code::String : The error code. + - target::String : The target of the particular error. + - message::String : The error message. +""" +Base.@kwdef mutable struct ApiError <: OpenAPI.APIModel + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApiErrorBase} } + innererror = nothing # spec type: Union{ Nothing, InnerError } + code::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + + function ApiError(details, innererror, code, target, message, ) + o = new(details, innererror, code, target, message, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApiError + +const _property_types_ApiError = Dict{Symbol,String}(Symbol("details")=>"Vector{ApiErrorBase}", Symbol("innererror")=>"InnerError", Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) +OpenAPI.property_type(::Type{ ApiError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiError[name]))} + +function OpenAPI.check_required(o::ApiError) + true +end + +function OpenAPI.validate_properties(o::ApiError) + OpenAPI.validate_property(ApiError, Symbol("details"), o.details) + OpenAPI.validate_property(ApiError, Symbol("innererror"), o.innererror) + OpenAPI.validate_property(ApiError, Symbol("code"), o.code) + OpenAPI.validate_property(ApiError, Symbol("target"), o.target) + OpenAPI.validate_property(ApiError, Symbol("message"), o.message) +end + +function OpenAPI.validate_property(::Type{ ApiError }, name::Symbol, val) + + + + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_ApiErrorBase.jl b/src/Compute/RunCommandsClient/src/models/model_ApiErrorBase.jl new file mode 100644 index 0000000..0c99757 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_ApiErrorBase.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApiErrorBase +Api error base. + + ApiErrorBase(; + code=nothing, + target=nothing, + message=nothing, + ) + + - code::String : The error code. + - target::String : The target of the particular error. + - message::String : The error message. +""" +Base.@kwdef mutable struct ApiErrorBase <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + + function ApiErrorBase(code, target, message, ) + o = new(code, target, message, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApiErrorBase + +const _property_types_ApiErrorBase = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) +OpenAPI.property_type(::Type{ ApiErrorBase }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiErrorBase[name]))} + +function OpenAPI.check_required(o::ApiErrorBase) + true +end + +function OpenAPI.validate_properties(o::ApiErrorBase) + OpenAPI.validate_property(ApiErrorBase, Symbol("code"), o.code) + OpenAPI.validate_property(ApiErrorBase, Symbol("target"), o.target) + OpenAPI.validate_property(ApiErrorBase, Symbol("message"), o.message) +end + +function OpenAPI.validate_property(::Type{ ApiErrorBase }, name::Symbol, val) + + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_CloudError.jl b/src/Compute/RunCommandsClient/src/models/model_CloudError.jl new file mode 100644 index 0000000..277bcee --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_CloudError.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CloudError +An error response from the Compute service. + + CloudError(; + error=nothing, + ) + + - error::ApiError +""" +Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, ApiError } + + function CloudError(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type CloudError + +const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ApiError", ) +OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} + +function OpenAPI.check_required(o::CloudError) + true +end + +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_InnerError.jl b/src/Compute/RunCommandsClient/src/models/model_InnerError.jl new file mode 100644 index 0000000..fd61f9a --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_InnerError.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""InnerError +Inner error details. + + InnerError(; + exceptiontype=nothing, + errordetail=nothing, + ) + + - exceptiontype::String : The exception type. + - errordetail::String : The internal error message or exception dump. +""" +Base.@kwdef mutable struct InnerError <: OpenAPI.APIModel + exceptiontype::Union{Nothing, String} = nothing + errordetail::Union{Nothing, String} = nothing + + function InnerError(exceptiontype, errordetail, ) + o = new(exceptiontype, errordetail, ) + OpenAPI.validate_properties(o) + return o + end +end # type InnerError + +const _property_types_InnerError = Dict{Symbol,String}(Symbol("exceptiontype")=>"String", Symbol("errordetail")=>"String", ) +OpenAPI.property_type(::Type{ InnerError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InnerError[name]))} + +function OpenAPI.check_required(o::InnerError) + true +end + +function OpenAPI.validate_properties(o::InnerError) + OpenAPI.validate_property(InnerError, Symbol("exceptiontype"), o.exceptiontype) + OpenAPI.validate_property(InnerError, Symbol("errordetail"), o.errordetail) +end + +function OpenAPI.validate_property(::Type{ InnerError }, name::Symbol, val) + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_InstanceViewStatus.jl b/src/Compute/RunCommandsClient/src/models/model_InstanceViewStatus.jl index d2021f9..8bee3f4 100644 --- a/src/Compute/RunCommandsClient/src/models/model_InstanceViewStatus.jl +++ b/src/Compute/RunCommandsClient/src/models/model_InstanceViewStatus.jl @@ -27,26 +27,37 @@ Base.@kwdef mutable struct InstanceViewStatus <: OpenAPI.APIModel time::Union{Nothing, ZonedDateTime} = nothing function InstanceViewStatus(code, level, displayStatus, message, time, ) - OpenAPI.validate_property(InstanceViewStatus, Symbol("code"), code) - OpenAPI.validate_property(InstanceViewStatus, Symbol("level"), level) - OpenAPI.validate_property(InstanceViewStatus, Symbol("displayStatus"), displayStatus) - OpenAPI.validate_property(InstanceViewStatus, Symbol("message"), message) - OpenAPI.validate_property(InstanceViewStatus, Symbol("time"), time) - return new(code, level, displayStatus, message, time, ) + o = new(code, level, displayStatus, message, time, ) + OpenAPI.validate_properties(o) + return o end end # type InstanceViewStatus const _property_types_InstanceViewStatus = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("level")=>"String", Symbol("displayStatus")=>"String", Symbol("message")=>"String", Symbol("time")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ InstanceViewStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InstanceViewStatus[name]))} -function check_required(o::InstanceViewStatus) +function OpenAPI.check_required(o::InstanceViewStatus) true end +function OpenAPI.validate_properties(o::InstanceViewStatus) + OpenAPI.validate_property(InstanceViewStatus, Symbol("code"), o.code) + OpenAPI.validate_property(InstanceViewStatus, Symbol("level"), o.level) + OpenAPI.validate_property(InstanceViewStatus, Symbol("displayStatus"), o.displayStatus) + OpenAPI.validate_property(InstanceViewStatus, Symbol("message"), o.message) + OpenAPI.validate_property(InstanceViewStatus, Symbol("time"), o.time) +end + function OpenAPI.validate_property(::Type{ InstanceViewStatus }, name::Symbol, val) + + if name === Symbol("level") OpenAPI.validate_param(name, "InstanceViewStatus", :enum, val, ["Info", "Warning", "Error"]) end + + + + if name === Symbol("time") OpenAPI.validate_param(name, "InstanceViewStatus", :format, val, "date-time") end diff --git a/src/Compute/RunCommandsClient/src/models/model_Resource.jl b/src/Compute/RunCommandsClient/src/models/model_Resource.jl new file mode 100644 index 0000000..a55b5df --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_Resource.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Resource +The Resource model definition. + + Resource(; + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct Resource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function Resource(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type Resource + +const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} + +function OpenAPI.check_required(o::Resource) + o.location === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandDocument.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandDocument.jl index 2d8bc27..5809891 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandDocument.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandDocument.jl @@ -6,59 +6,72 @@ Describes the properties of a Run Command. RunCommandDocument(; + script=nothing, + parameters=nothing, var"$schema"=nothing, id=nothing, osType=nothing, label=nothing, description=nothing, - script=nothing, - parameters=nothing, ) + - script::Vector{String} : The script to be executed. + - parameters::Vector{RunCommandParameterDefinition} : The parameters used by the script. - var"$schema"::String : The VM run command schema. - id::String : The VM run command id. - osType::String : The Operating System type. - label::String : The VM run command label. - description::String : The VM run command description. - - script::Vector{String} : The script to be executed. - - parameters::Vector{RunCommandParameterDefinition} : The parameters used by the script. """ Base.@kwdef mutable struct RunCommandDocument <: OpenAPI.APIModel + script::Union{Nothing, Vector{String}} = nothing + parameters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RunCommandParameterDefinition} } var"$schema"::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing osType::Union{Nothing, String} = nothing label::Union{Nothing, String} = nothing description::Union{Nothing, String} = nothing - script::Union{Nothing, Vector{String}} = nothing - parameters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RunCommandParameterDefinition} } - function RunCommandDocument(var"$schema", id, osType, label, description, script, parameters, ) - OpenAPI.validate_property(RunCommandDocument, Symbol("\$schema"), var"$schema") - OpenAPI.validate_property(RunCommandDocument, Symbol("id"), id) - OpenAPI.validate_property(RunCommandDocument, Symbol("osType"), osType) - OpenAPI.validate_property(RunCommandDocument, Symbol("label"), label) - OpenAPI.validate_property(RunCommandDocument, Symbol("description"), description) - OpenAPI.validate_property(RunCommandDocument, Symbol("script"), script) - OpenAPI.validate_property(RunCommandDocument, Symbol("parameters"), parameters) - return new(var"$schema", id, osType, label, description, script, parameters, ) + function RunCommandDocument(script, parameters, var"$schema", id, osType, label, description, ) + o = new(script, parameters, var"$schema", id, osType, label, description, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandDocument -const _property_types_RunCommandDocument = Dict{Symbol,String}(Symbol("\$schema")=>"String", Symbol("id")=>"String", Symbol("osType")=>"String", Symbol("label")=>"String", Symbol("description")=>"String", Symbol("script")=>"Vector{String}", Symbol("parameters")=>"Vector{RunCommandParameterDefinition}", ) +const _property_types_RunCommandDocument = Dict{Symbol,String}(Symbol("script")=>"Vector{String}", Symbol("parameters")=>"Vector{RunCommandParameterDefinition}", Symbol("\$schema")=>"String", Symbol("id")=>"String", Symbol("osType")=>"String", Symbol("label")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ RunCommandDocument }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandDocument[name]))} -function check_required(o::RunCommandDocument) +function OpenAPI.check_required(o::RunCommandDocument) + o.script === nothing && (return false) o.var"$schema" === nothing && (return false) o.id === nothing && (return false) o.osType === nothing && (return false) o.label === nothing && (return false) o.description === nothing && (return false) - o.script === nothing && (return false) true end +function OpenAPI.validate_properties(o::RunCommandDocument) + OpenAPI.validate_property(RunCommandDocument, Symbol("script"), o.script) + OpenAPI.validate_property(RunCommandDocument, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(RunCommandDocument, Symbol("\$schema"), o.var"$schema") + OpenAPI.validate_property(RunCommandDocument, Symbol("id"), o.id) + OpenAPI.validate_property(RunCommandDocument, Symbol("osType"), o.osType) + OpenAPI.validate_property(RunCommandDocument, Symbol("label"), o.label) + OpenAPI.validate_property(RunCommandDocument, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ RunCommandDocument }, name::Symbol, val) + + + + + if name === Symbol("osType") OpenAPI.validate_param(name, "RunCommandDocument", :enum, val, ["Windows", "Linux"]) end + + + end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentAllOf.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentAllOf.jl deleted file mode 100644 index 6be9dfa..0000000 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentAllOf.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""RunCommandDocument_allOf - - RunCommandDocumentAllOf(; - script=nothing, - parameters=nothing, - ) - - - script::Vector{String} : The script to be executed. - - parameters::Vector{RunCommandParameterDefinition} : The parameters used by the script. -""" -Base.@kwdef mutable struct RunCommandDocumentAllOf <: OpenAPI.APIModel - script::Union{Nothing, Vector{String}} = nothing - parameters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RunCommandParameterDefinition} } - - function RunCommandDocumentAllOf(script, parameters, ) - OpenAPI.validate_property(RunCommandDocumentAllOf, Symbol("script"), script) - OpenAPI.validate_property(RunCommandDocumentAllOf, Symbol("parameters"), parameters) - return new(script, parameters, ) - end -end # type RunCommandDocumentAllOf - -const _property_types_RunCommandDocumentAllOf = Dict{Symbol,String}(Symbol("script")=>"Vector{String}", Symbol("parameters")=>"Vector{RunCommandParameterDefinition}", ) -OpenAPI.property_type(::Type{ RunCommandDocumentAllOf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandDocumentAllOf[name]))} - -function check_required(o::RunCommandDocumentAllOf) - o.script === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ RunCommandDocumentAllOf }, name::Symbol, val) -end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentBase.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentBase.jl index 4eb8537..c8fc299 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentBase.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandDocumentBase.jl @@ -27,19 +27,16 @@ Base.@kwdef mutable struct RunCommandDocumentBase <: OpenAPI.APIModel description::Union{Nothing, String} = nothing function RunCommandDocumentBase(var"$schema", id, osType, label, description, ) - OpenAPI.validate_property(RunCommandDocumentBase, Symbol("\$schema"), var"$schema") - OpenAPI.validate_property(RunCommandDocumentBase, Symbol("id"), id) - OpenAPI.validate_property(RunCommandDocumentBase, Symbol("osType"), osType) - OpenAPI.validate_property(RunCommandDocumentBase, Symbol("label"), label) - OpenAPI.validate_property(RunCommandDocumentBase, Symbol("description"), description) - return new(var"$schema", id, osType, label, description, ) + o = new(var"$schema", id, osType, label, description, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandDocumentBase const _property_types_RunCommandDocumentBase = Dict{Symbol,String}(Symbol("\$schema")=>"String", Symbol("id")=>"String", Symbol("osType")=>"String", Symbol("label")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ RunCommandDocumentBase }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandDocumentBase[name]))} -function check_required(o::RunCommandDocumentBase) +function OpenAPI.check_required(o::RunCommandDocumentBase) o.var"$schema" === nothing && (return false) o.id === nothing && (return false) o.osType === nothing && (return false) @@ -48,8 +45,22 @@ function check_required(o::RunCommandDocumentBase) true end +function OpenAPI.validate_properties(o::RunCommandDocumentBase) + OpenAPI.validate_property(RunCommandDocumentBase, Symbol("\$schema"), o.var"$schema") + OpenAPI.validate_property(RunCommandDocumentBase, Symbol("id"), o.id) + OpenAPI.validate_property(RunCommandDocumentBase, Symbol("osType"), o.osType) + OpenAPI.validate_property(RunCommandDocumentBase, Symbol("label"), o.label) + OpenAPI.validate_property(RunCommandDocumentBase, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ RunCommandDocumentBase }, name::Symbol, val) + + + if name === Symbol("osType") OpenAPI.validate_param(name, "RunCommandDocumentBase", :enum, val, ["Windows", "Linux"]) end + + + end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandInput.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandInput.jl index 7f1074a..50fb10f 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandInput.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandInput.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct RunCommandInput <: OpenAPI.APIModel parameters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RunCommandInputParameter} } function RunCommandInput(commandId, script, parameters, ) - OpenAPI.validate_property(RunCommandInput, Symbol("commandId"), commandId) - OpenAPI.validate_property(RunCommandInput, Symbol("script"), script) - OpenAPI.validate_property(RunCommandInput, Symbol("parameters"), parameters) - return new(commandId, script, parameters, ) + o = new(commandId, script, parameters, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandInput const _property_types_RunCommandInput = Dict{Symbol,String}(Symbol("commandId")=>"String", Symbol("script")=>"Vector{String}", Symbol("parameters")=>"Vector{RunCommandInputParameter}", ) OpenAPI.property_type(::Type{ RunCommandInput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandInput[name]))} -function check_required(o::RunCommandInput) +function OpenAPI.check_required(o::RunCommandInput) o.commandId === nothing && (return false) true end +function OpenAPI.validate_properties(o::RunCommandInput) + OpenAPI.validate_property(RunCommandInput, Symbol("commandId"), o.commandId) + OpenAPI.validate_property(RunCommandInput, Symbol("script"), o.script) + OpenAPI.validate_property(RunCommandInput, Symbol("parameters"), o.parameters) +end + function OpenAPI.validate_property(::Type{ RunCommandInput }, name::Symbol, val) + + + end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandInputParameter.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandInputParameter.jl index 5724090..b79d662 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandInputParameter.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandInputParameter.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct RunCommandInputParameter <: OpenAPI.APIModel value::Union{Nothing, String} = nothing function RunCommandInputParameter(name, value, ) - OpenAPI.validate_property(RunCommandInputParameter, Symbol("name"), name) - OpenAPI.validate_property(RunCommandInputParameter, Symbol("value"), value) - return new(name, value, ) + o = new(name, value, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandInputParameter const _property_types_RunCommandInputParameter = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) OpenAPI.property_type(::Type{ RunCommandInputParameter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandInputParameter[name]))} -function check_required(o::RunCommandInputParameter) +function OpenAPI.check_required(o::RunCommandInputParameter) o.name === nothing && (return false) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::RunCommandInputParameter) + OpenAPI.validate_property(RunCommandInputParameter, Symbol("name"), o.name) + OpenAPI.validate_property(RunCommandInputParameter, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ RunCommandInputParameter }, name::Symbol, val) + + end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandListResult.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandListResult.jl index 59981a6..a6aebed 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandListResult.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct RunCommandListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function RunCommandListResult(value, nextLink, ) - OpenAPI.validate_property(RunCommandListResult, Symbol("value"), value) - OpenAPI.validate_property(RunCommandListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandListResult const _property_types_RunCommandListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{RunCommandDocumentBase}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ RunCommandListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandListResult[name]))} -function check_required(o::RunCommandListResult) +function OpenAPI.check_required(o::RunCommandListResult) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::RunCommandListResult) + OpenAPI.validate_property(RunCommandListResult, Symbol("value"), o.value) + OpenAPI.validate_property(RunCommandListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ RunCommandListResult }, name::Symbol, val) + + end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandParameterDefinition.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandParameterDefinition.jl index 88c8220..33d4a92 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandParameterDefinition.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandParameterDefinition.jl @@ -24,22 +24,31 @@ Base.@kwdef mutable struct RunCommandParameterDefinition <: OpenAPI.APIModel required::Union{Nothing, Bool} = false function RunCommandParameterDefinition(name, type, defaultValue, required, ) - OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("name"), name) - OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("type"), type) - OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("defaultValue"), defaultValue) - OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("required"), required) - return new(name, type, defaultValue, required, ) + o = new(name, type, defaultValue, required, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandParameterDefinition const _property_types_RunCommandParameterDefinition = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("defaultValue")=>"String", Symbol("required")=>"Bool", ) OpenAPI.property_type(::Type{ RunCommandParameterDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandParameterDefinition[name]))} -function check_required(o::RunCommandParameterDefinition) +function OpenAPI.check_required(o::RunCommandParameterDefinition) o.name === nothing && (return false) o.type === nothing && (return false) true end +function OpenAPI.validate_properties(o::RunCommandParameterDefinition) + OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("defaultValue"), o.defaultValue) + OpenAPI.validate_property(RunCommandParameterDefinition, Symbol("required"), o.required) +end + function OpenAPI.validate_property(::Type{ RunCommandParameterDefinition }, name::Symbol, val) + + + + end diff --git a/src/Compute/RunCommandsClient/src/models/model_RunCommandResult.jl b/src/Compute/RunCommandsClient/src/models/model_RunCommandResult.jl index 06128d5..c54a78d 100644 --- a/src/Compute/RunCommandsClient/src/models/model_RunCommandResult.jl +++ b/src/Compute/RunCommandsClient/src/models/model_RunCommandResult.jl @@ -14,17 +14,23 @@ Base.@kwdef mutable struct RunCommandResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } function RunCommandResult(value, ) - OpenAPI.validate_property(RunCommandResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type RunCommandResult const _property_types_RunCommandResult = Dict{Symbol,String}(Symbol("value")=>"Vector{InstanceViewStatus}", ) OpenAPI.property_type(::Type{ RunCommandResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RunCommandResult[name]))} -function check_required(o::RunCommandResult) +function OpenAPI.check_required(o::RunCommandResult) true end +function OpenAPI.validate_properties(o::RunCommandResult) + OpenAPI.validate_property(RunCommandResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ RunCommandResult }, name::Symbol, val) + end diff --git a/src/Compute/RunCommandsClient/src/models/model_UpdateResource.jl b/src/Compute/RunCommandsClient/src/models/model_UpdateResource.jl new file mode 100644 index 0000000..b730cf8 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_UpdateResource.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""UpdateResource +The Update Resource model definition. + + UpdateResource(; + tags=nothing, + ) + + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct UpdateResource <: OpenAPI.APIModel + tags::Union{Nothing, Dict{String, String}} = nothing + + function UpdateResource(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type UpdateResource + +const _property_types_UpdateResource = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ UpdateResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateResource[name]))} + +function OpenAPI.check_required(o::UpdateResource) + true +end + +function OpenAPI.validate_properties(o::UpdateResource) + OpenAPI.validate_property(UpdateResource, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ UpdateResource }, name::Symbol, val) + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommand.jl b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommand.jl new file mode 100644 index 0000000..f67b176 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommand.jl @@ -0,0 +1,63 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineRunCommand +Describes a Virtual Machine run command. + + VirtualMachineRunCommand(; + properties=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - properties::VirtualMachineRunCommandProperties + - id::String : Resource Id + - name::String : Resource name + - type::String : Resource type + - location::String : Resource location + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct VirtualMachineRunCommand <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VirtualMachineRunCommandProperties } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function VirtualMachineRunCommand(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineRunCommand + +const _property_types_VirtualMachineRunCommand = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineRunCommandProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ VirtualMachineRunCommand }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineRunCommand[name]))} + +function OpenAPI.check_required(o::VirtualMachineRunCommand) + o.location === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineRunCommand) + OpenAPI.validate_property(VirtualMachineRunCommand, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineRunCommand, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualMachineRunCommand, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualMachineRunCommand, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualMachineRunCommand, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualMachineRunCommand, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineRunCommand }, name::Symbol, val) + + + + + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandInstanceView.jl b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandInstanceView.jl new file mode 100644 index 0000000..da6a857 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandInstanceView.jl @@ -0,0 +1,85 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineRunCommandInstanceView +The instance view of a virtual machine run command. + + VirtualMachineRunCommandInstanceView(; + executionState=nothing, + executionMessage=nothing, + exitCode=nothing, + output=nothing, + error=nothing, + startTime=nothing, + endTime=nothing, + statuses=nothing, + ) + + - executionState::String : Script execution status. + - executionMessage::String : Communicate script configuration errors or execution messages. + - exitCode::Int64 : Exit code returned from script execution. + - output::String : Script output stream. + - error::String : Script error stream. + - startTime::ZonedDateTime : Script start time. + - endTime::ZonedDateTime : Script end time. + - statuses::Vector{InstanceViewStatus} : The resource status information. +""" +Base.@kwdef mutable struct VirtualMachineRunCommandInstanceView <: OpenAPI.APIModel + executionState::Union{Nothing, String} = nothing + executionMessage::Union{Nothing, String} = nothing + exitCode::Union{Nothing, Int64} = nothing + output::Union{Nothing, String} = nothing + error::Union{Nothing, String} = nothing + startTime::Union{Nothing, ZonedDateTime} = nothing + endTime::Union{Nothing, ZonedDateTime} = nothing + statuses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InstanceViewStatus} } + + function VirtualMachineRunCommandInstanceView(executionState, executionMessage, exitCode, output, error, startTime, endTime, statuses, ) + o = new(executionState, executionMessage, exitCode, output, error, startTime, endTime, statuses, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineRunCommandInstanceView + +const _property_types_VirtualMachineRunCommandInstanceView = Dict{Symbol,String}(Symbol("executionState")=>"String", Symbol("executionMessage")=>"String", Symbol("exitCode")=>"Int64", Symbol("output")=>"String", Symbol("error")=>"String", Symbol("startTime")=>"ZonedDateTime", Symbol("endTime")=>"ZonedDateTime", Symbol("statuses")=>"Vector{InstanceViewStatus}", ) +OpenAPI.property_type(::Type{ VirtualMachineRunCommandInstanceView }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineRunCommandInstanceView[name]))} + +function OpenAPI.check_required(o::VirtualMachineRunCommandInstanceView) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineRunCommandInstanceView) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("executionState"), o.executionState) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("executionMessage"), o.executionMessage) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("exitCode"), o.exitCode) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("output"), o.output) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("error"), o.error) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("endTime"), o.endTime) + OpenAPI.validate_property(VirtualMachineRunCommandInstanceView, Symbol("statuses"), o.statuses) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineRunCommandInstanceView }, name::Symbol, val) + + if name === Symbol("executionState") + OpenAPI.validate_param(name, "VirtualMachineRunCommandInstanceView", :enum, val, ["Unknown", "Pending", "Running", "Failed", "Succeeded", "TimedOut", "Canceled"]) + end + + + + if name === Symbol("exitCode") + OpenAPI.validate_param(name, "VirtualMachineRunCommandInstanceView", :format, val, "int32") + end + + + + if name === Symbol("startTime") + OpenAPI.validate_param(name, "VirtualMachineRunCommandInstanceView", :format, val, "date-time") + end + + if name === Symbol("endTime") + OpenAPI.validate_param(name, "VirtualMachineRunCommandInstanceView", :format, val, "date-time") + end + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandProperties.jl b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandProperties.jl new file mode 100644 index 0000000..768aa7e --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandProperties.jl @@ -0,0 +1,90 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineRunCommandProperties +Describes the properties of a Virtual Machine run command. + + VirtualMachineRunCommandProperties(; + source=nothing, + parameters=nothing, + protectedParameters=nothing, + asyncExecution=false, + runAsUser=nothing, + runAsPassword=nothing, + timeoutInSeconds=nothing, + outputBlobUri=nothing, + errorBlobUri=nothing, + provisioningState=nothing, + instanceView=nothing, + ) + + - source::VirtualMachineRunCommandScriptSource + - parameters::Vector{RunCommandInputParameter} : The parameters used by the script. + - protectedParameters::Vector{RunCommandInputParameter} : The parameters used by the script. + - asyncExecution::Bool : Optional. If set to true, provisioning will complete as soon as the script starts and will not wait for script to complete. + - runAsUser::String : Specifies the user account on the VM when executing the run command. + - runAsPassword::String : Specifies the user account password on the VM when executing the run command. + - timeoutInSeconds::Int64 : The timeout in seconds to execute the run command. + - outputBlobUri::String : Specifies the Azure storage blob where script output stream will be uploaded. + - errorBlobUri::String : Specifies the Azure storage blob where script error stream will be uploaded. + - provisioningState::String : The provisioning state, which only appears in the response. + - instanceView::VirtualMachineRunCommandInstanceView +""" +Base.@kwdef mutable struct VirtualMachineRunCommandProperties <: OpenAPI.APIModel + source = nothing # spec type: Union{ Nothing, VirtualMachineRunCommandScriptSource } + parameters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RunCommandInputParameter} } + protectedParameters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{RunCommandInputParameter} } + asyncExecution::Union{Nothing, Bool} = false + runAsUser::Union{Nothing, String} = nothing + runAsPassword::Union{Nothing, String} = nothing + timeoutInSeconds::Union{Nothing, Int64} = nothing + outputBlobUri::Union{Nothing, String} = nothing + errorBlobUri::Union{Nothing, String} = nothing + provisioningState::Union{Nothing, String} = nothing + instanceView = nothing # spec type: Union{ Nothing, VirtualMachineRunCommandInstanceView } + + function VirtualMachineRunCommandProperties(source, parameters, protectedParameters, asyncExecution, runAsUser, runAsPassword, timeoutInSeconds, outputBlobUri, errorBlobUri, provisioningState, instanceView, ) + o = new(source, parameters, protectedParameters, asyncExecution, runAsUser, runAsPassword, timeoutInSeconds, outputBlobUri, errorBlobUri, provisioningState, instanceView, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineRunCommandProperties + +const _property_types_VirtualMachineRunCommandProperties = Dict{Symbol,String}(Symbol("source")=>"VirtualMachineRunCommandScriptSource", Symbol("parameters")=>"Vector{RunCommandInputParameter}", Symbol("protectedParameters")=>"Vector{RunCommandInputParameter}", Symbol("asyncExecution")=>"Bool", Symbol("runAsUser")=>"String", Symbol("runAsPassword")=>"String", Symbol("timeoutInSeconds")=>"Int64", Symbol("outputBlobUri")=>"String", Symbol("errorBlobUri")=>"String", Symbol("provisioningState")=>"String", Symbol("instanceView")=>"VirtualMachineRunCommandInstanceView", ) +OpenAPI.property_type(::Type{ VirtualMachineRunCommandProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineRunCommandProperties[name]))} + +function OpenAPI.check_required(o::VirtualMachineRunCommandProperties) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineRunCommandProperties) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("source"), o.source) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("protectedParameters"), o.protectedParameters) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("asyncExecution"), o.asyncExecution) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("runAsUser"), o.runAsUser) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("runAsPassword"), o.runAsPassword) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("timeoutInSeconds"), o.timeoutInSeconds) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("outputBlobUri"), o.outputBlobUri) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("errorBlobUri"), o.errorBlobUri) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualMachineRunCommandProperties, Symbol("instanceView"), o.instanceView) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineRunCommandProperties }, name::Symbol, val) + + + + + + + + if name === Symbol("timeoutInSeconds") + OpenAPI.validate_param(name, "VirtualMachineRunCommandProperties", :format, val, "int32") + end + + + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandScriptSource.jl b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandScriptSource.jl new file mode 100644 index 0000000..7764add --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandScriptSource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineRunCommandScriptSource +Describes the script sources for run command. + + VirtualMachineRunCommandScriptSource(; + script=nothing, + scriptUri=nothing, + commandId=nothing, + ) + + - script::String : Specifies the script content to be executed on the VM. + - scriptUri::String : Specifies the script download location. + - commandId::String : Specifies a commandId of predefined built-in script. +""" +Base.@kwdef mutable struct VirtualMachineRunCommandScriptSource <: OpenAPI.APIModel + script::Union{Nothing, String} = nothing + scriptUri::Union{Nothing, String} = nothing + commandId::Union{Nothing, String} = nothing + + function VirtualMachineRunCommandScriptSource(script, scriptUri, commandId, ) + o = new(script, scriptUri, commandId, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineRunCommandScriptSource + +const _property_types_VirtualMachineRunCommandScriptSource = Dict{Symbol,String}(Symbol("script")=>"String", Symbol("scriptUri")=>"String", Symbol("commandId")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineRunCommandScriptSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineRunCommandScriptSource[name]))} + +function OpenAPI.check_required(o::VirtualMachineRunCommandScriptSource) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineRunCommandScriptSource) + OpenAPI.validate_property(VirtualMachineRunCommandScriptSource, Symbol("script"), o.script) + OpenAPI.validate_property(VirtualMachineRunCommandScriptSource, Symbol("scriptUri"), o.scriptUri) + OpenAPI.validate_property(VirtualMachineRunCommandScriptSource, Symbol("commandId"), o.commandId) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineRunCommandScriptSource }, name::Symbol, val) + + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandUpdate.jl b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandUpdate.jl new file mode 100644 index 0000000..1714d91 --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandUpdate.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineRunCommandUpdate +Describes a Virtual Machine run command. + + VirtualMachineRunCommandUpdate(; + properties=nothing, + tags=nothing, + ) + + - properties::VirtualMachineRunCommandProperties + - tags::Dict{String, String} : Resource tags +""" +Base.@kwdef mutable struct VirtualMachineRunCommandUpdate <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VirtualMachineRunCommandProperties } + tags::Union{Nothing, Dict{String, String}} = nothing + + function VirtualMachineRunCommandUpdate(properties, tags, ) + o = new(properties, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineRunCommandUpdate + +const _property_types_VirtualMachineRunCommandUpdate = Dict{Symbol,String}(Symbol("properties")=>"VirtualMachineRunCommandProperties", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ VirtualMachineRunCommandUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineRunCommandUpdate[name]))} + +function OpenAPI.check_required(o::VirtualMachineRunCommandUpdate) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineRunCommandUpdate) + OpenAPI.validate_property(VirtualMachineRunCommandUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualMachineRunCommandUpdate, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineRunCommandUpdate }, name::Symbol, val) + + +end diff --git a/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandsListResult.jl b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandsListResult.jl new file mode 100644 index 0000000..401370b --- /dev/null +++ b/src/Compute/RunCommandsClient/src/models/model_VirtualMachineRunCommandsListResult.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualMachineRunCommandsListResult +The List run command operation response + + VirtualMachineRunCommandsListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{VirtualMachineRunCommand} : The list of run commands + - nextLink::String : The uri to fetch the next page of run commands. +""" +Base.@kwdef mutable struct VirtualMachineRunCommandsListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualMachineRunCommand} } + nextLink::Union{Nothing, String} = nothing + + function VirtualMachineRunCommandsListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualMachineRunCommandsListResult + +const _property_types_VirtualMachineRunCommandsListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualMachineRunCommand}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ VirtualMachineRunCommandsListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualMachineRunCommandsListResult[name]))} + +function OpenAPI.check_required(o::VirtualMachineRunCommandsListResult) + o.value === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualMachineRunCommandsListResult) + OpenAPI.validate_property(VirtualMachineRunCommandsListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualMachineRunCommandsListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ VirtualMachineRunCommandsListResult }, name::Symbol, val) + + +end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/.openapi-generator/VERSION b/src/DataLakeStore/DataLakeStoreAccountManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/.openapi-generator/VERSION +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/README.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/README.md index 8b15be5..7180531 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/README.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/README.md @@ -6,6 +6,7 @@ Creates an Azure Data Lake Store account management client. This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 2016-11-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -104,9 +105,12 @@ Class | Method - [VirtualNetworkRuleProperties](docs/VirtualNetworkRuleProperties.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/AccountsApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/AccountsApi.md index 2798f57..ec4a554 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/AccountsApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/AccountsApi.md @@ -27,10 +27,10 @@ Checks whether the specified account name is available or taken. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**location** | **String**| The resource location without whitespace. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**parameters** | [**CheckNameAvailabilityParameters**](CheckNameAvailabilityParameters.md)| Parameters supplied to check the Data Lake Store account name availability. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**location** | **String** | The resource location without whitespace. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**CheckNameAvailabilityParameters**](CheckNameAvailabilityParameters.md) | Parameters supplied to check the Data Lake Store account name availability. | ### Return type @@ -60,11 +60,11 @@ Creates the specified Data Lake Store account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**parameters** | [**CreateDataLakeStoreAccountParameters**](CreateDataLakeStoreAccountParameters.md)| Parameters supplied to create the Data Lake Store account. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**CreateDataLakeStoreAccountParameters**](CreateDataLakeStoreAccountParameters.md) | Parameters supplied to create the Data Lake Store account. | ### Return type @@ -94,10 +94,10 @@ Deletes the specified Data Lake Store account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -127,10 +127,10 @@ Attempts to enable a user managed Key Vault for encryption of the specified Data Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -160,10 +160,10 @@ Gets the specified Data Lake Store account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -193,19 +193,19 @@ Lists the Data Lake Store accounts within the subscription. The response include Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**api_version** | **String** | Client Api Version. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| OData filter. Optional. | [default to nothing] - **top** | **Int64**| The number of items to return. Optional. | [default to nothing] - **skip** | **Int64**| The number of items to skip over before returning elements. Optional. | [default to nothing] - **select** | **String**| OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. | [default to nothing] - **orderby** | **String**| OrderBy clause. One or more comma-separated expressions with an optional \"asc\" (the default) or \"desc\" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. | [default to nothing] - **count** | **Bool**| The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. | [default to nothing] + **filter** | **String** | OData filter. Optional. | [default to nothing] + **top** | **Int64** | The number of items to return. Optional. | [default to nothing] + **skip** | **Int64** | The number of items to skip over before returning elements. Optional. | [default to nothing] + **select** | **String** | OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. | [default to nothing] + **orderby** | **String** | OrderBy clause. One or more comma-separated expressions with an optional \"asc\" (the default) or \"desc\" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. | [default to nothing] + **count** | **Bool** | The Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. | [default to nothing] ### Return type @@ -235,20 +235,20 @@ Lists the Data Lake Store accounts within a specific resource group. The respons Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**api_version** | **String** | Client Api Version. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| OData filter. Optional. | [default to nothing] - **top** | **Int64**| The number of items to return. Optional. | [default to nothing] - **skip** | **Int64**| The number of items to skip over before returning elements. Optional. | [default to nothing] - **select** | **String**| OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. | [default to nothing] - **orderby** | **String**| OrderBy clause. One or more comma-separated expressions with an optional \"asc\" (the default) or \"desc\" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. | [default to nothing] - **count** | **Bool**| A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. | [default to nothing] + **filter** | **String** | OData filter. Optional. | [default to nothing] + **top** | **Int64** | The number of items to return. Optional. | [default to nothing] + **skip** | **Int64** | The number of items to skip over before returning elements. Optional. | [default to nothing] + **select** | **String** | OData Select statement. Limits the properties on each entry to just those requested, e.g. Categories?$select=CategoryName,Description. Optional. | [default to nothing] + **orderby** | **String** | OrderBy clause. One or more comma-separated expressions with an optional \"asc\" (the default) or \"desc\" depending on the order you'd like the values sorted, e.g. Categories?$orderby=CategoryName desc. Optional. | [default to nothing] + **count** | **Bool** | A Boolean value of true or false to request a count of the matching resources included with the resources in the response, e.g. Categories?$count=true. Optional. | [default to nothing] ### Return type @@ -278,11 +278,11 @@ Updates the specified Data Lake Store account information. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **AccountsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**parameters** | [**UpdateDataLakeStoreAccountParameters**](UpdateDataLakeStoreAccountParameters.md)| Parameters supplied to update the Data Lake Store account. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**UpdateDataLakeStoreAccountParameters**](UpdateDataLakeStoreAccountParameters.md) | Parameters supplied to update the Data Lake Store account. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/FirewallRulesApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/FirewallRulesApi.md index 00a94bc..afc22f0 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/FirewallRulesApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/FirewallRulesApi.md @@ -24,12 +24,12 @@ Creates or updates the specified firewall rule. During update, the firewall rule Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FirewallRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**firewall_rule_name** | **String**| The name of the firewall rule to create or update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**parameters** | [**CreateOrUpdateFirewallRuleParameters**](CreateOrUpdateFirewallRuleParameters.md)| Parameters supplied to create or update the firewall rule. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**firewall_rule_name** | **String** | The name of the firewall rule to create or update. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**CreateOrUpdateFirewallRuleParameters**](CreateOrUpdateFirewallRuleParameters.md) | Parameters supplied to create or update the firewall rule. | ### Return type @@ -59,11 +59,11 @@ Deletes the specified firewall rule from the specified Data Lake Store account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FirewallRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**firewall_rule_name** | **String**| The name of the firewall rule to delete. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**firewall_rule_name** | **String** | The name of the firewall rule to delete. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -93,11 +93,11 @@ Gets the specified Data Lake Store firewall rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FirewallRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**firewall_rule_name** | **String**| The name of the firewall rule to retrieve. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**firewall_rule_name** | **String** | The name of the firewall rule to retrieve. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -127,10 +127,10 @@ Lists the Data Lake Store firewall rules within the specified Data Lake Store ac Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FirewallRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -160,17 +160,17 @@ Updates the specified firewall rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FirewallRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**firewall_rule_name** | **String**| The name of the firewall rule to update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**firewall_rule_name** | **String** | The name of the firewall rule to update. | +**api_version** | **String** | Client Api Version. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **parameters** | [**UpdateFirewallRuleParameters**](UpdateFirewallRuleParameters.md)| Parameters supplied to update the firewall rule. | + **parameters** | [**UpdateFirewallRuleParameters**](UpdateFirewallRuleParameters.md) | Parameters supplied to update the firewall rule. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationUsageApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationUsageApi.md index d954d11..f2b5857 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationUsageApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationUsageApi.md @@ -20,9 +20,9 @@ Gets the current usage count and the limit for the resources of the location und Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocationUsageApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**location** | **String**| The resource location without whitespace. | [default to nothing] +**api_version** | **String** | Client Api Version. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**location** | **String** | The resource location without whitespace. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationsApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationsApi.md index 4d6433d..3da9ad0 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationsApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/LocationsApi.md @@ -20,9 +20,9 @@ Gets subscription-level properties and limits for Data Lake Store specified by r Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocationsApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**location** | **String**| The resource location without whitespace. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**location** | **String** | The resource location without whitespace. | +**api_version** | **String** | Client Api Version. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/OperationsApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/OperationsApi.md index bb58121..2f4b7c7 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/OperationsApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/OperationsApi.md @@ -20,7 +20,7 @@ Lists all of the available Data Lake Store REST API operations. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **OperationsApi** | API context | -**api_version** | **String**| Client Api Version. | [default to nothing] +**api_version** | **String** | Client Api Version. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/TrustedIdProvidersApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/TrustedIdProvidersApi.md index 00baaf6..d2bee43 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/TrustedIdProvidersApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/TrustedIdProvidersApi.md @@ -24,12 +24,12 @@ Creates or updates the specified trusted identity provider. During update, the t Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrustedIdProvidersApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**trusted_id_provider_name** | **String**| The name of the trusted identity provider. This is used for differentiation of providers in the account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**parameters** | [**CreateOrUpdateTrustedIdProviderParameters**](CreateOrUpdateTrustedIdProviderParameters.md)| Parameters supplied to create or replace the trusted identity provider. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**trusted_id_provider_name** | **String** | The name of the trusted identity provider. This is used for differentiation of providers in the account. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**CreateOrUpdateTrustedIdProviderParameters**](CreateOrUpdateTrustedIdProviderParameters.md) | Parameters supplied to create or replace the trusted identity provider. | ### Return type @@ -59,11 +59,11 @@ Deletes the specified trusted identity provider from the specified Data Lake Sto Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrustedIdProvidersApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**trusted_id_provider_name** | **String**| The name of the trusted identity provider to delete. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**trusted_id_provider_name** | **String** | The name of the trusted identity provider to delete. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -93,11 +93,11 @@ Gets the specified Data Lake Store trusted identity provider. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrustedIdProvidersApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**trusted_id_provider_name** | **String**| The name of the trusted identity provider to retrieve. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**trusted_id_provider_name** | **String** | The name of the trusted identity provider to retrieve. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -127,10 +127,10 @@ Lists the Data Lake Store trusted identity providers within the specified Data L Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrustedIdProvidersApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -160,17 +160,17 @@ Updates the specified trusted identity provider. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrustedIdProvidersApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**trusted_id_provider_name** | **String**| The name of the trusted identity provider. This is used for differentiation of providers in the account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**trusted_id_provider_name** | **String** | The name of the trusted identity provider. This is used for differentiation of providers in the account. | +**api_version** | **String** | Client Api Version. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **parameters** | [**UpdateTrustedIdProviderParameters**](UpdateTrustedIdProviderParameters.md)| Parameters supplied to update the trusted identity provider. | + **parameters** | [**UpdateTrustedIdProviderParameters**](UpdateTrustedIdProviderParameters.md) | Parameters supplied to update the trusted identity provider. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/VirtualNetworkRulesApi.md b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/VirtualNetworkRulesApi.md index 5ff4bd4..cbd333f 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/VirtualNetworkRulesApi.md +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/docs/VirtualNetworkRulesApi.md @@ -24,12 +24,12 @@ Creates or updates the specified virtual network rule. During update, the virtua Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**virtual_network_rule_name** | **String**| The name of the virtual network rule to create or update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**parameters** | [**CreateOrUpdateVirtualNetworkRuleParameters**](CreateOrUpdateVirtualNetworkRuleParameters.md)| Parameters supplied to create or update the virtual network rule. | +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**virtual_network_rule_name** | **String** | The name of the virtual network rule to create or update. | +**api_version** | **String** | Client Api Version. | +**parameters** | [**CreateOrUpdateVirtualNetworkRuleParameters**](CreateOrUpdateVirtualNetworkRuleParameters.md) | Parameters supplied to create or update the virtual network rule. | ### Return type @@ -59,11 +59,11 @@ Deletes the specified virtual network rule from the specified Data Lake Store ac Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**virtual_network_rule_name** | **String**| The name of the virtual network rule to delete. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**virtual_network_rule_name** | **String** | The name of the virtual network rule to delete. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -93,11 +93,11 @@ Gets the specified Data Lake Store virtual network rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**virtual_network_rule_name** | **String**| The name of the virtual network rule to retrieve. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**virtual_network_rule_name** | **String** | The name of the virtual network rule to retrieve. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -127,10 +127,10 @@ Lists the Data Lake Store virtual network rules within the specified Data Lake S Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -160,17 +160,17 @@ Updates the specified virtual network rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkRulesApi** | API context | -**subscription_id** | **String**| Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the Azure resource group. | [default to nothing] -**account_name** | **String**| The name of the Data Lake Store account. | [default to nothing] -**virtual_network_rule_name** | **String**| The name of the virtual network rule to update. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**subscription_id** | **String** | Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the Azure resource group. | +**account_name** | **String** | The name of the Data Lake Store account. | +**virtual_network_rule_name** | **String** | The name of the virtual network rule to update. | +**api_version** | **String** | Client Api Version. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **parameters** | [**UpdateVirtualNetworkRuleParameters**](UpdateVirtualNetworkRuleParameters.md)| Parameters supplied to update the virtual network rule. | + **parameters** | [**UpdateVirtualNetworkRuleParameters**](UpdateVirtualNetworkRuleParameters.md) | Parameters supplied to update the virtual network rule. | ### Return type diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_AccountsApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_AccountsApi.jl index ec2037e..a46984f 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_AccountsApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_AccountsApi.jl @@ -19,7 +19,7 @@ function _oacinternal_accounts_check_name_availability(_api::AccountsApi, subscr _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_accounts_check_name_availability_AccountsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/checkNameAvailability", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -55,7 +55,7 @@ function _oacinternal_accounts_create(_api::AccountsApi, subscription_id::String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -93,7 +93,7 @@ function _oacinternal_accounts_delete(_api::AccountsApi, subscription_id::String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -128,7 +128,7 @@ function _oacinternal_accounts_enable_key_vault(_api::AccountsApi, subscription_ OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -163,7 +163,7 @@ function _oacinternal_accounts_get(_api::AccountsApi, subscription_id::String, r OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -200,13 +200,13 @@ function _oacinternal_accounts_list(_api::AccountsApi, subscription_id::String, _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_accounts_list_AccountsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/accounts", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$skip", skip) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$select", select) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$count", count) # type Bool - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$skip", skip; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$select", select; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$count", count; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -248,13 +248,13 @@ function _oacinternal_accounts_list_by_resource_group(_api::AccountsApi, subscri _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_accounts_list_by_resource_group_AccountsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataLakeStore/accounts", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$skip", skip) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$select", select) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$count", count) # type Bool - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$skip", skip; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$select", select; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$orderby", orderby; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$count", count; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -296,7 +296,7 @@ function _oacinternal_accounts_update(_api::AccountsApi, subscription_id::String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_FirewallRulesApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_FirewallRulesApi.jl index dffeaf6..683b7a9 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_FirewallRulesApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_FirewallRulesApi.jl @@ -21,7 +21,7 @@ function _oacinternal_firewall_rules_create_or_update(_api::FirewallRulesApi, su OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "firewallRuleName", firewall_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -60,7 +60,7 @@ function _oacinternal_firewall_rules_delete(_api::FirewallRulesApi, subscription OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "firewallRuleName", firewall_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,7 +97,7 @@ function _oacinternal_firewall_rules_get(_api::FirewallRulesApi, subscription_id OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "firewallRuleName", firewall_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -133,7 +133,7 @@ function _oacinternal_firewall_rules_list_by_account(_api::FirewallRulesApi, sub OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -169,7 +169,7 @@ function _oacinternal_firewall_rules_update(_api::FirewallRulesApi, subscription OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "firewallRuleName", firewall_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationUsageApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationUsageApi.jl index 36edab5..c83e110 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationUsageApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationUsageApi.jl @@ -19,7 +19,7 @@ function _oacinternal_locations_get_usage(_api::LocationUsageApi, api_version::S _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_locations_get_usage_LocationUsageApi, "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/usages", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationsApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationsApi.jl index 496d0d4..d617944 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationsApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_LocationsApi.jl @@ -20,7 +20,7 @@ function _oacinternal_locations_get_capability(_api::LocationsApi, subscription_ _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_locations_get_capability_LocationsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.DataLakeStore/locations/{location}/capability", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_OperationsApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_OperationsApi.jl index 2a45d8f..6fcf977 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_OperationsApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_OperationsApi.jl @@ -17,7 +17,7 @@ const _returntypes_operations_list_OperationsApi = Dict{Regex,Type}( function _oacinternal_operations_list(_api::OperationsApi, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_operations_list_OperationsApi, "/providers/Microsoft.DataLakeStore/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_TrustedIdProvidersApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_TrustedIdProvidersApi.jl index bdf91e5..c09b6a9 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_TrustedIdProvidersApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_TrustedIdProvidersApi.jl @@ -21,7 +21,7 @@ function _oacinternal_trusted_id_providers_create_or_update(_api::TrustedIdProvi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "trustedIdProviderName", trusted_id_provider_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -60,7 +60,7 @@ function _oacinternal_trusted_id_providers_delete(_api::TrustedIdProvidersApi, s OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "trustedIdProviderName", trusted_id_provider_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,7 +97,7 @@ function _oacinternal_trusted_id_providers_get(_api::TrustedIdProvidersApi, subs OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "trustedIdProviderName", trusted_id_provider_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -133,7 +133,7 @@ function _oacinternal_trusted_id_providers_list_by_account(_api::TrustedIdProvid OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -169,7 +169,7 @@ function _oacinternal_trusted_id_providers_update(_api::TrustedIdProvidersApi, s OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "trustedIdProviderName", trusted_id_provider_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_VirtualNetworkRulesApi.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_VirtualNetworkRulesApi.jl index 09821b7..409dbd9 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_VirtualNetworkRulesApi.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/apis/api_VirtualNetworkRulesApi.jl @@ -21,7 +21,7 @@ function _oacinternal_virtual_network_rules_create_or_update(_api::VirtualNetwor OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkRuleName", virtual_network_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -60,7 +60,7 @@ function _oacinternal_virtual_network_rules_delete(_api::VirtualNetworkRulesApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkRuleName", virtual_network_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,7 +97,7 @@ function _oacinternal_virtual_network_rules_get(_api::VirtualNetworkRulesApi, su OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkRuleName", virtual_network_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -133,7 +133,7 @@ function _oacinternal_virtual_network_rules_list_by_account(_api::VirtualNetwork OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -169,7 +169,7 @@ function _oacinternal_virtual_network_rules_update(_api::VirtualNetworkRulesApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkRuleName", virtual_network_rule_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CapabilityInformation.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CapabilityInformation.jl index c4fc893..05a8037 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CapabilityInformation.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CapabilityInformation.jl @@ -27,33 +27,44 @@ Base.@kwdef mutable struct CapabilityInformation <: OpenAPI.APIModel migrationState::Union{Nothing, Bool} = nothing function CapabilityInformation(subscriptionId, state, maxAccountCount, accountCount, migrationState, ) - OpenAPI.validate_property(CapabilityInformation, Symbol("subscriptionId"), subscriptionId) - OpenAPI.validate_property(CapabilityInformation, Symbol("state"), state) - OpenAPI.validate_property(CapabilityInformation, Symbol("maxAccountCount"), maxAccountCount) - OpenAPI.validate_property(CapabilityInformation, Symbol("accountCount"), accountCount) - OpenAPI.validate_property(CapabilityInformation, Symbol("migrationState"), migrationState) - return new(subscriptionId, state, maxAccountCount, accountCount, migrationState, ) + o = new(subscriptionId, state, maxAccountCount, accountCount, migrationState, ) + OpenAPI.validate_properties(o) + return o end end # type CapabilityInformation const _property_types_CapabilityInformation = Dict{Symbol,String}(Symbol("subscriptionId")=>"String", Symbol("state")=>"String", Symbol("maxAccountCount")=>"Int64", Symbol("accountCount")=>"Int64", Symbol("migrationState")=>"Bool", ) OpenAPI.property_type(::Type{ CapabilityInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CapabilityInformation[name]))} -function check_required(o::CapabilityInformation) +function OpenAPI.check_required(o::CapabilityInformation) true end +function OpenAPI.validate_properties(o::CapabilityInformation) + OpenAPI.validate_property(CapabilityInformation, Symbol("subscriptionId"), o.subscriptionId) + OpenAPI.validate_property(CapabilityInformation, Symbol("state"), o.state) + OpenAPI.validate_property(CapabilityInformation, Symbol("maxAccountCount"), o.maxAccountCount) + OpenAPI.validate_property(CapabilityInformation, Symbol("accountCount"), o.accountCount) + OpenAPI.validate_property(CapabilityInformation, Symbol("migrationState"), o.migrationState) +end + function OpenAPI.validate_property(::Type{ CapabilityInformation }, name::Symbol, val) + if name === Symbol("subscriptionId") OpenAPI.validate_param(name, "CapabilityInformation", :format, val, "uuid") end + if name === Symbol("state") OpenAPI.validate_param(name, "CapabilityInformation", :enum, val, ["Registered", "Suspended", "Deleted", "Unregistered", "Warned"]) end + + if name === Symbol("maxAccountCount") OpenAPI.validate_param(name, "CapabilityInformation", :format, val, "int32") end + if name === Symbol("accountCount") OpenAPI.validate_param(name, "CapabilityInformation", :format, val, "int32") end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CheckNameAvailabilityParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CheckNameAvailabilityParameters.jl index 77aa1bb..8ca6c3e 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CheckNameAvailabilityParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CheckNameAvailabilityParameters.jl @@ -18,23 +18,31 @@ Base.@kwdef mutable struct CheckNameAvailabilityParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function CheckNameAvailabilityParameters(name, type, ) - OpenAPI.validate_property(CheckNameAvailabilityParameters, Symbol("name"), name) - OpenAPI.validate_property(CheckNameAvailabilityParameters, Symbol("type"), type) - return new(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o end end # type CheckNameAvailabilityParameters const _property_types_CheckNameAvailabilityParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ CheckNameAvailabilityParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CheckNameAvailabilityParameters[name]))} -function check_required(o::CheckNameAvailabilityParameters) +function OpenAPI.check_required(o::CheckNameAvailabilityParameters) o.name === nothing && (return false) o.type === nothing && (return false) true end +function OpenAPI.validate_properties(o::CheckNameAvailabilityParameters) + OpenAPI.validate_property(CheckNameAvailabilityParameters, Symbol("name"), o.name) + OpenAPI.validate_property(CheckNameAvailabilityParameters, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ CheckNameAvailabilityParameters }, name::Symbol, val) + + if name === Symbol("type") OpenAPI.validate_param(name, "CheckNameAvailabilityParameters", :enum, val, ["Microsoft.DataLakeStore/accounts"]) end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountParameters.jl index 09112c8..f4614d2 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountParameters.jl @@ -23,21 +23,30 @@ Base.@kwdef mutable struct CreateDataLakeStoreAccountParameters <: OpenAPI.APIMo properties = nothing # spec type: Union{ Nothing, CreateDataLakeStoreAccountProperties } function CreateDataLakeStoreAccountParameters(location, tags, identity, properties, ) - OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("location"), location) - OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("tags"), tags) - OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("identity"), identity) - OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("properties"), properties) - return new(location, tags, identity, properties, ) + o = new(location, tags, identity, properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateDataLakeStoreAccountParameters const _property_types_CreateDataLakeStoreAccountParameters = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("identity")=>"EncryptionIdentity", Symbol("properties")=>"CreateDataLakeStoreAccountProperties", ) OpenAPI.property_type(::Type{ CreateDataLakeStoreAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateDataLakeStoreAccountParameters[name]))} -function check_required(o::CreateDataLakeStoreAccountParameters) +function OpenAPI.check_required(o::CreateDataLakeStoreAccountParameters) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateDataLakeStoreAccountParameters) + OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("location"), o.location) + OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("tags"), o.tags) + OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("identity"), o.identity) + OpenAPI.validate_property(CreateDataLakeStoreAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateDataLakeStoreAccountParameters }, name::Symbol, val) + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountProperties.jl index ee9e4c8..e1c3e14 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateDataLakeStoreAccountProperties.jl @@ -41,41 +41,61 @@ Base.@kwdef mutable struct CreateDataLakeStoreAccountProperties <: OpenAPI.APIMo newTier::Union{Nothing, String} = nothing function CreateDataLakeStoreAccountProperties(defaultGroup, encryptionConfig, encryptionState, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, ) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("defaultGroup"), defaultGroup) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("encryptionConfig"), encryptionConfig) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("encryptionState"), encryptionState) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("firewallRules"), firewallRules) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("virtualNetworkRules"), virtualNetworkRules) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("firewallState"), firewallState) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("firewallAllowAzureIps"), firewallAllowAzureIps) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("trustedIdProviders"), trustedIdProviders) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("trustedIdProviderState"), trustedIdProviderState) - OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("newTier"), newTier) - return new(defaultGroup, encryptionConfig, encryptionState, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, ) + o = new(defaultGroup, encryptionConfig, encryptionState, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, ) + OpenAPI.validate_properties(o) + return o end end # type CreateDataLakeStoreAccountProperties const _property_types_CreateDataLakeStoreAccountProperties = Dict{Symbol,String}(Symbol("defaultGroup")=>"String", Symbol("encryptionConfig")=>"EncryptionConfig", Symbol("encryptionState")=>"String", Symbol("firewallRules")=>"Vector{CreateFirewallRuleWithAccountParameters}", Symbol("virtualNetworkRules")=>"Vector{CreateVirtualNetworkRuleWithAccountParameters}", Symbol("firewallState")=>"String", Symbol("firewallAllowAzureIps")=>"String", Symbol("trustedIdProviders")=>"Vector{CreateTrustedIdProviderWithAccountParameters}", Symbol("trustedIdProviderState")=>"String", Symbol("newTier")=>"String", ) OpenAPI.property_type(::Type{ CreateDataLakeStoreAccountProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateDataLakeStoreAccountProperties[name]))} -function check_required(o::CreateDataLakeStoreAccountProperties) +function OpenAPI.check_required(o::CreateDataLakeStoreAccountProperties) true end +function OpenAPI.validate_properties(o::CreateDataLakeStoreAccountProperties) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("defaultGroup"), o.defaultGroup) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("encryptionConfig"), o.encryptionConfig) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("encryptionState"), o.encryptionState) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("firewallRules"), o.firewallRules) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("virtualNetworkRules"), o.virtualNetworkRules) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("firewallState"), o.firewallState) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("firewallAllowAzureIps"), o.firewallAllowAzureIps) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("trustedIdProviders"), o.trustedIdProviders) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("trustedIdProviderState"), o.trustedIdProviderState) + OpenAPI.validate_property(CreateDataLakeStoreAccountProperties, Symbol("newTier"), o.newTier) +end + function OpenAPI.validate_property(::Type{ CreateDataLakeStoreAccountProperties }, name::Symbol, val) + + + if name === Symbol("encryptionState") OpenAPI.validate_param(name, "CreateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + + + if name === Symbol("firewallState") OpenAPI.validate_param(name, "CreateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("firewallAllowAzureIps") OpenAPI.validate_param(name, "CreateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + + if name === Symbol("trustedIdProviderState") OpenAPI.validate_param(name, "CreateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("newTier") OpenAPI.validate_param(name, "CreateDataLakeStoreAccountProperties", :enum, val, ["Consumption", "Commitment_1TB", "Commitment_10TB", "Commitment_100TB", "Commitment_500TB", "Commitment_1PB", "Commitment_5PB"]) end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateFirewallRuleWithAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateFirewallRuleWithAccountParameters.jl index 32666b4..4a858a0 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateFirewallRuleWithAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateFirewallRuleWithAccountParameters.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct CreateFirewallRuleWithAccountParameters <: OpenAPI.AP properties = nothing # spec type: Union{ Nothing, CreateOrUpdateFirewallRuleProperties } function CreateFirewallRuleWithAccountParameters(name, properties, ) - OpenAPI.validate_property(CreateFirewallRuleWithAccountParameters, Symbol("name"), name) - OpenAPI.validate_property(CreateFirewallRuleWithAccountParameters, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateFirewallRuleWithAccountParameters const _property_types_CreateFirewallRuleWithAccountParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"CreateOrUpdateFirewallRuleProperties", ) OpenAPI.property_type(::Type{ CreateFirewallRuleWithAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateFirewallRuleWithAccountParameters[name]))} -function check_required(o::CreateFirewallRuleWithAccountParameters) +function OpenAPI.check_required(o::CreateFirewallRuleWithAccountParameters) o.name === nothing && (return false) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateFirewallRuleWithAccountParameters) + OpenAPI.validate_property(CreateFirewallRuleWithAccountParameters, Symbol("name"), o.name) + OpenAPI.validate_property(CreateFirewallRuleWithAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateFirewallRuleWithAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleParameters.jl index edb1e37..6c03e7c 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct CreateOrUpdateFirewallRuleParameters <: OpenAPI.APIMo properties = nothing # spec type: Union{ Nothing, CreateOrUpdateFirewallRuleProperties } function CreateOrUpdateFirewallRuleParameters(properties, ) - OpenAPI.validate_property(CreateOrUpdateFirewallRuleParameters, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateOrUpdateFirewallRuleParameters const _property_types_CreateOrUpdateFirewallRuleParameters = Dict{Symbol,String}(Symbol("properties")=>"CreateOrUpdateFirewallRuleProperties", ) OpenAPI.property_type(::Type{ CreateOrUpdateFirewallRuleParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateOrUpdateFirewallRuleParameters[name]))} -function check_required(o::CreateOrUpdateFirewallRuleParameters) +function OpenAPI.check_required(o::CreateOrUpdateFirewallRuleParameters) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateOrUpdateFirewallRuleParameters) + OpenAPI.validate_property(CreateOrUpdateFirewallRuleParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateOrUpdateFirewallRuleParameters }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleProperties.jl index 095af26..cc40efa 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateFirewallRuleProperties.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct CreateOrUpdateFirewallRuleProperties <: OpenAPI.APIMo endIpAddress::Union{Nothing, String} = nothing function CreateOrUpdateFirewallRuleProperties(startIpAddress, endIpAddress, ) - OpenAPI.validate_property(CreateOrUpdateFirewallRuleProperties, Symbol("startIpAddress"), startIpAddress) - OpenAPI.validate_property(CreateOrUpdateFirewallRuleProperties, Symbol("endIpAddress"), endIpAddress) - return new(startIpAddress, endIpAddress, ) + o = new(startIpAddress, endIpAddress, ) + OpenAPI.validate_properties(o) + return o end end # type CreateOrUpdateFirewallRuleProperties const _property_types_CreateOrUpdateFirewallRuleProperties = Dict{Symbol,String}(Symbol("startIpAddress")=>"String", Symbol("endIpAddress")=>"String", ) OpenAPI.property_type(::Type{ CreateOrUpdateFirewallRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateOrUpdateFirewallRuleProperties[name]))} -function check_required(o::CreateOrUpdateFirewallRuleProperties) +function OpenAPI.check_required(o::CreateOrUpdateFirewallRuleProperties) o.startIpAddress === nothing && (return false) o.endIpAddress === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateOrUpdateFirewallRuleProperties) + OpenAPI.validate_property(CreateOrUpdateFirewallRuleProperties, Symbol("startIpAddress"), o.startIpAddress) + OpenAPI.validate_property(CreateOrUpdateFirewallRuleProperties, Symbol("endIpAddress"), o.endIpAddress) +end + function OpenAPI.validate_property(::Type{ CreateOrUpdateFirewallRuleProperties }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderParameters.jl index ece97f5..dd57201 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct CreateOrUpdateTrustedIdProviderParameters <: OpenAPI. properties = nothing # spec type: Union{ Nothing, CreateOrUpdateTrustedIdProviderProperties } function CreateOrUpdateTrustedIdProviderParameters(properties, ) - OpenAPI.validate_property(CreateOrUpdateTrustedIdProviderParameters, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateOrUpdateTrustedIdProviderParameters const _property_types_CreateOrUpdateTrustedIdProviderParameters = Dict{Symbol,String}(Symbol("properties")=>"CreateOrUpdateTrustedIdProviderProperties", ) OpenAPI.property_type(::Type{ CreateOrUpdateTrustedIdProviderParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateOrUpdateTrustedIdProviderParameters[name]))} -function check_required(o::CreateOrUpdateTrustedIdProviderParameters) +function OpenAPI.check_required(o::CreateOrUpdateTrustedIdProviderParameters) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateOrUpdateTrustedIdProviderParameters) + OpenAPI.validate_property(CreateOrUpdateTrustedIdProviderParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateOrUpdateTrustedIdProviderParameters }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderProperties.jl index 084313c..bd46b29 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateTrustedIdProviderProperties.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct CreateOrUpdateTrustedIdProviderProperties <: OpenAPI. idProvider::Union{Nothing, String} = nothing function CreateOrUpdateTrustedIdProviderProperties(idProvider, ) - OpenAPI.validate_property(CreateOrUpdateTrustedIdProviderProperties, Symbol("idProvider"), idProvider) - return new(idProvider, ) + o = new(idProvider, ) + OpenAPI.validate_properties(o) + return o end end # type CreateOrUpdateTrustedIdProviderProperties const _property_types_CreateOrUpdateTrustedIdProviderProperties = Dict{Symbol,String}(Symbol("idProvider")=>"String", ) OpenAPI.property_type(::Type{ CreateOrUpdateTrustedIdProviderProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateOrUpdateTrustedIdProviderProperties[name]))} -function check_required(o::CreateOrUpdateTrustedIdProviderProperties) +function OpenAPI.check_required(o::CreateOrUpdateTrustedIdProviderProperties) o.idProvider === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateOrUpdateTrustedIdProviderProperties) + OpenAPI.validate_property(CreateOrUpdateTrustedIdProviderProperties, Symbol("idProvider"), o.idProvider) +end + function OpenAPI.validate_property(::Type{ CreateOrUpdateTrustedIdProviderProperties }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleParameters.jl index 8711386..746cdbe 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct CreateOrUpdateVirtualNetworkRuleParameters <: OpenAPI properties = nothing # spec type: Union{ Nothing, CreateOrUpdateVirtualNetworkRuleProperties } function CreateOrUpdateVirtualNetworkRuleParameters(properties, ) - OpenAPI.validate_property(CreateOrUpdateVirtualNetworkRuleParameters, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateOrUpdateVirtualNetworkRuleParameters const _property_types_CreateOrUpdateVirtualNetworkRuleParameters = Dict{Symbol,String}(Symbol("properties")=>"CreateOrUpdateVirtualNetworkRuleProperties", ) OpenAPI.property_type(::Type{ CreateOrUpdateVirtualNetworkRuleParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateOrUpdateVirtualNetworkRuleParameters[name]))} -function check_required(o::CreateOrUpdateVirtualNetworkRuleParameters) +function OpenAPI.check_required(o::CreateOrUpdateVirtualNetworkRuleParameters) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateOrUpdateVirtualNetworkRuleParameters) + OpenAPI.validate_property(CreateOrUpdateVirtualNetworkRuleParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateOrUpdateVirtualNetworkRuleParameters }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleProperties.jl index defdc8d..272e6de 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateOrUpdateVirtualNetworkRuleProperties.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct CreateOrUpdateVirtualNetworkRuleProperties <: OpenAPI subnetId::Union{Nothing, String} = nothing function CreateOrUpdateVirtualNetworkRuleProperties(subnetId, ) - OpenAPI.validate_property(CreateOrUpdateVirtualNetworkRuleProperties, Symbol("subnetId"), subnetId) - return new(subnetId, ) + o = new(subnetId, ) + OpenAPI.validate_properties(o) + return o end end # type CreateOrUpdateVirtualNetworkRuleProperties const _property_types_CreateOrUpdateVirtualNetworkRuleProperties = Dict{Symbol,String}(Symbol("subnetId")=>"String", ) OpenAPI.property_type(::Type{ CreateOrUpdateVirtualNetworkRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateOrUpdateVirtualNetworkRuleProperties[name]))} -function check_required(o::CreateOrUpdateVirtualNetworkRuleProperties) +function OpenAPI.check_required(o::CreateOrUpdateVirtualNetworkRuleProperties) o.subnetId === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateOrUpdateVirtualNetworkRuleProperties) + OpenAPI.validate_property(CreateOrUpdateVirtualNetworkRuleProperties, Symbol("subnetId"), o.subnetId) +end + function OpenAPI.validate_property(::Type{ CreateOrUpdateVirtualNetworkRuleProperties }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateTrustedIdProviderWithAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateTrustedIdProviderWithAccountParameters.jl index a79135f..bd80fe2 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateTrustedIdProviderWithAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateTrustedIdProviderWithAccountParameters.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct CreateTrustedIdProviderWithAccountParameters <: OpenA properties = nothing # spec type: Union{ Nothing, CreateOrUpdateTrustedIdProviderProperties } function CreateTrustedIdProviderWithAccountParameters(name, properties, ) - OpenAPI.validate_property(CreateTrustedIdProviderWithAccountParameters, Symbol("name"), name) - OpenAPI.validate_property(CreateTrustedIdProviderWithAccountParameters, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateTrustedIdProviderWithAccountParameters const _property_types_CreateTrustedIdProviderWithAccountParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"CreateOrUpdateTrustedIdProviderProperties", ) OpenAPI.property_type(::Type{ CreateTrustedIdProviderWithAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateTrustedIdProviderWithAccountParameters[name]))} -function check_required(o::CreateTrustedIdProviderWithAccountParameters) +function OpenAPI.check_required(o::CreateTrustedIdProviderWithAccountParameters) o.name === nothing && (return false) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateTrustedIdProviderWithAccountParameters) + OpenAPI.validate_property(CreateTrustedIdProviderWithAccountParameters, Symbol("name"), o.name) + OpenAPI.validate_property(CreateTrustedIdProviderWithAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateTrustedIdProviderWithAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateVirtualNetworkRuleWithAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateVirtualNetworkRuleWithAccountParameters.jl index c2a4f3a..c2f8f54 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateVirtualNetworkRuleWithAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_CreateVirtualNetworkRuleWithAccountParameters.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct CreateVirtualNetworkRuleWithAccountParameters <: Open properties = nothing # spec type: Union{ Nothing, CreateOrUpdateVirtualNetworkRuleProperties } function CreateVirtualNetworkRuleWithAccountParameters(name, properties, ) - OpenAPI.validate_property(CreateVirtualNetworkRuleWithAccountParameters, Symbol("name"), name) - OpenAPI.validate_property(CreateVirtualNetworkRuleWithAccountParameters, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type CreateVirtualNetworkRuleWithAccountParameters const _property_types_CreateVirtualNetworkRuleWithAccountParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"CreateOrUpdateVirtualNetworkRuleProperties", ) OpenAPI.property_type(::Type{ CreateVirtualNetworkRuleWithAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CreateVirtualNetworkRuleWithAccountParameters[name]))} -function check_required(o::CreateVirtualNetworkRuleWithAccountParameters) +function OpenAPI.check_required(o::CreateVirtualNetworkRuleWithAccountParameters) o.name === nothing && (return false) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::CreateVirtualNetworkRuleWithAccountParameters) + OpenAPI.validate_property(CreateVirtualNetworkRuleWithAccountParameters, Symbol("name"), o.name) + OpenAPI.validate_property(CreateVirtualNetworkRuleWithAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ CreateVirtualNetworkRuleWithAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccount.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccount.jl index 782c03b..097c1fc 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccount.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccount.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct DataLakeStoreAccount <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function DataLakeStoreAccount(identity, properties, id, name, type, location, tags, ) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("identity"), identity) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("properties"), properties) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("id"), id) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("name"), name) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("type"), type) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("location"), location) - OpenAPI.validate_property(DataLakeStoreAccount, Symbol("tags"), tags) - return new(identity, properties, id, name, type, location, tags, ) + o = new(identity, properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type DataLakeStoreAccount const _property_types_DataLakeStoreAccount = Dict{Symbol,String}(Symbol("identity")=>"EncryptionIdentity", Symbol("properties")=>"DataLakeStoreAccountProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ DataLakeStoreAccount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataLakeStoreAccount[name]))} -function check_required(o::DataLakeStoreAccount) +function OpenAPI.check_required(o::DataLakeStoreAccount) true end +function OpenAPI.validate_properties(o::DataLakeStoreAccount) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("identity"), o.identity) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("properties"), o.properties) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("id"), o.id) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("name"), o.name) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("type"), o.type) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("location"), o.location) + OpenAPI.validate_property(DataLakeStoreAccount, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ DataLakeStoreAccount }, name::Symbol, val) + + + + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountBasic.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountBasic.jl index 9a9e859..3a76e2f 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountBasic.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountBasic.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct DataLakeStoreAccountBasic <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function DataLakeStoreAccountBasic(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("properties"), properties) - OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("id"), id) - OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("name"), name) - OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("type"), type) - OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("location"), location) - OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type DataLakeStoreAccountBasic const _property_types_DataLakeStoreAccountBasic = Dict{Symbol,String}(Symbol("properties")=>"DataLakeStoreAccountPropertiesBasic", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ DataLakeStoreAccountBasic }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataLakeStoreAccountBasic[name]))} -function check_required(o::DataLakeStoreAccountBasic) +function OpenAPI.check_required(o::DataLakeStoreAccountBasic) true end +function OpenAPI.validate_properties(o::DataLakeStoreAccountBasic) + OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("properties"), o.properties) + OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("id"), o.id) + OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("name"), o.name) + OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("type"), o.type) + OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("location"), o.location) + OpenAPI.validate_property(DataLakeStoreAccountBasic, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ DataLakeStoreAccountBasic }, name::Symbol, val) + + + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountListResult.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountListResult.jl index 5f9209a..c22e69f 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountListResult.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct DataLakeStoreAccountListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function DataLakeStoreAccountListResult(value, nextLink, ) - OpenAPI.validate_property(DataLakeStoreAccountListResult, Symbol("value"), value) - OpenAPI.validate_property(DataLakeStoreAccountListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type DataLakeStoreAccountListResult const _property_types_DataLakeStoreAccountListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{DataLakeStoreAccountBasic}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ DataLakeStoreAccountListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataLakeStoreAccountListResult[name]))} -function check_required(o::DataLakeStoreAccountListResult) +function OpenAPI.check_required(o::DataLakeStoreAccountListResult) true end +function OpenAPI.validate_properties(o::DataLakeStoreAccountListResult) + OpenAPI.validate_property(DataLakeStoreAccountListResult, Symbol("value"), o.value) + OpenAPI.validate_property(DataLakeStoreAccountListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ DataLakeStoreAccountListResult }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountProperties.jl index bc2352d..da2b476 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountProperties.jl @@ -66,70 +66,102 @@ Base.@kwdef mutable struct DataLakeStoreAccountProperties <: OpenAPI.APIModel endpoint::Union{Nothing, String} = nothing function DataLakeStoreAccountProperties(defaultGroup, encryptionConfig, encryptionState, encryptionProvisioningState, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, currentTier, accountId, provisioningState, state, creationTime, lastModifiedTime, endpoint, ) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("defaultGroup"), defaultGroup) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("encryptionConfig"), encryptionConfig) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("encryptionState"), encryptionState) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("encryptionProvisioningState"), encryptionProvisioningState) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("firewallRules"), firewallRules) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("virtualNetworkRules"), virtualNetworkRules) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("firewallState"), firewallState) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("firewallAllowAzureIps"), firewallAllowAzureIps) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("trustedIdProviders"), trustedIdProviders) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("trustedIdProviderState"), trustedIdProviderState) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("newTier"), newTier) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("currentTier"), currentTier) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("accountId"), accountId) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("state"), state) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("creationTime"), creationTime) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("lastModifiedTime"), lastModifiedTime) - OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("endpoint"), endpoint) - return new(defaultGroup, encryptionConfig, encryptionState, encryptionProvisioningState, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, currentTier, accountId, provisioningState, state, creationTime, lastModifiedTime, endpoint, ) + o = new(defaultGroup, encryptionConfig, encryptionState, encryptionProvisioningState, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, currentTier, accountId, provisioningState, state, creationTime, lastModifiedTime, endpoint, ) + OpenAPI.validate_properties(o) + return o end end # type DataLakeStoreAccountProperties const _property_types_DataLakeStoreAccountProperties = Dict{Symbol,String}(Symbol("defaultGroup")=>"String", Symbol("encryptionConfig")=>"EncryptionConfig", Symbol("encryptionState")=>"String", Symbol("encryptionProvisioningState")=>"String", Symbol("firewallRules")=>"Vector{FirewallRule}", Symbol("virtualNetworkRules")=>"Vector{VirtualNetworkRule}", Symbol("firewallState")=>"String", Symbol("firewallAllowAzureIps")=>"String", Symbol("trustedIdProviders")=>"Vector{TrustedIdProvider}", Symbol("trustedIdProviderState")=>"String", Symbol("newTier")=>"String", Symbol("currentTier")=>"String", Symbol("accountId")=>"String", Symbol("provisioningState")=>"String", Symbol("state")=>"String", Symbol("creationTime")=>"ZonedDateTime", Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("endpoint")=>"String", ) OpenAPI.property_type(::Type{ DataLakeStoreAccountProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataLakeStoreAccountProperties[name]))} -function check_required(o::DataLakeStoreAccountProperties) +function OpenAPI.check_required(o::DataLakeStoreAccountProperties) true end +function OpenAPI.validate_properties(o::DataLakeStoreAccountProperties) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("defaultGroup"), o.defaultGroup) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("encryptionConfig"), o.encryptionConfig) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("encryptionState"), o.encryptionState) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("encryptionProvisioningState"), o.encryptionProvisioningState) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("firewallRules"), o.firewallRules) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("virtualNetworkRules"), o.virtualNetworkRules) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("firewallState"), o.firewallState) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("firewallAllowAzureIps"), o.firewallAllowAzureIps) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("trustedIdProviders"), o.trustedIdProviders) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("trustedIdProviderState"), o.trustedIdProviderState) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("newTier"), o.newTier) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("currentTier"), o.currentTier) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("accountId"), o.accountId) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("state"), o.state) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("creationTime"), o.creationTime) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(DataLakeStoreAccountProperties, Symbol("endpoint"), o.endpoint) +end + function OpenAPI.validate_property(::Type{ DataLakeStoreAccountProperties }, name::Symbol, val) + + + if name === Symbol("encryptionState") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("encryptionProvisioningState") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Creating", "Succeeded"]) end + + + + if name === Symbol("firewallState") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("firewallAllowAzureIps") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + + if name === Symbol("trustedIdProviderState") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("newTier") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Consumption", "Commitment_1TB", "Commitment_10TB", "Commitment_100TB", "Commitment_500TB", "Commitment_1PB", "Commitment_5PB"]) end + + if name === Symbol("currentTier") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Consumption", "Commitment_1TB", "Commitment_10TB", "Commitment_100TB", "Commitment_500TB", "Commitment_1PB", "Commitment_5PB"]) end + + if name === Symbol("accountId") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :format, val, "uuid") end + if name === Symbol("provisioningState") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Failed", "Creating", "Running", "Succeeded", "Patching", "Suspending", "Resuming", "Deleting", "Deleted", "Undeleting", "Canceled"]) end + + if name === Symbol("state") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :enum, val, ["Active", "Suspended"]) end + + if name === Symbol("creationTime") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :format, val, "date-time") end + if name === Symbol("lastModifiedTime") OpenAPI.validate_param(name, "DataLakeStoreAccountProperties", :format, val, "date-time") end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountPropertiesBasic.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountPropertiesBasic.jl index 515bad5..5ec13a2 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountPropertiesBasic.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_DataLakeStoreAccountPropertiesBasic.jl @@ -30,37 +30,50 @@ Base.@kwdef mutable struct DataLakeStoreAccountPropertiesBasic <: OpenAPI.APIMod endpoint::Union{Nothing, String} = nothing function DataLakeStoreAccountPropertiesBasic(accountId, provisioningState, state, creationTime, lastModifiedTime, endpoint, ) - OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("accountId"), accountId) - OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("state"), state) - OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("creationTime"), creationTime) - OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("lastModifiedTime"), lastModifiedTime) - OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("endpoint"), endpoint) - return new(accountId, provisioningState, state, creationTime, lastModifiedTime, endpoint, ) + o = new(accountId, provisioningState, state, creationTime, lastModifiedTime, endpoint, ) + OpenAPI.validate_properties(o) + return o end end # type DataLakeStoreAccountPropertiesBasic const _property_types_DataLakeStoreAccountPropertiesBasic = Dict{Symbol,String}(Symbol("accountId")=>"String", Symbol("provisioningState")=>"String", Symbol("state")=>"String", Symbol("creationTime")=>"ZonedDateTime", Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("endpoint")=>"String", ) OpenAPI.property_type(::Type{ DataLakeStoreAccountPropertiesBasic }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DataLakeStoreAccountPropertiesBasic[name]))} -function check_required(o::DataLakeStoreAccountPropertiesBasic) +function OpenAPI.check_required(o::DataLakeStoreAccountPropertiesBasic) true end +function OpenAPI.validate_properties(o::DataLakeStoreAccountPropertiesBasic) + OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("accountId"), o.accountId) + OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("state"), o.state) + OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("creationTime"), o.creationTime) + OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(DataLakeStoreAccountPropertiesBasic, Symbol("endpoint"), o.endpoint) +end + function OpenAPI.validate_property(::Type{ DataLakeStoreAccountPropertiesBasic }, name::Symbol, val) + if name === Symbol("accountId") OpenAPI.validate_param(name, "DataLakeStoreAccountPropertiesBasic", :format, val, "uuid") end + if name === Symbol("provisioningState") OpenAPI.validate_param(name, "DataLakeStoreAccountPropertiesBasic", :enum, val, ["Failed", "Creating", "Running", "Succeeded", "Patching", "Suspending", "Resuming", "Deleting", "Deleted", "Undeleting", "Canceled"]) end + + if name === Symbol("state") OpenAPI.validate_param(name, "DataLakeStoreAccountPropertiesBasic", :enum, val, ["Active", "Suspended"]) end + + if name === Symbol("creationTime") OpenAPI.validate_param(name, "DataLakeStoreAccountPropertiesBasic", :format, val, "date-time") end + if name === Symbol("lastModifiedTime") OpenAPI.validate_param(name, "DataLakeStoreAccountPropertiesBasic", :format, val, "date-time") end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionConfig.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionConfig.jl index af25f7d..022fabf 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionConfig.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionConfig.jl @@ -18,22 +18,30 @@ Base.@kwdef mutable struct EncryptionConfig <: OpenAPI.APIModel keyVaultMetaInfo = nothing # spec type: Union{ Nothing, KeyVaultMetaInfo } function EncryptionConfig(type, keyVaultMetaInfo, ) - OpenAPI.validate_property(EncryptionConfig, Symbol("type"), type) - OpenAPI.validate_property(EncryptionConfig, Symbol("keyVaultMetaInfo"), keyVaultMetaInfo) - return new(type, keyVaultMetaInfo, ) + o = new(type, keyVaultMetaInfo, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionConfig const _property_types_EncryptionConfig = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("keyVaultMetaInfo")=>"KeyVaultMetaInfo", ) OpenAPI.property_type(::Type{ EncryptionConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionConfig[name]))} -function check_required(o::EncryptionConfig) +function OpenAPI.check_required(o::EncryptionConfig) o.type === nothing && (return false) true end +function OpenAPI.validate_properties(o::EncryptionConfig) + OpenAPI.validate_property(EncryptionConfig, Symbol("type"), o.type) + OpenAPI.validate_property(EncryptionConfig, Symbol("keyVaultMetaInfo"), o.keyVaultMetaInfo) +end + function OpenAPI.validate_property(::Type{ EncryptionConfig }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "EncryptionConfig", :enum, val, ["UserManaged", "ServiceManaged"]) end + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionIdentity.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionIdentity.jl index 1bd83b4..ea5556b 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionIdentity.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_EncryptionIdentity.jl @@ -21,28 +21,37 @@ Base.@kwdef mutable struct EncryptionIdentity <: OpenAPI.APIModel tenantId::Union{Nothing, String} = nothing function EncryptionIdentity(type, principalId, tenantId, ) - OpenAPI.validate_property(EncryptionIdentity, Symbol("type"), type) - OpenAPI.validate_property(EncryptionIdentity, Symbol("principalId"), principalId) - OpenAPI.validate_property(EncryptionIdentity, Symbol("tenantId"), tenantId) - return new(type, principalId, tenantId, ) + o = new(type, principalId, tenantId, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionIdentity const _property_types_EncryptionIdentity = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("principalId")=>"String", Symbol("tenantId")=>"String", ) OpenAPI.property_type(::Type{ EncryptionIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionIdentity[name]))} -function check_required(o::EncryptionIdentity) +function OpenAPI.check_required(o::EncryptionIdentity) o.type === nothing && (return false) true end +function OpenAPI.validate_properties(o::EncryptionIdentity) + OpenAPI.validate_property(EncryptionIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(EncryptionIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(EncryptionIdentity, Symbol("tenantId"), o.tenantId) +end + function OpenAPI.validate_property(::Type{ EncryptionIdentity }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "EncryptionIdentity", :enum, val, ["SystemAssigned"]) end + + if name === Symbol("principalId") OpenAPI.validate_param(name, "EncryptionIdentity", :format, val, "uuid") end + if name === Symbol("tenantId") OpenAPI.validate_param(name, "EncryptionIdentity", :format, val, "uuid") end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRule.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRule.jl index cf90166..2bec391 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRule.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRule.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct FirewallRule <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function FirewallRule(properties, id, name, type, ) - OpenAPI.validate_property(FirewallRule, Symbol("properties"), properties) - OpenAPI.validate_property(FirewallRule, Symbol("id"), id) - OpenAPI.validate_property(FirewallRule, Symbol("name"), name) - OpenAPI.validate_property(FirewallRule, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type FirewallRule const _property_types_FirewallRule = Dict{Symbol,String}(Symbol("properties")=>"FirewallRuleProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ FirewallRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FirewallRule[name]))} -function check_required(o::FirewallRule) +function OpenAPI.check_required(o::FirewallRule) true end +function OpenAPI.validate_properties(o::FirewallRule) + OpenAPI.validate_property(FirewallRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(FirewallRule, Symbol("id"), o.id) + OpenAPI.validate_property(FirewallRule, Symbol("name"), o.name) + OpenAPI.validate_property(FirewallRule, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ FirewallRule }, name::Symbol, val) + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleListResult.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleListResult.jl index d251e43..5e08a62 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleListResult.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct FirewallRuleListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function FirewallRuleListResult(value, nextLink, ) - OpenAPI.validate_property(FirewallRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(FirewallRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type FirewallRuleListResult const _property_types_FirewallRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{FirewallRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ FirewallRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FirewallRuleListResult[name]))} -function check_required(o::FirewallRuleListResult) +function OpenAPI.check_required(o::FirewallRuleListResult) true end +function OpenAPI.validate_properties(o::FirewallRuleListResult) + OpenAPI.validate_property(FirewallRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(FirewallRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ FirewallRuleListResult }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleProperties.jl index ce62faa..46ab561 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_FirewallRuleProperties.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct FirewallRuleProperties <: OpenAPI.APIModel endIpAddress::Union{Nothing, String} = nothing function FirewallRuleProperties(startIpAddress, endIpAddress, ) - OpenAPI.validate_property(FirewallRuleProperties, Symbol("startIpAddress"), startIpAddress) - OpenAPI.validate_property(FirewallRuleProperties, Symbol("endIpAddress"), endIpAddress) - return new(startIpAddress, endIpAddress, ) + o = new(startIpAddress, endIpAddress, ) + OpenAPI.validate_properties(o) + return o end end # type FirewallRuleProperties const _property_types_FirewallRuleProperties = Dict{Symbol,String}(Symbol("startIpAddress")=>"String", Symbol("endIpAddress")=>"String", ) OpenAPI.property_type(::Type{ FirewallRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FirewallRuleProperties[name]))} -function check_required(o::FirewallRuleProperties) +function OpenAPI.check_required(o::FirewallRuleProperties) true end +function OpenAPI.validate_properties(o::FirewallRuleProperties) + OpenAPI.validate_property(FirewallRuleProperties, Symbol("startIpAddress"), o.startIpAddress) + OpenAPI.validate_property(FirewallRuleProperties, Symbol("endIpAddress"), o.endIpAddress) +end + function OpenAPI.validate_property(::Type{ FirewallRuleProperties }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_KeyVaultMetaInfo.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_KeyVaultMetaInfo.jl index 0b23ba0..66fdffd 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_KeyVaultMetaInfo.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_KeyVaultMetaInfo.jl @@ -21,22 +21,30 @@ Base.@kwdef mutable struct KeyVaultMetaInfo <: OpenAPI.APIModel encryptionKeyVersion::Union{Nothing, String} = nothing function KeyVaultMetaInfo(keyVaultResourceId, encryptionKeyName, encryptionKeyVersion, ) - OpenAPI.validate_property(KeyVaultMetaInfo, Symbol("keyVaultResourceId"), keyVaultResourceId) - OpenAPI.validate_property(KeyVaultMetaInfo, Symbol("encryptionKeyName"), encryptionKeyName) - OpenAPI.validate_property(KeyVaultMetaInfo, Symbol("encryptionKeyVersion"), encryptionKeyVersion) - return new(keyVaultResourceId, encryptionKeyName, encryptionKeyVersion, ) + o = new(keyVaultResourceId, encryptionKeyName, encryptionKeyVersion, ) + OpenAPI.validate_properties(o) + return o end end # type KeyVaultMetaInfo const _property_types_KeyVaultMetaInfo = Dict{Symbol,String}(Symbol("keyVaultResourceId")=>"String", Symbol("encryptionKeyName")=>"String", Symbol("encryptionKeyVersion")=>"String", ) OpenAPI.property_type(::Type{ KeyVaultMetaInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyVaultMetaInfo[name]))} -function check_required(o::KeyVaultMetaInfo) +function OpenAPI.check_required(o::KeyVaultMetaInfo) o.keyVaultResourceId === nothing && (return false) o.encryptionKeyName === nothing && (return false) o.encryptionKeyVersion === nothing && (return false) true end +function OpenAPI.validate_properties(o::KeyVaultMetaInfo) + OpenAPI.validate_property(KeyVaultMetaInfo, Symbol("keyVaultResourceId"), o.keyVaultResourceId) + OpenAPI.validate_property(KeyVaultMetaInfo, Symbol("encryptionKeyName"), o.encryptionKeyName) + OpenAPI.validate_property(KeyVaultMetaInfo, Symbol("encryptionKeyVersion"), o.encryptionKeyVersion) +end + function OpenAPI.validate_property(::Type{ KeyVaultMetaInfo }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_NameAvailabilityInformation.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_NameAvailabilityInformation.jl index 5866f88..58abda1 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_NameAvailabilityInformation.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_NameAvailabilityInformation.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NameAvailabilityInformation <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function NameAvailabilityInformation(nameAvailable, reason, message, ) - OpenAPI.validate_property(NameAvailabilityInformation, Symbol("nameAvailable"), nameAvailable) - OpenAPI.validate_property(NameAvailabilityInformation, Symbol("reason"), reason) - OpenAPI.validate_property(NameAvailabilityInformation, Symbol("message"), message) - return new(nameAvailable, reason, message, ) + o = new(nameAvailable, reason, message, ) + OpenAPI.validate_properties(o) + return o end end # type NameAvailabilityInformation const _property_types_NameAvailabilityInformation = Dict{Symbol,String}(Symbol("nameAvailable")=>"Bool", Symbol("reason")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ NameAvailabilityInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NameAvailabilityInformation[name]))} -function check_required(o::NameAvailabilityInformation) +function OpenAPI.check_required(o::NameAvailabilityInformation) true end +function OpenAPI.validate_properties(o::NameAvailabilityInformation) + OpenAPI.validate_property(NameAvailabilityInformation, Symbol("nameAvailable"), o.nameAvailable) + OpenAPI.validate_property(NameAvailabilityInformation, Symbol("reason"), o.reason) + OpenAPI.validate_property(NameAvailabilityInformation, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ NameAvailabilityInformation }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Operation.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Operation.jl index 6260fc3..30c5122 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Operation.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Operation.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct Operation <: OpenAPI.APIModel origin::Union{Nothing, String} = nothing function Operation(name, display, origin, ) - OpenAPI.validate_property(Operation, Symbol("name"), name) - OpenAPI.validate_property(Operation, Symbol("display"), display) - OpenAPI.validate_property(Operation, Symbol("origin"), origin) - return new(name, display, origin, ) + o = new(name, display, origin, ) + OpenAPI.validate_properties(o) + return o end end # type Operation const _property_types_Operation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("display")=>"OperationDisplay", Symbol("origin")=>"String", ) OpenAPI.property_type(::Type{ Operation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Operation[name]))} -function check_required(o::Operation) +function OpenAPI.check_required(o::Operation) true end +function OpenAPI.validate_properties(o::Operation) + OpenAPI.validate_property(Operation, Symbol("name"), o.name) + OpenAPI.validate_property(Operation, Symbol("display"), o.display) + OpenAPI.validate_property(Operation, Symbol("origin"), o.origin) +end + function OpenAPI.validate_property(::Type{ Operation }, name::Symbol, val) + + + if name === Symbol("origin") OpenAPI.validate_param(name, "Operation", :enum, val, ["user", "system", "user,system"]) end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationDisplay.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationDisplay.jl index 366e5a1..e3bb654 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationDisplay.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationDisplay.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct OperationDisplay <: OpenAPI.APIModel description::Union{Nothing, String} = nothing function OperationDisplay(provider, resource, operation, description, ) - OpenAPI.validate_property(OperationDisplay, Symbol("provider"), provider) - OpenAPI.validate_property(OperationDisplay, Symbol("resource"), resource) - OpenAPI.validate_property(OperationDisplay, Symbol("operation"), operation) - OpenAPI.validate_property(OperationDisplay, Symbol("description"), description) - return new(provider, resource, operation, description, ) + o = new(provider, resource, operation, description, ) + OpenAPI.validate_properties(o) + return o end end # type OperationDisplay const _property_types_OperationDisplay = Dict{Symbol,String}(Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ OperationDisplay }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationDisplay[name]))} -function check_required(o::OperationDisplay) +function OpenAPI.check_required(o::OperationDisplay) true end +function OpenAPI.validate_properties(o::OperationDisplay) + OpenAPI.validate_property(OperationDisplay, Symbol("provider"), o.provider) + OpenAPI.validate_property(OperationDisplay, Symbol("resource"), o.resource) + OpenAPI.validate_property(OperationDisplay, Symbol("operation"), o.operation) + OpenAPI.validate_property(OperationDisplay, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ OperationDisplay }, name::Symbol, val) + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationListResult.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationListResult.jl index 9fc1a82..8d07e38 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationListResult.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_OperationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct OperationListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function OperationListResult(value, nextLink, ) - OpenAPI.validate_property(OperationListResult, Symbol("value"), value) - OpenAPI.validate_property(OperationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type OperationListResult const _property_types_OperationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Operation}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ OperationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationListResult[name]))} -function check_required(o::OperationListResult) +function OpenAPI.check_required(o::OperationListResult) true end +function OpenAPI.validate_properties(o::OperationListResult) + OpenAPI.validate_property(OperationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(OperationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ OperationListResult }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Resource.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Resource.jl index 10165a8..17cbf6a 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Resource.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_SubResource.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_SubResource.jl index 57ceed6..894cf34 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_SubResource.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_SubResource.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function SubResource(id, name, type, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - OpenAPI.validate_property(SubResource, Symbol("name"), name) - OpenAPI.validate_property(SubResource, Symbol("type"), type) - return new(id, name, type, ) + o = new(id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) + OpenAPI.validate_property(SubResource, Symbol("name"), o.name) + OpenAPI.validate_property(SubResource, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProvider.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProvider.jl index 1ac5782..f072d2b 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProvider.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProvider.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct TrustedIdProvider <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function TrustedIdProvider(properties, id, name, type, ) - OpenAPI.validate_property(TrustedIdProvider, Symbol("properties"), properties) - OpenAPI.validate_property(TrustedIdProvider, Symbol("id"), id) - OpenAPI.validate_property(TrustedIdProvider, Symbol("name"), name) - OpenAPI.validate_property(TrustedIdProvider, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type TrustedIdProvider const _property_types_TrustedIdProvider = Dict{Symbol,String}(Symbol("properties")=>"TrustedIdProviderProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ TrustedIdProvider }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrustedIdProvider[name]))} -function check_required(o::TrustedIdProvider) +function OpenAPI.check_required(o::TrustedIdProvider) true end +function OpenAPI.validate_properties(o::TrustedIdProvider) + OpenAPI.validate_property(TrustedIdProvider, Symbol("properties"), o.properties) + OpenAPI.validate_property(TrustedIdProvider, Symbol("id"), o.id) + OpenAPI.validate_property(TrustedIdProvider, Symbol("name"), o.name) + OpenAPI.validate_property(TrustedIdProvider, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ TrustedIdProvider }, name::Symbol, val) + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderListResult.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderListResult.jl index a360fc3..e40f7c8 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderListResult.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct TrustedIdProviderListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function TrustedIdProviderListResult(value, nextLink, ) - OpenAPI.validate_property(TrustedIdProviderListResult, Symbol("value"), value) - OpenAPI.validate_property(TrustedIdProviderListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type TrustedIdProviderListResult const _property_types_TrustedIdProviderListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{TrustedIdProvider}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ TrustedIdProviderListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrustedIdProviderListResult[name]))} -function check_required(o::TrustedIdProviderListResult) +function OpenAPI.check_required(o::TrustedIdProviderListResult) true end +function OpenAPI.validate_properties(o::TrustedIdProviderListResult) + OpenAPI.validate_property(TrustedIdProviderListResult, Symbol("value"), o.value) + OpenAPI.validate_property(TrustedIdProviderListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ TrustedIdProviderListResult }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderProperties.jl index 66ffe24..d66e88b 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_TrustedIdProviderProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrustedIdProviderProperties <: OpenAPI.APIModel idProvider::Union{Nothing, String} = nothing function TrustedIdProviderProperties(idProvider, ) - OpenAPI.validate_property(TrustedIdProviderProperties, Symbol("idProvider"), idProvider) - return new(idProvider, ) + o = new(idProvider, ) + OpenAPI.validate_properties(o) + return o end end # type TrustedIdProviderProperties const _property_types_TrustedIdProviderProperties = Dict{Symbol,String}(Symbol("idProvider")=>"String", ) OpenAPI.property_type(::Type{ TrustedIdProviderProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrustedIdProviderProperties[name]))} -function check_required(o::TrustedIdProviderProperties) +function OpenAPI.check_required(o::TrustedIdProviderProperties) true end +function OpenAPI.validate_properties(o::TrustedIdProviderProperties) + OpenAPI.validate_property(TrustedIdProviderProperties, Symbol("idProvider"), o.idProvider) +end + function OpenAPI.validate_property(::Type{ TrustedIdProviderProperties }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountParameters.jl index 527ac48..7362321 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountParameters.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UpdateDataLakeStoreAccountParameters <: OpenAPI.APIMo properties = nothing # spec type: Union{ Nothing, UpdateDataLakeStoreAccountProperties } function UpdateDataLakeStoreAccountParameters(tags, properties, ) - OpenAPI.validate_property(UpdateDataLakeStoreAccountParameters, Symbol("tags"), tags) - OpenAPI.validate_property(UpdateDataLakeStoreAccountParameters, Symbol("properties"), properties) - return new(tags, properties, ) + o = new(tags, properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateDataLakeStoreAccountParameters const _property_types_UpdateDataLakeStoreAccountParameters = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"UpdateDataLakeStoreAccountProperties", ) OpenAPI.property_type(::Type{ UpdateDataLakeStoreAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateDataLakeStoreAccountParameters[name]))} -function check_required(o::UpdateDataLakeStoreAccountParameters) +function OpenAPI.check_required(o::UpdateDataLakeStoreAccountParameters) true end +function OpenAPI.validate_properties(o::UpdateDataLakeStoreAccountParameters) + OpenAPI.validate_property(UpdateDataLakeStoreAccountParameters, Symbol("tags"), o.tags) + OpenAPI.validate_property(UpdateDataLakeStoreAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateDataLakeStoreAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountProperties.jl index 1573e75..e2450e7 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateDataLakeStoreAccountProperties.jl @@ -39,37 +39,55 @@ Base.@kwdef mutable struct UpdateDataLakeStoreAccountProperties <: OpenAPI.APIMo newTier::Union{Nothing, String} = nothing function UpdateDataLakeStoreAccountProperties(defaultGroup, encryptionConfig, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, ) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("defaultGroup"), defaultGroup) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("encryptionConfig"), encryptionConfig) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("firewallRules"), firewallRules) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("virtualNetworkRules"), virtualNetworkRules) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("firewallState"), firewallState) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("firewallAllowAzureIps"), firewallAllowAzureIps) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("trustedIdProviders"), trustedIdProviders) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("trustedIdProviderState"), trustedIdProviderState) - OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("newTier"), newTier) - return new(defaultGroup, encryptionConfig, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, ) + o = new(defaultGroup, encryptionConfig, firewallRules, virtualNetworkRules, firewallState, firewallAllowAzureIps, trustedIdProviders, trustedIdProviderState, newTier, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateDataLakeStoreAccountProperties const _property_types_UpdateDataLakeStoreAccountProperties = Dict{Symbol,String}(Symbol("defaultGroup")=>"String", Symbol("encryptionConfig")=>"UpdateEncryptionConfig", Symbol("firewallRules")=>"Vector{UpdateFirewallRuleWithAccountParameters}", Symbol("virtualNetworkRules")=>"Vector{UpdateVirtualNetworkRuleWithAccountParameters}", Symbol("firewallState")=>"String", Symbol("firewallAllowAzureIps")=>"String", Symbol("trustedIdProviders")=>"Vector{UpdateTrustedIdProviderWithAccountParameters}", Symbol("trustedIdProviderState")=>"String", Symbol("newTier")=>"String", ) OpenAPI.property_type(::Type{ UpdateDataLakeStoreAccountProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateDataLakeStoreAccountProperties[name]))} -function check_required(o::UpdateDataLakeStoreAccountProperties) +function OpenAPI.check_required(o::UpdateDataLakeStoreAccountProperties) true end +function OpenAPI.validate_properties(o::UpdateDataLakeStoreAccountProperties) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("defaultGroup"), o.defaultGroup) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("encryptionConfig"), o.encryptionConfig) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("firewallRules"), o.firewallRules) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("virtualNetworkRules"), o.virtualNetworkRules) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("firewallState"), o.firewallState) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("firewallAllowAzureIps"), o.firewallAllowAzureIps) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("trustedIdProviders"), o.trustedIdProviders) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("trustedIdProviderState"), o.trustedIdProviderState) + OpenAPI.validate_property(UpdateDataLakeStoreAccountProperties, Symbol("newTier"), o.newTier) +end + function OpenAPI.validate_property(::Type{ UpdateDataLakeStoreAccountProperties }, name::Symbol, val) + + + + + if name === Symbol("firewallState") OpenAPI.validate_param(name, "UpdateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("firewallAllowAzureIps") OpenAPI.validate_param(name, "UpdateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + + if name === Symbol("trustedIdProviderState") OpenAPI.validate_param(name, "UpdateDataLakeStoreAccountProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("newTier") OpenAPI.validate_param(name, "UpdateDataLakeStoreAccountProperties", :enum, val, ["Consumption", "Commitment_1TB", "Commitment_10TB", "Commitment_100TB", "Commitment_500TB", "Commitment_1PB", "Commitment_5PB"]) end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateEncryptionConfig.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateEncryptionConfig.jl index f3d46ea..ca66cec 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateEncryptionConfig.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateEncryptionConfig.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateEncryptionConfig <: OpenAPI.APIModel keyVaultMetaInfo = nothing # spec type: Union{ Nothing, UpdateKeyVaultMetaInfo } function UpdateEncryptionConfig(keyVaultMetaInfo, ) - OpenAPI.validate_property(UpdateEncryptionConfig, Symbol("keyVaultMetaInfo"), keyVaultMetaInfo) - return new(keyVaultMetaInfo, ) + o = new(keyVaultMetaInfo, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateEncryptionConfig const _property_types_UpdateEncryptionConfig = Dict{Symbol,String}(Symbol("keyVaultMetaInfo")=>"UpdateKeyVaultMetaInfo", ) OpenAPI.property_type(::Type{ UpdateEncryptionConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateEncryptionConfig[name]))} -function check_required(o::UpdateEncryptionConfig) +function OpenAPI.check_required(o::UpdateEncryptionConfig) true end +function OpenAPI.validate_properties(o::UpdateEncryptionConfig) + OpenAPI.validate_property(UpdateEncryptionConfig, Symbol("keyVaultMetaInfo"), o.keyVaultMetaInfo) +end + function OpenAPI.validate_property(::Type{ UpdateEncryptionConfig }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleParameters.jl index 716d2e7..9c94f61 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateFirewallRuleParameters <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, UpdateFirewallRuleProperties } function UpdateFirewallRuleParameters(properties, ) - OpenAPI.validate_property(UpdateFirewallRuleParameters, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateFirewallRuleParameters const _property_types_UpdateFirewallRuleParameters = Dict{Symbol,String}(Symbol("properties")=>"UpdateFirewallRuleProperties", ) OpenAPI.property_type(::Type{ UpdateFirewallRuleParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateFirewallRuleParameters[name]))} -function check_required(o::UpdateFirewallRuleParameters) +function OpenAPI.check_required(o::UpdateFirewallRuleParameters) true end +function OpenAPI.validate_properties(o::UpdateFirewallRuleParameters) + OpenAPI.validate_property(UpdateFirewallRuleParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateFirewallRuleParameters }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleProperties.jl index d9a2f2e..91c00e3 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleProperties.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UpdateFirewallRuleProperties <: OpenAPI.APIModel endIpAddress::Union{Nothing, String} = nothing function UpdateFirewallRuleProperties(startIpAddress, endIpAddress, ) - OpenAPI.validate_property(UpdateFirewallRuleProperties, Symbol("startIpAddress"), startIpAddress) - OpenAPI.validate_property(UpdateFirewallRuleProperties, Symbol("endIpAddress"), endIpAddress) - return new(startIpAddress, endIpAddress, ) + o = new(startIpAddress, endIpAddress, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateFirewallRuleProperties const _property_types_UpdateFirewallRuleProperties = Dict{Symbol,String}(Symbol("startIpAddress")=>"String", Symbol("endIpAddress")=>"String", ) OpenAPI.property_type(::Type{ UpdateFirewallRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateFirewallRuleProperties[name]))} -function check_required(o::UpdateFirewallRuleProperties) +function OpenAPI.check_required(o::UpdateFirewallRuleProperties) true end +function OpenAPI.validate_properties(o::UpdateFirewallRuleProperties) + OpenAPI.validate_property(UpdateFirewallRuleProperties, Symbol("startIpAddress"), o.startIpAddress) + OpenAPI.validate_property(UpdateFirewallRuleProperties, Symbol("endIpAddress"), o.endIpAddress) +end + function OpenAPI.validate_property(::Type{ UpdateFirewallRuleProperties }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleWithAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleWithAccountParameters.jl index 55e10fb..bfa27fc 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleWithAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateFirewallRuleWithAccountParameters.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct UpdateFirewallRuleWithAccountParameters <: OpenAPI.AP properties = nothing # spec type: Union{ Nothing, UpdateFirewallRuleProperties } function UpdateFirewallRuleWithAccountParameters(name, properties, ) - OpenAPI.validate_property(UpdateFirewallRuleWithAccountParameters, Symbol("name"), name) - OpenAPI.validate_property(UpdateFirewallRuleWithAccountParameters, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateFirewallRuleWithAccountParameters const _property_types_UpdateFirewallRuleWithAccountParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"UpdateFirewallRuleProperties", ) OpenAPI.property_type(::Type{ UpdateFirewallRuleWithAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateFirewallRuleWithAccountParameters[name]))} -function check_required(o::UpdateFirewallRuleWithAccountParameters) +function OpenAPI.check_required(o::UpdateFirewallRuleWithAccountParameters) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::UpdateFirewallRuleWithAccountParameters) + OpenAPI.validate_property(UpdateFirewallRuleWithAccountParameters, Symbol("name"), o.name) + OpenAPI.validate_property(UpdateFirewallRuleWithAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateFirewallRuleWithAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateKeyVaultMetaInfo.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateKeyVaultMetaInfo.jl index a279f7d..c8266cd 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateKeyVaultMetaInfo.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateKeyVaultMetaInfo.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateKeyVaultMetaInfo <: OpenAPI.APIModel encryptionKeyVersion::Union{Nothing, String} = nothing function UpdateKeyVaultMetaInfo(encryptionKeyVersion, ) - OpenAPI.validate_property(UpdateKeyVaultMetaInfo, Symbol("encryptionKeyVersion"), encryptionKeyVersion) - return new(encryptionKeyVersion, ) + o = new(encryptionKeyVersion, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateKeyVaultMetaInfo const _property_types_UpdateKeyVaultMetaInfo = Dict{Symbol,String}(Symbol("encryptionKeyVersion")=>"String", ) OpenAPI.property_type(::Type{ UpdateKeyVaultMetaInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateKeyVaultMetaInfo[name]))} -function check_required(o::UpdateKeyVaultMetaInfo) +function OpenAPI.check_required(o::UpdateKeyVaultMetaInfo) true end +function OpenAPI.validate_properties(o::UpdateKeyVaultMetaInfo) + OpenAPI.validate_property(UpdateKeyVaultMetaInfo, Symbol("encryptionKeyVersion"), o.encryptionKeyVersion) +end + function OpenAPI.validate_property(::Type{ UpdateKeyVaultMetaInfo }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderParameters.jl index 3f2ad31..2e42d50 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateTrustedIdProviderParameters <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, UpdateTrustedIdProviderProperties } function UpdateTrustedIdProviderParameters(properties, ) - OpenAPI.validate_property(UpdateTrustedIdProviderParameters, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateTrustedIdProviderParameters const _property_types_UpdateTrustedIdProviderParameters = Dict{Symbol,String}(Symbol("properties")=>"UpdateTrustedIdProviderProperties", ) OpenAPI.property_type(::Type{ UpdateTrustedIdProviderParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateTrustedIdProviderParameters[name]))} -function check_required(o::UpdateTrustedIdProviderParameters) +function OpenAPI.check_required(o::UpdateTrustedIdProviderParameters) true end +function OpenAPI.validate_properties(o::UpdateTrustedIdProviderParameters) + OpenAPI.validate_property(UpdateTrustedIdProviderParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateTrustedIdProviderParameters }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderProperties.jl index c4820f8..f5bbc05 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateTrustedIdProviderProperties <: OpenAPI.APIModel idProvider::Union{Nothing, String} = nothing function UpdateTrustedIdProviderProperties(idProvider, ) - OpenAPI.validate_property(UpdateTrustedIdProviderProperties, Symbol("idProvider"), idProvider) - return new(idProvider, ) + o = new(idProvider, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateTrustedIdProviderProperties const _property_types_UpdateTrustedIdProviderProperties = Dict{Symbol,String}(Symbol("idProvider")=>"String", ) OpenAPI.property_type(::Type{ UpdateTrustedIdProviderProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateTrustedIdProviderProperties[name]))} -function check_required(o::UpdateTrustedIdProviderProperties) +function OpenAPI.check_required(o::UpdateTrustedIdProviderProperties) true end +function OpenAPI.validate_properties(o::UpdateTrustedIdProviderProperties) + OpenAPI.validate_property(UpdateTrustedIdProviderProperties, Symbol("idProvider"), o.idProvider) +end + function OpenAPI.validate_property(::Type{ UpdateTrustedIdProviderProperties }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderWithAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderWithAccountParameters.jl index 5b3f9ad..bf76c0c 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderWithAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateTrustedIdProviderWithAccountParameters.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct UpdateTrustedIdProviderWithAccountParameters <: OpenA properties = nothing # spec type: Union{ Nothing, UpdateTrustedIdProviderProperties } function UpdateTrustedIdProviderWithAccountParameters(name, properties, ) - OpenAPI.validate_property(UpdateTrustedIdProviderWithAccountParameters, Symbol("name"), name) - OpenAPI.validate_property(UpdateTrustedIdProviderWithAccountParameters, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateTrustedIdProviderWithAccountParameters const _property_types_UpdateTrustedIdProviderWithAccountParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"UpdateTrustedIdProviderProperties", ) OpenAPI.property_type(::Type{ UpdateTrustedIdProviderWithAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateTrustedIdProviderWithAccountParameters[name]))} -function check_required(o::UpdateTrustedIdProviderWithAccountParameters) +function OpenAPI.check_required(o::UpdateTrustedIdProviderWithAccountParameters) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::UpdateTrustedIdProviderWithAccountParameters) + OpenAPI.validate_property(UpdateTrustedIdProviderWithAccountParameters, Symbol("name"), o.name) + OpenAPI.validate_property(UpdateTrustedIdProviderWithAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateTrustedIdProviderWithAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleParameters.jl index 4e73798..2f8c6f5 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateVirtualNetworkRuleParameters <: OpenAPI.APIMode properties = nothing # spec type: Union{ Nothing, UpdateVirtualNetworkRuleProperties } function UpdateVirtualNetworkRuleParameters(properties, ) - OpenAPI.validate_property(UpdateVirtualNetworkRuleParameters, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateVirtualNetworkRuleParameters const _property_types_UpdateVirtualNetworkRuleParameters = Dict{Symbol,String}(Symbol("properties")=>"UpdateVirtualNetworkRuleProperties", ) OpenAPI.property_type(::Type{ UpdateVirtualNetworkRuleParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateVirtualNetworkRuleParameters[name]))} -function check_required(o::UpdateVirtualNetworkRuleParameters) +function OpenAPI.check_required(o::UpdateVirtualNetworkRuleParameters) true end +function OpenAPI.validate_properties(o::UpdateVirtualNetworkRuleParameters) + OpenAPI.validate_property(UpdateVirtualNetworkRuleParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateVirtualNetworkRuleParameters }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleProperties.jl index 0b1678e..7a81ec3 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UpdateVirtualNetworkRuleProperties <: OpenAPI.APIMode subnetId::Union{Nothing, String} = nothing function UpdateVirtualNetworkRuleProperties(subnetId, ) - OpenAPI.validate_property(UpdateVirtualNetworkRuleProperties, Symbol("subnetId"), subnetId) - return new(subnetId, ) + o = new(subnetId, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateVirtualNetworkRuleProperties const _property_types_UpdateVirtualNetworkRuleProperties = Dict{Symbol,String}(Symbol("subnetId")=>"String", ) OpenAPI.property_type(::Type{ UpdateVirtualNetworkRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateVirtualNetworkRuleProperties[name]))} -function check_required(o::UpdateVirtualNetworkRuleProperties) +function OpenAPI.check_required(o::UpdateVirtualNetworkRuleProperties) true end +function OpenAPI.validate_properties(o::UpdateVirtualNetworkRuleProperties) + OpenAPI.validate_property(UpdateVirtualNetworkRuleProperties, Symbol("subnetId"), o.subnetId) +end + function OpenAPI.validate_property(::Type{ UpdateVirtualNetworkRuleProperties }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleWithAccountParameters.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleWithAccountParameters.jl index 4ed84f3..97ba0e0 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleWithAccountParameters.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UpdateVirtualNetworkRuleWithAccountParameters.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct UpdateVirtualNetworkRuleWithAccountParameters <: Open properties = nothing # spec type: Union{ Nothing, UpdateVirtualNetworkRuleProperties } function UpdateVirtualNetworkRuleWithAccountParameters(name, properties, ) - OpenAPI.validate_property(UpdateVirtualNetworkRuleWithAccountParameters, Symbol("name"), name) - OpenAPI.validate_property(UpdateVirtualNetworkRuleWithAccountParameters, Symbol("properties"), properties) - return new(name, properties, ) + o = new(name, properties, ) + OpenAPI.validate_properties(o) + return o end end # type UpdateVirtualNetworkRuleWithAccountParameters const _property_types_UpdateVirtualNetworkRuleWithAccountParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"UpdateVirtualNetworkRuleProperties", ) OpenAPI.property_type(::Type{ UpdateVirtualNetworkRuleWithAccountParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UpdateVirtualNetworkRuleWithAccountParameters[name]))} -function check_required(o::UpdateVirtualNetworkRuleWithAccountParameters) +function OpenAPI.check_required(o::UpdateVirtualNetworkRuleWithAccountParameters) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::UpdateVirtualNetworkRuleWithAccountParameters) + OpenAPI.validate_property(UpdateVirtualNetworkRuleWithAccountParameters, Symbol("name"), o.name) + OpenAPI.validate_property(UpdateVirtualNetworkRuleWithAccountParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ UpdateVirtualNetworkRuleWithAccountParameters }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Usage.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Usage.jl index 471ed1a..4e8d901 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Usage.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_Usage.jl @@ -27,30 +27,41 @@ Base.@kwdef mutable struct Usage <: OpenAPI.APIModel name = nothing # spec type: Union{ Nothing, UsageName } function Usage(unit, id, currentValue, limit, name, ) - OpenAPI.validate_property(Usage, Symbol("unit"), unit) - OpenAPI.validate_property(Usage, Symbol("id"), id) - OpenAPI.validate_property(Usage, Symbol("currentValue"), currentValue) - OpenAPI.validate_property(Usage, Symbol("limit"), limit) - OpenAPI.validate_property(Usage, Symbol("name"), name) - return new(unit, id, currentValue, limit, name, ) + o = new(unit, id, currentValue, limit, name, ) + OpenAPI.validate_properties(o) + return o end end # type Usage const _property_types_Usage = Dict{Symbol,String}(Symbol("unit")=>"String", Symbol("id")=>"String", Symbol("currentValue")=>"Int64", Symbol("limit")=>"Int64", Symbol("name")=>"UsageName", ) OpenAPI.property_type(::Type{ Usage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Usage[name]))} -function check_required(o::Usage) +function OpenAPI.check_required(o::Usage) true end +function OpenAPI.validate_properties(o::Usage) + OpenAPI.validate_property(Usage, Symbol("unit"), o.unit) + OpenAPI.validate_property(Usage, Symbol("id"), o.id) + OpenAPI.validate_property(Usage, Symbol("currentValue"), o.currentValue) + OpenAPI.validate_property(Usage, Symbol("limit"), o.limit) + OpenAPI.validate_property(Usage, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ Usage }, name::Symbol, val) + if name === Symbol("unit") OpenAPI.validate_param(name, "Usage", :enum, val, ["Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", "BytesPerSecond"]) end + + + if name === Symbol("currentValue") OpenAPI.validate_param(name, "Usage", :format, val, "int32") end + if name === Symbol("limit") OpenAPI.validate_param(name, "Usage", :format, val, "int32") end + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageListResult.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageListResult.jl index ddad8ac..a6fa9fd 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageListResult.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UsageListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Usage} } function UsageListResult(value, ) - OpenAPI.validate_property(UsageListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type UsageListResult const _property_types_UsageListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Usage}", ) OpenAPI.property_type(::Type{ UsageListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageListResult[name]))} -function check_required(o::UsageListResult) +function OpenAPI.check_required(o::UsageListResult) true end +function OpenAPI.validate_properties(o::UsageListResult) + OpenAPI.validate_property(UsageListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ UsageListResult }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageName.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageName.jl index 7c460a8..ad24c42 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageName.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_UsageName.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UsageName <: OpenAPI.APIModel localizedValue::Union{Nothing, String} = nothing function UsageName(value, localizedValue, ) - OpenAPI.validate_property(UsageName, Symbol("value"), value) - OpenAPI.validate_property(UsageName, Symbol("localizedValue"), localizedValue) - return new(value, localizedValue, ) + o = new(value, localizedValue, ) + OpenAPI.validate_properties(o) + return o end end # type UsageName const _property_types_UsageName = Dict{Symbol,String}(Symbol("value")=>"String", Symbol("localizedValue")=>"String", ) OpenAPI.property_type(::Type{ UsageName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageName[name]))} -function check_required(o::UsageName) +function OpenAPI.check_required(o::UsageName) true end +function OpenAPI.validate_properties(o::UsageName) + OpenAPI.validate_property(UsageName, Symbol("value"), o.value) + OpenAPI.validate_property(UsageName, Symbol("localizedValue"), o.localizedValue) +end + function OpenAPI.validate_property(::Type{ UsageName }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRule.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRule.jl index f1e33e3..b5ae381 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRule.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRule.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct VirtualNetworkRule <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function VirtualNetworkRule(properties, id, name, type, ) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkRule const _property_types_VirtualNetworkRule = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkRuleProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkRule[name]))} -function check_required(o::VirtualNetworkRule) +function OpenAPI.check_required(o::VirtualNetworkRule) true end +function OpenAPI.validate_properties(o::VirtualNetworkRule) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkRule }, name::Symbol, val) + + + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleListResult.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleListResult.jl index ac2b773..2b579f1 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleListResult.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkRuleListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualNetworkRuleListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkRuleListResult const _property_types_VirtualNetworkRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkRuleListResult[name]))} -function check_required(o::VirtualNetworkRuleListResult) +function OpenAPI.check_required(o::VirtualNetworkRuleListResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkRuleListResult) + OpenAPI.validate_property(VirtualNetworkRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkRuleListResult }, name::Symbol, val) + + end diff --git a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleProperties.jl b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleProperties.jl index a67627e..a246ab0 100644 --- a/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleProperties.jl +++ b/src/DataLakeStore/DataLakeStoreAccountManagementClient/src/models/model_VirtualNetworkRuleProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VirtualNetworkRuleProperties <: OpenAPI.APIModel subnetId::Union{Nothing, String} = nothing function VirtualNetworkRuleProperties(subnetId, ) - OpenAPI.validate_property(VirtualNetworkRuleProperties, Symbol("subnetId"), subnetId) - return new(subnetId, ) + o = new(subnetId, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkRuleProperties const _property_types_VirtualNetworkRuleProperties = Dict{Symbol,String}(Symbol("subnetId")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkRuleProperties[name]))} -function check_required(o::VirtualNetworkRuleProperties) +function OpenAPI.check_required(o::VirtualNetworkRuleProperties) true end +function OpenAPI.validate_properties(o::VirtualNetworkRuleProperties) + OpenAPI.validate_property(VirtualNetworkRuleProperties, Symbol("subnetId"), o.subnetId) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkRuleProperties }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/.openapi-generator/VERSION b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/.openapi-generator/VERSION +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/README.md b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/README.md index 3829253..0ffa188 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/README.md +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/README.md @@ -6,6 +6,7 @@ Creates an Azure Data Lake Store filesystem client. This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 2016-11-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -50,8 +51,9 @@ Class | Method - [FileStatusesResult](docs/FileStatusesResult.md) + ## Authorization - Endpoints do not require authorization. +Endpoints do not require authorization. ## Author diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/docs/FileSystemApi.md b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/docs/FileSystemApi.md index 3d00fa7..5e98ac4 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/docs/FileSystemApi.md +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/docs/FileSystemApi.md @@ -22,10 +22,10 @@ Checks if the specified access is available at the given path. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FileSystemApi** | API context | -**path** | **String**| The Data Lake Store path (starting with '/') of the file or directory for which to check access. | [default to nothing] -**fsaction** | **String**| File system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}' | [default to nothing] -**op** | **String**| The constant value for the operation. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**path** | **String** | The Data Lake Store path (starting with '/') of the file or directory for which to check access. | +**fsaction** | **String** | File system operation read/write/execute in string form, matching regex pattern '[rwx-]{3}' | +**op** | **String** | The constant value for the operation. | +**api_version** | **String** | Client Api Version. | ### Return type @@ -55,18 +55,18 @@ Appends to the specified file, optionally first creating the file if it does not Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FileSystemApi** | API context | -**path** | **String**| The Data Lake Store path (starting with '/') of the file to which to append using concurrent append. | [default to nothing] -**op** | **String**| The constant value for the operation. | [default to nothing] -**transfer_encoding** | **String**| Indicates the data being sent to the server is being streamed in chunks. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] -**stream_contents** | **Any**| The file contents to include when appending to the file. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. | +**path** | **String** | The Data Lake Store path (starting with '/') of the file to which to append using concurrent append. | +**op** | **String** | The constant value for the operation. | +**transfer_encoding** | **String** | Indicates the data being sent to the server is being streamed in chunks. | +**api_version** | **String** | Client Api Version. | +**stream_contents** | **Any** | The file contents to include when appending to the file. The maximum content size is 4MB. For content larger than 4MB you must append the content in 4MB chunks. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **append_mode** | **String**| Indicates the concurrent append call should create the file if it doesn't exist or just open the existing file for append | [default to nothing] - **sync_flag** | **String**| Optionally indicates what to do after completion of the concurrent append. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated. | [default to DATA] + **append_mode** | **String** | Indicates the concurrent append call should create the file if it doesn't exist or just open the existing file for append | [default to nothing] + **sync_flag** | **String** | Optionally indicates what to do after completion of the concurrent append. DATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata (including file length, last modified time) should NOT get updated. METADATA indicates that more data will be sent immediately by the client, the file handle should remain open/locked, and file metadata should get updated. CLOSE indicates that the client is done sending data, the file handle should be closed/unlocked, and file metadata should get updated. | [default to "DATA"] ### Return type @@ -96,16 +96,16 @@ Sets or removes the expiration time on the specified file. This operation can on Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FileSystemApi** | API context | -**path** | **String**| The Data Lake Store path (starting with '/') of the file on which to set or remove the expiration time. | [default to nothing] -**expiry_option** | **String**| Indicates the type of expiration to use for the file: 1. NeverExpire: ExpireTime is ignored. 2. RelativeToNow: ExpireTime is an integer in milliseconds representing the expiration date relative to when file expiration is updated. 3. RelativeToCreationDate: ExpireTime is an integer in milliseconds representing the expiration date relative to file creation. 4. Absolute: ExpireTime is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00. | [default to nothing] -**op** | **String**| The constant value for the operation. | [default to nothing] -**api_version** | **String**| Client Api Version. | [default to nothing] +**path** | **String** | The Data Lake Store path (starting with '/') of the file on which to set or remove the expiration time. | +**expiry_option** | **String** | Indicates the type of expiration to use for the file: 1. NeverExpire: ExpireTime is ignored. 2. RelativeToNow: ExpireTime is an integer in milliseconds representing the expiration date relative to when file expiration is updated. 3. RelativeToCreationDate: ExpireTime is an integer in milliseconds representing the expiration date relative to file creation. 4. Absolute: ExpireTime is an integer in milliseconds, as a Unix timestamp relative to 1/1/1970 00:00:00. | +**op** | **String** | The constant value for the operation. | +**api_version** | **String** | Client Api Version. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expire_time** | **Int64**| The time that the file will expire, corresponding to the ExpiryOption that was set. | [default to nothing] + **expire_time** | **Int64** | The time that the file will expire, corresponding to the ExpiryOption that was set. | [default to nothing] ### Return type diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/apis/api_FileSystemApi.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/apis/api_FileSystemApi.jl index fed9861..81dc67f 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/apis/api_FileSystemApi.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/apis/api_FileSystemApi.jl @@ -19,9 +19,9 @@ const _returntypes_file_system_check_access_FileSystemApi = Dict{Regex,Type}( function _oacinternal_file_system_check_access(_api::FileSystemApi, path::String, fsaction::String, op::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_file_system_check_access_FileSystemApi, "/webhdfs/v1/{path}", []) OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String - OpenAPI.Clients.set_param(_ctx.query, "fsaction", fsaction) # type String - OpenAPI.Clients.set_param(_ctx.query, "op", op) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "fsaction", fsaction; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "op", op; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -55,10 +55,10 @@ const _returntypes_file_system_concurrent_append_FileSystemApi = Dict{Regex,Type function _oacinternal_file_system_concurrent_append(_api::FileSystemApi, path::String, op::String, transfer_encoding::String, api_version::String, stream_contents::Any; append_mode=nothing, sync_flag=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_file_system_concurrent_append_FileSystemApi, "/WebHdfsExt/{path}", [], stream_contents) OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String - OpenAPI.Clients.set_param(_ctx.query, "appendMode", append_mode) # type String - OpenAPI.Clients.set_param(_ctx.query, "op", op) # type String - OpenAPI.Clients.set_param(_ctx.query, "syncFlag", sync_flag) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "appendMode", append_mode; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "op", op; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "syncFlag", sync_flag; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_param(_ctx.header, "Transfer-Encoding", transfer_encoding) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/octet-stream", ] : [_mediaType]) @@ -96,10 +96,10 @@ const _returntypes_file_system_set_file_expiry_FileSystemApi = Dict{Regex,Type}( function _oacinternal_file_system_set_file_expiry(_api::FileSystemApi, path::String, expiry_option::String, op::String, api_version::String; expire_time=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_file_system_set_file_expiry_FileSystemApi, "/WebHdfsExt/{path}", []) OpenAPI.Clients.set_param(_ctx.path, "path", path) # type String - OpenAPI.Clients.set_param(_ctx.query, "expiryOption", expiry_option) # type String - OpenAPI.Clients.set_param(_ctx.query, "expireTime", expire_time) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "op", op) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "expiryOption", expiry_option; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "expireTime", expire_time; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "op", op; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatus.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatus.jl index 4db49d7..44113bc 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatus.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatus.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct AclStatus <: OpenAPI.APIModel stickyBit::Union{Nothing, Bool} = nothing function AclStatus(entries, group, owner, permission, stickyBit, ) - OpenAPI.validate_property(AclStatus, Symbol("entries"), entries) - OpenAPI.validate_property(AclStatus, Symbol("group"), group) - OpenAPI.validate_property(AclStatus, Symbol("owner"), owner) - OpenAPI.validate_property(AclStatus, Symbol("permission"), permission) - OpenAPI.validate_property(AclStatus, Symbol("stickyBit"), stickyBit) - return new(entries, group, owner, permission, stickyBit, ) + o = new(entries, group, owner, permission, stickyBit, ) + OpenAPI.validate_properties(o) + return o end end # type AclStatus const _property_types_AclStatus = Dict{Symbol,String}(Symbol("entries")=>"Vector{String}", Symbol("group")=>"String", Symbol("owner")=>"String", Symbol("permission")=>"String", Symbol("stickyBit")=>"Bool", ) OpenAPI.property_type(::Type{ AclStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AclStatus[name]))} -function check_required(o::AclStatus) +function OpenAPI.check_required(o::AclStatus) true end +function OpenAPI.validate_properties(o::AclStatus) + OpenAPI.validate_property(AclStatus, Symbol("entries"), o.entries) + OpenAPI.validate_property(AclStatus, Symbol("group"), o.group) + OpenAPI.validate_property(AclStatus, Symbol("owner"), o.owner) + OpenAPI.validate_property(AclStatus, Symbol("permission"), o.permission) + OpenAPI.validate_property(AclStatus, Symbol("stickyBit"), o.stickyBit) +end + function OpenAPI.validate_property(::Type{ AclStatus }, name::Symbol, val) + + + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatusResult.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatusResult.jl index 13909db..ac78dfb 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatusResult.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AclStatusResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct AclStatusResult <: OpenAPI.APIModel aclStatus = nothing # spec type: Union{ Nothing, AclStatus } function AclStatusResult(aclStatus, ) - OpenAPI.validate_property(AclStatusResult, Symbol("aclStatus"), aclStatus) - return new(aclStatus, ) + o = new(aclStatus, ) + OpenAPI.validate_properties(o) + return o end end # type AclStatusResult const _property_types_AclStatusResult = Dict{Symbol,String}(Symbol("aclStatus")=>"AclStatus", ) OpenAPI.property_type(::Type{ AclStatusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AclStatusResult[name]))} -function check_required(o::AclStatusResult) +function OpenAPI.check_required(o::AclStatusResult) true end +function OpenAPI.validate_properties(o::AclStatusResult) + OpenAPI.validate_property(AclStatusResult, Symbol("aclStatus"), o.aclStatus) +end + function OpenAPI.validate_property(::Type{ AclStatusResult }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsAccessControlException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsAccessControlException.jl index 072a9c9..4aa5e64 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsAccessControlException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsAccessControlException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsAccessControlException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsAccessControlException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsAccessControlException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsAccessControlException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsAccessControlException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsAccessControlException const _property_types_AdlsAccessControlException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsAccessControlException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsAccessControlException[name]))} -function check_required(o::AdlsAccessControlException) +function OpenAPI.check_required(o::AdlsAccessControlException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsAccessControlException) + OpenAPI.validate_property(AdlsAccessControlException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsAccessControlException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsAccessControlException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsAccessControlException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsBadOffsetException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsBadOffsetException.jl index f8c6c66..d7aa578 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsBadOffsetException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsBadOffsetException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsBadOffsetException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsBadOffsetException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsBadOffsetException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsBadOffsetException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsBadOffsetException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsBadOffsetException const _property_types_AdlsBadOffsetException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsBadOffsetException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsBadOffsetException[name]))} -function check_required(o::AdlsBadOffsetException) +function OpenAPI.check_required(o::AdlsBadOffsetException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsBadOffsetException) + OpenAPI.validate_property(AdlsBadOffsetException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsBadOffsetException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsBadOffsetException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsBadOffsetException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsError.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsError.jl index ea842ea..2503eeb 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsError.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct AdlsError <: OpenAPI.APIModel remoteException = nothing # spec type: Union{ Nothing, AdlsRemoteException } function AdlsError(remoteException, ) - OpenAPI.validate_property(AdlsError, Symbol("remoteException"), remoteException) - return new(remoteException, ) + o = new(remoteException, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsError const _property_types_AdlsError = Dict{Symbol,String}(Symbol("remoteException")=>"AdlsRemoteException", ) OpenAPI.property_type(::Type{ AdlsError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsError[name]))} -function check_required(o::AdlsError) +function OpenAPI.check_required(o::AdlsError) true end +function OpenAPI.validate_properties(o::AdlsError) + OpenAPI.validate_property(AdlsError, Symbol("remoteException"), o.remoteException) +end + function OpenAPI.validate_property(::Type{ AdlsError }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileAlreadyExistsException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileAlreadyExistsException.jl index 3a7f537..001fe36 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileAlreadyExistsException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileAlreadyExistsException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsFileAlreadyExistsException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsFileAlreadyExistsException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsFileAlreadyExistsException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsFileAlreadyExistsException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsFileAlreadyExistsException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsFileAlreadyExistsException const _property_types_AdlsFileAlreadyExistsException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsFileAlreadyExistsException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsFileAlreadyExistsException[name]))} -function check_required(o::AdlsFileAlreadyExistsException) +function OpenAPI.check_required(o::AdlsFileAlreadyExistsException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsFileAlreadyExistsException) + OpenAPI.validate_property(AdlsFileAlreadyExistsException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsFileAlreadyExistsException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsFileAlreadyExistsException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsFileAlreadyExistsException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileNotFoundException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileNotFoundException.jl index 9bb2961..f05cfcd 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileNotFoundException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsFileNotFoundException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsFileNotFoundException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsFileNotFoundException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsFileNotFoundException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsFileNotFoundException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsFileNotFoundException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsFileNotFoundException const _property_types_AdlsFileNotFoundException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsFileNotFoundException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsFileNotFoundException[name]))} -function check_required(o::AdlsFileNotFoundException) +function OpenAPI.check_required(o::AdlsFileNotFoundException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsFileNotFoundException) + OpenAPI.validate_property(AdlsFileNotFoundException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsFileNotFoundException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsFileNotFoundException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsFileNotFoundException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIOException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIOException.jl index b8623ea..e590ad7 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIOException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIOException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsIOException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsIOException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsIOException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsIOException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsIOException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsIOException const _property_types_AdlsIOException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsIOException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsIOException[name]))} -function check_required(o::AdlsIOException) +function OpenAPI.check_required(o::AdlsIOException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsIOException) + OpenAPI.validate_property(AdlsIOException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsIOException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsIOException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsIOException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIllegalArgumentException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIllegalArgumentException.jl index fc2d9d7..4b91831 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIllegalArgumentException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsIllegalArgumentException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsIllegalArgumentException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsIllegalArgumentException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsIllegalArgumentException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsIllegalArgumentException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsIllegalArgumentException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsIllegalArgumentException const _property_types_AdlsIllegalArgumentException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsIllegalArgumentException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsIllegalArgumentException[name]))} -function check_required(o::AdlsIllegalArgumentException) +function OpenAPI.check_required(o::AdlsIllegalArgumentException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsIllegalArgumentException) + OpenAPI.validate_property(AdlsIllegalArgumentException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsIllegalArgumentException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsIllegalArgumentException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsIllegalArgumentException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRemoteException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRemoteException.jl index d54c19d..b9863d3 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRemoteException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRemoteException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsRemoteException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsRemoteException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsRemoteException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsRemoteException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsRemoteException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsRemoteException const _property_types_AdlsRemoteException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsRemoteException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsRemoteException[name]))} -function check_required(o::AdlsRemoteException) +function OpenAPI.check_required(o::AdlsRemoteException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsRemoteException) + OpenAPI.validate_property(AdlsRemoteException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsRemoteException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsRemoteException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsRemoteException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRuntimeException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRuntimeException.jl index bffd328..5b212d6 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRuntimeException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsRuntimeException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsRuntimeException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsRuntimeException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsRuntimeException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsRuntimeException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsRuntimeException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsRuntimeException const _property_types_AdlsRuntimeException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsRuntimeException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsRuntimeException[name]))} -function check_required(o::AdlsRuntimeException) +function OpenAPI.check_required(o::AdlsRuntimeException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsRuntimeException) + OpenAPI.validate_property(AdlsRuntimeException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsRuntimeException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsRuntimeException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsRuntimeException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsSecurityException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsSecurityException.jl index c33858f..485d158 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsSecurityException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsSecurityException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsSecurityException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsSecurityException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsSecurityException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsSecurityException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsSecurityException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsSecurityException const _property_types_AdlsSecurityException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsSecurityException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsSecurityException[name]))} -function check_required(o::AdlsSecurityException) +function OpenAPI.check_required(o::AdlsSecurityException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsSecurityException) + OpenAPI.validate_property(AdlsSecurityException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsSecurityException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsSecurityException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsSecurityException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsThrottledException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsThrottledException.jl index 5fc2fad..390440f 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsThrottledException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsThrottledException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsThrottledException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsThrottledException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsThrottledException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsThrottledException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsThrottledException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsThrottledException const _property_types_AdlsThrottledException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsThrottledException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsThrottledException[name]))} -function check_required(o::AdlsThrottledException) +function OpenAPI.check_required(o::AdlsThrottledException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsThrottledException) + OpenAPI.validate_property(AdlsThrottledException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsThrottledException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsThrottledException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsThrottledException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsUnsupportedOperationException.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsUnsupportedOperationException.jl index d08b44d..1a6e17b 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsUnsupportedOperationException.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_AdlsUnsupportedOperationException.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AdlsUnsupportedOperationException <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function AdlsUnsupportedOperationException(exception, javaClassName, message, ) - OpenAPI.validate_property(AdlsUnsupportedOperationException, Symbol("exception"), exception) - OpenAPI.validate_property(AdlsUnsupportedOperationException, Symbol("javaClassName"), javaClassName) - OpenAPI.validate_property(AdlsUnsupportedOperationException, Symbol("message"), message) - return new(exception, javaClassName, message, ) + o = new(exception, javaClassName, message, ) + OpenAPI.validate_properties(o) + return o end end # type AdlsUnsupportedOperationException const _property_types_AdlsUnsupportedOperationException = Dict{Symbol,String}(Symbol("exception")=>"String", Symbol("javaClassName")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ AdlsUnsupportedOperationException }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdlsUnsupportedOperationException[name]))} -function check_required(o::AdlsUnsupportedOperationException) +function OpenAPI.check_required(o::AdlsUnsupportedOperationException) o.exception === nothing && (return false) true end +function OpenAPI.validate_properties(o::AdlsUnsupportedOperationException) + OpenAPI.validate_property(AdlsUnsupportedOperationException, Symbol("exception"), o.exception) + OpenAPI.validate_property(AdlsUnsupportedOperationException, Symbol("javaClassName"), o.javaClassName) + OpenAPI.validate_property(AdlsUnsupportedOperationException, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ AdlsUnsupportedOperationException }, name::Symbol, val) + + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummary.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummary.jl index 0724a8b..6ede8f6 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummary.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummary.jl @@ -24,31 +24,40 @@ Base.@kwdef mutable struct ContentSummary <: OpenAPI.APIModel spaceConsumed::Union{Nothing, Int64} = nothing function ContentSummary(directoryCount, fileCount, length, spaceConsumed, ) - OpenAPI.validate_property(ContentSummary, Symbol("directoryCount"), directoryCount) - OpenAPI.validate_property(ContentSummary, Symbol("fileCount"), fileCount) - OpenAPI.validate_property(ContentSummary, Symbol("length"), length) - OpenAPI.validate_property(ContentSummary, Symbol("spaceConsumed"), spaceConsumed) - return new(directoryCount, fileCount, length, spaceConsumed, ) + o = new(directoryCount, fileCount, length, spaceConsumed, ) + OpenAPI.validate_properties(o) + return o end end # type ContentSummary const _property_types_ContentSummary = Dict{Symbol,String}(Symbol("directoryCount")=>"Int64", Symbol("fileCount")=>"Int64", Symbol("length")=>"Int64", Symbol("spaceConsumed")=>"Int64", ) OpenAPI.property_type(::Type{ ContentSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContentSummary[name]))} -function check_required(o::ContentSummary) +function OpenAPI.check_required(o::ContentSummary) true end +function OpenAPI.validate_properties(o::ContentSummary) + OpenAPI.validate_property(ContentSummary, Symbol("directoryCount"), o.directoryCount) + OpenAPI.validate_property(ContentSummary, Symbol("fileCount"), o.fileCount) + OpenAPI.validate_property(ContentSummary, Symbol("length"), o.length) + OpenAPI.validate_property(ContentSummary, Symbol("spaceConsumed"), o.spaceConsumed) +end + function OpenAPI.validate_property(::Type{ ContentSummary }, name::Symbol, val) + if name === Symbol("directoryCount") OpenAPI.validate_param(name, "ContentSummary", :format, val, "int64") end + if name === Symbol("fileCount") OpenAPI.validate_param(name, "ContentSummary", :format, val, "int64") end + if name === Symbol("length") OpenAPI.validate_param(name, "ContentSummary", :format, val, "int64") end + if name === Symbol("spaceConsumed") OpenAPI.validate_param(name, "ContentSummary", :format, val, "int64") end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummaryResult.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummaryResult.jl index f7ca647..75421fd 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummaryResult.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_ContentSummaryResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ContentSummaryResult <: OpenAPI.APIModel contentSummary = nothing # spec type: Union{ Nothing, ContentSummary } function ContentSummaryResult(contentSummary, ) - OpenAPI.validate_property(ContentSummaryResult, Symbol("contentSummary"), contentSummary) - return new(contentSummary, ) + o = new(contentSummary, ) + OpenAPI.validate_properties(o) + return o end end # type ContentSummaryResult const _property_types_ContentSummaryResult = Dict{Symbol,String}(Symbol("contentSummary")=>"ContentSummary", ) OpenAPI.property_type(::Type{ ContentSummaryResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ContentSummaryResult[name]))} -function check_required(o::ContentSummaryResult) +function OpenAPI.check_required(o::ContentSummaryResult) true end +function OpenAPI.validate_properties(o::ContentSummaryResult) + OpenAPI.validate_property(ContentSummaryResult, Symbol("contentSummary"), o.contentSummary) +end + function OpenAPI.validate_property(::Type{ ContentSummaryResult }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileOperationResult.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileOperationResult.jl index e2b0cc3..b8528d3 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileOperationResult.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileOperationResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct FileOperationResult <: OpenAPI.APIModel boolean::Union{Nothing, Bool} = nothing function FileOperationResult(boolean, ) - OpenAPI.validate_property(FileOperationResult, Symbol("boolean"), boolean) - return new(boolean, ) + o = new(boolean, ) + OpenAPI.validate_properties(o) + return o end end # type FileOperationResult const _property_types_FileOperationResult = Dict{Symbol,String}(Symbol("boolean")=>"Bool", ) OpenAPI.property_type(::Type{ FileOperationResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FileOperationResult[name]))} -function check_required(o::FileOperationResult) +function OpenAPI.check_required(o::FileOperationResult) true end +function OpenAPI.validate_properties(o::FileOperationResult) + OpenAPI.validate_property(FileOperationResult, Symbol("boolean"), o.boolean) +end + function OpenAPI.validate_property(::Type{ FileOperationResult }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusProperties.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusProperties.jl index 823174c..16f59b6 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusProperties.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusProperties.jl @@ -45,45 +45,62 @@ Base.@kwdef mutable struct FileStatusProperties <: OpenAPI.APIModel aclBit::Union{Nothing, Bool} = nothing function FileStatusProperties(accessTime, blockSize, msExpirationTime, group, length, modificationTime, owner, pathSuffix, permission, type, aclBit, ) - OpenAPI.validate_property(FileStatusProperties, Symbol("accessTime"), accessTime) - OpenAPI.validate_property(FileStatusProperties, Symbol("blockSize"), blockSize) - OpenAPI.validate_property(FileStatusProperties, Symbol("msExpirationTime"), msExpirationTime) - OpenAPI.validate_property(FileStatusProperties, Symbol("group"), group) - OpenAPI.validate_property(FileStatusProperties, Symbol("length"), length) - OpenAPI.validate_property(FileStatusProperties, Symbol("modificationTime"), modificationTime) - OpenAPI.validate_property(FileStatusProperties, Symbol("owner"), owner) - OpenAPI.validate_property(FileStatusProperties, Symbol("pathSuffix"), pathSuffix) - OpenAPI.validate_property(FileStatusProperties, Symbol("permission"), permission) - OpenAPI.validate_property(FileStatusProperties, Symbol("type"), type) - OpenAPI.validate_property(FileStatusProperties, Symbol("aclBit"), aclBit) - return new(accessTime, blockSize, msExpirationTime, group, length, modificationTime, owner, pathSuffix, permission, type, aclBit, ) + o = new(accessTime, blockSize, msExpirationTime, group, length, modificationTime, owner, pathSuffix, permission, type, aclBit, ) + OpenAPI.validate_properties(o) + return o end end # type FileStatusProperties const _property_types_FileStatusProperties = Dict{Symbol,String}(Symbol("accessTime")=>"Int64", Symbol("blockSize")=>"Int64", Symbol("msExpirationTime")=>"Int64", Symbol("group")=>"String", Symbol("length")=>"Int64", Symbol("modificationTime")=>"Int64", Symbol("owner")=>"String", Symbol("pathSuffix")=>"String", Symbol("permission")=>"String", Symbol("type")=>"String", Symbol("aclBit")=>"Bool", ) OpenAPI.property_type(::Type{ FileStatusProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FileStatusProperties[name]))} -function check_required(o::FileStatusProperties) +function OpenAPI.check_required(o::FileStatusProperties) true end +function OpenAPI.validate_properties(o::FileStatusProperties) + OpenAPI.validate_property(FileStatusProperties, Symbol("accessTime"), o.accessTime) + OpenAPI.validate_property(FileStatusProperties, Symbol("blockSize"), o.blockSize) + OpenAPI.validate_property(FileStatusProperties, Symbol("msExpirationTime"), o.msExpirationTime) + OpenAPI.validate_property(FileStatusProperties, Symbol("group"), o.group) + OpenAPI.validate_property(FileStatusProperties, Symbol("length"), o.length) + OpenAPI.validate_property(FileStatusProperties, Symbol("modificationTime"), o.modificationTime) + OpenAPI.validate_property(FileStatusProperties, Symbol("owner"), o.owner) + OpenAPI.validate_property(FileStatusProperties, Symbol("pathSuffix"), o.pathSuffix) + OpenAPI.validate_property(FileStatusProperties, Symbol("permission"), o.permission) + OpenAPI.validate_property(FileStatusProperties, Symbol("type"), o.type) + OpenAPI.validate_property(FileStatusProperties, Symbol("aclBit"), o.aclBit) +end + function OpenAPI.validate_property(::Type{ FileStatusProperties }, name::Symbol, val) + if name === Symbol("accessTime") OpenAPI.validate_param(name, "FileStatusProperties", :format, val, "int64") end + if name === Symbol("blockSize") OpenAPI.validate_param(name, "FileStatusProperties", :format, val, "int64") end + if name === Symbol("msExpirationTime") OpenAPI.validate_param(name, "FileStatusProperties", :format, val, "int64") end + + if name === Symbol("length") OpenAPI.validate_param(name, "FileStatusProperties", :format, val, "int64") end + if name === Symbol("modificationTime") OpenAPI.validate_param(name, "FileStatusProperties", :format, val, "int64") end + + + + if name === Symbol("type") OpenAPI.validate_param(name, "FileStatusProperties", :enum, val, ["FILE", "DIRECTORY"]) end + + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusResult.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusResult.jl index 4ad384b..e733213 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusResult.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct FileStatusResult <: OpenAPI.APIModel fileStatus = nothing # spec type: Union{ Nothing, FileStatusProperties } function FileStatusResult(fileStatus, ) - OpenAPI.validate_property(FileStatusResult, Symbol("fileStatus"), fileStatus) - return new(fileStatus, ) + o = new(fileStatus, ) + OpenAPI.validate_properties(o) + return o end end # type FileStatusResult const _property_types_FileStatusResult = Dict{Symbol,String}(Symbol("fileStatus")=>"FileStatusProperties", ) OpenAPI.property_type(::Type{ FileStatusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FileStatusResult[name]))} -function check_required(o::FileStatusResult) +function OpenAPI.check_required(o::FileStatusResult) true end +function OpenAPI.validate_properties(o::FileStatusResult) + OpenAPI.validate_property(FileStatusResult, Symbol("fileStatus"), o.fileStatus) +end + function OpenAPI.validate_property(::Type{ FileStatusResult }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatuses.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatuses.jl index e34baae..56168e0 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatuses.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatuses.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct FileStatuses <: OpenAPI.APIModel fileStatus::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FileStatusProperties} } function FileStatuses(fileStatus, ) - OpenAPI.validate_property(FileStatuses, Symbol("fileStatus"), fileStatus) - return new(fileStatus, ) + o = new(fileStatus, ) + OpenAPI.validate_properties(o) + return o end end # type FileStatuses const _property_types_FileStatuses = Dict{Symbol,String}(Symbol("fileStatus")=>"Vector{FileStatusProperties}", ) OpenAPI.property_type(::Type{ FileStatuses }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FileStatuses[name]))} -function check_required(o::FileStatuses) +function OpenAPI.check_required(o::FileStatuses) true end +function OpenAPI.validate_properties(o::FileStatuses) + OpenAPI.validate_property(FileStatuses, Symbol("fileStatus"), o.fileStatus) +end + function OpenAPI.validate_property(::Type{ FileStatuses }, name::Symbol, val) + end diff --git a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusesResult.jl b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusesResult.jl index 1e2be91..963fed5 100644 --- a/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusesResult.jl +++ b/src/DataLakeStore/DataLakeStoreFileSystemManagementClient/src/models/model_FileStatusesResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct FileStatusesResult <: OpenAPI.APIModel fileStatuses = nothing # spec type: Union{ Nothing, FileStatuses } function FileStatusesResult(fileStatuses, ) - OpenAPI.validate_property(FileStatusesResult, Symbol("fileStatuses"), fileStatuses) - return new(fileStatuses, ) + o = new(fileStatuses, ) + OpenAPI.validate_properties(o) + return o end end # type FileStatusesResult const _property_types_FileStatusesResult = Dict{Symbol,String}(Symbol("fileStatuses")=>"FileStatuses", ) OpenAPI.property_type(::Type{ FileStatusesResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FileStatusesResult[name]))} -function check_required(o::FileStatusesResult) +function OpenAPI.check_required(o::FileStatusesResult) true end +function OpenAPI.validate_properties(o::FileStatusesResult) + OpenAPI.validate_property(FileStatusesResult, Symbol("fileStatuses"), o.fileStatuses) +end + function OpenAPI.validate_property(::Type{ FileStatusesResult }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/.openapi-generator/FILES b/src/Network/ApplicationGatewayClient/.openapi-generator/FILES index 3957f35..6e2ae3a 100644 --- a/src/Network/ApplicationGatewayClient/.openapi-generator/FILES +++ b/src/Network/ApplicationGatewayClient/.openapi-generator/FILES @@ -21,6 +21,9 @@ docs/ApplicationGatewayBackendHealthPool.md docs/ApplicationGatewayBackendHealthServer.md docs/ApplicationGatewayBackendHttpSettings.md docs/ApplicationGatewayBackendHttpSettingsPropertiesFormat.md +docs/ApplicationGatewayBackendSettings.md +docs/ApplicationGatewayBackendSettingsPropertiesFormat.md +docs/ApplicationGatewayClientAuthConfiguration.md docs/ApplicationGatewayConnectionDraining.md docs/ApplicationGatewayCustomError.md docs/ApplicationGatewayFirewallDisabledRuleGroup.md @@ -33,12 +36,22 @@ docs/ApplicationGatewayFrontendIPConfiguration.md docs/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.md docs/ApplicationGatewayFrontendPort.md docs/ApplicationGatewayFrontendPortPropertiesFormat.md +docs/ApplicationGatewayGlobalConfiguration.md docs/ApplicationGatewayHeaderConfiguration.md docs/ApplicationGatewayHttpListener.md docs/ApplicationGatewayHttpListenerPropertiesFormat.md docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfiguration2.md docs/ApplicationGatewayIPConfigurationPropertiesFormat.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat2.md docs/ApplicationGatewayListResult.md +docs/ApplicationGatewayListener.md +docs/ApplicationGatewayListenerPropertiesFormat.md +docs/ApplicationGatewayLoadDistributionAlgorithmEnum.md +docs/ApplicationGatewayLoadDistributionPolicy.md +docs/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.md +docs/ApplicationGatewayLoadDistributionTarget.md +docs/ApplicationGatewayLoadDistributionTargetPropertiesFormat.md docs/ApplicationGatewayOnDemandProbe.md docs/ApplicationGatewayPathRule.md docs/ApplicationGatewayPathRulePropertiesFormat.md @@ -68,12 +81,18 @@ docs/ApplicationGatewayRewriteRuleActionSet.md docs/ApplicationGatewayRewriteRuleCondition.md docs/ApplicationGatewayRewriteRuleSet.md docs/ApplicationGatewayRewriteRuleSetPropertiesFormat.md +docs/ApplicationGatewayRoutingRule.md +docs/ApplicationGatewayRoutingRulePropertiesFormat.md docs/ApplicationGatewaySku.md docs/ApplicationGatewaySslCertificate.md docs/ApplicationGatewaySslCertificatePropertiesFormat.md docs/ApplicationGatewaySslPolicy.md docs/ApplicationGatewaySslPredefinedPolicy.md docs/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.md +docs/ApplicationGatewaySslProfile.md +docs/ApplicationGatewaySslProfilePropertiesFormat.md +docs/ApplicationGatewayTrustedClientCertificate.md +docs/ApplicationGatewayTrustedClientCertificatePropertiesFormat.md docs/ApplicationGatewayTrustedRootCertificate.md docs/ApplicationGatewayTrustedRootCertificatePropertiesFormat.md docs/ApplicationGatewayUrlConfiguration.md @@ -93,11 +112,15 @@ docs/DdosSettings.md docs/Delegation.md docs/Error.md docs/ErrorDetails.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md +docs/HeaderValueMatcher.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfigurationProfile.md @@ -107,8 +130,16 @@ docs/IPVersion.md docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkInterface.md docs/NetworkInterfaceDnsSettings.md docs/NetworkInterfaceIPConfiguration.md @@ -121,10 +152,18 @@ docs/NetworkSecurityGroup.md docs/NetworkSecurityGroupPropertiesFormat.md docs/PolicyNameEnum.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/ProtocolsEnum.md docs/ProvisioningState.md docs/PublicIPAddress.md @@ -135,6 +174,7 @@ docs/RedirectTypeEnum.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -188,6 +228,9 @@ src/models/model_ApplicationGatewayBackendHealthPool.jl src/models/model_ApplicationGatewayBackendHealthServer.jl src/models/model_ApplicationGatewayBackendHttpSettings.jl src/models/model_ApplicationGatewayBackendHttpSettingsPropertiesFormat.jl +src/models/model_ApplicationGatewayBackendSettings.jl +src/models/model_ApplicationGatewayBackendSettingsPropertiesFormat.jl +src/models/model_ApplicationGatewayClientAuthConfiguration.jl src/models/model_ApplicationGatewayConnectionDraining.jl src/models/model_ApplicationGatewayCustomError.jl src/models/model_ApplicationGatewayFirewallDisabledRuleGroup.jl @@ -200,12 +243,22 @@ src/models/model_ApplicationGatewayFrontendIPConfiguration.jl src/models/model_ApplicationGatewayFrontendIPConfigurationPropertiesFormat.jl src/models/model_ApplicationGatewayFrontendPort.jl src/models/model_ApplicationGatewayFrontendPortPropertiesFormat.jl +src/models/model_ApplicationGatewayGlobalConfiguration.jl src/models/model_ApplicationGatewayHeaderConfiguration.jl src/models/model_ApplicationGatewayHttpListener.jl src/models/model_ApplicationGatewayHttpListenerPropertiesFormat.jl src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfiguration2.jl src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat2.jl src/models/model_ApplicationGatewayListResult.jl +src/models/model_ApplicationGatewayListener.jl +src/models/model_ApplicationGatewayListenerPropertiesFormat.jl +src/models/model_ApplicationGatewayLoadDistributionAlgorithmEnum.jl +src/models/model_ApplicationGatewayLoadDistributionPolicy.jl +src/models/model_ApplicationGatewayLoadDistributionPolicyPropertiesFormat.jl +src/models/model_ApplicationGatewayLoadDistributionTarget.jl +src/models/model_ApplicationGatewayLoadDistributionTargetPropertiesFormat.jl src/models/model_ApplicationGatewayOnDemandProbe.jl src/models/model_ApplicationGatewayPathRule.jl src/models/model_ApplicationGatewayPathRulePropertiesFormat.jl @@ -233,12 +286,18 @@ src/models/model_ApplicationGatewayRewriteRuleActionSet.jl src/models/model_ApplicationGatewayRewriteRuleCondition.jl src/models/model_ApplicationGatewayRewriteRuleSet.jl src/models/model_ApplicationGatewayRewriteRuleSetPropertiesFormat.jl +src/models/model_ApplicationGatewayRoutingRule.jl +src/models/model_ApplicationGatewayRoutingRulePropertiesFormat.jl src/models/model_ApplicationGatewaySku.jl src/models/model_ApplicationGatewaySslCertificate.jl src/models/model_ApplicationGatewaySslCertificatePropertiesFormat.jl src/models/model_ApplicationGatewaySslPolicy.jl src/models/model_ApplicationGatewaySslPredefinedPolicy.jl src/models/model_ApplicationGatewaySslPredefinedPolicyPropertiesFormat.jl +src/models/model_ApplicationGatewaySslProfile.jl +src/models/model_ApplicationGatewaySslProfilePropertiesFormat.jl +src/models/model_ApplicationGatewayTrustedClientCertificate.jl +src/models/model_ApplicationGatewayTrustedClientCertificatePropertiesFormat.jl src/models/model_ApplicationGatewayTrustedRootCertificate.jl src/models/model_ApplicationGatewayTrustedRootCertificatePropertiesFormat.jl src/models/model_ApplicationGatewayUrlConfiguration.jl @@ -257,11 +316,15 @@ src/models/model_DdosSettings.jl src/models/model_Delegation.jl src/models/model_Error.jl src/models/model_ErrorDetails.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl +src/models/model_HeaderValueMatcher.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfigurationProfile.jl @@ -271,8 +334,16 @@ src/models/model_IPVersion.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterfaceDnsSettings.jl src/models/model_NetworkInterfaceIPConfiguration.jl @@ -285,10 +356,18 @@ src/models/model_NetworkSecurityGroup.jl src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_PolicyNameEnum.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_ProtocolsEnum.jl src/models/model_ProvisioningState.jl src/models/model_PublicIPAddress.jl @@ -299,6 +378,7 @@ src/models/model_RedirectTypeEnum.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl diff --git a/src/Network/ApplicationGatewayClient/.openapi-generator/VERSION b/src/Network/ApplicationGatewayClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/ApplicationGatewayClient/.openapi-generator/VERSION +++ b/src/Network/ApplicationGatewayClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/ApplicationGatewayClient/README.md b/src/Network/ApplicationGatewayClient/README.md index b456629..900802d 100644 --- a/src/Network/ApplicationGatewayClient/README.md +++ b/src/Network/ApplicationGatewayClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -67,6 +68,9 @@ Class | Method - [ApplicationGatewayBackendHealthServer](docs/ApplicationGatewayBackendHealthServer.md) - [ApplicationGatewayBackendHttpSettings](docs/ApplicationGatewayBackendHttpSettings.md) - [ApplicationGatewayBackendHttpSettingsPropertiesFormat](docs/ApplicationGatewayBackendHttpSettingsPropertiesFormat.md) + - [ApplicationGatewayBackendSettings](docs/ApplicationGatewayBackendSettings.md) + - [ApplicationGatewayBackendSettingsPropertiesFormat](docs/ApplicationGatewayBackendSettingsPropertiesFormat.md) + - [ApplicationGatewayClientAuthConfiguration](docs/ApplicationGatewayClientAuthConfiguration.md) - [ApplicationGatewayConnectionDraining](docs/ApplicationGatewayConnectionDraining.md) - [ApplicationGatewayCustomError](docs/ApplicationGatewayCustomError.md) - [ApplicationGatewayFirewallDisabledRuleGroup](docs/ApplicationGatewayFirewallDisabledRuleGroup.md) @@ -79,12 +83,22 @@ Class | Method - [ApplicationGatewayFrontendIPConfigurationPropertiesFormat](docs/ApplicationGatewayFrontendIPConfigurationPropertiesFormat.md) - [ApplicationGatewayFrontendPort](docs/ApplicationGatewayFrontendPort.md) - [ApplicationGatewayFrontendPortPropertiesFormat](docs/ApplicationGatewayFrontendPortPropertiesFormat.md) + - [ApplicationGatewayGlobalConfiguration](docs/ApplicationGatewayGlobalConfiguration.md) - [ApplicationGatewayHeaderConfiguration](docs/ApplicationGatewayHeaderConfiguration.md) - [ApplicationGatewayHttpListener](docs/ApplicationGatewayHttpListener.md) - [ApplicationGatewayHttpListenerPropertiesFormat](docs/ApplicationGatewayHttpListenerPropertiesFormat.md) - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfiguration2](docs/ApplicationGatewayIPConfiguration2.md) - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat2](docs/ApplicationGatewayIPConfigurationPropertiesFormat2.md) - [ApplicationGatewayListResult](docs/ApplicationGatewayListResult.md) + - [ApplicationGatewayListener](docs/ApplicationGatewayListener.md) + - [ApplicationGatewayListenerPropertiesFormat](docs/ApplicationGatewayListenerPropertiesFormat.md) + - [ApplicationGatewayLoadDistributionAlgorithmEnum](docs/ApplicationGatewayLoadDistributionAlgorithmEnum.md) + - [ApplicationGatewayLoadDistributionPolicy](docs/ApplicationGatewayLoadDistributionPolicy.md) + - [ApplicationGatewayLoadDistributionPolicyPropertiesFormat](docs/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.md) + - [ApplicationGatewayLoadDistributionTarget](docs/ApplicationGatewayLoadDistributionTarget.md) + - [ApplicationGatewayLoadDistributionTargetPropertiesFormat](docs/ApplicationGatewayLoadDistributionTargetPropertiesFormat.md) - [ApplicationGatewayOnDemandProbe](docs/ApplicationGatewayOnDemandProbe.md) - [ApplicationGatewayPathRule](docs/ApplicationGatewayPathRule.md) - [ApplicationGatewayPathRulePropertiesFormat](docs/ApplicationGatewayPathRulePropertiesFormat.md) @@ -112,12 +126,18 @@ Class | Method - [ApplicationGatewayRewriteRuleCondition](docs/ApplicationGatewayRewriteRuleCondition.md) - [ApplicationGatewayRewriteRuleSet](docs/ApplicationGatewayRewriteRuleSet.md) - [ApplicationGatewayRewriteRuleSetPropertiesFormat](docs/ApplicationGatewayRewriteRuleSetPropertiesFormat.md) + - [ApplicationGatewayRoutingRule](docs/ApplicationGatewayRoutingRule.md) + - [ApplicationGatewayRoutingRulePropertiesFormat](docs/ApplicationGatewayRoutingRulePropertiesFormat.md) - [ApplicationGatewaySku](docs/ApplicationGatewaySku.md) - [ApplicationGatewaySslCertificate](docs/ApplicationGatewaySslCertificate.md) - [ApplicationGatewaySslCertificatePropertiesFormat](docs/ApplicationGatewaySslCertificatePropertiesFormat.md) - [ApplicationGatewaySslPolicy](docs/ApplicationGatewaySslPolicy.md) - [ApplicationGatewaySslPredefinedPolicy](docs/ApplicationGatewaySslPredefinedPolicy.md) - [ApplicationGatewaySslPredefinedPolicyPropertiesFormat](docs/ApplicationGatewaySslPredefinedPolicyPropertiesFormat.md) + - [ApplicationGatewaySslProfile](docs/ApplicationGatewaySslProfile.md) + - [ApplicationGatewaySslProfilePropertiesFormat](docs/ApplicationGatewaySslProfilePropertiesFormat.md) + - [ApplicationGatewayTrustedClientCertificate](docs/ApplicationGatewayTrustedClientCertificate.md) + - [ApplicationGatewayTrustedClientCertificatePropertiesFormat](docs/ApplicationGatewayTrustedClientCertificatePropertiesFormat.md) - [ApplicationGatewayTrustedRootCertificate](docs/ApplicationGatewayTrustedRootCertificate.md) - [ApplicationGatewayTrustedRootCertificatePropertiesFormat](docs/ApplicationGatewayTrustedRootCertificatePropertiesFormat.md) - [ApplicationGatewayUrlConfiguration](docs/ApplicationGatewayUrlConfiguration.md) @@ -136,11 +156,15 @@ Class | Method - [Delegation](docs/Delegation.md) - [Error](docs/Error.md) - [ErrorDetails](docs/ErrorDetails.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) + - [HeaderValueMatcher](docs/HeaderValueMatcher.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfigurationProfile](docs/IPConfigurationProfile.md) @@ -150,8 +174,16 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) - [NetworkInterfaceIPConfiguration](docs/NetworkInterfaceIPConfiguration.md) @@ -164,10 +196,18 @@ Class | Method - [NetworkSecurityGroupPropertiesFormat](docs/NetworkSecurityGroupPropertiesFormat.md) - [PolicyNameEnum](docs/PolicyNameEnum.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [ProtocolsEnum](docs/ProtocolsEnum.md) - [ProvisioningState](docs/ProvisioningState.md) - [PublicIPAddress](docs/PublicIPAddress.md) @@ -178,6 +218,7 @@ Class | Method - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -207,9 +248,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGateway.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGateway.md index b80caf7..bea5c53 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGateway.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGateway.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **properties** | [***ApplicationGatewayPropertiesFormat**](ApplicationGatewayPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **zones** | **Vector{String}** | A list of availability zones denoting where the resource needs to come from. | [optional] [default to nothing] -**identity** | **Any** | | [optional] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayBackendSettings.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayBackendSettings.md new file mode 100644 index 0000000..1ee483e --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayBackendSettings.md @@ -0,0 +1,16 @@ +# ApplicationGatewayBackendSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayBackendSettingsPropertiesFormat**](ApplicationGatewayBackendSettingsPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the backend settings that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayBackendSettingsPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayBackendSettingsPropertiesFormat.md new file mode 100644 index 0000000..55d8e03 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayBackendSettingsPropertiesFormat.md @@ -0,0 +1,19 @@ +# ApplicationGatewayBackendSettingsPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | The destination port on the backend. | [optional] [default to nothing] +**protocol** | [***ApplicationGatewayProtocol**](ApplicationGatewayProtocol.md) | | [optional] [default to nothing] +**timeout** | **Int64** | Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds. | [optional] [default to nothing] +**probe** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**trustedRootCertificates** | [**Vector{SubResource}**](SubResource.md) | Array of references to application gateway trusted root certificates. | [optional] [default to nothing] +**hostName** | **String** | Server name indication to be sent to the backend servers for Tls protocol. | [optional] [default to nothing] +**pickHostNameFromBackendAddress** | **Bool** | Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayClientAuthConfiguration.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayClientAuthConfiguration.md new file mode 100644 index 0000000..a296186 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayClientAuthConfiguration.md @@ -0,0 +1,13 @@ +# ApplicationGatewayClientAuthConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**verifyClientCertIssuerDN** | **Bool** | Verify client certificate issuer name on the application gateway. | [optional] [default to nothing] +**verifyClientRevocation** | **String** | Verify client certificate revocation status. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayCustomError.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayCustomError.md index e6f9a48..43952ee 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayCustomError.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayCustomError.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**statusCode** | **String** | Status code of the application gateway customer error. | [optional] [default to nothing] -**customErrorPageUrl** | **String** | Error page URL of the application gateway customer error. | [optional] [default to nothing] +**statusCode** | **String** | Status code of the application gateway custom error. | [optional] [default to nothing] +**customErrorPageUrl** | **String** | Error page URL of the application gateway custom error. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRule.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRule.md index 021de85..4cbe0b6 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRule.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRule.md @@ -5,6 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ruleId** | **Int64** | The identifier of the web application firewall rule. | [default to nothing] +**ruleIdString** | **String** | The string representation of the web application firewall rule identifier. | [optional] [default to nothing] +**state** | **String** | The string representation of the web application firewall rule state. | [optional] [default to nothing] +**action** | **String** | The string representation of the web application firewall rule action. | [optional] [default to nothing] +**sensitivity** | **String** | The string representation of the web application firewall rule sensitivity. | [optional] [default to nothing] **description** | **String** | The description of the web application firewall rule. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRuleSetPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRuleSetPropertiesFormat.md index 17a477d..58688dc 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRuleSetPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayFirewallRuleSetPropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **ruleSetType** | **String** | The type of the web application firewall rule set. | [default to nothing] **ruleSetVersion** | **String** | The version of the web application firewall rule set type. | [default to nothing] **ruleGroups** | [**Vector{ApplicationGatewayFirewallRuleGroup}**](ApplicationGatewayFirewallRuleGroup.md) | The rule groups of the web application firewall rule set. | [default to nothing] +**tiers** | **Vector{String}** | Tier of an application gateway that support the rule set. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayGlobalConfiguration.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayGlobalConfiguration.md new file mode 100644 index 0000000..c41a684 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayGlobalConfiguration.md @@ -0,0 +1,13 @@ +# ApplicationGatewayGlobalConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enableRequestBuffering** | **Bool** | Enable request buffering. | [optional] [default to nothing] +**enableResponseBuffering** | **Bool** | Enable response buffering. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHeaderConfiguration.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHeaderConfiguration.md index a0cb014..5af10ab 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHeaderConfiguration.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHeaderConfiguration.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **headerName** | **String** | Header name of the header configuration. | [optional] [default to nothing] +**headerValueMatcher** | [***HeaderValueMatcher**](HeaderValueMatcher.md) | | [optional] [default to nothing] **headerValue** | **String** | Header value of the header configuration. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHttpListenerPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHttpListenerPropertiesFormat.md index 9424c01..8b16919 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHttpListenerPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayHttpListenerPropertiesFormat.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **protocol** | [***ApplicationGatewayProtocol**](ApplicationGatewayProtocol.md) | | [optional] [default to nothing] **hostName** | **String** | Host name of HTTP listener. | [optional] [default to nothing] **sslCertificate** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**sslProfile** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **requireServerNameIndication** | **Bool** | Applicable only if protocol is https. Enables SNI for multi-hosting. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **customErrorConfigurations** | [**Vector{ApplicationGatewayCustomError}**](ApplicationGatewayCustomError.md) | Custom error configurations of the HTTP listener. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayIPConfiguration2.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayIPConfiguration2.md new file mode 100644 index 0000000..e6b8f33 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayIPConfiguration2.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat2**](ApplicationGatewayIPConfigurationPropertiesFormat2.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat2.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat2.md new file mode 100644 index 0000000..6e98495 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat2.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayListener.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayListener.md new file mode 100644 index 0000000..55ac4cf --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayListener.md @@ -0,0 +1,16 @@ +# ApplicationGatewayListener + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayListenerPropertiesFormat**](ApplicationGatewayListenerPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the listener that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayListenerPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayListenerPropertiesFormat.md new file mode 100644 index 0000000..5d096e3 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayListenerPropertiesFormat.md @@ -0,0 +1,18 @@ +# ApplicationGatewayListenerPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**frontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**frontendPort** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**protocol** | [***ApplicationGatewayProtocol**](ApplicationGatewayProtocol.md) | | [optional] [default to nothing] +**sslCertificate** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**sslProfile** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hostNames** | **Vector{String}** | List of Server Name Indications(SNI) for TLS Multi-site Listener that allows special wildcard characters as well. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionAlgorithmEnum.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionAlgorithmEnum.md new file mode 100644 index 0000000..8d4e5f8 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionAlgorithmEnum.md @@ -0,0 +1,11 @@ +# ApplicationGatewayLoadDistributionAlgorithmEnum + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionPolicy.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionPolicy.md new file mode 100644 index 0000000..e94a3db --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionPolicy.md @@ -0,0 +1,16 @@ +# ApplicationGatewayLoadDistributionPolicy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayLoadDistributionPolicyPropertiesFormat**](ApplicationGatewayLoadDistributionPolicyPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the load distribution policy that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.md new file mode 100644 index 0000000..e3ee244 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionPolicyPropertiesFormat.md @@ -0,0 +1,14 @@ +# ApplicationGatewayLoadDistributionPolicyPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadDistributionTargets** | [**Vector{ApplicationGatewayLoadDistributionTarget}**](ApplicationGatewayLoadDistributionTarget.md) | Load Distribution Targets resource of an application gateway. | [optional] [default to nothing] +**loadDistributionAlgorithm** | [***ApplicationGatewayLoadDistributionAlgorithmEnum**](ApplicationGatewayLoadDistributionAlgorithmEnum.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionTarget.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionTarget.md new file mode 100644 index 0000000..8ea57c9 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionTarget.md @@ -0,0 +1,16 @@ +# ApplicationGatewayLoadDistributionTarget + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayLoadDistributionTargetPropertiesFormat**](ApplicationGatewayLoadDistributionTargetPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the load distribution policy that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionTargetPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionTargetPropertiesFormat.md new file mode 100644 index 0000000..b9a9833 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayLoadDistributionTargetPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayLoadDistributionTargetPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**weightPerServer** | **Int64** | Weight per server. Range between 1 and 100. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPathRulePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPathRulePropertiesFormat.md index bc35ba0..1d4e3ef 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPathRulePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPathRulePropertiesFormat.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **backendHttpSettings** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **redirectConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **rewriteRuleSet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadDistributionPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **firewallPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateEndpointConnectionsApi.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateEndpointConnectionsApi.md index be079ad..ee7805e 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateEndpointConnectionsApi.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateEndpointConnectionsApi.md @@ -23,11 +23,11 @@ Deletes the specified private endpoint connection on application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewayPrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**connection_name** | **String**| The name of the application gateway private endpoint connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**connection_name** | **String** | The name of the application gateway private endpoint connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -57,11 +57,11 @@ Gets the specified private endpoint connection on application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewayPrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**connection_name** | **String**| The name of the application gateway private endpoint connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**connection_name** | **String** | The name of the application gateway private endpoint connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -91,10 +91,10 @@ Lists all private endpoint connections on an application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewayPrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -124,12 +124,12 @@ Updates the specified private endpoint connection on application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewayPrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**connection_name** | **String**| The name of the application gateway private endpoint connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ApplicationGatewayPrivateEndpointConnection**](ApplicationGatewayPrivateEndpointConnection.md)| Parameters supplied to update application gateway private endpoint connection operation. | +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**connection_name** | **String** | The name of the application gateway private endpoint connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ApplicationGatewayPrivateEndpointConnection**](ApplicationGatewayPrivateEndpointConnection.md) | Parameters supplied to update application gateway private endpoint connection operation. | ### Return type diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateLinkResourcesApi.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateLinkResourcesApi.md index 8bdb7af..eb445a4 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateLinkResourcesApi.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPrivateLinkResourcesApi.md @@ -20,10 +20,10 @@ Lists all private link resources on an application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewayPrivateLinkResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayProbePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayProbePropertiesFormat.md index dcc485b..72136b1 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayProbePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayProbePropertiesFormat.md @@ -11,10 +11,11 @@ Name | Type | Description | Notes **timeout** | **Int64** | The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds. | [optional] [default to nothing] **unhealthyThreshold** | **Int64** | The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20. | [optional] [default to nothing] **pickHostNameFromBackendHttpSettings** | **Bool** | Whether the host header should be picked from the backend http settings. Default value is false. | [optional] [default to nothing] +**pickHostNameFromBackendSettings** | **Bool** | Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false. | [optional] [default to nothing] **minServers** | **Int64** | Minimum number of servers that are always marked healthy. Default value is 0. | [optional] [default to nothing] **match** | [***ApplicationGatewayProbeHealthResponseMatch**](ApplicationGatewayProbeHealthResponseMatch.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**port** | **Int64** | Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. | [optional] [default to nothing] +**port** | **Int64** | Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPropertiesFormat.md index d956c2d..2d3172a 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayPropertiesFormat.md @@ -10,15 +10,20 @@ Name | Type | Description | Notes **gatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **authenticationCertificates** | [**Vector{ApplicationGatewayAuthenticationCertificate}**](ApplicationGatewayAuthenticationCertificate.md) | Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **trustedRootCertificates** | [**Vector{ApplicationGatewayTrustedRootCertificate}**](ApplicationGatewayTrustedRootCertificate.md) | Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] +**trustedClientCertificates** | [**Vector{ApplicationGatewayTrustedClientCertificate}**](ApplicationGatewayTrustedClientCertificate.md) | Trusted client certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **sslCertificates** | [**Vector{ApplicationGatewaySslCertificate}**](ApplicationGatewaySslCertificate.md) | SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **frontendIPConfigurations** | [**Vector{ApplicationGatewayFrontendIPConfiguration}**](ApplicationGatewayFrontendIPConfiguration.md) | Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **frontendPorts** | [**Vector{ApplicationGatewayFrontendPort}**](ApplicationGatewayFrontendPort.md) | Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **probes** | [**Vector{ApplicationGatewayProbe}**](ApplicationGatewayProbe.md) | Probes of the application gateway resource. | [optional] [default to nothing] **backendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **backendHttpSettingsCollection** | [**Vector{ApplicationGatewayBackendHttpSettings}**](ApplicationGatewayBackendHttpSettings.md) | Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] +**backendSettingsCollection** | [**Vector{ApplicationGatewayBackendSettings}**](ApplicationGatewayBackendSettings.md) | Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **httpListeners** | [**Vector{ApplicationGatewayHttpListener}**](ApplicationGatewayHttpListener.md) | Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] +**listeners** | [**Vector{ApplicationGatewayListener}**](ApplicationGatewayListener.md) | Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] +**sslProfiles** | [**Vector{ApplicationGatewaySslProfile}**](ApplicationGatewaySslProfile.md) | SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **urlPathMaps** | [**Vector{ApplicationGatewayUrlPathMap}**](ApplicationGatewayUrlPathMap.md) | URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **requestRoutingRules** | [**Vector{ApplicationGatewayRequestRoutingRule}**](ApplicationGatewayRequestRoutingRule.md) | Request routing rules of the application gateway resource. | [optional] [default to nothing] +**routingRules** | [**Vector{ApplicationGatewayRoutingRule}**](ApplicationGatewayRoutingRule.md) | Routing rules of the application gateway resource. | [optional] [default to nothing] **rewriteRuleSets** | [**Vector{ApplicationGatewayRewriteRuleSet}**](ApplicationGatewayRewriteRuleSet.md) | Rewrite rules for the application gateway resource. | [optional] [default to nothing] **redirectConfigurations** | [**Vector{ApplicationGatewayRedirectConfiguration}**](ApplicationGatewayRedirectConfiguration.md) | Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). | [optional] [default to nothing] **webApplicationFirewallConfiguration** | [***ApplicationGatewayWebApplicationFirewallConfiguration**](ApplicationGatewayWebApplicationFirewallConfiguration.md) | | [optional] [default to nothing] @@ -32,6 +37,9 @@ Name | Type | Description | Notes **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **customErrorConfigurations** | [**Vector{ApplicationGatewayCustomError}**](ApplicationGatewayCustomError.md) | Custom error configurations of the application gateway resource. | [optional] [default to nothing] **forceFirewallPolicyAssociation** | **Bool** | If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. | [optional] [default to nothing] +**loadDistributionPolicies** | [**Vector{ApplicationGatewayLoadDistributionPolicy}**](ApplicationGatewayLoadDistributionPolicy.md) | Load distribution policies of the application gateway resource. | [optional] [default to nothing] +**globalConfiguration** | [***ApplicationGatewayGlobalConfiguration**](ApplicationGatewayGlobalConfiguration.md) | | [optional] [default to nothing] +**defaultPredefinedSslPolicy** | [***PolicyNameEnum**](PolicyNameEnum.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRequestRoutingRulePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRequestRoutingRulePropertiesFormat.md index 81243ad..3c4152e 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRequestRoutingRulePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRequestRoutingRulePropertiesFormat.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **urlPathMap** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **rewriteRuleSet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **redirectConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadDistributionPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRewriteRuleCondition.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRewriteRuleCondition.md index 2360c31..1d746b0 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRewriteRuleCondition.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRewriteRuleCondition.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **variable** | **String** | The condition parameter of the RewriteRuleCondition. | [optional] [default to nothing] **pattern** | **String** | The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. | [optional] [default to nothing] -**ignoreCase** | **Bool** | Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison. | [optional] [default to nothing] +**ignoreCase** | **Bool** | Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. | [optional] [default to nothing] **negate** | **Bool** | Setting this value as truth will force to check the negation of the condition given by the user. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRoutingRule.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRoutingRule.md new file mode 100644 index 0000000..56791fe --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRoutingRule.md @@ -0,0 +1,16 @@ +# ApplicationGatewayRoutingRule + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayRoutingRulePropertiesFormat**](ApplicationGatewayRoutingRulePropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the routing rule that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRoutingRulePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRoutingRulePropertiesFormat.md new file mode 100644 index 0000000..7a98cae --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayRoutingRulePropertiesFormat.md @@ -0,0 +1,17 @@ +# ApplicationGatewayRoutingRulePropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ruleType** | **String** | Rule type. | [optional] [default to nothing] +**priority** | **Int64** | Priority of the routing rule. | [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**backendSettings** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**listener** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySku.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySku.md index f8d86e7..ef3b5f2 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySku.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySku.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **name** | **String** | Name of an application gateway SKU. | [optional] [default to nothing] **tier** | **String** | Tier of an application gateway. | [optional] [default to nothing] **capacity** | **Int64** | Capacity (instance count) of an application gateway. | [optional] [default to nothing] +**family** | **String** | Family of an application gateway SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySslProfile.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySslProfile.md new file mode 100644 index 0000000..0b03058 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySslProfile.md @@ -0,0 +1,16 @@ +# ApplicationGatewaySslProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewaySslProfilePropertiesFormat**](ApplicationGatewaySslProfilePropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the SSL profile that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySslProfilePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySslProfilePropertiesFormat.md new file mode 100644 index 0000000..ec6cb7c --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaySslProfilePropertiesFormat.md @@ -0,0 +1,15 @@ +# ApplicationGatewaySslProfilePropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**trustedClientCertificates** | [**Vector{SubResource}**](SubResource.md) | Array of references to application gateway trusted client certificates. | [optional] [default to nothing] +**sslPolicy** | [***ApplicationGatewaySslPolicy**](ApplicationGatewaySslPolicy.md) | | [optional] [default to nothing] +**clientAuthConfiguration** | [***ApplicationGatewayClientAuthConfiguration**](ApplicationGatewayClientAuthConfiguration.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayTrustedClientCertificate.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayTrustedClientCertificate.md new file mode 100644 index 0000000..988876d --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayTrustedClientCertificate.md @@ -0,0 +1,16 @@ +# ApplicationGatewayTrustedClientCertificate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayTrustedClientCertificatePropertiesFormat**](ApplicationGatewayTrustedClientCertificatePropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the trusted client certificate that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayTrustedClientCertificatePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayTrustedClientCertificatePropertiesFormat.md new file mode 100644 index 0000000..d73b6ad --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayTrustedClientCertificatePropertiesFormat.md @@ -0,0 +1,15 @@ +# ApplicationGatewayTrustedClientCertificatePropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**data** | **String** | Certificate public data. | [optional] [default to nothing] +**validatedCertData** | **String** | Validated certificate data. | [optional] [readonly] [default to nothing] +**clientCertIssuerDN** | **String** | Distinguished name of client certificate issuer. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayUrlPathMapPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayUrlPathMapPropertiesFormat.md index 47f79ad..cb7c1ef 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayUrlPathMapPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewayUrlPathMapPropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **defaultBackendHttpSettings** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **defaultRewriteRuleSet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **defaultRedirectConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**defaultLoadDistributionPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **pathRules** | [**Vector{ApplicationGatewayPathRule}**](ApplicationGatewayPathRule.md) | Path rule of URL path map resource. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaysApi.md b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaysApi.md index 19a234d..bbd8059 100644 --- a/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaysApi.md +++ b/src/Network/ApplicationGatewayClient/docs/ApplicationGatewaysApi.md @@ -36,16 +36,16 @@ Gets the backend health of the specified application gateway in a resource group Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands BackendAddressPool and BackendHttpSettings referenced in backend health. | [default to nothing] + **expand** | **String** | Expands BackendAddressPool and BackendHttpSettings referenced in backend health. | [default to nothing] ### Return type @@ -75,17 +75,17 @@ Gets the backend health for given combination of backend pool and http setting o Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**probe_request** | [**ApplicationGatewayOnDemandProbe**](ApplicationGatewayOnDemandProbe.md)| Request body for on-demand test probe operation. | +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**probe_request** | [**ApplicationGatewayOnDemandProbe**](ApplicationGatewayOnDemandProbe.md) | Request body for on-demand test probe operation. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands BackendAddressPool and BackendHttpSettings referenced in backend health. | [default to nothing] + **expand** | **String** | Expands BackendAddressPool and BackendHttpSettings referenced in backend health. | [default to nothing] ### Return type @@ -115,11 +115,11 @@ Creates or updates the specified application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ApplicationGateway**](ApplicationGateway.md)| Parameters supplied to the create or update application gateway operation. | +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ApplicationGateway**](ApplicationGateway.md) | Parameters supplied to the create or update application gateway operation. | ### Return type @@ -149,10 +149,10 @@ Deletes the specified application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -182,10 +182,10 @@ Gets the specified application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -215,9 +215,9 @@ Gets Ssl predefined policy with the specified policy name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**predefined_policy_name** | **String**| Name of Ssl predefined policy. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**predefined_policy_name** | **String** | Name of Ssl predefined policy. | ### Return type @@ -247,9 +247,9 @@ Lists all application gateways in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -279,8 +279,8 @@ Gets all the application gateways in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -310,8 +310,8 @@ Lists all available request headers. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -341,8 +341,8 @@ Lists all available response headers. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -372,8 +372,8 @@ Lists all available server variables. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -403,8 +403,8 @@ Lists available Ssl options for configuring Ssl policy. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -434,8 +434,8 @@ Lists all SSL predefined policies for configuring Ssl policy. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -465,8 +465,8 @@ Lists all available web application firewall rule sets. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -496,10 +496,10 @@ Starts the specified application gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -529,10 +529,10 @@ Stops the specified application gateway in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -562,11 +562,11 @@ Updates the specified application gateway tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ApplicationGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**application_gateway_name** | **String**| The name of the application gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update application gateway tags. | +**resource_group_name** | **String** | The name of the resource group. | +**application_gateway_name** | **String** | The name of the application gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update application gateway tags. | ### Return type diff --git a/src/Network/ApplicationGatewayClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/ApplicationGatewayClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/DdosSettings.md b/src/Network/ApplicationGatewayClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/ApplicationGatewayClient/docs/DdosSettings.md +++ b/src/Network/ApplicationGatewayClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/Delegation.md b/src/Network/ApplicationGatewayClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/ApplicationGatewayClient/docs/Delegation.md +++ b/src/Network/ApplicationGatewayClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ExtendedLocation.md b/src/Network/ApplicationGatewayClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ExtendedLocationType.md b/src/Network/ApplicationGatewayClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/FlowLog.md b/src/Network/ApplicationGatewayClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/ApplicationGatewayClient/docs/FlowLog.md +++ b/src/Network/ApplicationGatewayClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/FlowLogFormatParameters.md b/src/Network/ApplicationGatewayClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/ApplicationGatewayClient/docs/FlowLogFormatParameters.md +++ b/src/Network/ApplicationGatewayClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/FlowLogPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/ApplicationGatewayClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/FrontendIPConfigurationPropertiesFormat.md index 537d6d3..b93377b 100644 --- a/src/Network/ApplicationGatewayClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/ApplicationGatewayClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/HeaderValueMatcher.md b/src/Network/ApplicationGatewayClient/docs/HeaderValueMatcher.md new file mode 100644 index 0000000..13297b5 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/HeaderValueMatcher.md @@ -0,0 +1,14 @@ +# HeaderValueMatcher + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pattern** | **String** | The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite. | [optional] [default to nothing] +**ignoreCase** | **Bool** | Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. | [optional] [default to nothing] +**negate** | **Bool** | Setting this value as truth will force to check the negation of the condition given by the user in the pattern field. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/ApplicationGatewayClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/IpamPoolPrefixAllocation.md b/src/Network/ApplicationGatewayClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/ApplicationGatewayClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/ApplicationGatewayClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ManagedServiceIdentity.md b/src/Network/ApplicationGatewayClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/ApplicationGatewayClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/NatGateway.md b/src/Network/ApplicationGatewayClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/NatGatewayPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/NatGatewaySku.md b/src/Network/ApplicationGatewayClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/NatRulePortMapping.md b/src/Network/ApplicationGatewayClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/NetworkInterface.md b/src/Network/ApplicationGatewayClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/ApplicationGatewayClient/docs/NetworkInterface.md +++ b/src/Network/ApplicationGatewayClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index d7d9fbd..5c26e84 100644 --- a/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool2}**](ApplicationGatewayBackendAddressPool2.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/ApplicationGatewayClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/NetworkSecurityGroupPropertiesFormat.md index 84e7b18..d9c105d 100644 --- a/src/Network/ApplicationGatewayClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateEndpoint.md b/src/Network/ApplicationGatewayClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/ApplicationGatewayClient/docs/PrivateEndpoint.md +++ b/src/Network/ApplicationGatewayClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateEndpointConnection.md b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateEndpointProperties.md b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointProperties.md index 40d6bf8..e3fd912 100644 --- a/src/Network/ApplicationGatewayClient/docs/PrivateEndpointProperties.md +++ b/src/Network/ApplicationGatewayClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateLinkService.md b/src/Network/ApplicationGatewayClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceProperties.md b/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..5c91eab --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/PublicIPAddress.md b/src/Network/ApplicationGatewayClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/ApplicationGatewayClient/docs/PublicIPAddress.md +++ b/src/Network/ApplicationGatewayClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/PublicIPAddressDnsSettings.md b/src/Network/ApplicationGatewayClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/ApplicationGatewayClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/ApplicationGatewayClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/ApplicationGatewayClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/PublicIPAddressSku.md b/src/Network/ApplicationGatewayClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/ApplicationGatewayClient/docs/PublicIPAddressSku.md +++ b/src/Network/ApplicationGatewayClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ResourceSet.md b/src/Network/ApplicationGatewayClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ApplicationGatewayClient/docs/RetentionPolicyParameters.md b/src/Network/ApplicationGatewayClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/ApplicationGatewayClient/docs/RetentionPolicyParameters.md +++ b/src/Network/ApplicationGatewayClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/ApplicationGatewayClient/docs/Route.md b/src/Network/ApplicationGatewayClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/ApplicationGatewayClient/docs/Route.md +++ b/src/Network/ApplicationGatewayClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/RoutePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/ApplicationGatewayClient/docs/RoutePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/RouteTablePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/ApplicationGatewayClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/SecurityRule.md b/src/Network/ApplicationGatewayClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/ApplicationGatewayClient/docs/SecurityRule.md +++ b/src/Network/ApplicationGatewayClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/SecurityRulePropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/ApplicationGatewayClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicy.md b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/Subnet.md b/src/Network/ApplicationGatewayClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/ApplicationGatewayClient/docs/Subnet.md +++ b/src/Network/ApplicationGatewayClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/ApplicationGatewayClient/docs/SubnetPropertiesFormat.md b/src/Network/ApplicationGatewayClient/docs/SubnetPropertiesFormat.md index 5569795..7e2f8ac 100644 --- a/src/Network/ApplicationGatewayClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/ApplicationGatewayClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration2}**](ApplicationGatewayIPConfiguration2.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ApplicationGatewayClient/src/ApplicationGatewayClient.jl b/src/Network/ApplicationGatewayClient/src/ApplicationGatewayClient.jl index f54d47d..714d091 100644 --- a/src/Network/ApplicationGatewayClient/src/ApplicationGatewayClient.jl +++ b/src/Network/ApplicationGatewayClient/src/ApplicationGatewayClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateEndpointConnectionsApi.jl b/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateEndpointConnectionsApi.jl index 397c099..d1bf6ea 100644 --- a/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateEndpointConnectionsApi.jl +++ b/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateEndpointConnectionsApi.jl @@ -24,7 +24,7 @@ function _oacinternal_application_gateway_private_endpoint_connections_delete(_a OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -62,7 +62,7 @@ function _oacinternal_application_gateway_private_endpoint_connections_get(_api: OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -99,7 +99,7 @@ function _oacinternal_application_gateway_private_endpoint_connections_list(_api OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -137,7 +137,7 @@ function _oacinternal_application_gateway_private_endpoint_connections_update(_a OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateLinkResourcesApi.jl b/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateLinkResourcesApi.jl index de95170..4f0836f 100644 --- a/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateLinkResourcesApi.jl +++ b/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewayPrivateLinkResourcesApi.jl @@ -21,7 +21,7 @@ function _oacinternal_application_gateway_private_link_resources_list(_api::Appl OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewaysApi.jl b/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewaysApi.jl index f9b026c..f8b2c29 100644 --- a/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewaysApi.jl +++ b/src/Network/ApplicationGatewayClient/src/apis/api_ApplicationGatewaysApi.jl @@ -22,8 +22,8 @@ function _oacinternal_application_gateways_backend_health(_api::ApplicationGatew OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -61,8 +61,8 @@ function _oacinternal_application_gateways_backend_health_on_demand(_api::Applic OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -101,7 +101,7 @@ function _oacinternal_application_gateways_create_or_update(_api::ApplicationGat OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -140,7 +140,7 @@ function _oacinternal_application_gateways_delete(_api::ApplicationGatewaysApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -176,7 +176,7 @@ function _oacinternal_application_gateways_get(_api::ApplicationGatewaysApi, res OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -211,7 +211,7 @@ function _oacinternal_application_gateways_get_ssl_predefined_policy(_api::Appli _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_get_ssl_predefined_policy_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "predefinedPolicyName", predefined_policy_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -245,7 +245,7 @@ function _oacinternal_application_gateways_list(_api::ApplicationGatewaysApi, re _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -278,7 +278,7 @@ const _returntypes_application_gateways_list_all_ApplicationGatewaysApi = Dict{R function _oacinternal_application_gateways_list_all(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_all_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -310,7 +310,7 @@ const _returntypes_application_gateways_list_available_request_headers_Applicati function _oacinternal_application_gateways_list_available_request_headers(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_available_request_headers_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -342,7 +342,7 @@ const _returntypes_application_gateways_list_available_response_headers_Applicat function _oacinternal_application_gateways_list_available_response_headers(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_available_response_headers_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -374,7 +374,7 @@ const _returntypes_application_gateways_list_available_server_variables_Applicat function _oacinternal_application_gateways_list_available_server_variables(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_available_server_variables_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -406,7 +406,7 @@ const _returntypes_application_gateways_list_available_ssl_options_ApplicationGa function _oacinternal_application_gateways_list_available_ssl_options(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_available_ssl_options_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -438,7 +438,7 @@ const _returntypes_application_gateways_list_available_ssl_predefined_policies_A function _oacinternal_application_gateways_list_available_ssl_predefined_policies(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_available_ssl_predefined_policies_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -470,7 +470,7 @@ const _returntypes_application_gateways_list_available_waf_rule_sets_Application function _oacinternal_application_gateways_list_available_waf_rule_sets(_api::ApplicationGatewaysApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_application_gateways_list_available_waf_rule_sets_ApplicationGatewaysApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -505,7 +505,7 @@ function _oacinternal_application_gateways_start(_api::ApplicationGatewaysApi, r OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -542,7 +542,7 @@ function _oacinternal_application_gateways_stop(_api::ApplicationGatewaysApi, re OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -578,7 +578,7 @@ function _oacinternal_application_gateways_update_tags(_api::ApplicationGateways OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "applicationGatewayName", application_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/ApplicationGatewayClient/src/modelincludes.jl b/src/Network/ApplicationGatewayClient/src/modelincludes.jl index bc696d1..84a4beb 100644 --- a/src/Network/ApplicationGatewayClient/src/modelincludes.jl +++ b/src/Network/ApplicationGatewayClient/src/modelincludes.jl @@ -22,6 +22,9 @@ include("models/model_ApplicationGatewayBackendHealthPool.jl") include("models/model_ApplicationGatewayBackendHealthServer.jl") include("models/model_ApplicationGatewayBackendHttpSettings.jl") include("models/model_ApplicationGatewayBackendHttpSettingsPropertiesFormat.jl") +include("models/model_ApplicationGatewayBackendSettings.jl") +include("models/model_ApplicationGatewayBackendSettingsPropertiesFormat.jl") +include("models/model_ApplicationGatewayClientAuthConfiguration.jl") include("models/model_ApplicationGatewayConnectionDraining.jl") include("models/model_ApplicationGatewayCustomError.jl") include("models/model_ApplicationGatewayFirewallDisabledRuleGroup.jl") @@ -34,12 +37,22 @@ include("models/model_ApplicationGatewayFrontendIPConfiguration.jl") include("models/model_ApplicationGatewayFrontendIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationGatewayFrontendPort.jl") include("models/model_ApplicationGatewayFrontendPortPropertiesFormat.jl") +include("models/model_ApplicationGatewayGlobalConfiguration.jl") include("models/model_ApplicationGatewayHeaderConfiguration.jl") include("models/model_ApplicationGatewayHttpListener.jl") include("models/model_ApplicationGatewayHttpListenerPropertiesFormat.jl") include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfiguration2.jl") include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat2.jl") include("models/model_ApplicationGatewayListResult.jl") +include("models/model_ApplicationGatewayListener.jl") +include("models/model_ApplicationGatewayListenerPropertiesFormat.jl") +include("models/model_ApplicationGatewayLoadDistributionAlgorithmEnum.jl") +include("models/model_ApplicationGatewayLoadDistributionPolicy.jl") +include("models/model_ApplicationGatewayLoadDistributionPolicyPropertiesFormat.jl") +include("models/model_ApplicationGatewayLoadDistributionTarget.jl") +include("models/model_ApplicationGatewayLoadDistributionTargetPropertiesFormat.jl") include("models/model_ApplicationGatewayOnDemandProbe.jl") include("models/model_ApplicationGatewayPathRule.jl") include("models/model_ApplicationGatewayPathRulePropertiesFormat.jl") @@ -67,12 +80,18 @@ include("models/model_ApplicationGatewayRewriteRuleActionSet.jl") include("models/model_ApplicationGatewayRewriteRuleCondition.jl") include("models/model_ApplicationGatewayRewriteRuleSet.jl") include("models/model_ApplicationGatewayRewriteRuleSetPropertiesFormat.jl") +include("models/model_ApplicationGatewayRoutingRule.jl") +include("models/model_ApplicationGatewayRoutingRulePropertiesFormat.jl") include("models/model_ApplicationGatewaySku.jl") include("models/model_ApplicationGatewaySslCertificate.jl") include("models/model_ApplicationGatewaySslCertificatePropertiesFormat.jl") include("models/model_ApplicationGatewaySslPolicy.jl") include("models/model_ApplicationGatewaySslPredefinedPolicy.jl") include("models/model_ApplicationGatewaySslPredefinedPolicyPropertiesFormat.jl") +include("models/model_ApplicationGatewaySslProfile.jl") +include("models/model_ApplicationGatewaySslProfilePropertiesFormat.jl") +include("models/model_ApplicationGatewayTrustedClientCertificate.jl") +include("models/model_ApplicationGatewayTrustedClientCertificatePropertiesFormat.jl") include("models/model_ApplicationGatewayTrustedRootCertificate.jl") include("models/model_ApplicationGatewayTrustedRootCertificatePropertiesFormat.jl") include("models/model_ApplicationGatewayUrlConfiguration.jl") @@ -91,11 +110,15 @@ include("models/model_DdosSettings.jl") include("models/model_Delegation.jl") include("models/model_Error.jl") include("models/model_ErrorDetails.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") +include("models/model_HeaderValueMatcher.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfigurationProfile.jl") @@ -105,8 +128,16 @@ include("models/model_IPVersion.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterfaceDnsSettings.jl") include("models/model_NetworkInterfaceIPConfiguration.jl") @@ -119,10 +150,18 @@ include("models/model_NetworkSecurityGroup.jl") include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_PolicyNameEnum.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_ProtocolsEnum.jl") include("models/model_ProvisioningState.jl") include("models/model_PublicIPAddress.jl") @@ -133,6 +172,7 @@ include("models/model_RedirectTypeEnum.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGateway.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGateway.jl index 832bb01..7915fef 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGateway.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGateway.jl @@ -20,7 +20,7 @@ Application gateway resource. - properties::ApplicationGatewayPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - zones::Vector{String} : A list of availability zones denoting where the resource needs to come from. - - identity::Any + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -31,7 +31,7 @@ Base.@kwdef mutable struct ApplicationGateway <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ApplicationGatewayPropertiesFormat } etag::Union{Nothing, String} = nothing zones::Union{Nothing, Vector{String}} = nothing - identity::Union{Nothing, Any} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing @@ -39,25 +39,39 @@ Base.@kwdef mutable struct ApplicationGateway <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationGateway(properties, etag, zones, identity, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationGateway, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGateway, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGateway, Symbol("zones"), zones) - OpenAPI.validate_property(ApplicationGateway, Symbol("identity"), identity) - OpenAPI.validate_property(ApplicationGateway, Symbol("id"), id) - OpenAPI.validate_property(ApplicationGateway, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGateway, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGateway, Symbol("location"), location) - OpenAPI.validate_property(ApplicationGateway, Symbol("tags"), tags) - return new(properties, etag, zones, identity, id, name, type, location, tags, ) + o = new(properties, etag, zones, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGateway -const _property_types_ApplicationGateway = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("identity")=>"Any", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ApplicationGateway = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGateway[name]))} -function check_required(o::ApplicationGateway) +function OpenAPI.check_required(o::ApplicationGateway) true end +function OpenAPI.validate_properties(o::ApplicationGateway) + OpenAPI.validate_property(ApplicationGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(ApplicationGateway, Symbol("identity"), o.identity) + OpenAPI.validate_property(ApplicationGateway, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationGateway, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGateway, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGateway, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationGateway, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationGateway }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificate.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificate.jl index 73f0e64..4c76a5f 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificate.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificate.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayAuthenticationCertificate <: OpenAP id::Union{Nothing, String} = nothing function ApplicationGatewayAuthenticationCertificate(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAuthenticationCertificate const _property_types_ApplicationGatewayAuthenticationCertificate = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayAuthenticationCertificatePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayAuthenticationCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAuthenticationCertificate[name]))} -function check_required(o::ApplicationGatewayAuthenticationCertificate) +function OpenAPI.check_required(o::ApplicationGatewayAuthenticationCertificate) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAuthenticationCertificate) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificate, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAuthenticationCertificate }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificatePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificatePropertiesFormat.jl index a56fe08..c24d957 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificatePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAuthenticationCertificatePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayAuthenticationCertificateProperties provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayAuthenticationCertificatePropertiesFormat(data, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificatePropertiesFormat, Symbol("data"), data) - OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificatePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(data, provisioningState, ) + o = new(data, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAuthenticationCertificatePropertiesFormat const _property_types_ApplicationGatewayAuthenticationCertificatePropertiesFormat = Dict{Symbol,String}(Symbol("data")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayAuthenticationCertificatePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAuthenticationCertificatePropertiesFormat[name]))} -function check_required(o::ApplicationGatewayAuthenticationCertificatePropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayAuthenticationCertificatePropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAuthenticationCertificatePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificatePropertiesFormat, Symbol("data"), o.data) + OpenAPI.validate_property(ApplicationGatewayAuthenticationCertificatePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAuthenticationCertificatePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAutoscaleConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAutoscaleConfiguration.jl index 9156be2..d844daa 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAutoscaleConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAutoscaleConfiguration.jl @@ -18,27 +18,34 @@ Base.@kwdef mutable struct ApplicationGatewayAutoscaleConfiguration <: OpenAPI.A maxCapacity::Union{Nothing, Int64} = nothing function ApplicationGatewayAutoscaleConfiguration(minCapacity, maxCapacity, ) - OpenAPI.validate_property(ApplicationGatewayAutoscaleConfiguration, Symbol("minCapacity"), minCapacity) - OpenAPI.validate_property(ApplicationGatewayAutoscaleConfiguration, Symbol("maxCapacity"), maxCapacity) - return new(minCapacity, maxCapacity, ) + o = new(minCapacity, maxCapacity, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAutoscaleConfiguration const _property_types_ApplicationGatewayAutoscaleConfiguration = Dict{Symbol,String}(Symbol("minCapacity")=>"Int64", Symbol("maxCapacity")=>"Int64", ) OpenAPI.property_type(::Type{ ApplicationGatewayAutoscaleConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAutoscaleConfiguration[name]))} -function check_required(o::ApplicationGatewayAutoscaleConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayAutoscaleConfiguration) o.minCapacity === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAutoscaleConfiguration) + OpenAPI.validate_property(ApplicationGatewayAutoscaleConfiguration, Symbol("minCapacity"), o.minCapacity) + OpenAPI.validate_property(ApplicationGatewayAutoscaleConfiguration, Symbol("maxCapacity"), o.maxCapacity) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAutoscaleConfiguration }, name::Symbol, val) + if name === Symbol("minCapacity") OpenAPI.validate_param(name, "ApplicationGatewayAutoscaleConfiguration", :format, val, "int32") end if name === Symbol("minCapacity") OpenAPI.validate_param(name, "ApplicationGatewayAutoscaleConfiguration", :minimum, val, 0, false) end + if name === Symbol("maxCapacity") OpenAPI.validate_param(name, "ApplicationGatewayAutoscaleConfiguration", :format, val, "int32") end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptions.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptions.jl index 48e73cc..e6996b7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptions.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptions.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct ApplicationGatewayAvailableSslOptions <: OpenAPI.APIM tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationGatewayAvailableSslOptions(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("id"), id) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("location"), location) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAvailableSslOptions const _property_types_ApplicationGatewayAvailableSslOptions = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayAvailableSslOptionsPropertiesFormat", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationGatewayAvailableSslOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAvailableSslOptions[name]))} -function check_required(o::ApplicationGatewayAvailableSslOptions) +function OpenAPI.check_required(o::ApplicationGatewayAvailableSslOptions) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAvailableSslOptions) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptions, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAvailableSslOptions }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptionsPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptionsPropertiesFormat.jl index 4b40d5f..7ce1b68 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptionsPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslOptionsPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ApplicationGatewayAvailableSslOptionsPropertiesFormat availableProtocols::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ProtocolsEnum} } function ApplicationGatewayAvailableSslOptionsPropertiesFormat(predefinedPolicies, defaultPolicy, availableCipherSuites, availableProtocols, ) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("predefinedPolicies"), predefinedPolicies) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("defaultPolicy"), defaultPolicy) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("availableCipherSuites"), availableCipherSuites) - OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("availableProtocols"), availableProtocols) - return new(predefinedPolicies, defaultPolicy, availableCipherSuites, availableProtocols, ) + o = new(predefinedPolicies, defaultPolicy, availableCipherSuites, availableProtocols, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAvailableSslOptionsPropertiesFormat const _property_types_ApplicationGatewayAvailableSslOptionsPropertiesFormat = Dict{Symbol,String}(Symbol("predefinedPolicies")=>"Vector{SubResource}", Symbol("defaultPolicy")=>"PolicyNameEnum", Symbol("availableCipherSuites")=>"Vector{CipherSuitesEnum}", Symbol("availableProtocols")=>"Vector{ProtocolsEnum}", ) OpenAPI.property_type(::Type{ ApplicationGatewayAvailableSslOptionsPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAvailableSslOptionsPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayAvailableSslOptionsPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayAvailableSslOptionsPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAvailableSslOptionsPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("predefinedPolicies"), o.predefinedPolicies) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("defaultPolicy"), o.defaultPolicy) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("availableCipherSuites"), o.availableCipherSuites) + OpenAPI.validate_property(ApplicationGatewayAvailableSslOptionsPropertiesFormat, Symbol("availableProtocols"), o.availableProtocols) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAvailableSslOptionsPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslPredefinedPolicies.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslPredefinedPolicies.jl index 52ffb1d..69f36ea 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslPredefinedPolicies.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableSslPredefinedPolicies.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayAvailableSslPredefinedPolicies <: O nextLink::Union{Nothing, String} = nothing function ApplicationGatewayAvailableSslPredefinedPolicies(value, nextLink, ) - OpenAPI.validate_property(ApplicationGatewayAvailableSslPredefinedPolicies, Symbol("value"), value) - OpenAPI.validate_property(ApplicationGatewayAvailableSslPredefinedPolicies, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAvailableSslPredefinedPolicies const _property_types_ApplicationGatewayAvailableSslPredefinedPolicies = Dict{Symbol,String}(Symbol("value")=>"Vector{ApplicationGatewaySslPredefinedPolicy}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayAvailableSslPredefinedPolicies }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAvailableSslPredefinedPolicies[name]))} -function check_required(o::ApplicationGatewayAvailableSslPredefinedPolicies) +function OpenAPI.check_required(o::ApplicationGatewayAvailableSslPredefinedPolicies) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAvailableSslPredefinedPolicies) + OpenAPI.validate_property(ApplicationGatewayAvailableSslPredefinedPolicies, Symbol("value"), o.value) + OpenAPI.validate_property(ApplicationGatewayAvailableSslPredefinedPolicies, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAvailableSslPredefinedPolicies }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableWafRuleSetsResult.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableWafRuleSetsResult.jl index 58974d1..937d744 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableWafRuleSetsResult.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayAvailableWafRuleSetsResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ApplicationGatewayAvailableWafRuleSetsResult <: OpenA value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayFirewallRuleSet} } function ApplicationGatewayAvailableWafRuleSetsResult(value, ) - OpenAPI.validate_property(ApplicationGatewayAvailableWafRuleSetsResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayAvailableWafRuleSetsResult const _property_types_ApplicationGatewayAvailableWafRuleSetsResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ApplicationGatewayFirewallRuleSet}", ) OpenAPI.property_type(::Type{ ApplicationGatewayAvailableWafRuleSetsResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayAvailableWafRuleSetsResult[name]))} -function check_required(o::ApplicationGatewayAvailableWafRuleSetsResult) +function OpenAPI.check_required(o::ApplicationGatewayAvailableWafRuleSetsResult) true end +function OpenAPI.validate_properties(o::ApplicationGatewayAvailableWafRuleSetsResult) + OpenAPI.validate_property(ApplicationGatewayAvailableWafRuleSetsResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayAvailableWafRuleSetsResult }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress2.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress2.jl index dc157f6..c2129fb 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress2.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddress2.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress2 <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress2(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress2, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress2, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress2 const _property_types_ApplicationGatewayBackendAddress2 = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress2[name]))} -function check_required(o::ApplicationGatewayBackendAddress2) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress2) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress2) + OpenAPI.validate_property(ApplicationGatewayBackendAddress2, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress2, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress2 }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool2.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool2.jl index b4e1f78..123fd55 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool2.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPool2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool2 <: OpenAPI.APIM id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool2(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool2 const _property_types_ApplicationGatewayBackendAddressPool2 = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool2[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool2) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool2) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool2) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat2.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat2.jl index a8f2abb..08611f7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat2.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat2.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat2 provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat2(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat2, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat2, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat2 const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat2 = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress2}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat2[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat2) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat2) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat2) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat2, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat2, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat2 }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealth.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealth.jl index 6aa776f..ae31624 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealth.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealth.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHealth <: OpenAPI.APIModel backendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendHealthPool} } function ApplicationGatewayBackendHealth(backendAddressPools, ) - OpenAPI.validate_property(ApplicationGatewayBackendHealth, Symbol("backendAddressPools"), backendAddressPools) - return new(backendAddressPools, ) + o = new(backendAddressPools, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHealth const _property_types_ApplicationGatewayBackendHealth = Dict{Symbol,String}(Symbol("backendAddressPools")=>"Vector{ApplicationGatewayBackendHealthPool}", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHealth }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHealth[name]))} -function check_required(o::ApplicationGatewayBackendHealth) +function OpenAPI.check_required(o::ApplicationGatewayBackendHealth) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHealth) + OpenAPI.validate_property(ApplicationGatewayBackendHealth, Symbol("backendAddressPools"), o.backendAddressPools) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHealth }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthHttpSettings.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthHttpSettings.jl index 9867940..a4fc6b9 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthHttpSettings.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthHttpSettings.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHealthHttpSettings <: OpenAP servers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendHealthServer} } function ApplicationGatewayBackendHealthHttpSettings(backendHttpSettings, servers, ) - OpenAPI.validate_property(ApplicationGatewayBackendHealthHttpSettings, Symbol("backendHttpSettings"), backendHttpSettings) - OpenAPI.validate_property(ApplicationGatewayBackendHealthHttpSettings, Symbol("servers"), servers) - return new(backendHttpSettings, servers, ) + o = new(backendHttpSettings, servers, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHealthHttpSettings const _property_types_ApplicationGatewayBackendHealthHttpSettings = Dict{Symbol,String}(Symbol("backendHttpSettings")=>"ApplicationGatewayBackendHttpSettings", Symbol("servers")=>"Vector{ApplicationGatewayBackendHealthServer}", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHealthHttpSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHealthHttpSettings[name]))} -function check_required(o::ApplicationGatewayBackendHealthHttpSettings) +function OpenAPI.check_required(o::ApplicationGatewayBackendHealthHttpSettings) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHealthHttpSettings) + OpenAPI.validate_property(ApplicationGatewayBackendHealthHttpSettings, Symbol("backendHttpSettings"), o.backendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayBackendHealthHttpSettings, Symbol("servers"), o.servers) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHealthHttpSettings }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthOnDemand.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthOnDemand.jl index a86e4da..ad34929 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthOnDemand.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthOnDemand.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHealthOnDemand <: OpenAPI.AP backendHealthHttpSettings = nothing # spec type: Union{ Nothing, ApplicationGatewayBackendHealthHttpSettings } function ApplicationGatewayBackendHealthOnDemand(backendAddressPool, backendHealthHttpSettings, ) - OpenAPI.validate_property(ApplicationGatewayBackendHealthOnDemand, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(ApplicationGatewayBackendHealthOnDemand, Symbol("backendHealthHttpSettings"), backendHealthHttpSettings) - return new(backendAddressPool, backendHealthHttpSettings, ) + o = new(backendAddressPool, backendHealthHttpSettings, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHealthOnDemand const _property_types_ApplicationGatewayBackendHealthOnDemand = Dict{Symbol,String}(Symbol("backendAddressPool")=>"ApplicationGatewayBackendAddressPool", Symbol("backendHealthHttpSettings")=>"ApplicationGatewayBackendHealthHttpSettings", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHealthOnDemand }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHealthOnDemand[name]))} -function check_required(o::ApplicationGatewayBackendHealthOnDemand) +function OpenAPI.check_required(o::ApplicationGatewayBackendHealthOnDemand) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHealthOnDemand) + OpenAPI.validate_property(ApplicationGatewayBackendHealthOnDemand, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendHealthOnDemand, Symbol("backendHealthHttpSettings"), o.backendHealthHttpSettings) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHealthOnDemand }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthPool.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthPool.jl index 2a89b7c..c7352fb 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthPool.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthPool.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHealthPool <: OpenAPI.APIMod backendHttpSettingsCollection::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendHealthHttpSettings} } function ApplicationGatewayBackendHealthPool(backendAddressPool, backendHttpSettingsCollection, ) - OpenAPI.validate_property(ApplicationGatewayBackendHealthPool, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(ApplicationGatewayBackendHealthPool, Symbol("backendHttpSettingsCollection"), backendHttpSettingsCollection) - return new(backendAddressPool, backendHttpSettingsCollection, ) + o = new(backendAddressPool, backendHttpSettingsCollection, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHealthPool const _property_types_ApplicationGatewayBackendHealthPool = Dict{Symbol,String}(Symbol("backendAddressPool")=>"ApplicationGatewayBackendAddressPool", Symbol("backendHttpSettingsCollection")=>"Vector{ApplicationGatewayBackendHealthHttpSettings}", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHealthPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHealthPool[name]))} -function check_required(o::ApplicationGatewayBackendHealthPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendHealthPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHealthPool) + OpenAPI.validate_property(ApplicationGatewayBackendHealthPool, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendHealthPool, Symbol("backendHttpSettingsCollection"), o.backendHttpSettingsCollection) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHealthPool }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthServer.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthServer.jl index 0a8e09d..bf94cd1 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthServer.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHealthServer.jl @@ -24,23 +24,33 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHealthServer <: OpenAPI.APIM healthProbeLog::Union{Nothing, String} = nothing function ApplicationGatewayBackendHealthServer(address, ipConfiguration, health, healthProbeLog, ) - OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("address"), address) - OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("health"), health) - OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("healthProbeLog"), healthProbeLog) - return new(address, ipConfiguration, health, healthProbeLog, ) + o = new(address, ipConfiguration, health, healthProbeLog, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHealthServer const _property_types_ApplicationGatewayBackendHealthServer = Dict{Symbol,String}(Symbol("address")=>"String", Symbol("ipConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("health")=>"String", Symbol("healthProbeLog")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHealthServer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHealthServer[name]))} -function check_required(o::ApplicationGatewayBackendHealthServer) +function OpenAPI.check_required(o::ApplicationGatewayBackendHealthServer) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHealthServer) + OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("address"), o.address) + OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("health"), o.health) + OpenAPI.validate_property(ApplicationGatewayBackendHealthServer, Symbol("healthProbeLog"), o.healthProbeLog) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHealthServer }, name::Symbol, val) + + + if name === Symbol("health") OpenAPI.validate_param(name, "ApplicationGatewayBackendHealthServer", :enum, val, ["Unknown", "Up", "Down", "Partial", "Draining"]) end + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettings.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettings.jl index b026d01..e860977 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettings.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHttpSettings <: OpenAPI.APIM id::Union{Nothing, String} = nothing function ApplicationGatewayBackendHttpSettings(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHttpSettings const _property_types_ApplicationGatewayBackendHttpSettings = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendHttpSettingsPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHttpSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHttpSettings[name]))} -function check_required(o::ApplicationGatewayBackendHttpSettings) +function OpenAPI.check_required(o::ApplicationGatewayBackendHttpSettings) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettings, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHttpSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettingsPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettingsPropertiesFormat.jl index 3a5114f..898137a 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettingsPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendHttpSettingsPropertiesFormat.jl @@ -54,39 +54,59 @@ Base.@kwdef mutable struct ApplicationGatewayBackendHttpSettingsPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendHttpSettingsPropertiesFormat(port, protocol, cookieBasedAffinity, requestTimeout, probe, authenticationCertificates, trustedRootCertificates, connectionDraining, hostName, pickHostNameFromBackendAddress, affinityCookieName, probeEnabled, path, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("port"), port) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("cookieBasedAffinity"), cookieBasedAffinity) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("requestTimeout"), requestTimeout) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("probe"), probe) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("authenticationCertificates"), authenticationCertificates) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("trustedRootCertificates"), trustedRootCertificates) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("connectionDraining"), connectionDraining) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("hostName"), hostName) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("pickHostNameFromBackendAddress"), pickHostNameFromBackendAddress) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("affinityCookieName"), affinityCookieName) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("probeEnabled"), probeEnabled) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("path"), path) - OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(port, protocol, cookieBasedAffinity, requestTimeout, probe, authenticationCertificates, trustedRootCertificates, connectionDraining, hostName, pickHostNameFromBackendAddress, affinityCookieName, probeEnabled, path, provisioningState, ) + o = new(port, protocol, cookieBasedAffinity, requestTimeout, probe, authenticationCertificates, trustedRootCertificates, connectionDraining, hostName, pickHostNameFromBackendAddress, affinityCookieName, probeEnabled, path, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendHttpSettingsPropertiesFormat const _property_types_ApplicationGatewayBackendHttpSettingsPropertiesFormat = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("cookieBasedAffinity")=>"String", Symbol("requestTimeout")=>"Int64", Symbol("probe")=>"SubResource", Symbol("authenticationCertificates")=>"Vector{SubResource}", Symbol("trustedRootCertificates")=>"Vector{SubResource}", Symbol("connectionDraining")=>"ApplicationGatewayConnectionDraining", Symbol("hostName")=>"String", Symbol("pickHostNameFromBackendAddress")=>"Bool", Symbol("affinityCookieName")=>"String", Symbol("probeEnabled")=>"Bool", Symbol("path")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendHttpSettingsPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendHttpSettingsPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendHttpSettingsPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendHttpSettingsPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendHttpSettingsPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("port"), o.port) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("cookieBasedAffinity"), o.cookieBasedAffinity) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("requestTimeout"), o.requestTimeout) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("probe"), o.probe) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("authenticationCertificates"), o.authenticationCertificates) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("trustedRootCertificates"), o.trustedRootCertificates) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("connectionDraining"), o.connectionDraining) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("hostName"), o.hostName) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("pickHostNameFromBackendAddress"), o.pickHostNameFromBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("affinityCookieName"), o.affinityCookieName) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("probeEnabled"), o.probeEnabled) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("path"), o.path) + OpenAPI.validate_property(ApplicationGatewayBackendHttpSettingsPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendHttpSettingsPropertiesFormat }, name::Symbol, val) + if name === Symbol("port") OpenAPI.validate_param(name, "ApplicationGatewayBackendHttpSettingsPropertiesFormat", :format, val, "int32") end + + if name === Symbol("cookieBasedAffinity") OpenAPI.validate_param(name, "ApplicationGatewayBackendHttpSettingsPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("requestTimeout") OpenAPI.validate_param(name, "ApplicationGatewayBackendHttpSettingsPropertiesFormat", :format, val, "int32") end + + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendSettings.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendSettings.jl new file mode 100644 index 0000000..0eced1f --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendSettings.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayBackendSettings +Backend address pool settings of an application gateway. + + ApplicationGatewayBackendSettings(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayBackendSettingsPropertiesFormat + - name::String : Name of the backend settings that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayBackendSettings <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayBackendSettingsPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayBackendSettings(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayBackendSettings + +const _property_types_ApplicationGatewayBackendSettings = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendSettingsPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayBackendSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendSettings[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayBackendSettings) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayBackendSettings) + OpenAPI.validate_property(ApplicationGatewayBackendSettings, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendSettings, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendSettings, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendSettings, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendSettings, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendSettings }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendSettingsPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendSettingsPropertiesFormat.jl new file mode 100644 index 0000000..cca31b3 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayBackendSettingsPropertiesFormat.jl @@ -0,0 +1,78 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayBackendSettingsPropertiesFormat +Properties of Backend address pool settings of an application gateway. + + ApplicationGatewayBackendSettingsPropertiesFormat(; + port=nothing, + protocol=nothing, + timeout=nothing, + probe=nothing, + trustedRootCertificates=nothing, + hostName=nothing, + pickHostNameFromBackendAddress=nothing, + provisioningState=nothing, + ) + + - port::Int64 : The destination port on the backend. + - protocol::ApplicationGatewayProtocol + - timeout::Int64 : Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds. + - probe::SubResource + - trustedRootCertificates::Vector{SubResource} : Array of references to application gateway trusted root certificates. + - hostName::String : Server name indication to be sent to the backend servers for Tls protocol. + - pickHostNameFromBackendAddress::Bool : Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayBackendSettingsPropertiesFormat <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + protocol = nothing # spec type: Union{ Nothing, ApplicationGatewayProtocol } + timeout::Union{Nothing, Int64} = nothing + probe = nothing # spec type: Union{ Nothing, SubResource } + trustedRootCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + hostName::Union{Nothing, String} = nothing + pickHostNameFromBackendAddress::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayBackendSettingsPropertiesFormat(port, protocol, timeout, probe, trustedRootCertificates, hostName, pickHostNameFromBackendAddress, provisioningState, ) + o = new(port, protocol, timeout, probe, trustedRootCertificates, hostName, pickHostNameFromBackendAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayBackendSettingsPropertiesFormat + +const _property_types_ApplicationGatewayBackendSettingsPropertiesFormat = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("timeout")=>"Int64", Symbol("probe")=>"SubResource", Symbol("trustedRootCertificates")=>"Vector{SubResource}", Symbol("hostName")=>"String", Symbol("pickHostNameFromBackendAddress")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayBackendSettingsPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendSettingsPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayBackendSettingsPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayBackendSettingsPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("port"), o.port) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("timeout"), o.timeout) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("probe"), o.probe) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("trustedRootCertificates"), o.trustedRootCertificates) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("hostName"), o.hostName) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("pickHostNameFromBackendAddress"), o.pickHostNameFromBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendSettingsPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendSettingsPropertiesFormat }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "ApplicationGatewayBackendSettingsPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("timeout") + OpenAPI.validate_param(name, "ApplicationGatewayBackendSettingsPropertiesFormat", :format, val, "int32") + end + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayClientAuthConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayClientAuthConfiguration.jl new file mode 100644 index 0000000..2213e9d --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayClientAuthConfiguration.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayClientAuthConfiguration +Application gateway client authentication configuration. + + ApplicationGatewayClientAuthConfiguration(; + verifyClientCertIssuerDN=nothing, + verifyClientRevocation=nothing, + ) + + - verifyClientCertIssuerDN::Bool : Verify client certificate issuer name on the application gateway. + - verifyClientRevocation::String : Verify client certificate revocation status. +""" +Base.@kwdef mutable struct ApplicationGatewayClientAuthConfiguration <: OpenAPI.APIModel + verifyClientCertIssuerDN::Union{Nothing, Bool} = nothing + verifyClientRevocation::Union{Nothing, String} = nothing + + function ApplicationGatewayClientAuthConfiguration(verifyClientCertIssuerDN, verifyClientRevocation, ) + o = new(verifyClientCertIssuerDN, verifyClientRevocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayClientAuthConfiguration + +const _property_types_ApplicationGatewayClientAuthConfiguration = Dict{Symbol,String}(Symbol("verifyClientCertIssuerDN")=>"Bool", Symbol("verifyClientRevocation")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayClientAuthConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayClientAuthConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayClientAuthConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayClientAuthConfiguration) + OpenAPI.validate_property(ApplicationGatewayClientAuthConfiguration, Symbol("verifyClientCertIssuerDN"), o.verifyClientCertIssuerDN) + OpenAPI.validate_property(ApplicationGatewayClientAuthConfiguration, Symbol("verifyClientRevocation"), o.verifyClientRevocation) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayClientAuthConfiguration }, name::Symbol, val) + + + if name === Symbol("verifyClientRevocation") + OpenAPI.validate_param(name, "ApplicationGatewayClientAuthConfiguration", :enum, val, ["None", "OCSP"]) + end + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayConnectionDraining.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayConnectionDraining.jl index 82e7392..251bc22 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayConnectionDraining.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayConnectionDraining.jl @@ -18,22 +18,29 @@ Base.@kwdef mutable struct ApplicationGatewayConnectionDraining <: OpenAPI.APIMo drainTimeoutInSec::Union{Nothing, Int64} = nothing function ApplicationGatewayConnectionDraining(enabled, drainTimeoutInSec, ) - OpenAPI.validate_property(ApplicationGatewayConnectionDraining, Symbol("enabled"), enabled) - OpenAPI.validate_property(ApplicationGatewayConnectionDraining, Symbol("drainTimeoutInSec"), drainTimeoutInSec) - return new(enabled, drainTimeoutInSec, ) + o = new(enabled, drainTimeoutInSec, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayConnectionDraining const _property_types_ApplicationGatewayConnectionDraining = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("drainTimeoutInSec")=>"Int64", ) OpenAPI.property_type(::Type{ ApplicationGatewayConnectionDraining }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayConnectionDraining[name]))} -function check_required(o::ApplicationGatewayConnectionDraining) +function OpenAPI.check_required(o::ApplicationGatewayConnectionDraining) o.enabled === nothing && (return false) o.drainTimeoutInSec === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayConnectionDraining) + OpenAPI.validate_property(ApplicationGatewayConnectionDraining, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(ApplicationGatewayConnectionDraining, Symbol("drainTimeoutInSec"), o.drainTimeoutInSec) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayConnectionDraining }, name::Symbol, val) + + if name === Symbol("drainTimeoutInSec") OpenAPI.validate_param(name, "ApplicationGatewayConnectionDraining", :format, val, "int32") end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayCustomError.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayCustomError.jl index de8bd63..b4e5a31 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayCustomError.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayCustomError.jl @@ -3,36 +3,44 @@ @doc raw"""ApplicationGatewayCustomError -Customer error of an application gateway. +Custom error of an application gateway. ApplicationGatewayCustomError(; statusCode=nothing, customErrorPageUrl=nothing, ) - - statusCode::String : Status code of the application gateway customer error. - - customErrorPageUrl::String : Error page URL of the application gateway customer error. + - statusCode::String : Status code of the application gateway custom error. + - customErrorPageUrl::String : Error page URL of the application gateway custom error. """ Base.@kwdef mutable struct ApplicationGatewayCustomError <: OpenAPI.APIModel statusCode::Union{Nothing, String} = nothing customErrorPageUrl::Union{Nothing, String} = nothing function ApplicationGatewayCustomError(statusCode, customErrorPageUrl, ) - OpenAPI.validate_property(ApplicationGatewayCustomError, Symbol("statusCode"), statusCode) - OpenAPI.validate_property(ApplicationGatewayCustomError, Symbol("customErrorPageUrl"), customErrorPageUrl) - return new(statusCode, customErrorPageUrl, ) + o = new(statusCode, customErrorPageUrl, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayCustomError const _property_types_ApplicationGatewayCustomError = Dict{Symbol,String}(Symbol("statusCode")=>"String", Symbol("customErrorPageUrl")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayCustomError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayCustomError[name]))} -function check_required(o::ApplicationGatewayCustomError) +function OpenAPI.check_required(o::ApplicationGatewayCustomError) true end +function OpenAPI.validate_properties(o::ApplicationGatewayCustomError) + OpenAPI.validate_property(ApplicationGatewayCustomError, Symbol("statusCode"), o.statusCode) + OpenAPI.validate_property(ApplicationGatewayCustomError, Symbol("customErrorPageUrl"), o.customErrorPageUrl) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayCustomError }, name::Symbol, val) + if name === Symbol("statusCode") - OpenAPI.validate_param(name, "ApplicationGatewayCustomError", :enum, val, ["HttpStatus403", "HttpStatus502"]) + OpenAPI.validate_param(name, "ApplicationGatewayCustomError", :enum, val, ["HttpStatus400", "HttpStatus403", "HttpStatus404", "HttpStatus405", "HttpStatus408", "HttpStatus500", "HttpStatus502", "HttpStatus503", "HttpStatus504"]) end + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallDisabledRuleGroup.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallDisabledRuleGroup.jl index 4da979d..b52162f 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallDisabledRuleGroup.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallDisabledRuleGroup.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ApplicationGatewayFirewallDisabledRuleGroup <: OpenAP rules::Union{Nothing, Vector{Int64}} = nothing function ApplicationGatewayFirewallDisabledRuleGroup(ruleGroupName, rules, ) - OpenAPI.validate_property(ApplicationGatewayFirewallDisabledRuleGroup, Symbol("ruleGroupName"), ruleGroupName) - OpenAPI.validate_property(ApplicationGatewayFirewallDisabledRuleGroup, Symbol("rules"), rules) - return new(ruleGroupName, rules, ) + o = new(ruleGroupName, rules, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFirewallDisabledRuleGroup const _property_types_ApplicationGatewayFirewallDisabledRuleGroup = Dict{Symbol,String}(Symbol("ruleGroupName")=>"String", Symbol("rules")=>"Vector{Int64}", ) OpenAPI.property_type(::Type{ ApplicationGatewayFirewallDisabledRuleGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFirewallDisabledRuleGroup[name]))} -function check_required(o::ApplicationGatewayFirewallDisabledRuleGroup) +function OpenAPI.check_required(o::ApplicationGatewayFirewallDisabledRuleGroup) o.ruleGroupName === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFirewallDisabledRuleGroup) + OpenAPI.validate_property(ApplicationGatewayFirewallDisabledRuleGroup, Symbol("ruleGroupName"), o.ruleGroupName) + OpenAPI.validate_property(ApplicationGatewayFirewallDisabledRuleGroup, Symbol("rules"), o.rules) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFirewallDisabledRuleGroup }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallExclusion.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallExclusion.jl index c4e1d3b..cf5437e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallExclusion.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallExclusion.jl @@ -21,22 +21,30 @@ Base.@kwdef mutable struct ApplicationGatewayFirewallExclusion <: OpenAPI.APIMod selector::Union{Nothing, String} = nothing function ApplicationGatewayFirewallExclusion(matchVariable, selectorMatchOperator, selector, ) - OpenAPI.validate_property(ApplicationGatewayFirewallExclusion, Symbol("matchVariable"), matchVariable) - OpenAPI.validate_property(ApplicationGatewayFirewallExclusion, Symbol("selectorMatchOperator"), selectorMatchOperator) - OpenAPI.validate_property(ApplicationGatewayFirewallExclusion, Symbol("selector"), selector) - return new(matchVariable, selectorMatchOperator, selector, ) + o = new(matchVariable, selectorMatchOperator, selector, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFirewallExclusion const _property_types_ApplicationGatewayFirewallExclusion = Dict{Symbol,String}(Symbol("matchVariable")=>"String", Symbol("selectorMatchOperator")=>"String", Symbol("selector")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayFirewallExclusion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFirewallExclusion[name]))} -function check_required(o::ApplicationGatewayFirewallExclusion) +function OpenAPI.check_required(o::ApplicationGatewayFirewallExclusion) o.matchVariable === nothing && (return false) o.selectorMatchOperator === nothing && (return false) o.selector === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFirewallExclusion) + OpenAPI.validate_property(ApplicationGatewayFirewallExclusion, Symbol("matchVariable"), o.matchVariable) + OpenAPI.validate_property(ApplicationGatewayFirewallExclusion, Symbol("selectorMatchOperator"), o.selectorMatchOperator) + OpenAPI.validate_property(ApplicationGatewayFirewallExclusion, Symbol("selector"), o.selector) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFirewallExclusion }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRule.jl index 96f6844..b41929d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRule.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRule.jl @@ -7,33 +7,72 @@ A web application firewall rule. ApplicationGatewayFirewallRule(; ruleId=nothing, + ruleIdString=nothing, + state=nothing, + action=nothing, + sensitivity=nothing, description=nothing, ) - ruleId::Int64 : The identifier of the web application firewall rule. + - ruleIdString::String : The string representation of the web application firewall rule identifier. + - state::String : The string representation of the web application firewall rule state. + - action::String : The string representation of the web application firewall rule action. + - sensitivity::String : The string representation of the web application firewall rule sensitivity. - description::String : The description of the web application firewall rule. """ Base.@kwdef mutable struct ApplicationGatewayFirewallRule <: OpenAPI.APIModel ruleId::Union{Nothing, Int64} = nothing + ruleIdString::Union{Nothing, String} = nothing + state::Union{Nothing, String} = nothing + action::Union{Nothing, String} = nothing + sensitivity::Union{Nothing, String} = nothing description::Union{Nothing, String} = nothing - function ApplicationGatewayFirewallRule(ruleId, description, ) - OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("ruleId"), ruleId) - OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("description"), description) - return new(ruleId, description, ) + function ApplicationGatewayFirewallRule(ruleId, ruleIdString, state, action, sensitivity, description, ) + o = new(ruleId, ruleIdString, state, action, sensitivity, description, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFirewallRule -const _property_types_ApplicationGatewayFirewallRule = Dict{Symbol,String}(Symbol("ruleId")=>"Int64", Symbol("description")=>"String", ) +const _property_types_ApplicationGatewayFirewallRule = Dict{Symbol,String}(Symbol("ruleId")=>"Int64", Symbol("ruleIdString")=>"String", Symbol("state")=>"String", Symbol("action")=>"String", Symbol("sensitivity")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayFirewallRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFirewallRule[name]))} -function check_required(o::ApplicationGatewayFirewallRule) +function OpenAPI.check_required(o::ApplicationGatewayFirewallRule) o.ruleId === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFirewallRule) + OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("ruleId"), o.ruleId) + OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("ruleIdString"), o.ruleIdString) + OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("state"), o.state) + OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("action"), o.action) + OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("sensitivity"), o.sensitivity) + OpenAPI.validate_property(ApplicationGatewayFirewallRule, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFirewallRule }, name::Symbol, val) + if name === Symbol("ruleId") OpenAPI.validate_param(name, "ApplicationGatewayFirewallRule", :format, val, "int32") end + + + if name === Symbol("state") + OpenAPI.validate_param(name, "ApplicationGatewayFirewallRule", :enum, val, ["Enabled", "Disabled"]) + end + + + if name === Symbol("action") + OpenAPI.validate_param(name, "ApplicationGatewayFirewallRule", :enum, val, ["None", "AnomalyScoring", "Allow", "Block", "Log"]) + end + + + if name === Symbol("sensitivity") + OpenAPI.validate_param(name, "ApplicationGatewayFirewallRule", :enum, val, ["None", "Low", "Medium", "High"]) + end + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleGroup.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleGroup.jl index fd6be78..421425e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleGroup.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleGroup.jl @@ -21,21 +21,29 @@ Base.@kwdef mutable struct ApplicationGatewayFirewallRuleGroup <: OpenAPI.APIMod rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayFirewallRule} } function ApplicationGatewayFirewallRuleGroup(ruleGroupName, description, rules, ) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleGroup, Symbol("ruleGroupName"), ruleGroupName) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleGroup, Symbol("description"), description) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleGroup, Symbol("rules"), rules) - return new(ruleGroupName, description, rules, ) + o = new(ruleGroupName, description, rules, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFirewallRuleGroup const _property_types_ApplicationGatewayFirewallRuleGroup = Dict{Symbol,String}(Symbol("ruleGroupName")=>"String", Symbol("description")=>"String", Symbol("rules")=>"Vector{ApplicationGatewayFirewallRule}", ) OpenAPI.property_type(::Type{ ApplicationGatewayFirewallRuleGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFirewallRuleGroup[name]))} -function check_required(o::ApplicationGatewayFirewallRuleGroup) +function OpenAPI.check_required(o::ApplicationGatewayFirewallRuleGroup) o.ruleGroupName === nothing && (return false) o.rules === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFirewallRuleGroup) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleGroup, Symbol("ruleGroupName"), o.ruleGroupName) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleGroup, Symbol("description"), o.description) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleGroup, Symbol("rules"), o.rules) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFirewallRuleGroup }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSet.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSet.jl index 5c26006..fa93c00 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSet.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSet.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct ApplicationGatewayFirewallRuleSet <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationGatewayFirewallRuleSet(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("id"), id) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("location"), location) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFirewallRuleSet const _property_types_ApplicationGatewayFirewallRuleSet = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayFirewallRuleSetPropertiesFormat", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationGatewayFirewallRuleSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFirewallRuleSet[name]))} -function check_required(o::ApplicationGatewayFirewallRuleSet) +function OpenAPI.check_required(o::ApplicationGatewayFirewallRuleSet) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFirewallRuleSet) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSet, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFirewallRuleSet }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSetPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSetPropertiesFormat.jl index 9375c12..e83f7ac 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSetPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFirewallRuleSetPropertiesFormat.jl @@ -10,37 +10,55 @@ Properties of the web application firewall rule set. ruleSetType=nothing, ruleSetVersion=nothing, ruleGroups=nothing, + tiers=nothing, ) - provisioningState::ProvisioningState - ruleSetType::String : The type of the web application firewall rule set. - ruleSetVersion::String : The version of the web application firewall rule set type. - ruleGroups::Vector{ApplicationGatewayFirewallRuleGroup} : The rule groups of the web application firewall rule set. + - tiers::Vector{String} : Tier of an application gateway that support the rule set. """ Base.@kwdef mutable struct ApplicationGatewayFirewallRuleSetPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } ruleSetType::Union{Nothing, String} = nothing ruleSetVersion::Union{Nothing, String} = nothing ruleGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayFirewallRuleGroup} } + tiers::Union{Nothing, Vector{String}} = nothing - function ApplicationGatewayFirewallRuleSetPropertiesFormat(provisioningState, ruleSetType, ruleSetVersion, ruleGroups, ) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("ruleSetType"), ruleSetType) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("ruleSetVersion"), ruleSetVersion) - OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("ruleGroups"), ruleGroups) - return new(provisioningState, ruleSetType, ruleSetVersion, ruleGroups, ) + function ApplicationGatewayFirewallRuleSetPropertiesFormat(provisioningState, ruleSetType, ruleSetVersion, ruleGroups, tiers, ) + o = new(provisioningState, ruleSetType, ruleSetVersion, ruleGroups, tiers, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFirewallRuleSetPropertiesFormat -const _property_types_ApplicationGatewayFirewallRuleSetPropertiesFormat = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("ruleSetType")=>"String", Symbol("ruleSetVersion")=>"String", Symbol("ruleGroups")=>"Vector{ApplicationGatewayFirewallRuleGroup}", ) +const _property_types_ApplicationGatewayFirewallRuleSetPropertiesFormat = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("ruleSetType")=>"String", Symbol("ruleSetVersion")=>"String", Symbol("ruleGroups")=>"Vector{ApplicationGatewayFirewallRuleGroup}", Symbol("tiers")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ApplicationGatewayFirewallRuleSetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFirewallRuleSetPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayFirewallRuleSetPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayFirewallRuleSetPropertiesFormat) o.ruleSetType === nothing && (return false) o.ruleSetVersion === nothing && (return false) o.ruleGroups === nothing && (return false) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFirewallRuleSetPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("ruleSetType"), o.ruleSetType) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("ruleSetVersion"), o.ruleSetVersion) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("ruleGroups"), o.ruleGroups) + OpenAPI.validate_property(ApplicationGatewayFirewallRuleSetPropertiesFormat, Symbol("tiers"), o.tiers) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFirewallRuleSetPropertiesFormat }, name::Symbol, val) + + + + + + if name === Symbol("tiers") + OpenAPI.validate_param(name, "ApplicationGatewayFirewallRuleSetPropertiesFormat", :enum, val, ["Standard", "WAF", "Standard_v2", "WAF_v2"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfiguration.jl index 41ddd1c..2fb2bf1 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayFrontendIPConfiguration <: OpenAPI. id::Union{Nothing, String} = nothing function ApplicationGatewayFrontendIPConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFrontendIPConfiguration const _property_types_ApplicationGatewayFrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayFrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayFrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFrontendIPConfiguration[name]))} -function check_required(o::ApplicationGatewayFrontendIPConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayFrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFrontendIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFrontendIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfigurationPropertiesFormat.jl index 279c7c9..23483e9 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendIPConfigurationPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct ApplicationGatewayFrontendIPConfigurationPropertiesFo provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayFrontendIPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, privateLinkConfiguration, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("privateLinkConfiguration"), privateLinkConfiguration) - OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, privateLinkConfiguration, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, privateLinkConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFrontendIPConfigurationPropertiesFormat const _property_types_ApplicationGatewayFrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"SubResource", Symbol("publicIPAddress")=>"SubResource", Symbol("privateLinkConfiguration")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayFrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayFrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayFrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("privateLinkConfiguration"), o.privateLinkConfiguration) + OpenAPI.validate_property(ApplicationGatewayFrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPort.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPort.jl index de751eb..215a9a1 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPort.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPort.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayFrontendPort <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayFrontendPort(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFrontendPort const _property_types_ApplicationGatewayFrontendPort = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayFrontendPortPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayFrontendPort }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFrontendPort[name]))} -function check_required(o::ApplicationGatewayFrontendPort) +function OpenAPI.check_required(o::ApplicationGatewayFrontendPort) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFrontendPort) + OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayFrontendPort, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFrontendPort }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPortPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPortPropertiesFormat.jl index 0885090..3d49021 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPortPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayFrontendPortPropertiesFormat.jl @@ -18,21 +18,28 @@ Base.@kwdef mutable struct ApplicationGatewayFrontendPortPropertiesFormat <: Ope provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayFrontendPortPropertiesFormat(port, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayFrontendPortPropertiesFormat, Symbol("port"), port) - OpenAPI.validate_property(ApplicationGatewayFrontendPortPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(port, provisioningState, ) + o = new(port, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayFrontendPortPropertiesFormat const _property_types_ApplicationGatewayFrontendPortPropertiesFormat = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayFrontendPortPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayFrontendPortPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayFrontendPortPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayFrontendPortPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayFrontendPortPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayFrontendPortPropertiesFormat, Symbol("port"), o.port) + OpenAPI.validate_property(ApplicationGatewayFrontendPortPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayFrontendPortPropertiesFormat }, name::Symbol, val) + if name === Symbol("port") OpenAPI.validate_param(name, "ApplicationGatewayFrontendPortPropertiesFormat", :format, val, "int32") end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayGlobalConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayGlobalConfiguration.jl new file mode 100644 index 0000000..1638330 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayGlobalConfiguration.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayGlobalConfiguration +Application Gateway global configuration. + + ApplicationGatewayGlobalConfiguration(; + enableRequestBuffering=nothing, + enableResponseBuffering=nothing, + ) + + - enableRequestBuffering::Bool : Enable request buffering. + - enableResponseBuffering::Bool : Enable response buffering. +""" +Base.@kwdef mutable struct ApplicationGatewayGlobalConfiguration <: OpenAPI.APIModel + enableRequestBuffering::Union{Nothing, Bool} = nothing + enableResponseBuffering::Union{Nothing, Bool} = nothing + + function ApplicationGatewayGlobalConfiguration(enableRequestBuffering, enableResponseBuffering, ) + o = new(enableRequestBuffering, enableResponseBuffering, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayGlobalConfiguration + +const _property_types_ApplicationGatewayGlobalConfiguration = Dict{Symbol,String}(Symbol("enableRequestBuffering")=>"Bool", Symbol("enableResponseBuffering")=>"Bool", ) +OpenAPI.property_type(::Type{ ApplicationGatewayGlobalConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayGlobalConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayGlobalConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayGlobalConfiguration) + OpenAPI.validate_property(ApplicationGatewayGlobalConfiguration, Symbol("enableRequestBuffering"), o.enableRequestBuffering) + OpenAPI.validate_property(ApplicationGatewayGlobalConfiguration, Symbol("enableResponseBuffering"), o.enableResponseBuffering) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayGlobalConfiguration }, name::Symbol, val) + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHeaderConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHeaderConfiguration.jl index bebc754..e328b39 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHeaderConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHeaderConfiguration.jl @@ -7,29 +7,41 @@ Header configuration of the Actions set in Application Gateway. ApplicationGatewayHeaderConfiguration(; headerName=nothing, + headerValueMatcher=nothing, headerValue=nothing, ) - headerName::String : Header name of the header configuration. + - headerValueMatcher::HeaderValueMatcher - headerValue::String : Header value of the header configuration. """ Base.@kwdef mutable struct ApplicationGatewayHeaderConfiguration <: OpenAPI.APIModel headerName::Union{Nothing, String} = nothing + headerValueMatcher = nothing # spec type: Union{ Nothing, HeaderValueMatcher } headerValue::Union{Nothing, String} = nothing - function ApplicationGatewayHeaderConfiguration(headerName, headerValue, ) - OpenAPI.validate_property(ApplicationGatewayHeaderConfiguration, Symbol("headerName"), headerName) - OpenAPI.validate_property(ApplicationGatewayHeaderConfiguration, Symbol("headerValue"), headerValue) - return new(headerName, headerValue, ) + function ApplicationGatewayHeaderConfiguration(headerName, headerValueMatcher, headerValue, ) + o = new(headerName, headerValueMatcher, headerValue, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayHeaderConfiguration -const _property_types_ApplicationGatewayHeaderConfiguration = Dict{Symbol,String}(Symbol("headerName")=>"String", Symbol("headerValue")=>"String", ) +const _property_types_ApplicationGatewayHeaderConfiguration = Dict{Symbol,String}(Symbol("headerName")=>"String", Symbol("headerValueMatcher")=>"HeaderValueMatcher", Symbol("headerValue")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayHeaderConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayHeaderConfiguration[name]))} -function check_required(o::ApplicationGatewayHeaderConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayHeaderConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayHeaderConfiguration) + OpenAPI.validate_property(ApplicationGatewayHeaderConfiguration, Symbol("headerName"), o.headerName) + OpenAPI.validate_property(ApplicationGatewayHeaderConfiguration, Symbol("headerValueMatcher"), o.headerValueMatcher) + OpenAPI.validate_property(ApplicationGatewayHeaderConfiguration, Symbol("headerValue"), o.headerValue) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayHeaderConfiguration }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListener.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListener.jl index 1c13b01..03d8b34 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListener.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListener.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayHttpListener <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayHttpListener(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayHttpListener const _property_types_ApplicationGatewayHttpListener = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayHttpListenerPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayHttpListener }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayHttpListener[name]))} -function check_required(o::ApplicationGatewayHttpListener) +function OpenAPI.check_required(o::ApplicationGatewayHttpListener) true end +function OpenAPI.validate_properties(o::ApplicationGatewayHttpListener) + OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayHttpListener, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayHttpListener }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListenerPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListenerPropertiesFormat.jl index e74673b..062280b 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListenerPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayHttpListenerPropertiesFormat.jl @@ -11,6 +11,7 @@ Properties of HTTP listener of an application gateway. protocol=nothing, hostName=nothing, sslCertificate=nothing, + sslProfile=nothing, requireServerNameIndication=nothing, provisioningState=nothing, customErrorConfigurations=nothing, @@ -23,6 +24,7 @@ Properties of HTTP listener of an application gateway. - protocol::ApplicationGatewayProtocol - hostName::String : Host name of HTTP listener. - sslCertificate::SubResource + - sslProfile::SubResource - requireServerNameIndication::Bool : Applicable only if protocol is https. Enables SNI for multi-hosting. - provisioningState::ProvisioningState - customErrorConfigurations::Vector{ApplicationGatewayCustomError} : Custom error configurations of the HTTP listener. @@ -35,33 +37,51 @@ Base.@kwdef mutable struct ApplicationGatewayHttpListenerPropertiesFormat <: Ope protocol = nothing # spec type: Union{ Nothing, ApplicationGatewayProtocol } hostName::Union{Nothing, String} = nothing sslCertificate = nothing # spec type: Union{ Nothing, SubResource } + sslProfile = nothing # spec type: Union{ Nothing, SubResource } requireServerNameIndication::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } customErrorConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayCustomError} } firewallPolicy = nothing # spec type: Union{ Nothing, SubResource } hostNames::Union{Nothing, Vector{String}} = nothing - function ApplicationGatewayHttpListenerPropertiesFormat(frontendIPConfiguration, frontendPort, protocol, hostName, sslCertificate, requireServerNameIndication, provisioningState, customErrorConfigurations, firewallPolicy, hostNames, ) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("hostName"), hostName) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("sslCertificate"), sslCertificate) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("requireServerNameIndication"), requireServerNameIndication) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("customErrorConfigurations"), customErrorConfigurations) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("firewallPolicy"), firewallPolicy) - OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("hostNames"), hostNames) - return new(frontendIPConfiguration, frontendPort, protocol, hostName, sslCertificate, requireServerNameIndication, provisioningState, customErrorConfigurations, firewallPolicy, hostNames, ) + function ApplicationGatewayHttpListenerPropertiesFormat(frontendIPConfiguration, frontendPort, protocol, hostName, sslCertificate, sslProfile, requireServerNameIndication, provisioningState, customErrorConfigurations, firewallPolicy, hostNames, ) + o = new(frontendIPConfiguration, frontendPort, protocol, hostName, sslCertificate, sslProfile, requireServerNameIndication, provisioningState, customErrorConfigurations, firewallPolicy, hostNames, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayHttpListenerPropertiesFormat -const _property_types_ApplicationGatewayHttpListenerPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("frontendPort")=>"SubResource", Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("hostName")=>"String", Symbol("sslCertificate")=>"SubResource", Symbol("requireServerNameIndication")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("customErrorConfigurations")=>"Vector{ApplicationGatewayCustomError}", Symbol("firewallPolicy")=>"SubResource", Symbol("hostNames")=>"Vector{String}", ) +const _property_types_ApplicationGatewayHttpListenerPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("frontendPort")=>"SubResource", Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("hostName")=>"String", Symbol("sslCertificate")=>"SubResource", Symbol("sslProfile")=>"SubResource", Symbol("requireServerNameIndication")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("customErrorConfigurations")=>"Vector{ApplicationGatewayCustomError}", Symbol("firewallPolicy")=>"SubResource", Symbol("hostNames")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ApplicationGatewayHttpListenerPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayHttpListenerPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayHttpListenerPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayHttpListenerPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayHttpListenerPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("hostName"), o.hostName) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("sslCertificate"), o.sslCertificate) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("sslProfile"), o.sslProfile) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("requireServerNameIndication"), o.requireServerNameIndication) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("customErrorConfigurations"), o.customErrorConfigurations) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("firewallPolicy"), o.firewallPolicy) + OpenAPI.validate_property(ApplicationGatewayHttpListenerPropertiesFormat, Symbol("hostNames"), o.hostNames) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayHttpListenerPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration.jl index a68a0f8..1ab8314 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayIPConfiguration const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} -function check_required(o::ApplicationGatewayIPConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration2.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration2.jl new file mode 100644 index 0000000..4870b36 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfiguration2.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration_2 +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration2(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat2 + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration2 <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat2 } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration2(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration2 + +const _property_types_ApplicationGatewayIPConfiguration2 = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration2[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration2) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration2) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration2, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration2, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration2, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration2, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration2, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration2 }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl index 84da330..b36eed5 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayIPConfigurationPropertiesFormat const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat2.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat2.jl new file mode 100644 index 0000000..1d0f45a --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat2.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat_2 +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat2(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat2 <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat2(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat2 + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat2[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat2) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat2) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat2, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat2 }, name::Symbol, val) + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListResult.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListResult.jl index 5a43a7c..92a94b0 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListResult.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ApplicationGatewayListResult(value, nextLink, ) - OpenAPI.validate_property(ApplicationGatewayListResult, Symbol("value"), value) - OpenAPI.validate_property(ApplicationGatewayListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayListResult const _property_types_ApplicationGatewayListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ApplicationGateway}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayListResult[name]))} -function check_required(o::ApplicationGatewayListResult) +function OpenAPI.check_required(o::ApplicationGatewayListResult) true end +function OpenAPI.validate_properties(o::ApplicationGatewayListResult) + OpenAPI.validate_property(ApplicationGatewayListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ApplicationGatewayListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayListResult }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListener.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListener.jl new file mode 100644 index 0000000..86c502e --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListener.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayListener +Listener of an application gateway. + + ApplicationGatewayListener(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayListenerPropertiesFormat + - name::String : Name of the listener that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayListener <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayListenerPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayListener(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayListener + +const _property_types_ApplicationGatewayListener = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayListenerPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayListener }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayListener[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayListener) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayListener) + OpenAPI.validate_property(ApplicationGatewayListener, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayListener, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayListener, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayListener, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayListener, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayListener }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListenerPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListenerPropertiesFormat.jl new file mode 100644 index 0000000..cf39569 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayListenerPropertiesFormat.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayListenerPropertiesFormat +Properties of listener of an application gateway. + + ApplicationGatewayListenerPropertiesFormat(; + frontendIPConfiguration=nothing, + frontendPort=nothing, + protocol=nothing, + sslCertificate=nothing, + sslProfile=nothing, + provisioningState=nothing, + hostNames=nothing, + ) + + - frontendIPConfiguration::SubResource + - frontendPort::SubResource + - protocol::ApplicationGatewayProtocol + - sslCertificate::SubResource + - sslProfile::SubResource + - provisioningState::ProvisioningState + - hostNames::Vector{String} : List of Server Name Indications(SNI) for TLS Multi-site Listener that allows special wildcard characters as well. +""" +Base.@kwdef mutable struct ApplicationGatewayListenerPropertiesFormat <: OpenAPI.APIModel + frontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + frontendPort = nothing # spec type: Union{ Nothing, SubResource } + protocol = nothing # spec type: Union{ Nothing, ApplicationGatewayProtocol } + sslCertificate = nothing # spec type: Union{ Nothing, SubResource } + sslProfile = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hostNames::Union{Nothing, Vector{String}} = nothing + + function ApplicationGatewayListenerPropertiesFormat(frontendIPConfiguration, frontendPort, protocol, sslCertificate, sslProfile, provisioningState, hostNames, ) + o = new(frontendIPConfiguration, frontendPort, protocol, sslCertificate, sslProfile, provisioningState, hostNames, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayListenerPropertiesFormat + +const _property_types_ApplicationGatewayListenerPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("frontendPort")=>"SubResource", Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("sslCertificate")=>"SubResource", Symbol("sslProfile")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", Symbol("hostNames")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ApplicationGatewayListenerPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayListenerPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayListenerPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayListenerPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("sslCertificate"), o.sslCertificate) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("sslProfile"), o.sslProfile) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayListenerPropertiesFormat, Symbol("hostNames"), o.hostNames) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayListenerPropertiesFormat }, name::Symbol, val) + + + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionAlgorithmEnum.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionAlgorithmEnum.jl new file mode 100644 index 0000000..841a3de --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionAlgorithmEnum.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ApplicationGatewayLoadDistributionAlgorithmEnum) + const ApplicationGatewayLoadDistributionAlgorithmEnum = String +else + @warn("Skipping redefinition of ApplicationGatewayLoadDistributionAlgorithmEnum to String") +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionPolicy.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionPolicy.jl new file mode 100644 index 0000000..d705e05 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionPolicy.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayLoadDistributionPolicy +Load Distribution Policy of an application gateway. + + ApplicationGatewayLoadDistributionPolicy(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayLoadDistributionPolicyPropertiesFormat + - name::String : Name of the load distribution policy that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayLoadDistributionPolicy <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayLoadDistributionPolicyPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayLoadDistributionPolicy(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayLoadDistributionPolicy + +const _property_types_ApplicationGatewayLoadDistributionPolicy = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayLoadDistributionPolicyPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayLoadDistributionPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayLoadDistributionPolicy[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayLoadDistributionPolicy) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayLoadDistributionPolicy) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicy, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayLoadDistributionPolicy }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionPolicyPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionPolicyPropertiesFormat.jl new file mode 100644 index 0000000..3f84f2f --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionPolicyPropertiesFormat.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayLoadDistributionPolicyPropertiesFormat +Properties of Load Distribution Policy of an application gateway. + + ApplicationGatewayLoadDistributionPolicyPropertiesFormat(; + loadDistributionTargets=nothing, + loadDistributionAlgorithm=nothing, + provisioningState=nothing, + ) + + - loadDistributionTargets::Vector{ApplicationGatewayLoadDistributionTarget} : Load Distribution Targets resource of an application gateway. + - loadDistributionAlgorithm::ApplicationGatewayLoadDistributionAlgorithmEnum + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayLoadDistributionPolicyPropertiesFormat <: OpenAPI.APIModel + loadDistributionTargets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayLoadDistributionTarget} } + loadDistributionAlgorithm = nothing # spec type: Union{ Nothing, ApplicationGatewayLoadDistributionAlgorithmEnum } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayLoadDistributionPolicyPropertiesFormat(loadDistributionTargets, loadDistributionAlgorithm, provisioningState, ) + o = new(loadDistributionTargets, loadDistributionAlgorithm, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayLoadDistributionPolicyPropertiesFormat + +const _property_types_ApplicationGatewayLoadDistributionPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("loadDistributionTargets")=>"Vector{ApplicationGatewayLoadDistributionTarget}", Symbol("loadDistributionAlgorithm")=>"ApplicationGatewayLoadDistributionAlgorithmEnum", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayLoadDistributionPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayLoadDistributionPolicyPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayLoadDistributionPolicyPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayLoadDistributionPolicyPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicyPropertiesFormat, Symbol("loadDistributionTargets"), o.loadDistributionTargets) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicyPropertiesFormat, Symbol("loadDistributionAlgorithm"), o.loadDistributionAlgorithm) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayLoadDistributionPolicyPropertiesFormat }, name::Symbol, val) + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionTarget.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionTarget.jl new file mode 100644 index 0000000..944f294 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionTarget.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayLoadDistributionTarget +Load Distribution Target of an application gateway. + + ApplicationGatewayLoadDistributionTarget(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayLoadDistributionTargetPropertiesFormat + - name::String : Name of the load distribution policy that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayLoadDistributionTarget <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayLoadDistributionTargetPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayLoadDistributionTarget(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayLoadDistributionTarget + +const _property_types_ApplicationGatewayLoadDistributionTarget = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayLoadDistributionTargetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayLoadDistributionTarget }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayLoadDistributionTarget[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayLoadDistributionTarget) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayLoadDistributionTarget) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTarget, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTarget, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTarget, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTarget, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTarget, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayLoadDistributionTarget }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionTargetPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionTargetPropertiesFormat.jl new file mode 100644 index 0000000..37c997c --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayLoadDistributionTargetPropertiesFormat.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayLoadDistributionTargetPropertiesFormat + + ApplicationGatewayLoadDistributionTargetPropertiesFormat(; + weightPerServer=nothing, + backendAddressPool=nothing, + ) + + - weightPerServer::Int64 : Weight per server. Range between 1 and 100. + - backendAddressPool::SubResource +""" +Base.@kwdef mutable struct ApplicationGatewayLoadDistributionTargetPropertiesFormat <: OpenAPI.APIModel + weightPerServer::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } + + function ApplicationGatewayLoadDistributionTargetPropertiesFormat(weightPerServer, backendAddressPool, ) + o = new(weightPerServer, backendAddressPool, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayLoadDistributionTargetPropertiesFormat + +const _property_types_ApplicationGatewayLoadDistributionTargetPropertiesFormat = Dict{Symbol,String}(Symbol("weightPerServer")=>"Int64", Symbol("backendAddressPool")=>"SubResource", ) +OpenAPI.property_type(::Type{ ApplicationGatewayLoadDistributionTargetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayLoadDistributionTargetPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayLoadDistributionTargetPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayLoadDistributionTargetPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTargetPropertiesFormat, Symbol("weightPerServer"), o.weightPerServer) + OpenAPI.validate_property(ApplicationGatewayLoadDistributionTargetPropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayLoadDistributionTargetPropertiesFormat }, name::Symbol, val) + + if name === Symbol("weightPerServer") + OpenAPI.validate_param(name, "ApplicationGatewayLoadDistributionTargetPropertiesFormat", :format, val, "int32") + end + if name === Symbol("weightPerServer") + OpenAPI.validate_param(name, "ApplicationGatewayLoadDistributionTargetPropertiesFormat", :maximum, val, 100, false) + OpenAPI.validate_param(name, "ApplicationGatewayLoadDistributionTargetPropertiesFormat", :minimum, val, 1, false) + end + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayOnDemandProbe.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayOnDemandProbe.jl index 2ac8fa9..7111c2e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayOnDemandProbe.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayOnDemandProbe.jl @@ -36,27 +36,40 @@ Base.@kwdef mutable struct ApplicationGatewayOnDemandProbe <: OpenAPI.APIModel backendHttpSettings = nothing # spec type: Union{ Nothing, SubResource } function ApplicationGatewayOnDemandProbe(protocol, host, path, timeout, pickHostNameFromBackendHttpSettings, match, backendAddressPool, backendHttpSettings, ) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("protocol"), protocol) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("host"), host) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("path"), path) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("timeout"), timeout) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("pickHostNameFromBackendHttpSettings"), pickHostNameFromBackendHttpSettings) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("match"), match) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("backendHttpSettings"), backendHttpSettings) - return new(protocol, host, path, timeout, pickHostNameFromBackendHttpSettings, match, backendAddressPool, backendHttpSettings, ) + o = new(protocol, host, path, timeout, pickHostNameFromBackendHttpSettings, match, backendAddressPool, backendHttpSettings, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayOnDemandProbe const _property_types_ApplicationGatewayOnDemandProbe = Dict{Symbol,String}(Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("host")=>"String", Symbol("path")=>"String", Symbol("timeout")=>"Int64", Symbol("pickHostNameFromBackendHttpSettings")=>"Bool", Symbol("match")=>"ApplicationGatewayProbeHealthResponseMatch", Symbol("backendAddressPool")=>"SubResource", Symbol("backendHttpSettings")=>"SubResource", ) OpenAPI.property_type(::Type{ ApplicationGatewayOnDemandProbe }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayOnDemandProbe[name]))} -function check_required(o::ApplicationGatewayOnDemandProbe) +function OpenAPI.check_required(o::ApplicationGatewayOnDemandProbe) true end +function OpenAPI.validate_properties(o::ApplicationGatewayOnDemandProbe) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("host"), o.host) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("path"), o.path) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("timeout"), o.timeout) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("pickHostNameFromBackendHttpSettings"), o.pickHostNameFromBackendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("match"), o.match) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(ApplicationGatewayOnDemandProbe, Symbol("backendHttpSettings"), o.backendHttpSettings) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayOnDemandProbe }, name::Symbol, val) + + + + if name === Symbol("timeout") OpenAPI.validate_param(name, "ApplicationGatewayOnDemandProbe", :format, val, "int32") end + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRule.jl index 8bc6600..20ca911 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRule.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayPathRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayPathRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPathRule const _property_types_ApplicationGatewayPathRule = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPathRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPathRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPathRule[name]))} -function check_required(o::ApplicationGatewayPathRule) +function OpenAPI.check_required(o::ApplicationGatewayPathRule) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPathRule) + OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayPathRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPathRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRulePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRulePropertiesFormat.jl index fc19101..0ccfbe0 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRulePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPathRulePropertiesFormat.jl @@ -11,6 +11,7 @@ Properties of path rule of an application gateway. backendHttpSettings=nothing, redirectConfiguration=nothing, rewriteRuleSet=nothing, + loadDistributionPolicy=nothing, provisioningState=nothing, firewallPolicy=nothing, ) @@ -20,6 +21,7 @@ Properties of path rule of an application gateway. - backendHttpSettings::SubResource - redirectConfiguration::SubResource - rewriteRuleSet::SubResource + - loadDistributionPolicy::SubResource - provisioningState::ProvisioningState - firewallPolicy::SubResource """ @@ -29,27 +31,42 @@ Base.@kwdef mutable struct ApplicationGatewayPathRulePropertiesFormat <: OpenAPI backendHttpSettings = nothing # spec type: Union{ Nothing, SubResource } redirectConfiguration = nothing # spec type: Union{ Nothing, SubResource } rewriteRuleSet = nothing # spec type: Union{ Nothing, SubResource } + loadDistributionPolicy = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } firewallPolicy = nothing # spec type: Union{ Nothing, SubResource } - function ApplicationGatewayPathRulePropertiesFormat(paths, backendAddressPool, backendHttpSettings, redirectConfiguration, rewriteRuleSet, provisioningState, firewallPolicy, ) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("paths"), paths) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("backendHttpSettings"), backendHttpSettings) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("redirectConfiguration"), redirectConfiguration) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("rewriteRuleSet"), rewriteRuleSet) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("firewallPolicy"), firewallPolicy) - return new(paths, backendAddressPool, backendHttpSettings, redirectConfiguration, rewriteRuleSet, provisioningState, firewallPolicy, ) + function ApplicationGatewayPathRulePropertiesFormat(paths, backendAddressPool, backendHttpSettings, redirectConfiguration, rewriteRuleSet, loadDistributionPolicy, provisioningState, firewallPolicy, ) + o = new(paths, backendAddressPool, backendHttpSettings, redirectConfiguration, rewriteRuleSet, loadDistributionPolicy, provisioningState, firewallPolicy, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPathRulePropertiesFormat -const _property_types_ApplicationGatewayPathRulePropertiesFormat = Dict{Symbol,String}(Symbol("paths")=>"Vector{String}", Symbol("backendAddressPool")=>"SubResource", Symbol("backendHttpSettings")=>"SubResource", Symbol("redirectConfiguration")=>"SubResource", Symbol("rewriteRuleSet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", Symbol("firewallPolicy")=>"SubResource", ) +const _property_types_ApplicationGatewayPathRulePropertiesFormat = Dict{Symbol,String}(Symbol("paths")=>"Vector{String}", Symbol("backendAddressPool")=>"SubResource", Symbol("backendHttpSettings")=>"SubResource", Symbol("redirectConfiguration")=>"SubResource", Symbol("rewriteRuleSet")=>"SubResource", Symbol("loadDistributionPolicy")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", Symbol("firewallPolicy")=>"SubResource", ) OpenAPI.property_type(::Type{ ApplicationGatewayPathRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPathRulePropertiesFormat[name]))} -function check_required(o::ApplicationGatewayPathRulePropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayPathRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPathRulePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("paths"), o.paths) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("backendHttpSettings"), o.backendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("redirectConfiguration"), o.redirectConfiguration) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("rewriteRuleSet"), o.rewriteRuleSet) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("loadDistributionPolicy"), o.loadDistributionPolicy) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayPathRulePropertiesFormat, Symbol("firewallPolicy"), o.firewallPolicy) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPathRulePropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnection.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnection.jl index e6106b5..864d571 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnection.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateEndpointConnection <: OpenAP id::Union{Nothing, String} = nothing function ApplicationGatewayPrivateEndpointConnection(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateEndpointConnection const _property_types_ApplicationGatewayPrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateEndpointConnection[name]))} -function check_required(o::ApplicationGatewayPrivateEndpointConnection) +function OpenAPI.check_required(o::ApplicationGatewayPrivateEndpointConnection) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateEndpointConnection) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateEndpointConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionListResult.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionListResult.jl index e121cfe..9c36e40 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionListResult.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateEndpointConnectionListResult nextLink::Union{Nothing, String} = nothing function ApplicationGatewayPrivateEndpointConnectionListResult(value, nextLink, ) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionListResult, Symbol("value"), value) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateEndpointConnectionListResult const _property_types_ApplicationGatewayPrivateEndpointConnectionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ApplicationGatewayPrivateEndpointConnection}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateEndpointConnectionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateEndpointConnectionListResult[name]))} -function check_required(o::ApplicationGatewayPrivateEndpointConnectionListResult) +function OpenAPI.check_required(o::ApplicationGatewayPrivateEndpointConnectionListResult) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateEndpointConnectionListResult) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateEndpointConnectionListResult }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionProperties.jl index 0452f9c..d8a95ee 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateEndpointConnectionProperties.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateEndpointConnectionProperties linkIdentifier::Union{Nothing, String} = nothing function ApplicationGatewayPrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, ) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("linkIdentifier"), linkIdentifier) - return new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateEndpointConnectionProperties const _property_types_ApplicationGatewayPrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateEndpointConnectionProperties[name]))} -function check_required(o::ApplicationGatewayPrivateEndpointConnectionProperties) +function OpenAPI.check_required(o::ApplicationGatewayPrivateEndpointConnectionProperties) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateEndpointConnectionProperties) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayPrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateEndpointConnectionProperties }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfiguration.jl index 03ca9fd..c0585c7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkConfiguration <: OpenAPI id::Union{Nothing, String} = nothing function ApplicationGatewayPrivateLinkConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkConfiguration const _property_types_ApplicationGatewayPrivateLinkConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPrivateLinkConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkConfiguration[name]))} -function check_required(o::ApplicationGatewayPrivateLinkConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkConfiguration) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfigurationProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfigurationProperties.jl index 97f118f..712f8c4 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfigurationProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkConfigurationProperties.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkConfigurationProperties provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayPrivateLinkConfigurationProperties(ipConfigurations, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfigurationProperties, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfigurationProperties, Symbol("provisioningState"), provisioningState) - return new(ipConfigurations, provisioningState, ) + o = new(ipConfigurations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkConfigurationProperties const _property_types_ApplicationGatewayPrivateLinkConfigurationProperties = Dict{Symbol,String}(Symbol("ipConfigurations")=>"Vector{ApplicationGatewayPrivateLinkIpConfiguration}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkConfigurationProperties[name]))} -function check_required(o::ApplicationGatewayPrivateLinkConfigurationProperties) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkConfigurationProperties) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkConfigurationProperties) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfigurationProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkConfigurationProperties, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkConfigurationProperties }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfiguration.jl index 8aa9683..a03ee71 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkIpConfiguration <: OpenA id::Union{Nothing, String} = nothing function ApplicationGatewayPrivateLinkIpConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkIpConfiguration const _property_types_ApplicationGatewayPrivateLinkIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPrivateLinkIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkIpConfiguration[name]))} -function check_required(o::ApplicationGatewayPrivateLinkIpConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkIpConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkIpConfiguration) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkIpConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfigurationProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfigurationProperties.jl index 36a6077..cf711ed 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfigurationProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkIpConfigurationProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkIpConfigurationPropertie provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayPrivateLinkIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("primary"), primary) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkIpConfigurationProperties const _property_types_ApplicationGatewayPrivateLinkIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"SubResource", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkIpConfigurationProperties[name]))} -function check_required(o::ApplicationGatewayPrivateLinkIpConfigurationProperties) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkIpConfigurationProperties) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkIpConfigurationProperties) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkIpConfigurationProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResource.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResource.jl index cb935f0..1deedf3 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResource.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkResource <: OpenAPI.APIM id::Union{Nothing, String} = nothing function ApplicationGatewayPrivateLinkResource(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkResource const _property_types_ApplicationGatewayPrivateLinkResource = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayPrivateLinkResourceProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkResource[name]))} -function check_required(o::ApplicationGatewayPrivateLinkResource) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkResource) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkResource) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkResource }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceListResult.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceListResult.jl index 5dc0ea8..08a28b8 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceListResult.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkResourceListResult <: Op nextLink::Union{Nothing, String} = nothing function ApplicationGatewayPrivateLinkResourceListResult(value, nextLink, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceListResult, Symbol("value"), value) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkResourceListResult const _property_types_ApplicationGatewayPrivateLinkResourceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ApplicationGatewayPrivateLinkResource}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkResourceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkResourceListResult[name]))} -function check_required(o::ApplicationGatewayPrivateLinkResourceListResult) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkResourceListResult) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkResourceListResult) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkResourceListResult }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceProperties.jl index be046d4..40c90ad 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPrivateLinkResourceProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayPrivateLinkResourceProperties <: Op requiredZoneNames::Union{Nothing, Vector{String}} = nothing function ApplicationGatewayPrivateLinkResourceProperties(groupId, requiredMembers, requiredZoneNames, ) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceProperties, Symbol("requiredMembers"), requiredMembers) - OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceProperties, Symbol("requiredZoneNames"), requiredZoneNames) - return new(groupId, requiredMembers, requiredZoneNames, ) + o = new(groupId, requiredMembers, requiredZoneNames, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPrivateLinkResourceProperties const _property_types_ApplicationGatewayPrivateLinkResourceProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMembers")=>"Vector{String}", Symbol("requiredZoneNames")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ApplicationGatewayPrivateLinkResourceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPrivateLinkResourceProperties[name]))} -function check_required(o::ApplicationGatewayPrivateLinkResourceProperties) +function OpenAPI.check_required(o::ApplicationGatewayPrivateLinkResourceProperties) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPrivateLinkResourceProperties) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceProperties, Symbol("requiredMembers"), o.requiredMembers) + OpenAPI.validate_property(ApplicationGatewayPrivateLinkResourceProperties, Symbol("requiredZoneNames"), o.requiredZoneNames) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPrivateLinkResourceProperties }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbe.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbe.jl index 757a44e..2663345 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbe.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbe.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayProbe <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayProbe(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayProbe const _property_types_ApplicationGatewayProbe = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayProbePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayProbe }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayProbe[name]))} -function check_required(o::ApplicationGatewayProbe) +function OpenAPI.check_required(o::ApplicationGatewayProbe) true end +function OpenAPI.validate_properties(o::ApplicationGatewayProbe) + OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayProbe, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayProbe }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbeHealthResponseMatch.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbeHealthResponseMatch.jl index 867066e..cfd6c4a 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbeHealthResponseMatch.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbeHealthResponseMatch.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayProbeHealthResponseMatch <: OpenAPI statusCodes::Union{Nothing, Vector{String}} = nothing function ApplicationGatewayProbeHealthResponseMatch(body, statusCodes, ) - OpenAPI.validate_property(ApplicationGatewayProbeHealthResponseMatch, Symbol("body"), body) - OpenAPI.validate_property(ApplicationGatewayProbeHealthResponseMatch, Symbol("statusCodes"), statusCodes) - return new(body, statusCodes, ) + o = new(body, statusCodes, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayProbeHealthResponseMatch const _property_types_ApplicationGatewayProbeHealthResponseMatch = Dict{Symbol,String}(Symbol("body")=>"String", Symbol("statusCodes")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ApplicationGatewayProbeHealthResponseMatch }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayProbeHealthResponseMatch[name]))} -function check_required(o::ApplicationGatewayProbeHealthResponseMatch) +function OpenAPI.check_required(o::ApplicationGatewayProbeHealthResponseMatch) true end +function OpenAPI.validate_properties(o::ApplicationGatewayProbeHealthResponseMatch) + OpenAPI.validate_property(ApplicationGatewayProbeHealthResponseMatch, Symbol("body"), o.body) + OpenAPI.validate_property(ApplicationGatewayProbeHealthResponseMatch, Symbol("statusCodes"), o.statusCodes) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayProbeHealthResponseMatch }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbePropertiesFormat.jl index d76c9c4..bd86b6d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayProbePropertiesFormat.jl @@ -13,6 +13,7 @@ Properties of probe of an application gateway. timeout=nothing, unhealthyThreshold=nothing, pickHostNameFromBackendHttpSettings=nothing, + pickHostNameFromBackendSettings=nothing, minServers=nothing, match=nothing, provisioningState=nothing, @@ -26,10 +27,11 @@ Properties of probe of an application gateway. - timeout::Int64 : The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds. - unhealthyThreshold::Int64 : The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20. - pickHostNameFromBackendHttpSettings::Bool : Whether the host header should be picked from the backend http settings. Default value is false. + - pickHostNameFromBackendSettings::Bool : Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false. - minServers::Int64 : Minimum number of servers that are always marked healthy. Default value is 0. - match::ApplicationGatewayProbeHealthResponseMatch - provisioningState::ProvisioningState - - port::Int64 : Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Standard_v2 and WAF_v2 only. + - port::Int64 : Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only. """ Base.@kwdef mutable struct ApplicationGatewayProbePropertiesFormat <: OpenAPI.APIModel protocol = nothing # spec type: Union{ Nothing, ApplicationGatewayProtocol } @@ -39,47 +41,66 @@ Base.@kwdef mutable struct ApplicationGatewayProbePropertiesFormat <: OpenAPI.AP timeout::Union{Nothing, Int64} = nothing unhealthyThreshold::Union{Nothing, Int64} = nothing pickHostNameFromBackendHttpSettings::Union{Nothing, Bool} = nothing + pickHostNameFromBackendSettings::Union{Nothing, Bool} = nothing minServers::Union{Nothing, Int64} = nothing match = nothing # spec type: Union{ Nothing, ApplicationGatewayProbeHealthResponseMatch } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } port::Union{Nothing, Int64} = nothing - function ApplicationGatewayProbePropertiesFormat(protocol, host, path, interval, timeout, unhealthyThreshold, pickHostNameFromBackendHttpSettings, minServers, match, provisioningState, port, ) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("host"), host) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("path"), path) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("interval"), interval) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("timeout"), timeout) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("unhealthyThreshold"), unhealthyThreshold) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("pickHostNameFromBackendHttpSettings"), pickHostNameFromBackendHttpSettings) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("minServers"), minServers) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("match"), match) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("port"), port) - return new(protocol, host, path, interval, timeout, unhealthyThreshold, pickHostNameFromBackendHttpSettings, minServers, match, provisioningState, port, ) + function ApplicationGatewayProbePropertiesFormat(protocol, host, path, interval, timeout, unhealthyThreshold, pickHostNameFromBackendHttpSettings, pickHostNameFromBackendSettings, minServers, match, provisioningState, port, ) + o = new(protocol, host, path, interval, timeout, unhealthyThreshold, pickHostNameFromBackendHttpSettings, pickHostNameFromBackendSettings, minServers, match, provisioningState, port, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayProbePropertiesFormat -const _property_types_ApplicationGatewayProbePropertiesFormat = Dict{Symbol,String}(Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("host")=>"String", Symbol("path")=>"String", Symbol("interval")=>"Int64", Symbol("timeout")=>"Int64", Symbol("unhealthyThreshold")=>"Int64", Symbol("pickHostNameFromBackendHttpSettings")=>"Bool", Symbol("minServers")=>"Int64", Symbol("match")=>"ApplicationGatewayProbeHealthResponseMatch", Symbol("provisioningState")=>"ProvisioningState", Symbol("port")=>"Int64", ) +const _property_types_ApplicationGatewayProbePropertiesFormat = Dict{Symbol,String}(Symbol("protocol")=>"ApplicationGatewayProtocol", Symbol("host")=>"String", Symbol("path")=>"String", Symbol("interval")=>"Int64", Symbol("timeout")=>"Int64", Symbol("unhealthyThreshold")=>"Int64", Symbol("pickHostNameFromBackendHttpSettings")=>"Bool", Symbol("pickHostNameFromBackendSettings")=>"Bool", Symbol("minServers")=>"Int64", Symbol("match")=>"ApplicationGatewayProbeHealthResponseMatch", Symbol("provisioningState")=>"ProvisioningState", Symbol("port")=>"Int64", ) OpenAPI.property_type(::Type{ ApplicationGatewayProbePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayProbePropertiesFormat[name]))} -function check_required(o::ApplicationGatewayProbePropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayProbePropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayProbePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("host"), o.host) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("path"), o.path) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("interval"), o.interval) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("timeout"), o.timeout) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("unhealthyThreshold"), o.unhealthyThreshold) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("pickHostNameFromBackendHttpSettings"), o.pickHostNameFromBackendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("pickHostNameFromBackendSettings"), o.pickHostNameFromBackendSettings) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("minServers"), o.minServers) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("match"), o.match) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayProbePropertiesFormat, Symbol("port"), o.port) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayProbePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("interval") OpenAPI.validate_param(name, "ApplicationGatewayProbePropertiesFormat", :format, val, "int32") end + if name === Symbol("timeout") OpenAPI.validate_param(name, "ApplicationGatewayProbePropertiesFormat", :format, val, "int32") end + if name === Symbol("unhealthyThreshold") OpenAPI.validate_param(name, "ApplicationGatewayProbePropertiesFormat", :format, val, "int32") end + + + if name === Symbol("minServers") OpenAPI.validate_param(name, "ApplicationGatewayProbePropertiesFormat", :format, val, "int32") end + + + if name === Symbol("port") OpenAPI.validate_param(name, "ApplicationGatewayProbePropertiesFormat", :format, val, "int32") end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPropertiesFormat.jl index 70e08b0..2aab0e7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayPropertiesFormat.jl @@ -12,15 +12,20 @@ Properties of the application gateway. gatewayIPConfigurations=nothing, authenticationCertificates=nothing, trustedRootCertificates=nothing, + trustedClientCertificates=nothing, sslCertificates=nothing, frontendIPConfigurations=nothing, frontendPorts=nothing, probes=nothing, backendAddressPools=nothing, backendHttpSettingsCollection=nothing, + backendSettingsCollection=nothing, httpListeners=nothing, + listeners=nothing, + sslProfiles=nothing, urlPathMaps=nothing, requestRoutingRules=nothing, + routingRules=nothing, rewriteRuleSets=nothing, redirectConfigurations=nothing, webApplicationFirewallConfiguration=nothing, @@ -34,6 +39,9 @@ Properties of the application gateway. provisioningState=nothing, customErrorConfigurations=nothing, forceFirewallPolicyAssociation=nothing, + loadDistributionPolicies=nothing, + globalConfiguration=nothing, + defaultPredefinedSslPolicy=nothing, ) - sku::ApplicationGatewaySku @@ -42,15 +50,20 @@ Properties of the application gateway. - gatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - authenticationCertificates::Vector{ApplicationGatewayAuthenticationCertificate} : Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - trustedRootCertificates::Vector{ApplicationGatewayTrustedRootCertificate} : Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + - trustedClientCertificates::Vector{ApplicationGatewayTrustedClientCertificate} : Trusted client certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - sslCertificates::Vector{ApplicationGatewaySslCertificate} : SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - frontendIPConfigurations::Vector{ApplicationGatewayFrontendIPConfiguration} : Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - frontendPorts::Vector{ApplicationGatewayFrontendPort} : Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - probes::Vector{ApplicationGatewayProbe} : Probes of the application gateway resource. - backendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - backendHttpSettingsCollection::Vector{ApplicationGatewayBackendHttpSettings} : Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + - backendSettingsCollection::Vector{ApplicationGatewayBackendSettings} : Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - httpListeners::Vector{ApplicationGatewayHttpListener} : Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + - listeners::Vector{ApplicationGatewayListener} : Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). + - sslProfiles::Vector{ApplicationGatewaySslProfile} : SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - urlPathMaps::Vector{ApplicationGatewayUrlPathMap} : URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - requestRoutingRules::Vector{ApplicationGatewayRequestRoutingRule} : Request routing rules of the application gateway resource. + - routingRules::Vector{ApplicationGatewayRoutingRule} : Routing rules of the application gateway resource. - rewriteRuleSets::Vector{ApplicationGatewayRewriteRuleSet} : Rewrite rules for the application gateway resource. - redirectConfigurations::Vector{ApplicationGatewayRedirectConfiguration} : Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits). - webApplicationFirewallConfiguration::ApplicationGatewayWebApplicationFirewallConfiguration @@ -64,6 +77,9 @@ Properties of the application gateway. - provisioningState::ProvisioningState - customErrorConfigurations::Vector{ApplicationGatewayCustomError} : Custom error configurations of the application gateway resource. - forceFirewallPolicyAssociation::Bool : If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config. + - loadDistributionPolicies::Vector{ApplicationGatewayLoadDistributionPolicy} : Load distribution policies of the application gateway resource. + - globalConfiguration::ApplicationGatewayGlobalConfiguration + - defaultPredefinedSslPolicy::PolicyNameEnum """ Base.@kwdef mutable struct ApplicationGatewayPropertiesFormat <: OpenAPI.APIModel sku = nothing # spec type: Union{ Nothing, ApplicationGatewaySku } @@ -72,15 +88,20 @@ Base.@kwdef mutable struct ApplicationGatewayPropertiesFormat <: OpenAPI.APIMode gatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } authenticationCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayAuthenticationCertificate} } trustedRootCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayTrustedRootCertificate} } + trustedClientCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayTrustedClientCertificate} } sslCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewaySslCertificate} } frontendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayFrontendIPConfiguration} } frontendPorts::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayFrontendPort} } probes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayProbe} } backendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } backendHttpSettingsCollection::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendHttpSettings} } + backendSettingsCollection::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendSettings} } httpListeners::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayHttpListener} } + listeners::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayListener} } + sslProfiles::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewaySslProfile} } urlPathMaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayUrlPathMap} } requestRoutingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayRequestRoutingRule} } + routingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayRoutingRule} } rewriteRuleSets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayRewriteRuleSet} } redirectConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayRedirectConfiguration} } webApplicationFirewallConfiguration = nothing # spec type: Union{ Nothing, ApplicationGatewayWebApplicationFirewallConfiguration } @@ -94,49 +115,102 @@ Base.@kwdef mutable struct ApplicationGatewayPropertiesFormat <: OpenAPI.APIMode provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } customErrorConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayCustomError} } forceFirewallPolicyAssociation::Union{Nothing, Bool} = nothing + loadDistributionPolicies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayLoadDistributionPolicy} } + globalConfiguration = nothing # spec type: Union{ Nothing, ApplicationGatewayGlobalConfiguration } + defaultPredefinedSslPolicy = nothing # spec type: Union{ Nothing, PolicyNameEnum } - function ApplicationGatewayPropertiesFormat(sku, sslPolicy, operationalState, gatewayIPConfigurations, authenticationCertificates, trustedRootCertificates, sslCertificates, frontendIPConfigurations, frontendPorts, probes, backendAddressPools, backendHttpSettingsCollection, httpListeners, urlPathMaps, requestRoutingRules, rewriteRuleSets, redirectConfigurations, webApplicationFirewallConfiguration, firewallPolicy, enableHttp2, enableFips, autoscaleConfiguration, privateLinkConfigurations, privateEndpointConnections, resourceGuid, provisioningState, customErrorConfigurations, forceFirewallPolicyAssociation, ) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sku"), sku) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sslPolicy"), sslPolicy) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("operationalState"), operationalState) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("gatewayIPConfigurations"), gatewayIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("authenticationCertificates"), authenticationCertificates) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("trustedRootCertificates"), trustedRootCertificates) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sslCertificates"), sslCertificates) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("frontendIPConfigurations"), frontendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("frontendPorts"), frontendPorts) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("probes"), probes) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("backendAddressPools"), backendAddressPools) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("backendHttpSettingsCollection"), backendHttpSettingsCollection) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("httpListeners"), httpListeners) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("urlPathMaps"), urlPathMaps) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("requestRoutingRules"), requestRoutingRules) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("rewriteRuleSets"), rewriteRuleSets) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("redirectConfigurations"), redirectConfigurations) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("webApplicationFirewallConfiguration"), webApplicationFirewallConfiguration) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("firewallPolicy"), firewallPolicy) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("enableHttp2"), enableHttp2) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("enableFips"), enableFips) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("autoscaleConfiguration"), autoscaleConfiguration) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("privateLinkConfigurations"), privateLinkConfigurations) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("privateEndpointConnections"), privateEndpointConnections) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("customErrorConfigurations"), customErrorConfigurations) - OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("forceFirewallPolicyAssociation"), forceFirewallPolicyAssociation) - return new(sku, sslPolicy, operationalState, gatewayIPConfigurations, authenticationCertificates, trustedRootCertificates, sslCertificates, frontendIPConfigurations, frontendPorts, probes, backendAddressPools, backendHttpSettingsCollection, httpListeners, urlPathMaps, requestRoutingRules, rewriteRuleSets, redirectConfigurations, webApplicationFirewallConfiguration, firewallPolicy, enableHttp2, enableFips, autoscaleConfiguration, privateLinkConfigurations, privateEndpointConnections, resourceGuid, provisioningState, customErrorConfigurations, forceFirewallPolicyAssociation, ) + function ApplicationGatewayPropertiesFormat(sku, sslPolicy, operationalState, gatewayIPConfigurations, authenticationCertificates, trustedRootCertificates, trustedClientCertificates, sslCertificates, frontendIPConfigurations, frontendPorts, probes, backendAddressPools, backendHttpSettingsCollection, backendSettingsCollection, httpListeners, listeners, sslProfiles, urlPathMaps, requestRoutingRules, routingRules, rewriteRuleSets, redirectConfigurations, webApplicationFirewallConfiguration, firewallPolicy, enableHttp2, enableFips, autoscaleConfiguration, privateLinkConfigurations, privateEndpointConnections, resourceGuid, provisioningState, customErrorConfigurations, forceFirewallPolicyAssociation, loadDistributionPolicies, globalConfiguration, defaultPredefinedSslPolicy, ) + o = new(sku, sslPolicy, operationalState, gatewayIPConfigurations, authenticationCertificates, trustedRootCertificates, trustedClientCertificates, sslCertificates, frontendIPConfigurations, frontendPorts, probes, backendAddressPools, backendHttpSettingsCollection, backendSettingsCollection, httpListeners, listeners, sslProfiles, urlPathMaps, requestRoutingRules, routingRules, rewriteRuleSets, redirectConfigurations, webApplicationFirewallConfiguration, firewallPolicy, enableHttp2, enableFips, autoscaleConfiguration, privateLinkConfigurations, privateEndpointConnections, resourceGuid, provisioningState, customErrorConfigurations, forceFirewallPolicyAssociation, loadDistributionPolicies, globalConfiguration, defaultPredefinedSslPolicy, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayPropertiesFormat -const _property_types_ApplicationGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("sku")=>"ApplicationGatewaySku", Symbol("sslPolicy")=>"ApplicationGatewaySslPolicy", Symbol("operationalState")=>"String", Symbol("gatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("authenticationCertificates")=>"Vector{ApplicationGatewayAuthenticationCertificate}", Symbol("trustedRootCertificates")=>"Vector{ApplicationGatewayTrustedRootCertificate}", Symbol("sslCertificates")=>"Vector{ApplicationGatewaySslCertificate}", Symbol("frontendIPConfigurations")=>"Vector{ApplicationGatewayFrontendIPConfiguration}", Symbol("frontendPorts")=>"Vector{ApplicationGatewayFrontendPort}", Symbol("probes")=>"Vector{ApplicationGatewayProbe}", Symbol("backendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("backendHttpSettingsCollection")=>"Vector{ApplicationGatewayBackendHttpSettings}", Symbol("httpListeners")=>"Vector{ApplicationGatewayHttpListener}", Symbol("urlPathMaps")=>"Vector{ApplicationGatewayUrlPathMap}", Symbol("requestRoutingRules")=>"Vector{ApplicationGatewayRequestRoutingRule}", Symbol("rewriteRuleSets")=>"Vector{ApplicationGatewayRewriteRuleSet}", Symbol("redirectConfigurations")=>"Vector{ApplicationGatewayRedirectConfiguration}", Symbol("webApplicationFirewallConfiguration")=>"ApplicationGatewayWebApplicationFirewallConfiguration", Symbol("firewallPolicy")=>"SubResource", Symbol("enableHttp2")=>"Bool", Symbol("enableFips")=>"Bool", Symbol("autoscaleConfiguration")=>"ApplicationGatewayAutoscaleConfiguration", Symbol("privateLinkConfigurations")=>"Vector{ApplicationGatewayPrivateLinkConfiguration}", Symbol("privateEndpointConnections")=>"Vector{ApplicationGatewayPrivateEndpointConnection}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("customErrorConfigurations")=>"Vector{ApplicationGatewayCustomError}", Symbol("forceFirewallPolicyAssociation")=>"Bool", ) +const _property_types_ApplicationGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("sku")=>"ApplicationGatewaySku", Symbol("sslPolicy")=>"ApplicationGatewaySslPolicy", Symbol("operationalState")=>"String", Symbol("gatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("authenticationCertificates")=>"Vector{ApplicationGatewayAuthenticationCertificate}", Symbol("trustedRootCertificates")=>"Vector{ApplicationGatewayTrustedRootCertificate}", Symbol("trustedClientCertificates")=>"Vector{ApplicationGatewayTrustedClientCertificate}", Symbol("sslCertificates")=>"Vector{ApplicationGatewaySslCertificate}", Symbol("frontendIPConfigurations")=>"Vector{ApplicationGatewayFrontendIPConfiguration}", Symbol("frontendPorts")=>"Vector{ApplicationGatewayFrontendPort}", Symbol("probes")=>"Vector{ApplicationGatewayProbe}", Symbol("backendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("backendHttpSettingsCollection")=>"Vector{ApplicationGatewayBackendHttpSettings}", Symbol("backendSettingsCollection")=>"Vector{ApplicationGatewayBackendSettings}", Symbol("httpListeners")=>"Vector{ApplicationGatewayHttpListener}", Symbol("listeners")=>"Vector{ApplicationGatewayListener}", Symbol("sslProfiles")=>"Vector{ApplicationGatewaySslProfile}", Symbol("urlPathMaps")=>"Vector{ApplicationGatewayUrlPathMap}", Symbol("requestRoutingRules")=>"Vector{ApplicationGatewayRequestRoutingRule}", Symbol("routingRules")=>"Vector{ApplicationGatewayRoutingRule}", Symbol("rewriteRuleSets")=>"Vector{ApplicationGatewayRewriteRuleSet}", Symbol("redirectConfigurations")=>"Vector{ApplicationGatewayRedirectConfiguration}", Symbol("webApplicationFirewallConfiguration")=>"ApplicationGatewayWebApplicationFirewallConfiguration", Symbol("firewallPolicy")=>"SubResource", Symbol("enableHttp2")=>"Bool", Symbol("enableFips")=>"Bool", Symbol("autoscaleConfiguration")=>"ApplicationGatewayAutoscaleConfiguration", Symbol("privateLinkConfigurations")=>"Vector{ApplicationGatewayPrivateLinkConfiguration}", Symbol("privateEndpointConnections")=>"Vector{ApplicationGatewayPrivateEndpointConnection}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("customErrorConfigurations")=>"Vector{ApplicationGatewayCustomError}", Symbol("forceFirewallPolicyAssociation")=>"Bool", Symbol("loadDistributionPolicies")=>"Vector{ApplicationGatewayLoadDistributionPolicy}", Symbol("globalConfiguration")=>"ApplicationGatewayGlobalConfiguration", Symbol("defaultPredefinedSslPolicy")=>"PolicyNameEnum", ) OpenAPI.property_type(::Type{ ApplicationGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sku"), o.sku) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sslPolicy"), o.sslPolicy) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("operationalState"), o.operationalState) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("gatewayIPConfigurations"), o.gatewayIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("authenticationCertificates"), o.authenticationCertificates) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("trustedRootCertificates"), o.trustedRootCertificates) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("trustedClientCertificates"), o.trustedClientCertificates) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sslCertificates"), o.sslCertificates) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("frontendIPConfigurations"), o.frontendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("frontendPorts"), o.frontendPorts) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("probes"), o.probes) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("backendAddressPools"), o.backendAddressPools) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("backendHttpSettingsCollection"), o.backendHttpSettingsCollection) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("backendSettingsCollection"), o.backendSettingsCollection) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("httpListeners"), o.httpListeners) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("listeners"), o.listeners) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("sslProfiles"), o.sslProfiles) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("urlPathMaps"), o.urlPathMaps) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("requestRoutingRules"), o.requestRoutingRules) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("routingRules"), o.routingRules) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("rewriteRuleSets"), o.rewriteRuleSets) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("redirectConfigurations"), o.redirectConfigurations) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("webApplicationFirewallConfiguration"), o.webApplicationFirewallConfiguration) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("firewallPolicy"), o.firewallPolicy) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("enableHttp2"), o.enableHttp2) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("enableFips"), o.enableFips) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("autoscaleConfiguration"), o.autoscaleConfiguration) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("privateLinkConfigurations"), o.privateLinkConfigurations) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("customErrorConfigurations"), o.customErrorConfigurations) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("forceFirewallPolicyAssociation"), o.forceFirewallPolicyAssociation) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("loadDistributionPolicies"), o.loadDistributionPolicies) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("globalConfiguration"), o.globalConfiguration) + OpenAPI.validate_property(ApplicationGatewayPropertiesFormat, Symbol("defaultPredefinedSslPolicy"), o.defaultPredefinedSslPolicy) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayPropertiesFormat }, name::Symbol, val) + + + if name === Symbol("operationalState") OpenAPI.validate_param(name, "ApplicationGatewayPropertiesFormat", :enum, val, ["Stopped", "Starting", "Running", "Stopping"]) end + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfiguration.jl index 51d54d2..7a1756d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayRedirectConfiguration <: OpenAPI.AP id::Union{Nothing, String} = nothing function ApplicationGatewayRedirectConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRedirectConfiguration const _property_types_ApplicationGatewayRedirectConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayRedirectConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayRedirectConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRedirectConfiguration[name]))} -function check_required(o::ApplicationGatewayRedirectConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayRedirectConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRedirectConfiguration) + OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayRedirectConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRedirectConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfigurationPropertiesFormat.jl index 9910baf..4065b0d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRedirectConfigurationPropertiesFormat.jl @@ -36,24 +36,37 @@ Base.@kwdef mutable struct ApplicationGatewayRedirectConfigurationPropertiesForm pathRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } function ApplicationGatewayRedirectConfigurationPropertiesFormat(redirectType, targetListener, targetUrl, includePath, includeQueryString, requestRoutingRules, urlPathMaps, pathRules, ) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("redirectType"), redirectType) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("targetListener"), targetListener) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("targetUrl"), targetUrl) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("includePath"), includePath) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("includeQueryString"), includeQueryString) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("requestRoutingRules"), requestRoutingRules) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("urlPathMaps"), urlPathMaps) - OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("pathRules"), pathRules) - return new(redirectType, targetListener, targetUrl, includePath, includeQueryString, requestRoutingRules, urlPathMaps, pathRules, ) + o = new(redirectType, targetListener, targetUrl, includePath, includeQueryString, requestRoutingRules, urlPathMaps, pathRules, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRedirectConfigurationPropertiesFormat const _property_types_ApplicationGatewayRedirectConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("redirectType")=>"RedirectTypeEnum", Symbol("targetListener")=>"SubResource", Symbol("targetUrl")=>"String", Symbol("includePath")=>"Bool", Symbol("includeQueryString")=>"Bool", Symbol("requestRoutingRules")=>"Vector{SubResource}", Symbol("urlPathMaps")=>"Vector{SubResource}", Symbol("pathRules")=>"Vector{SubResource}", ) OpenAPI.property_type(::Type{ ApplicationGatewayRedirectConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRedirectConfigurationPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayRedirectConfigurationPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayRedirectConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRedirectConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("redirectType"), o.redirectType) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("targetListener"), o.targetListener) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("targetUrl"), o.targetUrl) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("includePath"), o.includePath) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("includeQueryString"), o.includeQueryString) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("requestRoutingRules"), o.requestRoutingRules) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("urlPathMaps"), o.urlPathMaps) + OpenAPI.validate_property(ApplicationGatewayRedirectConfigurationPropertiesFormat, Symbol("pathRules"), o.pathRules) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRedirectConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRule.jl index 71b4356..8f01cc7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRule.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayRequestRoutingRule <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayRequestRoutingRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRequestRoutingRule const _property_types_ApplicationGatewayRequestRoutingRule = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayRequestRoutingRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayRequestRoutingRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRequestRoutingRule[name]))} -function check_required(o::ApplicationGatewayRequestRoutingRule) +function OpenAPI.check_required(o::ApplicationGatewayRequestRoutingRule) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRequestRoutingRule) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRequestRoutingRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRulePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRulePropertiesFormat.jl index 7d71251..d19e3da 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRulePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRequestRoutingRulePropertiesFormat.jl @@ -14,6 +14,7 @@ Properties of request routing rule of the application gateway. urlPathMap=nothing, rewriteRuleSet=nothing, redirectConfiguration=nothing, + loadDistributionPolicy=nothing, provisioningState=nothing, ) @@ -25,6 +26,7 @@ Properties of request routing rule of the application gateway. - urlPathMap::SubResource - rewriteRuleSet::SubResource - redirectConfiguration::SubResource + - loadDistributionPolicy::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ApplicationGatewayRequestRoutingRulePropertiesFormat <: OpenAPI.APIModel @@ -36,33 +38,43 @@ Base.@kwdef mutable struct ApplicationGatewayRequestRoutingRulePropertiesFormat urlPathMap = nothing # spec type: Union{ Nothing, SubResource } rewriteRuleSet = nothing # spec type: Union{ Nothing, SubResource } redirectConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadDistributionPolicy = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ApplicationGatewayRequestRoutingRulePropertiesFormat(ruleType, priority, backendAddressPool, backendHttpSettings, httpListener, urlPathMap, rewriteRuleSet, redirectConfiguration, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("ruleType"), ruleType) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("backendHttpSettings"), backendHttpSettings) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("httpListener"), httpListener) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("urlPathMap"), urlPathMap) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("rewriteRuleSet"), rewriteRuleSet) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("redirectConfiguration"), redirectConfiguration) - OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(ruleType, priority, backendAddressPool, backendHttpSettings, httpListener, urlPathMap, rewriteRuleSet, redirectConfiguration, provisioningState, ) + function ApplicationGatewayRequestRoutingRulePropertiesFormat(ruleType, priority, backendAddressPool, backendHttpSettings, httpListener, urlPathMap, rewriteRuleSet, redirectConfiguration, loadDistributionPolicy, provisioningState, ) + o = new(ruleType, priority, backendAddressPool, backendHttpSettings, httpListener, urlPathMap, rewriteRuleSet, redirectConfiguration, loadDistributionPolicy, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRequestRoutingRulePropertiesFormat -const _property_types_ApplicationGatewayRequestRoutingRulePropertiesFormat = Dict{Symbol,String}(Symbol("ruleType")=>"String", Symbol("priority")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("backendHttpSettings")=>"SubResource", Symbol("httpListener")=>"SubResource", Symbol("urlPathMap")=>"SubResource", Symbol("rewriteRuleSet")=>"SubResource", Symbol("redirectConfiguration")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ApplicationGatewayRequestRoutingRulePropertiesFormat = Dict{Symbol,String}(Symbol("ruleType")=>"String", Symbol("priority")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("backendHttpSettings")=>"SubResource", Symbol("httpListener")=>"SubResource", Symbol("urlPathMap")=>"SubResource", Symbol("rewriteRuleSet")=>"SubResource", Symbol("redirectConfiguration")=>"SubResource", Symbol("loadDistributionPolicy")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayRequestRoutingRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRequestRoutingRulePropertiesFormat[name]))} -function check_required(o::ApplicationGatewayRequestRoutingRulePropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayRequestRoutingRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRequestRoutingRulePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("ruleType"), o.ruleType) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("backendHttpSettings"), o.backendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("httpListener"), o.httpListener) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("urlPathMap"), o.urlPathMap) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("rewriteRuleSet"), o.rewriteRuleSet) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("redirectConfiguration"), o.redirectConfiguration) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("loadDistributionPolicy"), o.loadDistributionPolicy) + OpenAPI.validate_property(ApplicationGatewayRequestRoutingRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRequestRoutingRulePropertiesFormat }, name::Symbol, val) + if name === Symbol("ruleType") OpenAPI.validate_param(name, "ApplicationGatewayRequestRoutingRulePropertiesFormat", :enum, val, ["Basic", "PathBasedRouting"]) end + + if name === Symbol("priority") OpenAPI.validate_param(name, "ApplicationGatewayRequestRoutingRulePropertiesFormat", :format, val, "int32") end @@ -70,4 +82,12 @@ function OpenAPI.validate_property(::Type{ ApplicationGatewayRequestRoutingRuleP OpenAPI.validate_param(name, "ApplicationGatewayRequestRoutingRulePropertiesFormat", :maximum, val, 20000, false) OpenAPI.validate_param(name, "ApplicationGatewayRequestRoutingRulePropertiesFormat", :minimum, val, 1, false) end + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRule.jl index 6217a19..55e630f 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRule.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRule.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ApplicationGatewayRewriteRule <: OpenAPI.APIModel actionSet = nothing # spec type: Union{ Nothing, ApplicationGatewayRewriteRuleActionSet } function ApplicationGatewayRewriteRule(name, ruleSequence, conditions, actionSet, ) - OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("ruleSequence"), ruleSequence) - OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("conditions"), conditions) - OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("actionSet"), actionSet) - return new(name, ruleSequence, conditions, actionSet, ) + o = new(name, ruleSequence, conditions, actionSet, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRewriteRule const _property_types_ApplicationGatewayRewriteRule = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("ruleSequence")=>"Int64", Symbol("conditions")=>"Vector{ApplicationGatewayRewriteRuleCondition}", Symbol("actionSet")=>"ApplicationGatewayRewriteRuleActionSet", ) OpenAPI.property_type(::Type{ ApplicationGatewayRewriteRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRewriteRule[name]))} -function check_required(o::ApplicationGatewayRewriteRule) +function OpenAPI.check_required(o::ApplicationGatewayRewriteRule) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRewriteRule) + OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("ruleSequence"), o.ruleSequence) + OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("conditions"), o.conditions) + OpenAPI.validate_property(ApplicationGatewayRewriteRule, Symbol("actionSet"), o.actionSet) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRewriteRule }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleActionSet.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleActionSet.jl index c012e0a..e96f404 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleActionSet.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleActionSet.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayRewriteRuleActionSet <: OpenAPI.API urlConfiguration = nothing # spec type: Union{ Nothing, ApplicationGatewayUrlConfiguration } function ApplicationGatewayRewriteRuleActionSet(requestHeaderConfigurations, responseHeaderConfigurations, urlConfiguration, ) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleActionSet, Symbol("requestHeaderConfigurations"), requestHeaderConfigurations) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleActionSet, Symbol("responseHeaderConfigurations"), responseHeaderConfigurations) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleActionSet, Symbol("urlConfiguration"), urlConfiguration) - return new(requestHeaderConfigurations, responseHeaderConfigurations, urlConfiguration, ) + o = new(requestHeaderConfigurations, responseHeaderConfigurations, urlConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRewriteRuleActionSet const _property_types_ApplicationGatewayRewriteRuleActionSet = Dict{Symbol,String}(Symbol("requestHeaderConfigurations")=>"Vector{ApplicationGatewayHeaderConfiguration}", Symbol("responseHeaderConfigurations")=>"Vector{ApplicationGatewayHeaderConfiguration}", Symbol("urlConfiguration")=>"ApplicationGatewayUrlConfiguration", ) OpenAPI.property_type(::Type{ ApplicationGatewayRewriteRuleActionSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRewriteRuleActionSet[name]))} -function check_required(o::ApplicationGatewayRewriteRuleActionSet) +function OpenAPI.check_required(o::ApplicationGatewayRewriteRuleActionSet) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRewriteRuleActionSet) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleActionSet, Symbol("requestHeaderConfigurations"), o.requestHeaderConfigurations) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleActionSet, Symbol("responseHeaderConfigurations"), o.responseHeaderConfigurations) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleActionSet, Symbol("urlConfiguration"), o.urlConfiguration) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRewriteRuleActionSet }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleCondition.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleCondition.jl index 160034d..1777c7b 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleCondition.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleCondition.jl @@ -14,7 +14,7 @@ Set of conditions in the Rewrite Rule in Application Gateway. - variable::String : The condition parameter of the RewriteRuleCondition. - pattern::String : The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition. - - ignoreCase::Bool : Setting this paramter to truth value with force the pattern to do a case in-sensitive comparison. + - ignoreCase::Bool : Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. - negate::Bool : Setting this value as truth will force to check the negation of the condition given by the user. """ Base.@kwdef mutable struct ApplicationGatewayRewriteRuleCondition <: OpenAPI.APIModel @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ApplicationGatewayRewriteRuleCondition <: OpenAPI.API negate::Union{Nothing, Bool} = nothing function ApplicationGatewayRewriteRuleCondition(variable, pattern, ignoreCase, negate, ) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("variable"), variable) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("pattern"), pattern) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("ignoreCase"), ignoreCase) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("negate"), negate) - return new(variable, pattern, ignoreCase, negate, ) + o = new(variable, pattern, ignoreCase, negate, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRewriteRuleCondition const _property_types_ApplicationGatewayRewriteRuleCondition = Dict{Symbol,String}(Symbol("variable")=>"String", Symbol("pattern")=>"String", Symbol("ignoreCase")=>"Bool", Symbol("negate")=>"Bool", ) OpenAPI.property_type(::Type{ ApplicationGatewayRewriteRuleCondition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRewriteRuleCondition[name]))} -function check_required(o::ApplicationGatewayRewriteRuleCondition) +function OpenAPI.check_required(o::ApplicationGatewayRewriteRuleCondition) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRewriteRuleCondition) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("variable"), o.variable) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("pattern"), o.pattern) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("ignoreCase"), o.ignoreCase) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleCondition, Symbol("negate"), o.negate) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRewriteRuleCondition }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSet.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSet.jl index 35c06d9..d161608 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSet.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSet.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ApplicationGatewayRewriteRuleSet <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayRewriteRuleSet(properties, name, etag, id, ) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRewriteRuleSet const _property_types_ApplicationGatewayRewriteRuleSet = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayRewriteRuleSetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayRewriteRuleSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRewriteRuleSet[name]))} -function check_required(o::ApplicationGatewayRewriteRuleSet) +function OpenAPI.check_required(o::ApplicationGatewayRewriteRuleSet) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRewriteRuleSet) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleSet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRewriteRuleSet }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSetPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSetPropertiesFormat.jl index 37d1772..25a03d1 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSetPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRewriteRuleSetPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayRewriteRuleSetPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayRewriteRuleSetPropertiesFormat(rewriteRules, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleSetPropertiesFormat, Symbol("rewriteRules"), rewriteRules) - OpenAPI.validate_property(ApplicationGatewayRewriteRuleSetPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(rewriteRules, provisioningState, ) + o = new(rewriteRules, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayRewriteRuleSetPropertiesFormat const _property_types_ApplicationGatewayRewriteRuleSetPropertiesFormat = Dict{Symbol,String}(Symbol("rewriteRules")=>"Vector{ApplicationGatewayRewriteRule}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayRewriteRuleSetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRewriteRuleSetPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayRewriteRuleSetPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayRewriteRuleSetPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayRewriteRuleSetPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleSetPropertiesFormat, Symbol("rewriteRules"), o.rewriteRules) + OpenAPI.validate_property(ApplicationGatewayRewriteRuleSetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayRewriteRuleSetPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRoutingRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRoutingRule.jl new file mode 100644 index 0000000..0b81458 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRoutingRule.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayRoutingRule +Routing rule of an application gateway. + + ApplicationGatewayRoutingRule(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayRoutingRulePropertiesFormat + - name::String : Name of the routing rule that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayRoutingRule <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayRoutingRulePropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayRoutingRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayRoutingRule + +const _property_types_ApplicationGatewayRoutingRule = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayRoutingRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayRoutingRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRoutingRule[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayRoutingRule) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayRoutingRule) + OpenAPI.validate_property(ApplicationGatewayRoutingRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayRoutingRule, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayRoutingRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayRoutingRule, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayRoutingRule, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayRoutingRule }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRoutingRulePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRoutingRulePropertiesFormat.jl new file mode 100644 index 0000000..4c2ee30 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayRoutingRulePropertiesFormat.jl @@ -0,0 +1,74 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayRoutingRulePropertiesFormat +Properties of routing rule of the application gateway. + + ApplicationGatewayRoutingRulePropertiesFormat(; + ruleType=nothing, + priority=nothing, + backendAddressPool=nothing, + backendSettings=nothing, + listener=nothing, + provisioningState=nothing, + ) + + - ruleType::String : Rule type. + - priority::Int64 : Priority of the routing rule. + - backendAddressPool::SubResource + - backendSettings::SubResource + - listener::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayRoutingRulePropertiesFormat <: OpenAPI.APIModel + ruleType::Union{Nothing, String} = nothing + priority::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } + backendSettings = nothing # spec type: Union{ Nothing, SubResource } + listener = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayRoutingRulePropertiesFormat(ruleType, priority, backendAddressPool, backendSettings, listener, provisioningState, ) + o = new(ruleType, priority, backendAddressPool, backendSettings, listener, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayRoutingRulePropertiesFormat + +const _property_types_ApplicationGatewayRoutingRulePropertiesFormat = Dict{Symbol,String}(Symbol("ruleType")=>"String", Symbol("priority")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("backendSettings")=>"SubResource", Symbol("listener")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayRoutingRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayRoutingRulePropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayRoutingRulePropertiesFormat) + o.priority === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayRoutingRulePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayRoutingRulePropertiesFormat, Symbol("ruleType"), o.ruleType) + OpenAPI.validate_property(ApplicationGatewayRoutingRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(ApplicationGatewayRoutingRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(ApplicationGatewayRoutingRulePropertiesFormat, Symbol("backendSettings"), o.backendSettings) + OpenAPI.validate_property(ApplicationGatewayRoutingRulePropertiesFormat, Symbol("listener"), o.listener) + OpenAPI.validate_property(ApplicationGatewayRoutingRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayRoutingRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("ruleType") + OpenAPI.validate_param(name, "ApplicationGatewayRoutingRulePropertiesFormat", :enum, val, ["Basic", "PathBasedRouting"]) + end + + + if name === Symbol("priority") + OpenAPI.validate_param(name, "ApplicationGatewayRoutingRulePropertiesFormat", :format, val, "int32") + end + if name === Symbol("priority") + OpenAPI.validate_param(name, "ApplicationGatewayRoutingRulePropertiesFormat", :maximum, val, 20000, false) + OpenAPI.validate_param(name, "ApplicationGatewayRoutingRulePropertiesFormat", :minimum, val, 1, false) + end + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySku.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySku.jl index 07279df..5231e73 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySku.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySku.jl @@ -9,40 +9,59 @@ SKU of an application gateway. name=nothing, tier=nothing, capacity=nothing, + family=nothing, ) - name::String : Name of an application gateway SKU. - tier::String : Tier of an application gateway. - capacity::Int64 : Capacity (instance count) of an application gateway. + - family::String : Family of an application gateway SKU. """ Base.@kwdef mutable struct ApplicationGatewaySku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing tier::Union{Nothing, String} = nothing capacity::Union{Nothing, Int64} = nothing + family::Union{Nothing, String} = nothing - function ApplicationGatewaySku(name, tier, capacity, ) - OpenAPI.validate_property(ApplicationGatewaySku, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewaySku, Symbol("tier"), tier) - OpenAPI.validate_property(ApplicationGatewaySku, Symbol("capacity"), capacity) - return new(name, tier, capacity, ) + function ApplicationGatewaySku(name, tier, capacity, family, ) + o = new(name, tier, capacity, family, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewaySku -const _property_types_ApplicationGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("capacity")=>"Int64", ) +const _property_types_ApplicationGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("capacity")=>"Int64", Symbol("family")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySku[name]))} -function check_required(o::ApplicationGatewaySku) +function OpenAPI.check_required(o::ApplicationGatewaySku) true end +function OpenAPI.validate_properties(o::ApplicationGatewaySku) + OpenAPI.validate_property(ApplicationGatewaySku, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewaySku, Symbol("tier"), o.tier) + OpenAPI.validate_property(ApplicationGatewaySku, Symbol("capacity"), o.capacity) + OpenAPI.validate_property(ApplicationGatewaySku, Symbol("family"), o.family) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewaySku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "ApplicationGatewaySku", :enum, val, ["Standard_Small", "Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2"]) + OpenAPI.validate_param(name, "ApplicationGatewaySku", :enum, val, ["Standard_Small", "Standard_Medium", "Standard_Large", "WAF_Medium", "WAF_Large", "Standard_v2", "WAF_v2", "Basic"]) end + + if name === Symbol("tier") - OpenAPI.validate_param(name, "ApplicationGatewaySku", :enum, val, ["Standard", "WAF", "Standard_v2", "WAF_v2"]) + OpenAPI.validate_param(name, "ApplicationGatewaySku", :enum, val, ["Standard", "WAF", "Standard_v2", "WAF_v2", "Basic"]) end + + if name === Symbol("capacity") OpenAPI.validate_param(name, "ApplicationGatewaySku", :format, val, "int32") end + + if name === Symbol("family") + OpenAPI.validate_param(name, "ApplicationGatewaySku", :enum, val, ["Generation_1", "Generation_2"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificate.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificate.jl index a27db23..299f756 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificate.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificate.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewaySslCertificate <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewaySslCertificate(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewaySslCertificate const _property_types_ApplicationGatewaySslCertificate = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewaySslCertificatePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewaySslCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslCertificate[name]))} -function check_required(o::ApplicationGatewaySslCertificate) +function OpenAPI.check_required(o::ApplicationGatewaySslCertificate) true end +function OpenAPI.validate_properties(o::ApplicationGatewaySslCertificate) + OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewaySslCertificate, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewaySslCertificate }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificatePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificatePropertiesFormat.jl index bd14bb0..3bc2c8e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificatePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslCertificatePropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewaySslCertificatePropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewaySslCertificatePropertiesFormat(data, password, publicCertData, keyVaultSecretId, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("data"), data) - OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("password"), password) - OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("publicCertData"), publicCertData) - OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("keyVaultSecretId"), keyVaultSecretId) - OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(data, password, publicCertData, keyVaultSecretId, provisioningState, ) + o = new(data, password, publicCertData, keyVaultSecretId, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewaySslCertificatePropertiesFormat const _property_types_ApplicationGatewaySslCertificatePropertiesFormat = Dict{Symbol,String}(Symbol("data")=>"String", Symbol("password")=>"String", Symbol("publicCertData")=>"String", Symbol("keyVaultSecretId")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewaySslCertificatePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslCertificatePropertiesFormat[name]))} -function check_required(o::ApplicationGatewaySslCertificatePropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewaySslCertificatePropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewaySslCertificatePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("data"), o.data) + OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("password"), o.password) + OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("publicCertData"), o.publicCertData) + OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("keyVaultSecretId"), o.keyVaultSecretId) + OpenAPI.validate_property(ApplicationGatewaySslCertificatePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewaySslCertificatePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPolicy.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPolicy.jl index 3230845..443936c 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPolicy.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPolicy.jl @@ -27,24 +27,35 @@ Base.@kwdef mutable struct ApplicationGatewaySslPolicy <: OpenAPI.APIModel minProtocolVersion = nothing # spec type: Union{ Nothing, ProtocolsEnum } function ApplicationGatewaySslPolicy(disabledSslProtocols, policyType, policyName, cipherSuites, minProtocolVersion, ) - OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("disabledSslProtocols"), disabledSslProtocols) - OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("policyType"), policyType) - OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("policyName"), policyName) - OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("cipherSuites"), cipherSuites) - OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("minProtocolVersion"), minProtocolVersion) - return new(disabledSslProtocols, policyType, policyName, cipherSuites, minProtocolVersion, ) + o = new(disabledSslProtocols, policyType, policyName, cipherSuites, minProtocolVersion, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewaySslPolicy const _property_types_ApplicationGatewaySslPolicy = Dict{Symbol,String}(Symbol("disabledSslProtocols")=>"Vector{ProtocolsEnum}", Symbol("policyType")=>"String", Symbol("policyName")=>"PolicyNameEnum", Symbol("cipherSuites")=>"Vector{CipherSuitesEnum}", Symbol("minProtocolVersion")=>"ProtocolsEnum", ) OpenAPI.property_type(::Type{ ApplicationGatewaySslPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslPolicy[name]))} -function check_required(o::ApplicationGatewaySslPolicy) +function OpenAPI.check_required(o::ApplicationGatewaySslPolicy) true end +function OpenAPI.validate_properties(o::ApplicationGatewaySslPolicy) + OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("disabledSslProtocols"), o.disabledSslProtocols) + OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("policyType"), o.policyType) + OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("policyName"), o.policyName) + OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("cipherSuites"), o.cipherSuites) + OpenAPI.validate_property(ApplicationGatewaySslPolicy, Symbol("minProtocolVersion"), o.minProtocolVersion) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewaySslPolicy }, name::Symbol, val) + + if name === Symbol("policyType") - OpenAPI.validate_param(name, "ApplicationGatewaySslPolicy", :enum, val, ["Predefined", "Custom"]) + OpenAPI.validate_param(name, "ApplicationGatewaySslPolicy", :enum, val, ["Predefined", "Custom", "CustomV2"]) end + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicy.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicy.jl index 0e13ec5..5165ddf 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicy.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicy.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewaySslPredefinedPolicy <: OpenAPI.APIM id::Union{Nothing, String} = nothing function ApplicationGatewaySslPredefinedPolicy(name, properties, id, ) - OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicy, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicy, Symbol("id"), id) - return new(name, properties, id, ) + o = new(name, properties, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewaySslPredefinedPolicy const _property_types_ApplicationGatewaySslPredefinedPolicy = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"ApplicationGatewaySslPredefinedPolicyPropertiesFormat", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewaySslPredefinedPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslPredefinedPolicy[name]))} -function check_required(o::ApplicationGatewaySslPredefinedPolicy) +function OpenAPI.check_required(o::ApplicationGatewaySslPredefinedPolicy) true end +function OpenAPI.validate_properties(o::ApplicationGatewaySslPredefinedPolicy) + OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicy, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewaySslPredefinedPolicy }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicyPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicyPropertiesFormat.jl index e5d8db9..d988cbc 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicyPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslPredefinedPolicyPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewaySslPredefinedPolicyPropertiesFormat minProtocolVersion = nothing # spec type: Union{ Nothing, ProtocolsEnum } function ApplicationGatewaySslPredefinedPolicyPropertiesFormat(cipherSuites, minProtocolVersion, ) - OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicyPropertiesFormat, Symbol("cipherSuites"), cipherSuites) - OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicyPropertiesFormat, Symbol("minProtocolVersion"), minProtocolVersion) - return new(cipherSuites, minProtocolVersion, ) + o = new(cipherSuites, minProtocolVersion, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewaySslPredefinedPolicyPropertiesFormat const _property_types_ApplicationGatewaySslPredefinedPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("cipherSuites")=>"Vector{CipherSuitesEnum}", Symbol("minProtocolVersion")=>"ProtocolsEnum", ) OpenAPI.property_type(::Type{ ApplicationGatewaySslPredefinedPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslPredefinedPolicyPropertiesFormat[name]))} -function check_required(o::ApplicationGatewaySslPredefinedPolicyPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewaySslPredefinedPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewaySslPredefinedPolicyPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicyPropertiesFormat, Symbol("cipherSuites"), o.cipherSuites) + OpenAPI.validate_property(ApplicationGatewaySslPredefinedPolicyPropertiesFormat, Symbol("minProtocolVersion"), o.minProtocolVersion) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewaySslPredefinedPolicyPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslProfile.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslProfile.jl new file mode 100644 index 0000000..7c9e71f --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslProfile.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewaySslProfile +SSL profile of an application gateway. + + ApplicationGatewaySslProfile(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewaySslProfilePropertiesFormat + - name::String : Name of the SSL profile that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewaySslProfile <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewaySslProfilePropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewaySslProfile(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewaySslProfile + +const _property_types_ApplicationGatewaySslProfile = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewaySslProfilePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewaySslProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslProfile[name]))} + +function OpenAPI.check_required(o::ApplicationGatewaySslProfile) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewaySslProfile) + OpenAPI.validate_property(ApplicationGatewaySslProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewaySslProfile, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewaySslProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewaySslProfile, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewaySslProfile, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewaySslProfile }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslProfilePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslProfilePropertiesFormat.jl new file mode 100644 index 0000000..0f076ee --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewaySslProfilePropertiesFormat.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewaySslProfilePropertiesFormat +Properties of SSL profile of an application gateway. + + ApplicationGatewaySslProfilePropertiesFormat(; + trustedClientCertificates=nothing, + sslPolicy=nothing, + clientAuthConfiguration=nothing, + provisioningState=nothing, + ) + + - trustedClientCertificates::Vector{SubResource} : Array of references to application gateway trusted client certificates. + - sslPolicy::ApplicationGatewaySslPolicy + - clientAuthConfiguration::ApplicationGatewayClientAuthConfiguration + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewaySslProfilePropertiesFormat <: OpenAPI.APIModel + trustedClientCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sslPolicy = nothing # spec type: Union{ Nothing, ApplicationGatewaySslPolicy } + clientAuthConfiguration = nothing # spec type: Union{ Nothing, ApplicationGatewayClientAuthConfiguration } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewaySslProfilePropertiesFormat(trustedClientCertificates, sslPolicy, clientAuthConfiguration, provisioningState, ) + o = new(trustedClientCertificates, sslPolicy, clientAuthConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewaySslProfilePropertiesFormat + +const _property_types_ApplicationGatewaySslProfilePropertiesFormat = Dict{Symbol,String}(Symbol("trustedClientCertificates")=>"Vector{SubResource}", Symbol("sslPolicy")=>"ApplicationGatewaySslPolicy", Symbol("clientAuthConfiguration")=>"ApplicationGatewayClientAuthConfiguration", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewaySslProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewaySslProfilePropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewaySslProfilePropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewaySslProfilePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewaySslProfilePropertiesFormat, Symbol("trustedClientCertificates"), o.trustedClientCertificates) + OpenAPI.validate_property(ApplicationGatewaySslProfilePropertiesFormat, Symbol("sslPolicy"), o.sslPolicy) + OpenAPI.validate_property(ApplicationGatewaySslProfilePropertiesFormat, Symbol("clientAuthConfiguration"), o.clientAuthConfiguration) + OpenAPI.validate_property(ApplicationGatewaySslProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewaySslProfilePropertiesFormat }, name::Symbol, val) + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedClientCertificate.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedClientCertificate.jl new file mode 100644 index 0000000..2ea849c --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedClientCertificate.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayTrustedClientCertificate +Trusted client certificates of an application gateway. + + ApplicationGatewayTrustedClientCertificate(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayTrustedClientCertificatePropertiesFormat + - name::String : Name of the trusted client certificate that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayTrustedClientCertificate <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayTrustedClientCertificatePropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayTrustedClientCertificate(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayTrustedClientCertificate + +const _property_types_ApplicationGatewayTrustedClientCertificate = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayTrustedClientCertificatePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayTrustedClientCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayTrustedClientCertificate[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayTrustedClientCertificate) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayTrustedClientCertificate) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificate, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificate, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificate, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificate, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificate, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayTrustedClientCertificate }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedClientCertificatePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedClientCertificatePropertiesFormat.jl new file mode 100644 index 0000000..e315154 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedClientCertificatePropertiesFormat.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayTrustedClientCertificatePropertiesFormat +Trusted client certificates properties of an application gateway. + + ApplicationGatewayTrustedClientCertificatePropertiesFormat(; + data=nothing, + validatedCertData=nothing, + clientCertIssuerDN=nothing, + provisioningState=nothing, + ) + + - data::String : Certificate public data. + - validatedCertData::String : Validated certificate data. + - clientCertIssuerDN::String : Distinguished name of client certificate issuer. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayTrustedClientCertificatePropertiesFormat <: OpenAPI.APIModel + data::Union{Nothing, String} = nothing + validatedCertData::Union{Nothing, String} = nothing + clientCertIssuerDN::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayTrustedClientCertificatePropertiesFormat(data, validatedCertData, clientCertIssuerDN, provisioningState, ) + o = new(data, validatedCertData, clientCertIssuerDN, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayTrustedClientCertificatePropertiesFormat + +const _property_types_ApplicationGatewayTrustedClientCertificatePropertiesFormat = Dict{Symbol,String}(Symbol("data")=>"String", Symbol("validatedCertData")=>"String", Symbol("clientCertIssuerDN")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayTrustedClientCertificatePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayTrustedClientCertificatePropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayTrustedClientCertificatePropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayTrustedClientCertificatePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificatePropertiesFormat, Symbol("data"), o.data) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificatePropertiesFormat, Symbol("validatedCertData"), o.validatedCertData) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificatePropertiesFormat, Symbol("clientCertIssuerDN"), o.clientCertIssuerDN) + OpenAPI.validate_property(ApplicationGatewayTrustedClientCertificatePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayTrustedClientCertificatePropertiesFormat }, name::Symbol, val) + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificate.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificate.jl index 1435bb2..70839bf 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificate.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificate.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayTrustedRootCertificate <: OpenAPI.A id::Union{Nothing, String} = nothing function ApplicationGatewayTrustedRootCertificate(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayTrustedRootCertificate const _property_types_ApplicationGatewayTrustedRootCertificate = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayTrustedRootCertificatePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayTrustedRootCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayTrustedRootCertificate[name]))} -function check_required(o::ApplicationGatewayTrustedRootCertificate) +function OpenAPI.check_required(o::ApplicationGatewayTrustedRootCertificate) true end +function OpenAPI.validate_properties(o::ApplicationGatewayTrustedRootCertificate) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificate, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayTrustedRootCertificate }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificatePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificatePropertiesFormat.jl index 95dddb5..a339ae0 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificatePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayTrustedRootCertificatePropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayTrustedRootCertificatePropertiesFor provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayTrustedRootCertificatePropertiesFormat(data, keyVaultSecretId, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificatePropertiesFormat, Symbol("data"), data) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificatePropertiesFormat, Symbol("keyVaultSecretId"), keyVaultSecretId) - OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificatePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(data, keyVaultSecretId, provisioningState, ) + o = new(data, keyVaultSecretId, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayTrustedRootCertificatePropertiesFormat const _property_types_ApplicationGatewayTrustedRootCertificatePropertiesFormat = Dict{Symbol,String}(Symbol("data")=>"String", Symbol("keyVaultSecretId")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayTrustedRootCertificatePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayTrustedRootCertificatePropertiesFormat[name]))} -function check_required(o::ApplicationGatewayTrustedRootCertificatePropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayTrustedRootCertificatePropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayTrustedRootCertificatePropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificatePropertiesFormat, Symbol("data"), o.data) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificatePropertiesFormat, Symbol("keyVaultSecretId"), o.keyVaultSecretId) + OpenAPI.validate_property(ApplicationGatewayTrustedRootCertificatePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayTrustedRootCertificatePropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlConfiguration.jl index dc483e9..8701063 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlConfiguration.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayUrlConfiguration <: OpenAPI.APIMode reroute::Union{Nothing, Bool} = nothing function ApplicationGatewayUrlConfiguration(modifiedPath, modifiedQueryString, reroute, ) - OpenAPI.validate_property(ApplicationGatewayUrlConfiguration, Symbol("modifiedPath"), modifiedPath) - OpenAPI.validate_property(ApplicationGatewayUrlConfiguration, Symbol("modifiedQueryString"), modifiedQueryString) - OpenAPI.validate_property(ApplicationGatewayUrlConfiguration, Symbol("reroute"), reroute) - return new(modifiedPath, modifiedQueryString, reroute, ) + o = new(modifiedPath, modifiedQueryString, reroute, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayUrlConfiguration const _property_types_ApplicationGatewayUrlConfiguration = Dict{Symbol,String}(Symbol("modifiedPath")=>"String", Symbol("modifiedQueryString")=>"String", Symbol("reroute")=>"Bool", ) OpenAPI.property_type(::Type{ ApplicationGatewayUrlConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayUrlConfiguration[name]))} -function check_required(o::ApplicationGatewayUrlConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayUrlConfiguration) true end +function OpenAPI.validate_properties(o::ApplicationGatewayUrlConfiguration) + OpenAPI.validate_property(ApplicationGatewayUrlConfiguration, Symbol("modifiedPath"), o.modifiedPath) + OpenAPI.validate_property(ApplicationGatewayUrlConfiguration, Symbol("modifiedQueryString"), o.modifiedQueryString) + OpenAPI.validate_property(ApplicationGatewayUrlConfiguration, Symbol("reroute"), o.reroute) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayUrlConfiguration }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMap.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMap.jl index 9c829ea..8e47b4a 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMap.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMap.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayUrlPathMap <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ApplicationGatewayUrlPathMap(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayUrlPathMap const _property_types_ApplicationGatewayUrlPathMap = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayUrlPathMapPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayUrlPathMap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayUrlPathMap[name]))} -function check_required(o::ApplicationGatewayUrlPathMap) +function OpenAPI.check_required(o::ApplicationGatewayUrlPathMap) true end +function OpenAPI.validate_properties(o::ApplicationGatewayUrlPathMap) + OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayUrlPathMap, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayUrlPathMap }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMapPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMapPropertiesFormat.jl index 4f5d461..ee92176 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMapPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayUrlPathMapPropertiesFormat.jl @@ -10,6 +10,7 @@ Properties of UrlPathMap of the application gateway. defaultBackendHttpSettings=nothing, defaultRewriteRuleSet=nothing, defaultRedirectConfiguration=nothing, + defaultLoadDistributionPolicy=nothing, pathRules=nothing, provisioningState=nothing, ) @@ -18,6 +19,7 @@ Properties of UrlPathMap of the application gateway. - defaultBackendHttpSettings::SubResource - defaultRewriteRuleSet::SubResource - defaultRedirectConfiguration::SubResource + - defaultLoadDistributionPolicy::SubResource - pathRules::Vector{ApplicationGatewayPathRule} : Path rule of URL path map resource. - provisioningState::ProvisioningState """ @@ -26,26 +28,40 @@ Base.@kwdef mutable struct ApplicationGatewayUrlPathMapPropertiesFormat <: OpenA defaultBackendHttpSettings = nothing # spec type: Union{ Nothing, SubResource } defaultRewriteRuleSet = nothing # spec type: Union{ Nothing, SubResource } defaultRedirectConfiguration = nothing # spec type: Union{ Nothing, SubResource } + defaultLoadDistributionPolicy = nothing # spec type: Union{ Nothing, SubResource } pathRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayPathRule} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ApplicationGatewayUrlPathMapPropertiesFormat(defaultBackendAddressPool, defaultBackendHttpSettings, defaultRewriteRuleSet, defaultRedirectConfiguration, pathRules, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultBackendAddressPool"), defaultBackendAddressPool) - OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultBackendHttpSettings"), defaultBackendHttpSettings) - OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultRewriteRuleSet"), defaultRewriteRuleSet) - OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultRedirectConfiguration"), defaultRedirectConfiguration) - OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("pathRules"), pathRules) - OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(defaultBackendAddressPool, defaultBackendHttpSettings, defaultRewriteRuleSet, defaultRedirectConfiguration, pathRules, provisioningState, ) + function ApplicationGatewayUrlPathMapPropertiesFormat(defaultBackendAddressPool, defaultBackendHttpSettings, defaultRewriteRuleSet, defaultRedirectConfiguration, defaultLoadDistributionPolicy, pathRules, provisioningState, ) + o = new(defaultBackendAddressPool, defaultBackendHttpSettings, defaultRewriteRuleSet, defaultRedirectConfiguration, defaultLoadDistributionPolicy, pathRules, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayUrlPathMapPropertiesFormat -const _property_types_ApplicationGatewayUrlPathMapPropertiesFormat = Dict{Symbol,String}(Symbol("defaultBackendAddressPool")=>"SubResource", Symbol("defaultBackendHttpSettings")=>"SubResource", Symbol("defaultRewriteRuleSet")=>"SubResource", Symbol("defaultRedirectConfiguration")=>"SubResource", Symbol("pathRules")=>"Vector{ApplicationGatewayPathRule}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ApplicationGatewayUrlPathMapPropertiesFormat = Dict{Symbol,String}(Symbol("defaultBackendAddressPool")=>"SubResource", Symbol("defaultBackendHttpSettings")=>"SubResource", Symbol("defaultRewriteRuleSet")=>"SubResource", Symbol("defaultRedirectConfiguration")=>"SubResource", Symbol("defaultLoadDistributionPolicy")=>"SubResource", Symbol("pathRules")=>"Vector{ApplicationGatewayPathRule}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayUrlPathMapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayUrlPathMapPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayUrlPathMapPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayUrlPathMapPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayUrlPathMapPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultBackendAddressPool"), o.defaultBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultBackendHttpSettings"), o.defaultBackendHttpSettings) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultRewriteRuleSet"), o.defaultRewriteRuleSet) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultRedirectConfiguration"), o.defaultRedirectConfiguration) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("defaultLoadDistributionPolicy"), o.defaultLoadDistributionPolicy) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("pathRules"), o.pathRules) + OpenAPI.validate_property(ApplicationGatewayUrlPathMapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayUrlPathMapPropertiesFormat }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayWebApplicationFirewallConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayWebApplicationFirewallConfiguration.jl index d610516..4970b6a 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayWebApplicationFirewallConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationGatewayWebApplicationFirewallConfiguration.jl @@ -42,24 +42,16 @@ Base.@kwdef mutable struct ApplicationGatewayWebApplicationFirewallConfiguration exclusions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayFirewallExclusion} } function ApplicationGatewayWebApplicationFirewallConfiguration(enabled, firewallMode, ruleSetType, ruleSetVersion, disabledRuleGroups, requestBodyCheck, maxRequestBodySize, maxRequestBodySizeInKb, fileUploadLimitInMb, exclusions, ) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("enabled"), enabled) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("firewallMode"), firewallMode) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("ruleSetType"), ruleSetType) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("ruleSetVersion"), ruleSetVersion) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("disabledRuleGroups"), disabledRuleGroups) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("requestBodyCheck"), requestBodyCheck) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("maxRequestBodySize"), maxRequestBodySize) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("maxRequestBodySizeInKb"), maxRequestBodySizeInKb) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("fileUploadLimitInMb"), fileUploadLimitInMb) - OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("exclusions"), exclusions) - return new(enabled, firewallMode, ruleSetType, ruleSetVersion, disabledRuleGroups, requestBodyCheck, maxRequestBodySize, maxRequestBodySizeInKb, fileUploadLimitInMb, exclusions, ) + o = new(enabled, firewallMode, ruleSetType, ruleSetVersion, disabledRuleGroups, requestBodyCheck, maxRequestBodySize, maxRequestBodySizeInKb, fileUploadLimitInMb, exclusions, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayWebApplicationFirewallConfiguration const _property_types_ApplicationGatewayWebApplicationFirewallConfiguration = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("firewallMode")=>"String", Symbol("ruleSetType")=>"String", Symbol("ruleSetVersion")=>"String", Symbol("disabledRuleGroups")=>"Vector{ApplicationGatewayFirewallDisabledRuleGroup}", Symbol("requestBodyCheck")=>"Bool", Symbol("maxRequestBodySize")=>"Int64", Symbol("maxRequestBodySizeInKb")=>"Int64", Symbol("fileUploadLimitInMb")=>"Int64", Symbol("exclusions")=>"Vector{ApplicationGatewayFirewallExclusion}", ) OpenAPI.property_type(::Type{ ApplicationGatewayWebApplicationFirewallConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayWebApplicationFirewallConfiguration[name]))} -function check_required(o::ApplicationGatewayWebApplicationFirewallConfiguration) +function OpenAPI.check_required(o::ApplicationGatewayWebApplicationFirewallConfiguration) o.enabled === nothing && (return false) o.firewallMode === nothing && (return false) o.ruleSetType === nothing && (return false) @@ -67,10 +59,31 @@ function check_required(o::ApplicationGatewayWebApplicationFirewallConfiguration true end +function OpenAPI.validate_properties(o::ApplicationGatewayWebApplicationFirewallConfiguration) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("firewallMode"), o.firewallMode) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("ruleSetType"), o.ruleSetType) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("ruleSetVersion"), o.ruleSetVersion) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("disabledRuleGroups"), o.disabledRuleGroups) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("requestBodyCheck"), o.requestBodyCheck) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("maxRequestBodySize"), o.maxRequestBodySize) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("maxRequestBodySizeInKb"), o.maxRequestBodySizeInKb) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("fileUploadLimitInMb"), o.fileUploadLimitInMb) + OpenAPI.validate_property(ApplicationGatewayWebApplicationFirewallConfiguration, Symbol("exclusions"), o.exclusions) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayWebApplicationFirewallConfiguration }, name::Symbol, val) + + if name === Symbol("firewallMode") OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :enum, val, ["Detection", "Prevention"]) end + + + + + + if name === Symbol("maxRequestBodySize") OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :format, val, "int32") end @@ -78,6 +91,7 @@ function OpenAPI.validate_property(::Type{ ApplicationGatewayWebApplicationFirew OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :maximum, val, 128, false) OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :minimum, val, 8, false) end + if name === Symbol("maxRequestBodySizeInKb") OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :format, val, "int32") end @@ -85,10 +99,12 @@ function OpenAPI.validate_property(::Type{ ApplicationGatewayWebApplicationFirew OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :maximum, val, 128, false) OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :minimum, val, 8, false) end + if name === Symbol("fileUploadLimitInMb") OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :format, val, "int32") end if name === Symbol("fileUploadLimitInMb") OpenAPI.validate_param(name, "ApplicationGatewayWebApplicationFirewallConfiguration", :minimum, val, 0, false) end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPool.jl b/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_CloudError.jl b/src/Network/ApplicationGatewayClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_CloudError.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_CloudErrorBody.jl b/src/Network/ApplicationGatewayClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_DdosSettings.jl b/src/Network/ApplicationGatewayClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_DdosSettings.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_Delegation.jl b/src/Network/ApplicationGatewayClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_Delegation.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_Error.jl b/src/Network/ApplicationGatewayClient/src/models/model_Error.jl index aa5ee45..9838e72 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_Error.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_Error.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Error <: OpenAPI.APIModel innerError::Union{Nothing, String} = nothing function Error(code, message, target, details, innerError, ) - OpenAPI.validate_property(Error, Symbol("code"), code) - OpenAPI.validate_property(Error, Symbol("message"), message) - OpenAPI.validate_property(Error, Symbol("target"), target) - OpenAPI.validate_property(Error, Symbol("details"), details) - OpenAPI.validate_property(Error, Symbol("innerError"), innerError) - return new(code, message, target, details, innerError, ) + o = new(code, message, target, details, innerError, ) + OpenAPI.validate_properties(o) + return o end end # type Error const _property_types_Error = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetails}", Symbol("innerError")=>"String", ) OpenAPI.property_type(::Type{ Error }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Error[name]))} -function check_required(o::Error) +function OpenAPI.check_required(o::Error) true end +function OpenAPI.validate_properties(o::Error) + OpenAPI.validate_property(Error, Symbol("code"), o.code) + OpenAPI.validate_property(Error, Symbol("message"), o.message) + OpenAPI.validate_property(Error, Symbol("target"), o.target) + OpenAPI.validate_property(Error, Symbol("details"), o.details) + OpenAPI.validate_property(Error, Symbol("innerError"), o.innerError) +end + function OpenAPI.validate_property(::Type{ Error }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ErrorDetails.jl b/src/Network/ApplicationGatewayClient/src/models/model_ErrorDetails.jl index 446e801..2667170 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ErrorDetails.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ErrorDetails.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ErrorDetails <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ErrorDetails(code, target, message, ) - OpenAPI.validate_property(ErrorDetails, Symbol("code"), code) - OpenAPI.validate_property(ErrorDetails, Symbol("target"), target) - OpenAPI.validate_property(ErrorDetails, Symbol("message"), message) - return new(code, target, message, ) + o = new(code, target, message, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorDetails const _property_types_ErrorDetails = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ErrorDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetails[name]))} -function check_required(o::ErrorDetails) +function OpenAPI.check_required(o::ErrorDetails) true end +function OpenAPI.validate_properties(o::ErrorDetails) + OpenAPI.validate_property(ErrorDetails, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetails, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetails, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ErrorDetails }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ExtendedLocation.jl b/src/Network/ApplicationGatewayClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ExtendedLocationType.jl b/src/Network/ApplicationGatewayClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_FlowLog.jl b/src/Network/ApplicationGatewayClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_FlowLog.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/ApplicationGatewayClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 3545ff4..d235f7e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/ApplicationGatewayClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_HeaderValueMatcher.jl b/src/Network/ApplicationGatewayClient/src/models/model_HeaderValueMatcher.jl new file mode 100644 index 0000000..317499c --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_HeaderValueMatcher.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""HeaderValueMatcher +An optional field under \"Rewrite Action\". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud + + HeaderValueMatcher(; + pattern=nothing, + ignoreCase=nothing, + negate=nothing, + ) + + - pattern::String : The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite. + - ignoreCase::Bool : Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison. + - negate::Bool : Setting this value as truth will force to check the negation of the condition given by the user in the pattern field. +""" +Base.@kwdef mutable struct HeaderValueMatcher <: OpenAPI.APIModel + pattern::Union{Nothing, String} = nothing + ignoreCase::Union{Nothing, Bool} = nothing + negate::Union{Nothing, Bool} = nothing + + function HeaderValueMatcher(pattern, ignoreCase, negate, ) + o = new(pattern, ignoreCase, negate, ) + OpenAPI.validate_properties(o) + return o + end +end # type HeaderValueMatcher + +const _property_types_HeaderValueMatcher = Dict{Symbol,String}(Symbol("pattern")=>"String", Symbol("ignoreCase")=>"Bool", Symbol("negate")=>"Bool", ) +OpenAPI.property_type(::Type{ HeaderValueMatcher }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HeaderValueMatcher[name]))} + +function OpenAPI.check_required(o::HeaderValueMatcher) + true +end + +function OpenAPI.validate_properties(o::HeaderValueMatcher) + OpenAPI.validate_property(HeaderValueMatcher, Symbol("pattern"), o.pattern) + OpenAPI.validate_property(HeaderValueMatcher, Symbol("ignoreCase"), o.ignoreCase) + OpenAPI.validate_property(HeaderValueMatcher, Symbol("negate"), o.negate) +end + +function OpenAPI.validate_property(::Type{ HeaderValueMatcher }, name::Symbol, val) + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IPConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_IPConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfile.jl b/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationPropertiesFormat.jl index 613e62d..7b5e780 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRule.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IpTag.jl b/src/Network/ApplicationGatewayClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_IpTag.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/ApplicationGatewayClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/ApplicationGatewayClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/ApplicationGatewayClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/ApplicationGatewayClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NatGateway.jl b/src/Network/ApplicationGatewayClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NatGatewaySku.jl b/src/Network/ApplicationGatewayClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NatRulePortMapping.jl b/src/Network/ApplicationGatewayClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterface.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterface.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 06ab9ed..9e4974a 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool2} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool2} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool2}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool2}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0ba83a0..b38ec23 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpoint.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointProperties.jl index c7b43bc..627df0e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkService.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..f0c3f6f --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddress.jl b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressSku.jl b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_Resource.jl b/src/Network/ApplicationGatewayClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_Resource.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLink.jl b/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ResourceSet.jl b/src/Network/ApplicationGatewayClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/ApplicationGatewayClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/ApplicationGatewayClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_Route.jl b/src/Network/ApplicationGatewayClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_Route.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_RouteTable.jl b/src/Network/ApplicationGatewayClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_RouteTable.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_SecurityRule.jl b/src/Network/ApplicationGatewayClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_SecurityRule.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLink.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_SubResource.jl b/src/Network/ApplicationGatewayClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_SubResource.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_Subnet.jl b/src/Network/ApplicationGatewayClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_Subnet.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_SubnetPropertiesFormat.jl index 27b81fb..876c69f 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration2} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration2} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration2}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_TagsObject.jl b/src/Network/ApplicationGatewayClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_TagsObject.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTap.jl b/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index b13a962..4588cfe 100644 --- a/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/ApplicationGatewayClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/CheckDnsAvailabilityClient/.openapi-generator/VERSION b/src/Network/CheckDnsAvailabilityClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/CheckDnsAvailabilityClient/.openapi-generator/VERSION +++ b/src/Network/CheckDnsAvailabilityClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/CheckDnsAvailabilityClient/README.md b/src/Network/CheckDnsAvailabilityClient/README.md index 2eb7836..5388517 100644 --- a/src/Network/CheckDnsAvailabilityClient/README.md +++ b/src/Network/CheckDnsAvailabilityClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -30,9 +31,12 @@ Class | Method - [DnsNameAvailabilityResult](docs/DnsNameAvailabilityResult.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/CheckDnsAvailabilityClient/docs/DefaultApi.md b/src/Network/CheckDnsAvailabilityClient/docs/DefaultApi.md index 789a811..59df195 100644 --- a/src/Network/CheckDnsAvailabilityClient/docs/DefaultApi.md +++ b/src/Network/CheckDnsAvailabilityClient/docs/DefaultApi.md @@ -20,10 +20,10 @@ Checks whether a domain name in the cloudapp.azure.com zone is available for use Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**location** | **String**| The location of the domain name. | [default to nothing] -**domain_name_label** | **String**| The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location of the domain name. | +**domain_name_label** | **String** | The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/CheckDnsAvailabilityClient/src/CheckDnsAvailabilityClient.jl b/src/Network/CheckDnsAvailabilityClient/src/CheckDnsAvailabilityClient.jl index f7bfc2c..2722b4a 100644 --- a/src/Network/CheckDnsAvailabilityClient/src/CheckDnsAvailabilityClient.jl +++ b/src/Network/CheckDnsAvailabilityClient/src/CheckDnsAvailabilityClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/CheckDnsAvailabilityClient/src/apis/api_DefaultApi.jl b/src/Network/CheckDnsAvailabilityClient/src/apis/api_DefaultApi.jl index 3f58d1a..3e37f94 100644 --- a/src/Network/CheckDnsAvailabilityClient/src/apis/api_DefaultApi.jl +++ b/src/Network/CheckDnsAvailabilityClient/src/apis/api_DefaultApi.jl @@ -20,8 +20,8 @@ function _oacinternal_check_dns_name_availability(_api::DefaultApi, location::St _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_check_dns_name_availability_DefaultApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "domainNameLabel", domain_name_label) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "domainNameLabel", domain_name_label; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudError.jl b/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudError.jl +++ b/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudErrorBody.jl b/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/CheckDnsAvailabilityClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/CheckDnsAvailabilityClient/src/models/model_DnsNameAvailabilityResult.jl b/src/Network/CheckDnsAvailabilityClient/src/models/model_DnsNameAvailabilityResult.jl index a004695..055af85 100644 --- a/src/Network/CheckDnsAvailabilityClient/src/models/model_DnsNameAvailabilityResult.jl +++ b/src/Network/CheckDnsAvailabilityClient/src/models/model_DnsNameAvailabilityResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct DnsNameAvailabilityResult <: OpenAPI.APIModel available::Union{Nothing, Bool} = nothing function DnsNameAvailabilityResult(available, ) - OpenAPI.validate_property(DnsNameAvailabilityResult, Symbol("available"), available) - return new(available, ) + o = new(available, ) + OpenAPI.validate_properties(o) + return o end end # type DnsNameAvailabilityResult const _property_types_DnsNameAvailabilityResult = Dict{Symbol,String}(Symbol("available")=>"Bool", ) OpenAPI.property_type(::Type{ DnsNameAvailabilityResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DnsNameAvailabilityResult[name]))} -function check_required(o::DnsNameAvailabilityResult) +function OpenAPI.check_required(o::DnsNameAvailabilityResult) true end +function OpenAPI.validate_properties(o::DnsNameAvailabilityResult) + OpenAPI.validate_property(DnsNameAvailabilityResult, Symbol("available"), o.available) +end + function OpenAPI.validate_property(::Type{ DnsNameAvailabilityResult }, name::Symbol, val) + end diff --git a/src/Network/ExpressRouteCircuitClient/.openapi-generator/FILES b/src/Network/ExpressRouteCircuitClient/.openapi-generator/FILES index 09d628b..cf7dfd2 100644 --- a/src/Network/ExpressRouteCircuitClient/.openapi-generator/FILES +++ b/src/Network/ExpressRouteCircuitClient/.openapi-generator/FILES @@ -1,5 +1,6 @@ .openapi-generator-ignore README.md +docs/AdvertisedPublicPrefixProperties.md docs/AuthorizationListResult.md docs/AuthorizationPropertiesFormat.md docs/CircuitConnectionStatus.md @@ -64,6 +65,7 @@ src/apis/api_ExpressRouteCircuitsApi.jl src/apis/api_ExpressRouteServiceProvidersApi.jl src/apis/api_PeerExpressRouteCircuitConnectionsApi.jl src/modelincludes.jl +src/models/model_AdvertisedPublicPrefixProperties.jl src/models/model_AuthorizationListResult.jl src/models/model_AuthorizationPropertiesFormat.jl src/models/model_CircuitConnectionStatus.jl diff --git a/src/Network/ExpressRouteCircuitClient/.openapi-generator/VERSION b/src/Network/ExpressRouteCircuitClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/ExpressRouteCircuitClient/.openapi-generator/VERSION +++ b/src/Network/ExpressRouteCircuitClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/ExpressRouteCircuitClient/README.md b/src/Network/ExpressRouteCircuitClient/README.md index a917ced..14e6b65 100644 --- a/src/Network/ExpressRouteCircuitClient/README.md +++ b/src/Network/ExpressRouteCircuitClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -50,6 +51,7 @@ Class | Method ## Models + - [AdvertisedPublicPrefixProperties](docs/AdvertisedPublicPrefixProperties.md) - [AuthorizationListResult](docs/AuthorizationListResult.md) - [AuthorizationPropertiesFormat](docs/AuthorizationPropertiesFormat.md) - [CircuitConnectionStatus](docs/CircuitConnectionStatus.md) @@ -94,9 +96,12 @@ Class | Method - [TagsObject](docs/TagsObject.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/ExpressRouteCircuitClient/docs/AdvertisedPublicPrefixProperties.md b/src/Network/ExpressRouteCircuitClient/docs/AdvertisedPublicPrefixProperties.md new file mode 100644 index 0000000..af4d205 --- /dev/null +++ b/src/Network/ExpressRouteCircuitClient/docs/AdvertisedPublicPrefixProperties.md @@ -0,0 +1,15 @@ +# AdvertisedPublicPrefixProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefix** | **String** | Advertised Public Prefix. | [optional] [default to nothing] +**validationId** | **String** | Validation string that contains circuit peering info. | [optional] [default to nothing] +**signature** | **String** | Signed string generated by encrypting validationId with a private key. | [optional] [default to nothing] +**validationState** | **String** | Advertised Public Prefix State that denotes if the prefix is validated or not. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/ExpressRouteCircuitClient/docs/AuthorizationPropertiesFormat.md b/src/Network/ExpressRouteCircuitClient/docs/AuthorizationPropertiesFormat.md index 1119304..8f3c1d4 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/AuthorizationPropertiesFormat.md +++ b/src/Network/ExpressRouteCircuitClient/docs/AuthorizationPropertiesFormat.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **authorizationKey** | **String** | The authorization key. | [optional] [default to nothing] **authorizationUseStatus** | **String** | The authorization use status. | [optional] [default to nothing] +**connectionResourceUri** | **String** | The reference to the ExpressRoute connection resource using the authorization. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitArpTableApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitArpTableApi.md index 604cc2d..14895ab 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitArpTableApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitArpTableApi.md @@ -20,12 +20,12 @@ Gets the currently advertised ARP table associated with the express route circui Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitArpTableApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**device_path** | **String**| The path of the device. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**device_path** | **String** | The path of the device. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitAuthorizationsApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitAuthorizationsApi.md index 4b3ebeb..968e82c 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitAuthorizationsApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitAuthorizationsApi.md @@ -23,12 +23,12 @@ Creates or updates an authorization in the specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitAuthorizationsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**authorization_name** | **String**| The name of the authorization. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**authorization_parameters** | [**ExpressRouteCircuitAuthorization**](ExpressRouteCircuitAuthorization.md)| Parameters supplied to the create or update express route circuit authorization operation. | +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**authorization_name** | **String** | The name of the authorization. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**authorization_parameters** | [**ExpressRouteCircuitAuthorization**](ExpressRouteCircuitAuthorization.md) | Parameters supplied to the create or update express route circuit authorization operation. | ### Return type @@ -58,11 +58,11 @@ Deletes the specified authorization from the specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitAuthorizationsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**authorization_name** | **String**| The name of the authorization. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**authorization_name** | **String** | The name of the authorization. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,11 +92,11 @@ Gets the specified authorization from the specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitAuthorizationsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**authorization_name** | **String**| The name of the authorization. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**authorization_name** | **String** | The name of the authorization. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +126,10 @@ Gets all authorizations in an express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitAuthorizationsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitConnectionsApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitConnectionsApi.md index 8ab024a..9ebf8a5 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitConnectionsApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitConnectionsApi.md @@ -23,13 +23,13 @@ Creates or updates a Express Route Circuit Connection in the specified express r Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**connection_name** | **String**| The name of the express route circuit connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**express_route_circuit_connection_parameters** | [**ExpressRouteCircuitConnection**](ExpressRouteCircuitConnection.md)| Parameters supplied to the create or update express route circuit connection operation. | +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**connection_name** | **String** | The name of the express route circuit connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**express_route_circuit_connection_parameters** | [**ExpressRouteCircuitConnection**](ExpressRouteCircuitConnection.md) | Parameters supplied to the create or update express route circuit connection operation. | ### Return type @@ -59,12 +59,12 @@ Deletes the specified Express Route Circuit Connection from the specified expres Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**connection_name** | **String**| The name of the express route circuit connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**connection_name** | **String** | The name of the express route circuit connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -94,12 +94,12 @@ Gets the specified Express Route Circuit Connection from the specified express r Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**connection_name** | **String**| The name of the express route circuit connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**connection_name** | **String** | The name of the express route circuit connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -129,11 +129,11 @@ Gets all global reach connections associated with a private peering in an expres Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the circuit. | +**peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringConfig.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringConfig.md index ee84637..89de7c2 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringConfig.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringConfig.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **legacyMode** | **Int64** | The legacy mode of the peering. | [optional] [default to nothing] **customerASN** | **Int64** | The CustomerASN of the peering. | [optional] [default to nothing] **routingRegistryName** | **String** | The RoutingRegistryName of the configuration. | [optional] [default to nothing] +**advertisedPublicPrefixInfo** | [**Vector{AdvertisedPublicPrefixProperties}**](AdvertisedPublicPrefixProperties.md) | List of Prefix information required to perform validation. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringsApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringsApi.md index 9e877e2..16c03c3 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringsApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPeeringsApi.md @@ -23,12 +23,12 @@ Creates or updates a peering in the specified express route circuits. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**peering_parameters** | [**ExpressRouteCircuitPeering**](ExpressRouteCircuitPeering.md)| Parameters supplied to the create or update express route circuit peering operation. | +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**peering_parameters** | [**ExpressRouteCircuitPeering**](ExpressRouteCircuitPeering.md) | Parameters supplied to the create or update express route circuit peering operation. | ### Return type @@ -58,11 +58,11 @@ Deletes the specified peering from the specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,11 +92,11 @@ Gets the specified peering for the express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +126,10 @@ Gets all peerings in a specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPropertiesFormat.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPropertiesFormat.md index e609390..d6e0721 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPropertiesFormat.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitPropertiesFormat.md @@ -18,6 +18,9 @@ Name | Type | Description | Notes **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **gatewayManagerEtag** | **String** | The GatewayManager Etag. | [optional] [default to nothing] **globalReachEnabled** | **Bool** | Flag denoting global reach status. | [optional] [default to nothing] +**authorizationKey** | **String** | The authorizationKey. | [optional] [default to nothing] +**authorizationStatus** | **String** | The authorization status of the Circuit. | [optional] [readonly] [default to nothing] +**enableDirectPortRateLimit** | **Bool** | Flag denoting rate-limiting status of the ExpressRoute direct-port circuit. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableApi.md index 1452ba9..31030c0 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableApi.md @@ -20,12 +20,12 @@ Gets the currently advertised routes table associated with the express route cir Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitRoutesTableApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**device_path** | **String**| The path of the device. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**device_path** | **String** | The path of the device. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableSummaryApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableSummaryApi.md index 390d97a..7360bd7 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableSummaryApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitRoutesTableSummaryApi.md @@ -20,12 +20,12 @@ Gets the currently advertised routes table summary associated with the express r Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitRoutesTableSummaryApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**device_path** | **String**| The path of the device. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**device_path** | **String** | The path of the device. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitStatsApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitStatsApi.md index 242170d..82f91b8 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitStatsApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitStatsApi.md @@ -21,11 +21,11 @@ Gets all stats from an express route circuit in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitStatsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -55,10 +55,10 @@ Gets all the stats from an express route circuit in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitStatsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitsApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitsApi.md index 9dfa0a1..a24eace 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitsApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteCircuitsApi.md @@ -25,11 +25,11 @@ Creates or updates an express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ExpressRouteCircuit**](ExpressRouteCircuit.md)| Parameters supplied to the create or update express route circuit operation. | +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ExpressRouteCircuit**](ExpressRouteCircuit.md) | Parameters supplied to the create or update express route circuit operation. | ### Return type @@ -59,10 +59,10 @@ Deletes the specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,10 +92,10 @@ Gets information about the specified express route circuit. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of express route circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of express route circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -125,9 +125,9 @@ Gets all the express route circuits in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -157,8 +157,8 @@ Gets all the express route circuits in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitsApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -188,11 +188,11 @@ Updates an express route circuit tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteCircuitsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the circuit. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update express route circuit tags. | +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the circuit. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update express route circuit tags. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteServiceProvidersApi.md b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteServiceProvidersApi.md index 46ac1f0..479efa6 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteServiceProvidersApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/ExpressRouteServiceProvidersApi.md @@ -20,8 +20,8 @@ Gets all the available express route service providers. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ExpressRouteServiceProvidersApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/docs/PeerExpressRouteCircuitConnectionsApi.md b/src/Network/ExpressRouteCircuitClient/docs/PeerExpressRouteCircuitConnectionsApi.md index 1560579..b83d594 100644 --- a/src/Network/ExpressRouteCircuitClient/docs/PeerExpressRouteCircuitConnectionsApi.md +++ b/src/Network/ExpressRouteCircuitClient/docs/PeerExpressRouteCircuitConnectionsApi.md @@ -21,12 +21,12 @@ Gets the specified Peer Express Route Circuit Connection from the specified expr Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PeerExpressRouteCircuitConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the express route circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**connection_name** | **String**| The name of the peer express route circuit connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the express route circuit. | +**peering_name** | **String** | The name of the peering. | +**connection_name** | **String** | The name of the peer express route circuit connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -56,11 +56,11 @@ Gets all global reach peer connections associated with a private peering in an e Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PeerExpressRouteCircuitConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**circuit_name** | **String**| The name of the circuit. | [default to nothing] -**peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**circuit_name** | **String** | The name of the circuit. | +**peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ExpressRouteCircuitClient/src/ExpressRouteCircuitClient.jl b/src/Network/ExpressRouteCircuitClient/src/ExpressRouteCircuitClient.jl index e9c9e2a..52d32db 100644 --- a/src/Network/ExpressRouteCircuitClient/src/ExpressRouteCircuitClient.jl +++ b/src/Network/ExpressRouteCircuitClient/src/ExpressRouteCircuitClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitArpTableApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitArpTableApi.jl index a959173..e80c4ba 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitArpTableApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitArpTableApi.jl @@ -24,7 +24,7 @@ function _oacinternal_express_route_circuits_list_arp_table(_api::ExpressRouteCi OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "devicePath", device_path) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitAuthorizationsApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitAuthorizationsApi.jl index 1065799..bcc9eab 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitAuthorizationsApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitAuthorizationsApi.jl @@ -23,7 +23,7 @@ function _oacinternal_express_route_circuit_authorizations_create_or_update(_api OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "authorizationName", authorization_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -64,7 +64,7 @@ function _oacinternal_express_route_circuit_authorizations_delete(_api::ExpressR OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "authorizationName", authorization_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,7 +102,7 @@ function _oacinternal_express_route_circuit_authorizations_get(_api::ExpressRout OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "authorizationName", authorization_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -139,7 +139,7 @@ function _oacinternal_express_route_circuit_authorizations_list(_api::ExpressRou OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitConnectionsApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitConnectionsApi.jl index 58068df..db17204 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitConnectionsApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitConnectionsApi.jl @@ -24,7 +24,7 @@ function _oacinternal_express_route_circuit_connections_create_or_update(_api::E OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -67,7 +67,7 @@ function _oacinternal_express_route_circuit_connections_delete(_api::ExpressRout OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -107,7 +107,7 @@ function _oacinternal_express_route_circuit_connections_get(_api::ExpressRouteCi OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -146,7 +146,7 @@ function _oacinternal_express_route_circuit_connections_list(_api::ExpressRouteC OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitPeeringsApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitPeeringsApi.jl index 541fcee..4b6238b 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitPeeringsApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitPeeringsApi.jl @@ -23,7 +23,7 @@ function _oacinternal_express_route_circuit_peerings_create_or_update(_api::Expr OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -64,7 +64,7 @@ function _oacinternal_express_route_circuit_peerings_delete(_api::ExpressRouteCi OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,7 +102,7 @@ function _oacinternal_express_route_circuit_peerings_get(_api::ExpressRouteCircu OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -139,7 +139,7 @@ function _oacinternal_express_route_circuit_peerings_list(_api::ExpressRouteCirc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableApi.jl index f62bc6e..b547052 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableApi.jl @@ -24,7 +24,7 @@ function _oacinternal_express_route_circuits_list_routes_table(_api::ExpressRout OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "devicePath", device_path) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableSummaryApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableSummaryApi.jl index b0a0a75..7eb4848 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableSummaryApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitRoutesTableSummaryApi.jl @@ -24,7 +24,7 @@ function _oacinternal_express_route_circuits_list_routes_table_summary(_api::Exp OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "devicePath", device_path) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitStatsApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitStatsApi.jl index a2a4c45..f1937d6 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitStatsApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitStatsApi.jl @@ -22,7 +22,7 @@ function _oacinternal_express_route_circuits_get_peering_stats(_api::ExpressRout OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -59,7 +59,7 @@ function _oacinternal_express_route_circuits_get_stats(_api::ExpressRouteCircuit OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitsApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitsApi.jl index 7f22c9e..c1e2d91 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitsApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteCircuitsApi.jl @@ -22,7 +22,7 @@ function _oacinternal_express_route_circuits_create_or_update(_api::ExpressRoute OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_express_route_circuits_delete(_api::ExpressRouteCircuitsAp OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,7 +97,7 @@ function _oacinternal_express_route_circuits_get(_api::ExpressRouteCircuitsApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -132,7 +132,7 @@ function _oacinternal_express_route_circuits_list(_api::ExpressRouteCircuitsApi, _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_express_route_circuits_list_ExpressRouteCircuitsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -165,7 +165,7 @@ const _returntypes_express_route_circuits_list_all_ExpressRouteCircuitsApi = Dic function _oacinternal_express_route_circuits_list_all(_api::ExpressRouteCircuitsApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_express_route_circuits_list_all_ExpressRouteCircuitsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -199,7 +199,7 @@ function _oacinternal_express_route_circuits_update_tags(_api::ExpressRouteCircu OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteServiceProvidersApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteServiceProvidersApi.jl index ff5d479..7c39fe0 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteServiceProvidersApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_ExpressRouteServiceProvidersApi.jl @@ -19,7 +19,7 @@ const _returntypes_express_route_service_providers_list_ExpressRouteServiceProvi function _oacinternal_express_route_service_providers_list(_api::ExpressRouteServiceProvidersApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_express_route_service_providers_list_ExpressRouteServiceProvidersApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/apis/api_PeerExpressRouteCircuitConnectionsApi.jl b/src/Network/ExpressRouteCircuitClient/src/apis/api_PeerExpressRouteCircuitConnectionsApi.jl index 899f7c5..5519416 100644 --- a/src/Network/ExpressRouteCircuitClient/src/apis/api_PeerExpressRouteCircuitConnectionsApi.jl +++ b/src/Network/ExpressRouteCircuitClient/src/apis/api_PeerExpressRouteCircuitConnectionsApi.jl @@ -23,7 +23,7 @@ function _oacinternal_peer_express_route_circuit_connections_get(_api::PeerExpre OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionName", connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -62,7 +62,7 @@ function _oacinternal_peer_express_route_circuit_connections_list(_api::PeerExpr OpenAPI.Clients.set_param(_ctx.path, "circuitName", circuit_name) # type String OpenAPI.Clients.set_param(_ctx.path, "peeringName", peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ExpressRouteCircuitClient/src/modelincludes.jl b/src/Network/ExpressRouteCircuitClient/src/modelincludes.jl index ffaad54..f05619d 100644 --- a/src/Network/ExpressRouteCircuitClient/src/modelincludes.jl +++ b/src/Network/ExpressRouteCircuitClient/src/modelincludes.jl @@ -1,6 +1,7 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. +include("models/model_AdvertisedPublicPrefixProperties.jl") include("models/model_AuthorizationListResult.jl") include("models/model_AuthorizationPropertiesFormat.jl") include("models/model_CircuitConnectionStatus.jl") diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_AdvertisedPublicPrefixProperties.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_AdvertisedPublicPrefixProperties.jl new file mode 100644 index 0000000..cd68adc --- /dev/null +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_AdvertisedPublicPrefixProperties.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AdvertisedPublicPrefixProperties +Prefix properties required to perform validation using openssl signature. + + AdvertisedPublicPrefixProperties(; + prefix=nothing, + validationId=nothing, + signature=nothing, + validationState=nothing, + ) + + - prefix::String : Advertised Public Prefix. + - validationId::String : Validation string that contains circuit peering info. + - signature::String : Signed string generated by encrypting validationId with a private key. + - validationState::String : Advertised Public Prefix State that denotes if the prefix is validated or not. +""" +Base.@kwdef mutable struct AdvertisedPublicPrefixProperties <: OpenAPI.APIModel + prefix::Union{Nothing, String} = nothing + validationId::Union{Nothing, String} = nothing + signature::Union{Nothing, String} = nothing + validationState::Union{Nothing, String} = nothing + + function AdvertisedPublicPrefixProperties(prefix, validationId, signature, validationState, ) + o = new(prefix, validationId, signature, validationState, ) + OpenAPI.validate_properties(o) + return o + end +end # type AdvertisedPublicPrefixProperties + +const _property_types_AdvertisedPublicPrefixProperties = Dict{Symbol,String}(Symbol("prefix")=>"String", Symbol("validationId")=>"String", Symbol("signature")=>"String", Symbol("validationState")=>"String", ) +OpenAPI.property_type(::Type{ AdvertisedPublicPrefixProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdvertisedPublicPrefixProperties[name]))} + +function OpenAPI.check_required(o::AdvertisedPublicPrefixProperties) + true +end + +function OpenAPI.validate_properties(o::AdvertisedPublicPrefixProperties) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("prefix"), o.prefix) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("validationId"), o.validationId) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("signature"), o.signature) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("validationState"), o.validationState) +end + +function OpenAPI.validate_property(::Type{ AdvertisedPublicPrefixProperties }, name::Symbol, val) + + + + + if name === Symbol("validationState") + OpenAPI.validate_param(name, "AdvertisedPublicPrefixProperties", :enum, val, ["NotConfigured", "Configuring", "Configured", "ValidationNeeded", "ValidationFailed", "ManualValidationNeeded", "AsnValidationFailed", "CertificateMissingInRoutingRegistry", "InvalidSignatureEncoding", "SignatureVerificationFailed"]) + end + +end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationListResult.jl index 1928ecf..9e61a11 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct AuthorizationListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function AuthorizationListResult(value, nextLink, ) - OpenAPI.validate_property(AuthorizationListResult, Symbol("value"), value) - OpenAPI.validate_property(AuthorizationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type AuthorizationListResult const _property_types_AuthorizationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuitAuthorization}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ AuthorizationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AuthorizationListResult[name]))} -function check_required(o::AuthorizationListResult) +function OpenAPI.check_required(o::AuthorizationListResult) true end +function OpenAPI.validate_properties(o::AuthorizationListResult) + OpenAPI.validate_property(AuthorizationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(AuthorizationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ AuthorizationListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationPropertiesFormat.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationPropertiesFormat.jl index 9cd1dd9..062ef63 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationPropertiesFormat.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_AuthorizationPropertiesFormat.jl @@ -8,35 +8,49 @@ Properties of ExpressRouteCircuitAuthorization. AuthorizationPropertiesFormat(; authorizationKey=nothing, authorizationUseStatus=nothing, + connectionResourceUri=nothing, provisioningState=nothing, ) - authorizationKey::String : The authorization key. - authorizationUseStatus::String : The authorization use status. + - connectionResourceUri::String : The reference to the ExpressRoute connection resource using the authorization. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct AuthorizationPropertiesFormat <: OpenAPI.APIModel authorizationKey::Union{Nothing, String} = nothing authorizationUseStatus::Union{Nothing, String} = nothing + connectionResourceUri::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function AuthorizationPropertiesFormat(authorizationKey, authorizationUseStatus, provisioningState, ) - OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("authorizationKey"), authorizationKey) - OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("authorizationUseStatus"), authorizationUseStatus) - OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(authorizationKey, authorizationUseStatus, provisioningState, ) + function AuthorizationPropertiesFormat(authorizationKey, authorizationUseStatus, connectionResourceUri, provisioningState, ) + o = new(authorizationKey, authorizationUseStatus, connectionResourceUri, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type AuthorizationPropertiesFormat -const _property_types_AuthorizationPropertiesFormat = Dict{Symbol,String}(Symbol("authorizationKey")=>"String", Symbol("authorizationUseStatus")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_AuthorizationPropertiesFormat = Dict{Symbol,String}(Symbol("authorizationKey")=>"String", Symbol("authorizationUseStatus")=>"String", Symbol("connectionResourceUri")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ AuthorizationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AuthorizationPropertiesFormat[name]))} -function check_required(o::AuthorizationPropertiesFormat) +function OpenAPI.check_required(o::AuthorizationPropertiesFormat) true end +function OpenAPI.validate_properties(o::AuthorizationPropertiesFormat) + OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("authorizationKey"), o.authorizationKey) + OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("authorizationUseStatus"), o.authorizationUseStatus) + OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("connectionResourceUri"), o.connectionResourceUri) + OpenAPI.validate_property(AuthorizationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ AuthorizationPropertiesFormat }, name::Symbol, val) + + if name === Symbol("authorizationUseStatus") OpenAPI.validate_param(name, "AuthorizationPropertiesFormat", :enum, val, ["Available", "InUse"]) end + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_CloudError.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_CloudError.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_CloudErrorBody.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuit.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuit.jl index 8d60265..b3d19f2 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuit.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuit.jl @@ -36,24 +36,37 @@ Base.@kwdef mutable struct ExpressRouteCircuit <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ExpressRouteCircuit(sku, properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("sku"), sku) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("etag"), etag) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("id"), id) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("location"), location) - OpenAPI.validate_property(ExpressRouteCircuit, Symbol("tags"), tags) - return new(sku, properties, etag, id, name, type, location, tags, ) + o = new(sku, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuit const _property_types_ExpressRouteCircuit = Dict{Symbol,String}(Symbol("sku")=>"ExpressRouteCircuitSku", Symbol("properties")=>"ExpressRouteCircuitPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ExpressRouteCircuit }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuit[name]))} -function check_required(o::ExpressRouteCircuit) +function OpenAPI.check_required(o::ExpressRouteCircuit) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuit) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("sku"), o.sku) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("etag"), o.etag) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("id"), o.id) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("location"), o.location) + OpenAPI.validate_property(ExpressRouteCircuit, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuit }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitArpTable.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitArpTable.jl index 1aa1225..d0a3ff0 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitArpTable.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitArpTable.jl @@ -24,23 +24,32 @@ Base.@kwdef mutable struct ExpressRouteCircuitArpTable <: OpenAPI.APIModel macAddress::Union{Nothing, String} = nothing function ExpressRouteCircuitArpTable(age, interface, ipAddress, macAddress, ) - OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("age"), age) - OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("interface"), interface) - OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("macAddress"), macAddress) - return new(age, interface, ipAddress, macAddress, ) + o = new(age, interface, ipAddress, macAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitArpTable const _property_types_ExpressRouteCircuitArpTable = Dict{Symbol,String}(Symbol("age")=>"Int64", Symbol("interface")=>"String", Symbol("ipAddress")=>"String", Symbol("macAddress")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitArpTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitArpTable[name]))} -function check_required(o::ExpressRouteCircuitArpTable) +function OpenAPI.check_required(o::ExpressRouteCircuitArpTable) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitArpTable) + OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("age"), o.age) + OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("interface"), o.interface) + OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(ExpressRouteCircuitArpTable, Symbol("macAddress"), o.macAddress) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitArpTable }, name::Symbol, val) + if name === Symbol("age") OpenAPI.validate_param(name, "ExpressRouteCircuitArpTable", :format, val, "int32") end + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitAuthorization.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitAuthorization.jl index d20260d..d08d73d 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitAuthorization.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitAuthorization.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ExpressRouteCircuitAuthorization <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteCircuitAuthorization(properties, name, etag, type, id, ) - OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("etag"), etag) - OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitAuthorization const _property_types_ExpressRouteCircuitAuthorization = Dict{Symbol,String}(Symbol("properties")=>"AuthorizationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitAuthorization }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitAuthorization[name]))} -function check_required(o::ExpressRouteCircuitAuthorization) +function OpenAPI.check_required(o::ExpressRouteCircuitAuthorization) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitAuthorization) + OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("etag"), o.etag) + OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteCircuitAuthorization, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitAuthorization }, name::Symbol, val) + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnection.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnection.jl index 09a6578..4e5d83a 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnection.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ExpressRouteCircuitConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteCircuitConnection(properties, name, etag, type, id, ) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("etag"), etag) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitConnection const _property_types_ExpressRouteCircuitConnection = Dict{Symbol,String}(Symbol("properties")=>"ExpressRouteCircuitConnectionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitConnection[name]))} -function check_required(o::ExpressRouteCircuitConnection) +function OpenAPI.check_required(o::ExpressRouteCircuitConnection) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitConnection) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionListResult.jl index 66c0887..a5260de 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteCircuitConnectionListResult <: OpenAPI.AP nextLink::Union{Nothing, String} = nothing function ExpressRouteCircuitConnectionListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteCircuitConnectionListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteCircuitConnectionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitConnectionListResult const _property_types_ExpressRouteCircuitConnectionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuitConnection}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitConnectionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitConnectionListResult[name]))} -function check_required(o::ExpressRouteCircuitConnectionListResult) +function OpenAPI.check_required(o::ExpressRouteCircuitConnectionListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitConnectionListResult) + OpenAPI.validate_property(ExpressRouteCircuitConnectionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteCircuitConnectionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitConnectionListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl index e58f427..15d6a6b 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ExpressRouteCircuitConnectionPropertiesFormat <: Open provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ExpressRouteCircuitConnectionPropertiesFormat(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, authorizationKey, ipv6CircuitConnectionConfig, circuitConnectionStatus, provisioningState, ) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), expressRouteCircuitPeering) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), peerExpressRouteCircuitPeering) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("authorizationKey"), authorizationKey) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("ipv6CircuitConnectionConfig"), ipv6CircuitConnectionConfig) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), circuitConnectionStatus) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, authorizationKey, ipv6CircuitConnectionConfig, circuitConnectionStatus, provisioningState, ) + o = new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, authorizationKey, ipv6CircuitConnectionConfig, circuitConnectionStatus, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitConnectionPropertiesFormat const _property_types_ExpressRouteCircuitConnectionPropertiesFormat = Dict{Symbol,String}(Symbol("expressRouteCircuitPeering")=>"SubResource", Symbol("peerExpressRouteCircuitPeering")=>"SubResource", Symbol("addressPrefix")=>"String", Symbol("authorizationKey")=>"String", Symbol("ipv6CircuitConnectionConfig")=>"Ipv6CircuitConnectionConfig", Symbol("circuitConnectionStatus")=>"CircuitConnectionStatus", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitConnectionPropertiesFormat[name]))} -function check_required(o::ExpressRouteCircuitConnectionPropertiesFormat) +function OpenAPI.check_required(o::ExpressRouteCircuitConnectionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitConnectionPropertiesFormat) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), o.expressRouteCircuitPeering) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), o.peerExpressRouteCircuitPeering) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("authorizationKey"), o.authorizationKey) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("ipv6CircuitConnectionConfig"), o.ipv6CircuitConnectionConfig) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), o.circuitConnectionStatus) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitListResult.jl index 5fceab2..3bfcdb0 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteCircuitListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ExpressRouteCircuitListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteCircuitListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteCircuitListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitListResult const _property_types_ExpressRouteCircuitListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuit}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitListResult[name]))} -function check_required(o::ExpressRouteCircuitListResult) +function OpenAPI.check_required(o::ExpressRouteCircuitListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitListResult) + OpenAPI.validate_property(ExpressRouteCircuitListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteCircuitListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeering.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeering.jl index 26681b1..ea24356 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeering.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeering.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeering <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteCircuitPeering(properties, name, etag, type, id, ) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("etag"), etag) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeering const _property_types_ExpressRouteCircuitPeering = Dict{Symbol,String}(Symbol("properties")=>"ExpressRouteCircuitPeeringPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeering }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeering[name]))} -function check_required(o::ExpressRouteCircuitPeering) +function OpenAPI.check_required(o::ExpressRouteCircuitPeering) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeering) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("etag"), o.etag) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeering }, name::Symbol, val) + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl index b2fd8e9..df75b24 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl @@ -12,6 +12,7 @@ Specifies the peering configuration. legacyMode=nothing, customerASN=nothing, routingRegistryName=nothing, + advertisedPublicPrefixInfo=nothing, ) - advertisedPublicPrefixes::Vector{String} : The reference to AdvertisedPublicPrefixes. @@ -20,6 +21,7 @@ Specifies the peering configuration. - legacyMode::Int64 : The legacy mode of the peering. - customerASN::Int64 : The CustomerASN of the peering. - routingRegistryName::String : The RoutingRegistryName of the configuration. + - advertisedPublicPrefixInfo::Vector{AdvertisedPublicPrefixProperties} : List of Prefix information required to perform validation. """ Base.@kwdef mutable struct ExpressRouteCircuitPeeringConfig <: OpenAPI.APIModel advertisedPublicPrefixes::Union{Nothing, Vector{String}} = nothing @@ -28,33 +30,48 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeeringConfig <: OpenAPI.APIModel legacyMode::Union{Nothing, Int64} = nothing customerASN::Union{Nothing, Int64} = nothing routingRegistryName::Union{Nothing, String} = nothing + advertisedPublicPrefixInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AdvertisedPublicPrefixProperties} } - function ExpressRouteCircuitPeeringConfig(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, ) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixes"), advertisedPublicPrefixes) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedCommunities"), advertisedCommunities) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixesState"), advertisedPublicPrefixesState) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("legacyMode"), legacyMode) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("customerASN"), customerASN) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("routingRegistryName"), routingRegistryName) - return new(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, ) + function ExpressRouteCircuitPeeringConfig(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, advertisedPublicPrefixInfo, ) + o = new(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, advertisedPublicPrefixInfo, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeeringConfig -const _property_types_ExpressRouteCircuitPeeringConfig = Dict{Symbol,String}(Symbol("advertisedPublicPrefixes")=>"Vector{String}", Symbol("advertisedCommunities")=>"Vector{String}", Symbol("advertisedPublicPrefixesState")=>"String", Symbol("legacyMode")=>"Int64", Symbol("customerASN")=>"Int64", Symbol("routingRegistryName")=>"String", ) +const _property_types_ExpressRouteCircuitPeeringConfig = Dict{Symbol,String}(Symbol("advertisedPublicPrefixes")=>"Vector{String}", Symbol("advertisedCommunities")=>"Vector{String}", Symbol("advertisedPublicPrefixesState")=>"String", Symbol("legacyMode")=>"Int64", Symbol("customerASN")=>"Int64", Symbol("routingRegistryName")=>"String", Symbol("advertisedPublicPrefixInfo")=>"Vector{AdvertisedPublicPrefixProperties}", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeeringConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeeringConfig[name]))} -function check_required(o::ExpressRouteCircuitPeeringConfig) +function OpenAPI.check_required(o::ExpressRouteCircuitPeeringConfig) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeeringConfig) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixes"), o.advertisedPublicPrefixes) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedCommunities"), o.advertisedCommunities) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixesState"), o.advertisedPublicPrefixesState) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("legacyMode"), o.legacyMode) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("customerASN"), o.customerASN) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("routingRegistryName"), o.routingRegistryName) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixInfo"), o.advertisedPublicPrefixInfo) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringConfig }, name::Symbol, val) + + + if name === Symbol("advertisedPublicPrefixesState") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringConfig", :enum, val, ["NotConfigured", "Configuring", "Configured", "ValidationNeeded"]) end + + if name === Symbol("legacyMode") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringConfig", :format, val, "int32") end + if name === Symbol("customerASN") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringConfig", :format, val, "int32") end + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringListResult.jl index 9d1b18d..7241e0f 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeeringListResult <: OpenAPI.APIMo nextLink::Union{Nothing, String} = nothing function ExpressRouteCircuitPeeringListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteCircuitPeeringListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteCircuitPeeringListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeeringListResult const _property_types_ExpressRouteCircuitPeeringListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuitPeering}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeeringListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeeringListResult[name]))} -function check_required(o::ExpressRouteCircuitPeeringListResult) +function OpenAPI.check_required(o::ExpressRouteCircuitPeeringListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeeringListResult) + OpenAPI.validate_property(ExpressRouteCircuitPeeringListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteCircuitPeeringListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl index 986c76e..2fd7761 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl @@ -72,41 +72,50 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeeringPropertiesFormat <: OpenAPI peeredConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PeerExpressRouteCircuitConnection} } function ExpressRouteCircuitPeeringPropertiesFormat(peeringType, state, azureASN, peerASN, primaryPeerAddressPrefix, secondaryPeerAddressPrefix, primaryAzurePort, secondaryAzurePort, sharedKey, vlanId, microsoftPeeringConfig, stats, provisioningState, gatewayManagerEtag, lastModifiedBy, routeFilter, ipv6PeeringConfig, expressRouteConnection, connections, peeredConnections, ) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeringType"), peeringType) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("state"), state) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("azureASN"), azureASN) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peerASN"), peerASN) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryPeerAddressPrefix"), primaryPeerAddressPrefix) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryPeerAddressPrefix"), secondaryPeerAddressPrefix) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryAzurePort"), primaryAzurePort) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryAzurePort"), secondaryAzurePort) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("sharedKey"), sharedKey) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("vlanId"), vlanId) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("microsoftPeeringConfig"), microsoftPeeringConfig) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("stats"), stats) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("gatewayManagerEtag"), gatewayManagerEtag) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("lastModifiedBy"), lastModifiedBy) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("routeFilter"), routeFilter) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("ipv6PeeringConfig"), ipv6PeeringConfig) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("expressRouteConnection"), expressRouteConnection) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("connections"), connections) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeredConnections"), peeredConnections) - return new(peeringType, state, azureASN, peerASN, primaryPeerAddressPrefix, secondaryPeerAddressPrefix, primaryAzurePort, secondaryAzurePort, sharedKey, vlanId, microsoftPeeringConfig, stats, provisioningState, gatewayManagerEtag, lastModifiedBy, routeFilter, ipv6PeeringConfig, expressRouteConnection, connections, peeredConnections, ) + o = new(peeringType, state, azureASN, peerASN, primaryPeerAddressPrefix, secondaryPeerAddressPrefix, primaryAzurePort, secondaryAzurePort, sharedKey, vlanId, microsoftPeeringConfig, stats, provisioningState, gatewayManagerEtag, lastModifiedBy, routeFilter, ipv6PeeringConfig, expressRouteConnection, connections, peeredConnections, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeeringPropertiesFormat const _property_types_ExpressRouteCircuitPeeringPropertiesFormat = Dict{Symbol,String}(Symbol("peeringType")=>"ExpressRoutePeeringType", Symbol("state")=>"ExpressRoutePeeringState", Symbol("azureASN")=>"Int64", Symbol("peerASN")=>"Int64", Symbol("primaryPeerAddressPrefix")=>"String", Symbol("secondaryPeerAddressPrefix")=>"String", Symbol("primaryAzurePort")=>"String", Symbol("secondaryAzurePort")=>"String", Symbol("sharedKey")=>"String", Symbol("vlanId")=>"Int64", Symbol("microsoftPeeringConfig")=>"ExpressRouteCircuitPeeringConfig", Symbol("stats")=>"ExpressRouteCircuitStats", Symbol("provisioningState")=>"ProvisioningState", Symbol("gatewayManagerEtag")=>"String", Symbol("lastModifiedBy")=>"String", Symbol("routeFilter")=>"SubResource", Symbol("ipv6PeeringConfig")=>"Ipv6ExpressRouteCircuitPeeringConfig", Symbol("expressRouteConnection")=>"ExpressRouteConnectionId", Symbol("connections")=>"Vector{ExpressRouteCircuitConnection}", Symbol("peeredConnections")=>"Vector{PeerExpressRouteCircuitConnection}", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeeringPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeeringPropertiesFormat[name]))} -function check_required(o::ExpressRouteCircuitPeeringPropertiesFormat) +function OpenAPI.check_required(o::ExpressRouteCircuitPeeringPropertiesFormat) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeeringPropertiesFormat) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeringType"), o.peeringType) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("state"), o.state) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("azureASN"), o.azureASN) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peerASN"), o.peerASN) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryPeerAddressPrefix"), o.primaryPeerAddressPrefix) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryPeerAddressPrefix"), o.secondaryPeerAddressPrefix) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryAzurePort"), o.primaryAzurePort) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryAzurePort"), o.secondaryAzurePort) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("sharedKey"), o.sharedKey) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("vlanId"), o.vlanId) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("microsoftPeeringConfig"), o.microsoftPeeringConfig) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("stats"), o.stats) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("gatewayManagerEtag"), o.gatewayManagerEtag) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("routeFilter"), o.routeFilter) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("ipv6PeeringConfig"), o.ipv6PeeringConfig) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("expressRouteConnection"), o.expressRouteConnection) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("connections"), o.connections) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeredConnections"), o.peeredConnections) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringPropertiesFormat }, name::Symbol, val) + + + if name === Symbol("azureASN") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :format, val, "int32") end + if name === Symbol("peerASN") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :format, val, "int64") end @@ -114,7 +123,23 @@ function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringPropertiesF OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :maximum, val, 4294967295, false) OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :minimum, val, 1, false) end + + + + + + if name === Symbol("vlanId") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :format, val, "int32") end + + + + + + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPropertiesFormat.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPropertiesFormat.jl index 9dbd086..673c14e 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPropertiesFormat.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitPropertiesFormat.jl @@ -20,6 +20,9 @@ Properties of ExpressRouteCircuit. provisioningState=nothing, gatewayManagerEtag=nothing, globalReachEnabled=nothing, + authorizationKey=nothing, + authorizationStatus=nothing, + enableDirectPortRateLimit=nothing, ) - allowClassicOperations::Bool : Allow classic operations. @@ -36,6 +39,9 @@ Properties of ExpressRouteCircuit. - provisioningState::ProvisioningState - gatewayManagerEtag::String : The GatewayManager Etag. - globalReachEnabled::Bool : Flag denoting global reach status. + - authorizationKey::String : The authorizationKey. + - authorizationStatus::String : The authorization status of the Circuit. + - enableDirectPortRateLimit::Bool : Flag denoting rate-limiting status of the ExpressRoute direct-port circuit. """ Base.@kwdef mutable struct ExpressRouteCircuitPropertiesFormat <: OpenAPI.APIModel allowClassicOperations::Union{Nothing, Bool} = nothing @@ -52,35 +58,63 @@ Base.@kwdef mutable struct ExpressRouteCircuitPropertiesFormat <: OpenAPI.APIMod provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } gatewayManagerEtag::Union{Nothing, String} = nothing globalReachEnabled::Union{Nothing, Bool} = nothing + authorizationKey::Union{Nothing, String} = nothing + authorizationStatus::Union{Nothing, String} = nothing + enableDirectPortRateLimit::Union{Nothing, Bool} = nothing - function ExpressRouteCircuitPropertiesFormat(allowClassicOperations, circuitProvisioningState, serviceProviderProvisioningState, authorizations, peerings, serviceKey, serviceProviderNotes, serviceProviderProperties, expressRoutePort, bandwidthInGbps, stag, provisioningState, gatewayManagerEtag, globalReachEnabled, ) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("allowClassicOperations"), allowClassicOperations) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("circuitProvisioningState"), circuitProvisioningState) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceProviderProvisioningState"), serviceProviderProvisioningState) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("authorizations"), authorizations) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("peerings"), peerings) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceKey"), serviceKey) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceProviderNotes"), serviceProviderNotes) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceProviderProperties"), serviceProviderProperties) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("expressRoutePort"), expressRoutePort) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("bandwidthInGbps"), bandwidthInGbps) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("stag"), stag) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("gatewayManagerEtag"), gatewayManagerEtag) - OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("globalReachEnabled"), globalReachEnabled) - return new(allowClassicOperations, circuitProvisioningState, serviceProviderProvisioningState, authorizations, peerings, serviceKey, serviceProviderNotes, serviceProviderProperties, expressRoutePort, bandwidthInGbps, stag, provisioningState, gatewayManagerEtag, globalReachEnabled, ) + function ExpressRouteCircuitPropertiesFormat(allowClassicOperations, circuitProvisioningState, serviceProviderProvisioningState, authorizations, peerings, serviceKey, serviceProviderNotes, serviceProviderProperties, expressRoutePort, bandwidthInGbps, stag, provisioningState, gatewayManagerEtag, globalReachEnabled, authorizationKey, authorizationStatus, enableDirectPortRateLimit, ) + o = new(allowClassicOperations, circuitProvisioningState, serviceProviderProvisioningState, authorizations, peerings, serviceKey, serviceProviderNotes, serviceProviderProperties, expressRoutePort, bandwidthInGbps, stag, provisioningState, gatewayManagerEtag, globalReachEnabled, authorizationKey, authorizationStatus, enableDirectPortRateLimit, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPropertiesFormat -const _property_types_ExpressRouteCircuitPropertiesFormat = Dict{Symbol,String}(Symbol("allowClassicOperations")=>"Bool", Symbol("circuitProvisioningState")=>"String", Symbol("serviceProviderProvisioningState")=>"ServiceProviderProvisioningState", Symbol("authorizations")=>"Vector{ExpressRouteCircuitAuthorization}", Symbol("peerings")=>"Vector{ExpressRouteCircuitPeering}", Symbol("serviceKey")=>"String", Symbol("serviceProviderNotes")=>"String", Symbol("serviceProviderProperties")=>"ExpressRouteCircuitServiceProviderProperties", Symbol("expressRoutePort")=>"SubResource", Symbol("bandwidthInGbps")=>"Float64", Symbol("stag")=>"Int64", Symbol("provisioningState")=>"ProvisioningState", Symbol("gatewayManagerEtag")=>"String", Symbol("globalReachEnabled")=>"Bool", ) +const _property_types_ExpressRouteCircuitPropertiesFormat = Dict{Symbol,String}(Symbol("allowClassicOperations")=>"Bool", Symbol("circuitProvisioningState")=>"String", Symbol("serviceProviderProvisioningState")=>"ServiceProviderProvisioningState", Symbol("authorizations")=>"Vector{ExpressRouteCircuitAuthorization}", Symbol("peerings")=>"Vector{ExpressRouteCircuitPeering}", Symbol("serviceKey")=>"String", Symbol("serviceProviderNotes")=>"String", Symbol("serviceProviderProperties")=>"ExpressRouteCircuitServiceProviderProperties", Symbol("expressRoutePort")=>"SubResource", Symbol("bandwidthInGbps")=>"Float64", Symbol("stag")=>"Int64", Symbol("provisioningState")=>"ProvisioningState", Symbol("gatewayManagerEtag")=>"String", Symbol("globalReachEnabled")=>"Bool", Symbol("authorizationKey")=>"String", Symbol("authorizationStatus")=>"String", Symbol("enableDirectPortRateLimit")=>"Bool", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPropertiesFormat[name]))} -function check_required(o::ExpressRouteCircuitPropertiesFormat) +function OpenAPI.check_required(o::ExpressRouteCircuitPropertiesFormat) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPropertiesFormat) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("allowClassicOperations"), o.allowClassicOperations) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("circuitProvisioningState"), o.circuitProvisioningState) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceProviderProvisioningState"), o.serviceProviderProvisioningState) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("authorizations"), o.authorizations) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("peerings"), o.peerings) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceKey"), o.serviceKey) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceProviderNotes"), o.serviceProviderNotes) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("serviceProviderProperties"), o.serviceProviderProperties) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("expressRoutePort"), o.expressRoutePort) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("bandwidthInGbps"), o.bandwidthInGbps) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("stag"), o.stag) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("gatewayManagerEtag"), o.gatewayManagerEtag) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("globalReachEnabled"), o.globalReachEnabled) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("authorizationKey"), o.authorizationKey) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("authorizationStatus"), o.authorizationStatus) + OpenAPI.validate_property(ExpressRouteCircuitPropertiesFormat, Symbol("enableDirectPortRateLimit"), o.enableDirectPortRateLimit) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("stag") OpenAPI.validate_param(name, "ExpressRouteCircuitPropertiesFormat", :format, val, "int32") end + + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTable.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTable.jl index b1c5e11..6f92950 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTable.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTable.jl @@ -27,24 +27,34 @@ Base.@kwdef mutable struct ExpressRouteCircuitRoutesTable <: OpenAPI.APIModel path::Union{Nothing, String} = nothing function ExpressRouteCircuitRoutesTable(network, nextHop, locPrf, weight, path, ) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("network"), network) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("nextHop"), nextHop) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("locPrf"), locPrf) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("weight"), weight) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("path"), path) - return new(network, nextHop, locPrf, weight, path, ) + o = new(network, nextHop, locPrf, weight, path, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitRoutesTable const _property_types_ExpressRouteCircuitRoutesTable = Dict{Symbol,String}(Symbol("network")=>"String", Symbol("nextHop")=>"String", Symbol("locPrf")=>"String", Symbol("weight")=>"Int64", Symbol("path")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitRoutesTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitRoutesTable[name]))} -function check_required(o::ExpressRouteCircuitRoutesTable) +function OpenAPI.check_required(o::ExpressRouteCircuitRoutesTable) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitRoutesTable) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("network"), o.network) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("nextHop"), o.nextHop) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("locPrf"), o.locPrf) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("weight"), o.weight) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTable, Symbol("path"), o.path) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitRoutesTable }, name::Symbol, val) + + + + if name === Symbol("weight") OpenAPI.validate_param(name, "ExpressRouteCircuitRoutesTable", :format, val, "int32") end + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTableSummary.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTableSummary.jl index 1b1c0c6..a3a752c 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTableSummary.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitRoutesTableSummary.jl @@ -27,27 +27,37 @@ Base.@kwdef mutable struct ExpressRouteCircuitRoutesTableSummary <: OpenAPI.APIM statePfxRcd::Union{Nothing, String} = nothing function ExpressRouteCircuitRoutesTableSummary(neighbor, v, as, upDown, statePfxRcd, ) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("neighbor"), neighbor) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("v"), v) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("as"), as) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("upDown"), upDown) - OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("statePfxRcd"), statePfxRcd) - return new(neighbor, v, as, upDown, statePfxRcd, ) + o = new(neighbor, v, as, upDown, statePfxRcd, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitRoutesTableSummary const _property_types_ExpressRouteCircuitRoutesTableSummary = Dict{Symbol,String}(Symbol("neighbor")=>"String", Symbol("v")=>"Int64", Symbol("as")=>"Int64", Symbol("upDown")=>"String", Symbol("statePfxRcd")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitRoutesTableSummary }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitRoutesTableSummary[name]))} -function check_required(o::ExpressRouteCircuitRoutesTableSummary) +function OpenAPI.check_required(o::ExpressRouteCircuitRoutesTableSummary) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitRoutesTableSummary) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("neighbor"), o.neighbor) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("v"), o.v) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("as"), o.as) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("upDown"), o.upDown) + OpenAPI.validate_property(ExpressRouteCircuitRoutesTableSummary, Symbol("statePfxRcd"), o.statePfxRcd) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitRoutesTableSummary }, name::Symbol, val) + + if name === Symbol("v") OpenAPI.validate_param(name, "ExpressRouteCircuitRoutesTableSummary", :format, val, "int32") end + if name === Symbol("as") OpenAPI.validate_param(name, "ExpressRouteCircuitRoutesTableSummary", :format, val, "int32") end + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitServiceProviderProperties.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitServiceProviderProperties.jl index 24c62a6..c1617bb 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitServiceProviderProperties.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitServiceProviderProperties.jl @@ -21,21 +21,29 @@ Base.@kwdef mutable struct ExpressRouteCircuitServiceProviderProperties <: OpenA bandwidthInMbps::Union{Nothing, Int64} = nothing function ExpressRouteCircuitServiceProviderProperties(serviceProviderName, peeringLocation, bandwidthInMbps, ) - OpenAPI.validate_property(ExpressRouteCircuitServiceProviderProperties, Symbol("serviceProviderName"), serviceProviderName) - OpenAPI.validate_property(ExpressRouteCircuitServiceProviderProperties, Symbol("peeringLocation"), peeringLocation) - OpenAPI.validate_property(ExpressRouteCircuitServiceProviderProperties, Symbol("bandwidthInMbps"), bandwidthInMbps) - return new(serviceProviderName, peeringLocation, bandwidthInMbps, ) + o = new(serviceProviderName, peeringLocation, bandwidthInMbps, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitServiceProviderProperties const _property_types_ExpressRouteCircuitServiceProviderProperties = Dict{Symbol,String}(Symbol("serviceProviderName")=>"String", Symbol("peeringLocation")=>"String", Symbol("bandwidthInMbps")=>"Int64", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitServiceProviderProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitServiceProviderProperties[name]))} -function check_required(o::ExpressRouteCircuitServiceProviderProperties) +function OpenAPI.check_required(o::ExpressRouteCircuitServiceProviderProperties) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitServiceProviderProperties) + OpenAPI.validate_property(ExpressRouteCircuitServiceProviderProperties, Symbol("serviceProviderName"), o.serviceProviderName) + OpenAPI.validate_property(ExpressRouteCircuitServiceProviderProperties, Symbol("peeringLocation"), o.peeringLocation) + OpenAPI.validate_property(ExpressRouteCircuitServiceProviderProperties, Symbol("bandwidthInMbps"), o.bandwidthInMbps) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitServiceProviderProperties }, name::Symbol, val) + + + if name === Symbol("bandwidthInMbps") OpenAPI.validate_param(name, "ExpressRouteCircuitServiceProviderProperties", :format, val, "int32") end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitSku.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitSku.jl index 239cd7a..4e7c259 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitSku.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitSku.jl @@ -21,25 +21,35 @@ Base.@kwdef mutable struct ExpressRouteCircuitSku <: OpenAPI.APIModel family::Union{Nothing, String} = nothing function ExpressRouteCircuitSku(name, tier, family, ) - OpenAPI.validate_property(ExpressRouteCircuitSku, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuitSku, Symbol("tier"), tier) - OpenAPI.validate_property(ExpressRouteCircuitSku, Symbol("family"), family) - return new(name, tier, family, ) + o = new(name, tier, family, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitSku const _property_types_ExpressRouteCircuitSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("family")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitSku[name]))} -function check_required(o::ExpressRouteCircuitSku) +function OpenAPI.check_required(o::ExpressRouteCircuitSku) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitSku) + OpenAPI.validate_property(ExpressRouteCircuitSku, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuitSku, Symbol("tier"), o.tier) + OpenAPI.validate_property(ExpressRouteCircuitSku, Symbol("family"), o.family) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitSku }, name::Symbol, val) + + if name === Symbol("tier") OpenAPI.validate_param(name, "ExpressRouteCircuitSku", :enum, val, ["Standard", "Premium", "Basic", "Local"]) end + + if name === Symbol("family") OpenAPI.validate_param(name, "ExpressRouteCircuitSku", :enum, val, ["UnlimitedData", "MeteredData"]) end + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitStats.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitStats.jl index 5b9132a..3a3bd82 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitStats.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitStats.jl @@ -24,31 +24,40 @@ Base.@kwdef mutable struct ExpressRouteCircuitStats <: OpenAPI.APIModel secondarybytesOut::Union{Nothing, Int64} = nothing function ExpressRouteCircuitStats(primarybytesIn, primarybytesOut, secondarybytesIn, secondarybytesOut, ) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesIn"), primarybytesIn) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesOut"), primarybytesOut) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesIn"), secondarybytesIn) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesOut"), secondarybytesOut) - return new(primarybytesIn, primarybytesOut, secondarybytesIn, secondarybytesOut, ) + o = new(primarybytesIn, primarybytesOut, secondarybytesIn, secondarybytesOut, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitStats const _property_types_ExpressRouteCircuitStats = Dict{Symbol,String}(Symbol("primarybytesIn")=>"Int64", Symbol("primarybytesOut")=>"Int64", Symbol("secondarybytesIn")=>"Int64", Symbol("secondarybytesOut")=>"Int64", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitStats }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitStats[name]))} -function check_required(o::ExpressRouteCircuitStats) +function OpenAPI.check_required(o::ExpressRouteCircuitStats) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitStats) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesIn"), o.primarybytesIn) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesOut"), o.primarybytesOut) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesIn"), o.secondarybytesIn) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesOut"), o.secondarybytesOut) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitStats }, name::Symbol, val) + if name === Symbol("primarybytesIn") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end + if name === Symbol("primarybytesOut") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end + if name === Symbol("secondarybytesIn") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end + if name === Symbol("secondarybytesOut") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsArpTableListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsArpTableListResult.jl index a1c9939..c8396d1 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsArpTableListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsArpTableListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteCircuitsArpTableListResult <: OpenAPI.API nextLink::Union{Nothing, String} = nothing function ExpressRouteCircuitsArpTableListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteCircuitsArpTableListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteCircuitsArpTableListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitsArpTableListResult const _property_types_ExpressRouteCircuitsArpTableListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuitArpTable}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitsArpTableListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitsArpTableListResult[name]))} -function check_required(o::ExpressRouteCircuitsArpTableListResult) +function OpenAPI.check_required(o::ExpressRouteCircuitsArpTableListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitsArpTableListResult) + OpenAPI.validate_property(ExpressRouteCircuitsArpTableListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteCircuitsArpTableListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitsArpTableListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableListResult.jl index 60ba3af..bf6ad8e 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteCircuitsRoutesTableListResult <: OpenAPI. nextLink::Union{Nothing, String} = nothing function ExpressRouteCircuitsRoutesTableListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitsRoutesTableListResult const _property_types_ExpressRouteCircuitsRoutesTableListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuitRoutesTable}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitsRoutesTableListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitsRoutesTableListResult[name]))} -function check_required(o::ExpressRouteCircuitsRoutesTableListResult) +function OpenAPI.check_required(o::ExpressRouteCircuitsRoutesTableListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitsRoutesTableListResult) + OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitsRoutesTableListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableSummaryListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableSummaryListResult.jl index 187e50a..227ee9b 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableSummaryListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteCircuitsRoutesTableSummaryListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteCircuitsRoutesTableSummaryListResult <: O nextLink::Union{Nothing, String} = nothing function ExpressRouteCircuitsRoutesTableSummaryListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableSummaryListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableSummaryListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitsRoutesTableSummaryListResult const _property_types_ExpressRouteCircuitsRoutesTableSummaryListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteCircuitRoutesTableSummary}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitsRoutesTableSummaryListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitsRoutesTableSummaryListResult[name]))} -function check_required(o::ExpressRouteCircuitsRoutesTableSummaryListResult) +function OpenAPI.check_required(o::ExpressRouteCircuitsRoutesTableSummaryListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitsRoutesTableSummaryListResult) + OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableSummaryListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteCircuitsRoutesTableSummaryListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitsRoutesTableSummaryListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteConnectionId.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteConnectionId.jl index e22316c..3ff66ee 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteConnectionId.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteConnectionId.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ExpressRouteConnectionId <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteConnectionId(id, ) - OpenAPI.validate_property(ExpressRouteConnectionId, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteConnectionId const _property_types_ExpressRouteConnectionId = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteConnectionId }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteConnectionId[name]))} -function check_required(o::ExpressRouteConnectionId) +function OpenAPI.check_required(o::ExpressRouteConnectionId) true end +function OpenAPI.validate_properties(o::ExpressRouteConnectionId) + OpenAPI.validate_property(ExpressRouteConnectionId, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteConnectionId }, name::Symbol, val) + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProvider.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProvider.jl index 19ab7c9..b7bffa5 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProvider.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProvider.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct ExpressRouteServiceProvider <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ExpressRouteServiceProvider(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("id"), id) - OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("location"), location) - OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteServiceProvider const _property_types_ExpressRouteServiceProvider = Dict{Symbol,String}(Symbol("properties")=>"ExpressRouteServiceProviderPropertiesFormat", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ExpressRouteServiceProvider }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteServiceProvider[name]))} -function check_required(o::ExpressRouteServiceProvider) +function OpenAPI.check_required(o::ExpressRouteServiceProvider) true end +function OpenAPI.validate_properties(o::ExpressRouteServiceProvider) + OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("id"), o.id) + OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("location"), o.location) + OpenAPI.validate_property(ExpressRouteServiceProvider, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ExpressRouteServiceProvider }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderBandwidthsOffered.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderBandwidthsOffered.jl index 7dab820..f605774 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderBandwidthsOffered.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderBandwidthsOffered.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct ExpressRouteServiceProviderBandwidthsOffered <: OpenA valueInMbps::Union{Nothing, Int64} = nothing function ExpressRouteServiceProviderBandwidthsOffered(offerName, valueInMbps, ) - OpenAPI.validate_property(ExpressRouteServiceProviderBandwidthsOffered, Symbol("offerName"), offerName) - OpenAPI.validate_property(ExpressRouteServiceProviderBandwidthsOffered, Symbol("valueInMbps"), valueInMbps) - return new(offerName, valueInMbps, ) + o = new(offerName, valueInMbps, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteServiceProviderBandwidthsOffered const _property_types_ExpressRouteServiceProviderBandwidthsOffered = Dict{Symbol,String}(Symbol("offerName")=>"String", Symbol("valueInMbps")=>"Int64", ) OpenAPI.property_type(::Type{ ExpressRouteServiceProviderBandwidthsOffered }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteServiceProviderBandwidthsOffered[name]))} -function check_required(o::ExpressRouteServiceProviderBandwidthsOffered) +function OpenAPI.check_required(o::ExpressRouteServiceProviderBandwidthsOffered) true end +function OpenAPI.validate_properties(o::ExpressRouteServiceProviderBandwidthsOffered) + OpenAPI.validate_property(ExpressRouteServiceProviderBandwidthsOffered, Symbol("offerName"), o.offerName) + OpenAPI.validate_property(ExpressRouteServiceProviderBandwidthsOffered, Symbol("valueInMbps"), o.valueInMbps) +end + function OpenAPI.validate_property(::Type{ ExpressRouteServiceProviderBandwidthsOffered }, name::Symbol, val) + + if name === Symbol("valueInMbps") OpenAPI.validate_param(name, "ExpressRouteServiceProviderBandwidthsOffered", :format, val, "int32") end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderListResult.jl index 1e75e0d..786ab92 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ExpressRouteServiceProviderListResult <: OpenAPI.APIM nextLink::Union{Nothing, String} = nothing function ExpressRouteServiceProviderListResult(value, nextLink, ) - OpenAPI.validate_property(ExpressRouteServiceProviderListResult, Symbol("value"), value) - OpenAPI.validate_property(ExpressRouteServiceProviderListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteServiceProviderListResult const _property_types_ExpressRouteServiceProviderListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ExpressRouteServiceProvider}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteServiceProviderListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteServiceProviderListResult[name]))} -function check_required(o::ExpressRouteServiceProviderListResult) +function OpenAPI.check_required(o::ExpressRouteServiceProviderListResult) true end +function OpenAPI.validate_properties(o::ExpressRouteServiceProviderListResult) + OpenAPI.validate_property(ExpressRouteServiceProviderListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ExpressRouteServiceProviderListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ExpressRouteServiceProviderListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderPropertiesFormat.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderPropertiesFormat.jl index 2a35f6c..53b5274 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderPropertiesFormat.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_ExpressRouteServiceProviderPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ExpressRouteServiceProviderPropertiesFormat <: OpenAP provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ExpressRouteServiceProviderPropertiesFormat(peeringLocations, bandwidthsOffered, provisioningState, ) - OpenAPI.validate_property(ExpressRouteServiceProviderPropertiesFormat, Symbol("peeringLocations"), peeringLocations) - OpenAPI.validate_property(ExpressRouteServiceProviderPropertiesFormat, Symbol("bandwidthsOffered"), bandwidthsOffered) - OpenAPI.validate_property(ExpressRouteServiceProviderPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(peeringLocations, bandwidthsOffered, provisioningState, ) + o = new(peeringLocations, bandwidthsOffered, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteServiceProviderPropertiesFormat const _property_types_ExpressRouteServiceProviderPropertiesFormat = Dict{Symbol,String}(Symbol("peeringLocations")=>"Vector{String}", Symbol("bandwidthsOffered")=>"Vector{ExpressRouteServiceProviderBandwidthsOffered}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ExpressRouteServiceProviderPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteServiceProviderPropertiesFormat[name]))} -function check_required(o::ExpressRouteServiceProviderPropertiesFormat) +function OpenAPI.check_required(o::ExpressRouteServiceProviderPropertiesFormat) true end +function OpenAPI.validate_properties(o::ExpressRouteServiceProviderPropertiesFormat) + OpenAPI.validate_property(ExpressRouteServiceProviderPropertiesFormat, Symbol("peeringLocations"), o.peeringLocations) + OpenAPI.validate_property(ExpressRouteServiceProviderPropertiesFormat, Symbol("bandwidthsOffered"), o.bandwidthsOffered) + OpenAPI.validate_property(ExpressRouteServiceProviderPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ExpressRouteServiceProviderPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6CircuitConnectionConfig.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6CircuitConnectionConfig.jl index 35217bf..a1dd136 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6CircuitConnectionConfig.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6CircuitConnectionConfig.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct Ipv6CircuitConnectionConfig <: OpenAPI.APIModel circuitConnectionStatus = nothing # spec type: Union{ Nothing, CircuitConnectionStatus } function Ipv6CircuitConnectionConfig(addressPrefix, circuitConnectionStatus, ) - OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("circuitConnectionStatus"), circuitConnectionStatus) - return new(addressPrefix, circuitConnectionStatus, ) + o = new(addressPrefix, circuitConnectionStatus, ) + OpenAPI.validate_properties(o) + return o end end # type Ipv6CircuitConnectionConfig const _property_types_Ipv6CircuitConnectionConfig = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("circuitConnectionStatus")=>"CircuitConnectionStatus", ) OpenAPI.property_type(::Type{ Ipv6CircuitConnectionConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Ipv6CircuitConnectionConfig[name]))} -function check_required(o::Ipv6CircuitConnectionConfig) +function OpenAPI.check_required(o::Ipv6CircuitConnectionConfig) true end +function OpenAPI.validate_properties(o::Ipv6CircuitConnectionConfig) + OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("circuitConnectionStatus"), o.circuitConnectionStatus) +end + function OpenAPI.validate_property(::Type{ Ipv6CircuitConnectionConfig }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl index d9ff3f3..f7da829 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl @@ -27,24 +27,35 @@ Base.@kwdef mutable struct Ipv6ExpressRouteCircuitPeeringConfig <: OpenAPI.APIMo state::Union{Nothing, String} = nothing function Ipv6ExpressRouteCircuitPeeringConfig(primaryPeerAddressPrefix, secondaryPeerAddressPrefix, microsoftPeeringConfig, routeFilter, state, ) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("primaryPeerAddressPrefix"), primaryPeerAddressPrefix) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("secondaryPeerAddressPrefix"), secondaryPeerAddressPrefix) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("microsoftPeeringConfig"), microsoftPeeringConfig) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("routeFilter"), routeFilter) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("state"), state) - return new(primaryPeerAddressPrefix, secondaryPeerAddressPrefix, microsoftPeeringConfig, routeFilter, state, ) + o = new(primaryPeerAddressPrefix, secondaryPeerAddressPrefix, microsoftPeeringConfig, routeFilter, state, ) + OpenAPI.validate_properties(o) + return o end end # type Ipv6ExpressRouteCircuitPeeringConfig const _property_types_Ipv6ExpressRouteCircuitPeeringConfig = Dict{Symbol,String}(Symbol("primaryPeerAddressPrefix")=>"String", Symbol("secondaryPeerAddressPrefix")=>"String", Symbol("microsoftPeeringConfig")=>"ExpressRouteCircuitPeeringConfig", Symbol("routeFilter")=>"SubResource", Symbol("state")=>"String", ) OpenAPI.property_type(::Type{ Ipv6ExpressRouteCircuitPeeringConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Ipv6ExpressRouteCircuitPeeringConfig[name]))} -function check_required(o::Ipv6ExpressRouteCircuitPeeringConfig) +function OpenAPI.check_required(o::Ipv6ExpressRouteCircuitPeeringConfig) true end +function OpenAPI.validate_properties(o::Ipv6ExpressRouteCircuitPeeringConfig) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("primaryPeerAddressPrefix"), o.primaryPeerAddressPrefix) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("secondaryPeerAddressPrefix"), o.secondaryPeerAddressPrefix) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("microsoftPeeringConfig"), o.microsoftPeeringConfig) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("routeFilter"), o.routeFilter) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("state"), o.state) +end + function OpenAPI.validate_property(::Type{ Ipv6ExpressRouteCircuitPeeringConfig }, name::Symbol, val) + + + + + if name === Symbol("state") OpenAPI.validate_param(name, "Ipv6ExpressRouteCircuitPeeringConfig", :enum, val, ["Disabled", "Enabled"]) end + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnection.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnection.jl index 23e5c74..8822280 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnection.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PeerExpressRouteCircuitConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PeerExpressRouteCircuitConnection(properties, name, etag, type, id, ) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("name"), name) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("type"), type) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type PeerExpressRouteCircuitConnection const _property_types_PeerExpressRouteCircuitConnection = Dict{Symbol,String}(Symbol("properties")=>"PeerExpressRouteCircuitConnectionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PeerExpressRouteCircuitConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PeerExpressRouteCircuitConnection[name]))} -function check_required(o::PeerExpressRouteCircuitConnection) +function OpenAPI.check_required(o::PeerExpressRouteCircuitConnection) true end +function OpenAPI.validate_properties(o::PeerExpressRouteCircuitConnection) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PeerExpressRouteCircuitConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionListResult.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionListResult.jl index fe1c6e8..38bb5e8 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionListResult.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct PeerExpressRouteCircuitConnectionListResult <: OpenAP nextLink::Union{Nothing, String} = nothing function PeerExpressRouteCircuitConnectionListResult(value, nextLink, ) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionListResult, Symbol("value"), value) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type PeerExpressRouteCircuitConnectionListResult const _property_types_PeerExpressRouteCircuitConnectionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PeerExpressRouteCircuitConnection}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ PeerExpressRouteCircuitConnectionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PeerExpressRouteCircuitConnectionListResult[name]))} -function check_required(o::PeerExpressRouteCircuitConnectionListResult) +function OpenAPI.check_required(o::PeerExpressRouteCircuitConnectionListResult) true end +function OpenAPI.validate_properties(o::PeerExpressRouteCircuitConnectionListResult) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ PeerExpressRouteCircuitConnectionListResult }, name::Symbol, val) + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl index 8697ce4..deead1d 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct PeerExpressRouteCircuitConnectionPropertiesFormat <: provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function PeerExpressRouteCircuitConnectionPropertiesFormat(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, circuitConnectionStatus, connectionName, authResourceGuid, provisioningState, ) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), expressRouteCircuitPeering) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), peerExpressRouteCircuitPeering) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), circuitConnectionStatus) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("connectionName"), connectionName) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("authResourceGuid"), authResourceGuid) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, circuitConnectionStatus, connectionName, authResourceGuid, provisioningState, ) + o = new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, circuitConnectionStatus, connectionName, authResourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type PeerExpressRouteCircuitConnectionPropertiesFormat const _property_types_PeerExpressRouteCircuitConnectionPropertiesFormat = Dict{Symbol,String}(Symbol("expressRouteCircuitPeering")=>"SubResource", Symbol("peerExpressRouteCircuitPeering")=>"SubResource", Symbol("addressPrefix")=>"String", Symbol("circuitConnectionStatus")=>"CircuitConnectionStatus", Symbol("connectionName")=>"String", Symbol("authResourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ PeerExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PeerExpressRouteCircuitConnectionPropertiesFormat[name]))} -function check_required(o::PeerExpressRouteCircuitConnectionPropertiesFormat) +function OpenAPI.check_required(o::PeerExpressRouteCircuitConnectionPropertiesFormat) true end +function OpenAPI.validate_properties(o::PeerExpressRouteCircuitConnectionPropertiesFormat) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), o.expressRouteCircuitPeering) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), o.peerExpressRouteCircuitPeering) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), o.circuitConnectionStatus) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("connectionName"), o.connectionName) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("authResourceGuid"), o.authResourceGuid) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ PeerExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_Resource.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_Resource.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_SubResource.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_SubResource.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/ExpressRouteCircuitClient/src/models/model_TagsObject.jl b/src/Network/ExpressRouteCircuitClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/ExpressRouteCircuitClient/src/models/model_TagsObject.jl +++ b/src/Network/ExpressRouteCircuitClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/LoadBalancerClient/.openapi-generator/FILES b/src/Network/LoadBalancerClient/.openapi-generator/FILES index af98bf2..15f2748 100644 --- a/src/Network/LoadBalancerClient/.openapi-generator/FILES +++ b/src/Network/LoadBalancerClient/.openapi-generator/FILES @@ -3,8 +3,11 @@ README.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md +docs/BackendAddressInboundNatRulePortMappings.md docs/BackendAddressPool.md docs/BackendAddressPool2.md docs/BackendAddressPoolPropertiesFormat.md @@ -14,6 +17,8 @@ docs/CloudErrorBody.md docs/CustomDnsConfigPropertiesFormat.md docs/DdosSettings.md docs/Delegation.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md @@ -21,6 +26,8 @@ docs/FrontendIPConfiguration.md docs/FrontendIPConfiguration2.md docs/FrontendIPConfigurationPropertiesFormat.md docs/FrontendIPConfigurationPropertiesFormat2.md +docs/GatewayLoadBalancerTunnelInterface.md +docs/GatewayLoadBalancerTunnelInterface2.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfigurationProfile.md @@ -32,9 +39,12 @@ docs/InboundNatPoolPropertiesFormat.md docs/InboundNatRule.md docs/InboundNatRule2.md docs/InboundNatRuleListResult.md +docs/InboundNatRulePortMapping.md docs/InboundNatRulePropertiesFormat.md docs/InboundNatRulePropertiesFormat2.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancer.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddress2.md @@ -42,15 +52,29 @@ docs/LoadBalancerBackendAddressPoolListResult.md docs/LoadBalancerBackendAddressPropertiesFormat.md docs/LoadBalancerBackendAddressPropertiesFormat2.md docs/LoadBalancerFrontendIPConfigurationListResult.md +docs/LoadBalancerHealthPerRule.md +docs/LoadBalancerHealthPerRulePerBackendAddress.md docs/LoadBalancerListResult.md docs/LoadBalancerLoadBalancingRuleListResult.md docs/LoadBalancerOutboundRuleListResult.md docs/LoadBalancerProbeListResult.md docs/LoadBalancerPropertiesFormat.md docs/LoadBalancerSku.md +docs/LoadBalancerVipSwapRequest.md +docs/LoadBalancerVipSwapRequestFrontendIPConfiguration.md +docs/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.md docs/LoadBalancersApi.md docs/LoadBalancingRule.md docs/LoadBalancingRulePropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/MigrateLoadBalancerToIpBasedRequest.md +docs/MigratedPools.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md +docs/NatRulePortMapping2.md docs/NetworkInterface.md docs/NetworkInterfaceDnsSettings.md docs/NetworkInterfaceIPConfiguration.md @@ -65,10 +89,18 @@ docs/NetworkSecurityGroupPropertiesFormat.md docs/OutboundRule.md docs/OutboundRulePropertiesFormat.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/Probe.md docs/ProbePropertiesFormat.md docs/ProvisioningState.md @@ -76,9 +108,11 @@ docs/PublicIPAddress.md docs/PublicIPAddressDnsSettings.md docs/PublicIPAddressPropertiesFormat.md docs/PublicIPAddressSku.md +docs/QueryInboundNatRulePortMappingRequest.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -113,8 +147,11 @@ src/modelincludes.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +src/models/model_BackendAddressInboundNatRulePortMappings.jl src/models/model_BackendAddressPool.jl src/models/model_BackendAddressPool2.jl src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -124,6 +161,8 @@ src/models/model_CloudErrorBody.jl src/models/model_CustomDnsConfigPropertiesFormat.jl src/models/model_DdosSettings.jl src/models/model_Delegation.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl @@ -131,6 +170,8 @@ src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfiguration2.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl src/models/model_FrontendIPConfigurationPropertiesFormat2.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl +src/models/model_GatewayLoadBalancerTunnelInterface2.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfigurationProfile.jl @@ -142,9 +183,12 @@ src/models/model_InboundNatPoolPropertiesFormat.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRule2.jl src/models/model_InboundNatRuleListResult.jl +src/models/model_InboundNatRulePortMapping.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_InboundNatRulePropertiesFormat2.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancer.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddress2.jl @@ -152,14 +196,28 @@ src/models/model_LoadBalancerBackendAddressPoolListResult.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat2.jl src/models/model_LoadBalancerFrontendIPConfigurationListResult.jl +src/models/model_LoadBalancerHealthPerRule.jl +src/models/model_LoadBalancerHealthPerRulePerBackendAddress.jl src/models/model_LoadBalancerListResult.jl src/models/model_LoadBalancerLoadBalancingRuleListResult.jl src/models/model_LoadBalancerOutboundRuleListResult.jl src/models/model_LoadBalancerProbeListResult.jl src/models/model_LoadBalancerPropertiesFormat.jl src/models/model_LoadBalancerSku.jl +src/models/model_LoadBalancerVipSwapRequest.jl +src/models/model_LoadBalancerVipSwapRequestFrontendIPConfiguration.jl +src/models/model_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.jl src/models/model_LoadBalancingRule.jl src/models/model_LoadBalancingRulePropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_MigrateLoadBalancerToIpBasedRequest.jl +src/models/model_MigratedPools.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl +src/models/model_NatRulePortMapping2.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterfaceDnsSettings.jl src/models/model_NetworkInterfaceIPConfiguration.jl @@ -174,10 +232,18 @@ src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_OutboundRule.jl src/models/model_OutboundRulePropertiesFormat.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_Probe.jl src/models/model_ProbePropertiesFormat.jl src/models/model_ProvisioningState.jl @@ -185,9 +251,11 @@ src/models/model_PublicIPAddress.jl src/models/model_PublicIPAddressDnsSettings.jl src/models/model_PublicIPAddressPropertiesFormat.jl src/models/model_PublicIPAddressSku.jl +src/models/model_QueryInboundNatRulePortMappingRequest.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl diff --git a/src/Network/LoadBalancerClient/.openapi-generator/VERSION b/src/Network/LoadBalancerClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/LoadBalancerClient/.openapi-generator/VERSION +++ b/src/Network/LoadBalancerClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/LoadBalancerClient/README.md b/src/Network/LoadBalancerClient/README.md index a578687..3767b2e 100644 --- a/src/Network/LoadBalancerClient/README.md +++ b/src/Network/LoadBalancerClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -31,6 +32,7 @@ Class | Method *LoadBalancersApi* | [**load_balancer_frontend_i_p_configurations_get**](docs/LoadBalancersApi.md#load_balancer_frontend_i_p_configurations_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}
*LoadBalancersApi* | [**load_balancer_frontend_i_p_configurations_list**](docs/LoadBalancersApi.md#load_balancer_frontend_i_p_configurations_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations
*LoadBalancersApi* | [**load_balancer_load_balancing_rules_get**](docs/LoadBalancersApi.md#load_balancer_load_balancing_rules_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}
+*LoadBalancersApi* | [**load_balancer_load_balancing_rules_health**](docs/LoadBalancersApi.md#load_balancer_load_balancing_rules_health)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health
*LoadBalancersApi* | [**load_balancer_load_balancing_rules_list**](docs/LoadBalancersApi.md#load_balancer_load_balancing_rules_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules
*LoadBalancersApi* | [**load_balancer_network_interfaces_list**](docs/LoadBalancersApi.md#load_balancer_network_interfaces_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces
*LoadBalancersApi* | [**load_balancer_outbound_rules_get**](docs/LoadBalancersApi.md#load_balancer_outbound_rules_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}
@@ -42,6 +44,9 @@ Class | Method *LoadBalancersApi* | [**load_balancers_get**](docs/LoadBalancersApi.md#load_balancers_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}
*LoadBalancersApi* | [**load_balancers_list**](docs/LoadBalancersApi.md#load_balancers_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers
*LoadBalancersApi* | [**load_balancers_list_all**](docs/LoadBalancersApi.md#load_balancers_list_all)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers
+*LoadBalancersApi* | [**load_balancers_list_inbound_nat_rule_port_mappings**](docs/LoadBalancersApi.md#load_balancers_list_inbound_nat_rule_port_mappings)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping
+*LoadBalancersApi* | [**load_balancers_migrate_to_ip_based**](docs/LoadBalancersApi.md#load_balancers_migrate_to_ip_based)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased
+*LoadBalancersApi* | [**load_balancers_swap_public_ip_addresses**](docs/LoadBalancersApi.md#load_balancers_swap_public_ip_addresses)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses
*LoadBalancersApi* | [**load_balancers_update_tags**](docs/LoadBalancersApi.md#load_balancers_update_tags)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}
@@ -50,8 +55,11 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) + - [BackendAddressInboundNatRulePortMappings](docs/BackendAddressInboundNatRulePortMappings.md) - [BackendAddressPool](docs/BackendAddressPool.md) - [BackendAddressPool2](docs/BackendAddressPool2.md) - [BackendAddressPoolPropertiesFormat](docs/BackendAddressPoolPropertiesFormat.md) @@ -61,6 +69,8 @@ Class | Method - [CustomDnsConfigPropertiesFormat](docs/CustomDnsConfigPropertiesFormat.md) - [DdosSettings](docs/DdosSettings.md) - [Delegation](docs/Delegation.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) @@ -68,6 +78,8 @@ Class | Method - [FrontendIPConfiguration2](docs/FrontendIPConfiguration2.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) - [FrontendIPConfigurationPropertiesFormat2](docs/FrontendIPConfigurationPropertiesFormat2.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) + - [GatewayLoadBalancerTunnelInterface2](docs/GatewayLoadBalancerTunnelInterface2.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfigurationProfile](docs/IPConfigurationProfile.md) @@ -79,9 +91,12 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRule2](docs/InboundNatRule2.md) - [InboundNatRuleListResult](docs/InboundNatRuleListResult.md) + - [InboundNatRulePortMapping](docs/InboundNatRulePortMapping.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [InboundNatRulePropertiesFormat2](docs/InboundNatRulePropertiesFormat2.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancer](docs/LoadBalancer.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddress2](docs/LoadBalancerBackendAddress2.md) @@ -89,14 +104,28 @@ Class | Method - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) - [LoadBalancerBackendAddressPropertiesFormat2](docs/LoadBalancerBackendAddressPropertiesFormat2.md) - [LoadBalancerFrontendIPConfigurationListResult](docs/LoadBalancerFrontendIPConfigurationListResult.md) + - [LoadBalancerHealthPerRule](docs/LoadBalancerHealthPerRule.md) + - [LoadBalancerHealthPerRulePerBackendAddress](docs/LoadBalancerHealthPerRulePerBackendAddress.md) - [LoadBalancerListResult](docs/LoadBalancerListResult.md) - [LoadBalancerLoadBalancingRuleListResult](docs/LoadBalancerLoadBalancingRuleListResult.md) - [LoadBalancerOutboundRuleListResult](docs/LoadBalancerOutboundRuleListResult.md) - [LoadBalancerProbeListResult](docs/LoadBalancerProbeListResult.md) - [LoadBalancerPropertiesFormat](docs/LoadBalancerPropertiesFormat.md) - [LoadBalancerSku](docs/LoadBalancerSku.md) + - [LoadBalancerVipSwapRequest](docs/LoadBalancerVipSwapRequest.md) + - [LoadBalancerVipSwapRequestFrontendIPConfiguration](docs/LoadBalancerVipSwapRequestFrontendIPConfiguration.md) + - [LoadBalancerVipSwapRequestFrontendIPConfigurationProperties](docs/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.md) - [LoadBalancingRule](docs/LoadBalancingRule.md) - [LoadBalancingRulePropertiesFormat](docs/LoadBalancingRulePropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [MigrateLoadBalancerToIpBasedRequest](docs/MigrateLoadBalancerToIpBasedRequest.md) + - [MigratedPools](docs/MigratedPools.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) + - [NatRulePortMapping2](docs/NatRulePortMapping2.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) - [NetworkInterfaceIPConfiguration](docs/NetworkInterfaceIPConfiguration.md) @@ -111,10 +140,18 @@ Class | Method - [OutboundRule](docs/OutboundRule.md) - [OutboundRulePropertiesFormat](docs/OutboundRulePropertiesFormat.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [Probe](docs/Probe.md) - [ProbePropertiesFormat](docs/ProbePropertiesFormat.md) - [ProvisioningState](docs/ProvisioningState.md) @@ -122,9 +159,11 @@ Class | Method - [PublicIPAddressDnsSettings](docs/PublicIPAddressDnsSettings.md) - [PublicIPAddressPropertiesFormat](docs/PublicIPAddressPropertiesFormat.md) - [PublicIPAddressSku](docs/PublicIPAddressSku.md) + - [QueryInboundNatRulePortMappingRequest](docs/QueryInboundNatRulePortMappingRequest.md) - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -155,9 +194,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/LoadBalancerClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/LoadBalancerClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/BackendAddressInboundNatRulePortMappings.md b/src/Network/LoadBalancerClient/docs/BackendAddressInboundNatRulePortMappings.md new file mode 100644 index 0000000..13d48c0 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/BackendAddressInboundNatRulePortMappings.md @@ -0,0 +1,12 @@ +# BackendAddressInboundNatRulePortMappings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRulePortMappings** | [**Vector{InboundNatRulePortMapping}**](InboundNatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat2.md b/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat2.md index a03ccf5..356e5a6 100644 --- a/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat2.md +++ b/src/Network/LoadBalancerClient/docs/BackendAddressPoolPropertiesFormat2.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface2}**](GatewayLoadBalancerTunnelInterface2.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress2}**](LoadBalancerBackendAddress2.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/DdosSettings.md b/src/Network/LoadBalancerClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/LoadBalancerClient/docs/DdosSettings.md +++ b/src/Network/LoadBalancerClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/Delegation.md b/src/Network/LoadBalancerClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/LoadBalancerClient/docs/Delegation.md +++ b/src/Network/LoadBalancerClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/ExtendedLocation.md b/src/Network/LoadBalancerClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/ExtendedLocationType.md b/src/Network/LoadBalancerClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/FlowLog.md b/src/Network/LoadBalancerClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/LoadBalancerClient/docs/FlowLog.md +++ b/src/Network/LoadBalancerClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/FlowLogFormatParameters.md b/src/Network/LoadBalancerClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/LoadBalancerClient/docs/FlowLogFormatParameters.md +++ b/src/Network/LoadBalancerClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/FlowLogPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/LoadBalancerClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat.md index 537d6d3..b93377b 100644 --- a/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat2.md b/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat2.md index 55994f6..f057025 100644 --- a/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat2.md +++ b/src/Network/LoadBalancerClient/docs/FrontendIPConfigurationPropertiesFormat2.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/LoadBalancerClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/GatewayLoadBalancerTunnelInterface2.md b/src/Network/LoadBalancerClient/docs/GatewayLoadBalancerTunnelInterface2.md new file mode 100644 index 0000000..4b4d644 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/GatewayLoadBalancerTunnelInterface2.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/InboundNatRuleListResult.md b/src/Network/LoadBalancerClient/docs/InboundNatRuleListResult.md index 570cd22..dfe96c5 100644 --- a/src/Network/LoadBalancerClient/docs/InboundNatRuleListResult.md +++ b/src/Network/LoadBalancerClient/docs/InboundNatRuleListResult.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of inbound nat rules in a load balancer. | [optional] [default to nothing] +**value** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of inbound NAT rules in a load balancer. | [optional] [default to nothing] **nextLink** | **String** | The URL to get the next set of results. | [optional] [readonly] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/InboundNatRulePortMapping.md b/src/Network/LoadBalancerClient/docs/InboundNatRulePortMapping.md new file mode 100644 index 0000000..34dc698 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/InboundNatRulePortMapping.md @@ -0,0 +1,15 @@ +# InboundNatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [readonly] [default to nothing] +**protocol** | [***TransportProtocol**](TransportProtocol.md) | | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [readonly] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat2.md b/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat2.md index 5bfc42d..0a35986 100644 --- a/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat2.md +++ b/src/Network/LoadBalancerClient/docs/InboundNatRulePropertiesFormat2.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/IpamPoolPrefixAllocation.md b/src/Network/LoadBalancerClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/LoadBalancerClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancer.md b/src/Network/LoadBalancerClient/docs/LoadBalancer.md index 51256e9..d59ff0f 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancer.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancer.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***LoadBalancerSku**](LoadBalancerSku.md) | | [optional] [default to nothing] **properties** | [***LoadBalancerPropertiesFormat**](LoadBalancerPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat2.md b/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat2.md index 0cb8a3a..72991f1 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat2.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerBackendAddressPropertiesFormat2.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping2}**](NatRulePortMapping2.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerHealthPerRule.md b/src/Network/LoadBalancerClient/docs/LoadBalancerHealthPerRule.md new file mode 100644 index 0000000..7f5e3b0 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerHealthPerRule.md @@ -0,0 +1,14 @@ +# LoadBalancerHealthPerRule + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**up** | **Int64** | Number of backend instances associated to the LB rule that are considered healthy. | [optional] [default to nothing] +**down** | **Int64** | Number of backend instances associated to the LB rule that are considered unhealthy. | [optional] [default to nothing] +**loadBalancerBackendAddresses** | [**Vector{LoadBalancerHealthPerRulePerBackendAddress}**](LoadBalancerHealthPerRulePerBackendAddress.md) | Information about the health per rule of the backend addresses. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerHealthPerRulePerBackendAddress.md b/src/Network/LoadBalancerClient/docs/LoadBalancerHealthPerRulePerBackendAddress.md new file mode 100644 index 0000000..78ad161 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerHealthPerRulePerBackendAddress.md @@ -0,0 +1,15 @@ +# LoadBalancerHealthPerRulePerBackendAddress + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipAddress** | **String** | The IP address belonging to the backend address. | [optional] [default to nothing] +**networkInterfaceIPConfigurationId** | **String** | Resource ID of the Network Interface IP Configuration. | [optional] [default to nothing] +**state** | **String** | The current health of the backend instances that is associated to the LB rule. | [optional] [default to nothing] +**reason** | **String** | The explanation of the State | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/LoadBalancerPropertiesFormat.md index b2d8456..9801726 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancerPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerPropertiesFormat.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **loadBalancingRules** | [**Vector{LoadBalancingRule}**](LoadBalancingRule.md) | Object collection representing the load balancing rules Gets the provisioning. | [optional] [default to nothing] **probes** | [**Vector{Probe}**](Probe.md) | Collection of probe objects used in the load balancer. | [optional] [default to nothing] **inboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. | [optional] [default to nothing] -**inboundNatPools** | [**Vector{InboundNatPool}**](InboundNatPool.md) | Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. | [optional] [default to nothing] +**inboundNatPools** | [**Vector{InboundNatPool}**](InboundNatPool.md) | Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. | [optional] [default to nothing] **outboundRules** | [**Vector{OutboundRule}**](OutboundRule.md) | The outbound rules. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the load balancer resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerSku.md b/src/Network/LoadBalancerClient/docs/LoadBalancerSku.md index 71d4a1b..9302e46 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancerSku.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a load balancer SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a load balancer SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequest.md b/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequest.md new file mode 100644 index 0000000..03f8c2a --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequest.md @@ -0,0 +1,12 @@ +# LoadBalancerVipSwapRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**frontendIPConfigurations** | [**Vector{LoadBalancerVipSwapRequestFrontendIPConfiguration}**](LoadBalancerVipSwapRequestFrontendIPConfiguration.md) | A list of frontend IP configuration resources that should swap VIPs. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequestFrontendIPConfiguration.md b/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequestFrontendIPConfiguration.md new file mode 100644 index 0000000..1780ffa --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequestFrontendIPConfiguration.md @@ -0,0 +1,13 @@ +# LoadBalancerVipSwapRequestFrontendIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The ID of frontend IP configuration resource. | [optional] [default to nothing] +**properties** | [***LoadBalancerVipSwapRequestFrontendIPConfigurationProperties**](LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.md b/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.md new file mode 100644 index 0000000..d4ee820 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.md @@ -0,0 +1,12 @@ +# LoadBalancerVipSwapRequestFrontendIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**publicIPAddress** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancersApi.md b/src/Network/LoadBalancerClient/docs/LoadBalancersApi.md index 18acd62..5df93ea 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancersApi.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancersApi.md @@ -15,6 +15,7 @@ Method | HTTP request | Description [**load_balancer_frontend_i_p_configurations_get**](LoadBalancersApi.md#load_balancer_frontend_i_p_configurations_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName} | [**load_balancer_frontend_i_p_configurations_list**](LoadBalancersApi.md#load_balancer_frontend_i_p_configurations_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations | [**load_balancer_load_balancing_rules_get**](LoadBalancersApi.md#load_balancer_load_balancing_rules_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName} | +[**load_balancer_load_balancing_rules_health**](LoadBalancersApi.md#load_balancer_load_balancing_rules_health) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health | [**load_balancer_load_balancing_rules_list**](LoadBalancersApi.md#load_balancer_load_balancing_rules_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules | [**load_balancer_network_interfaces_list**](LoadBalancersApi.md#load_balancer_network_interfaces_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces | [**load_balancer_outbound_rules_get**](LoadBalancersApi.md#load_balancer_outbound_rules_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName} | @@ -26,6 +27,9 @@ Method | HTTP request | Description [**load_balancers_get**](LoadBalancersApi.md#load_balancers_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName} | [**load_balancers_list**](LoadBalancersApi.md#load_balancers_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers | [**load_balancers_list_all**](LoadBalancersApi.md#load_balancers_list_all) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers | +[**load_balancers_list_inbound_nat_rule_port_mappings**](LoadBalancersApi.md#load_balancers_list_inbound_nat_rule_port_mappings) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping | +[**load_balancers_migrate_to_ip_based**](LoadBalancersApi.md#load_balancers_migrate_to_ip_based) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased | +[**load_balancers_swap_public_ip_addresses**](LoadBalancersApi.md#load_balancers_swap_public_ip_addresses) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses | [**load_balancers_update_tags**](LoadBalancersApi.md#load_balancers_update_tags) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName} | @@ -35,19 +39,19 @@ Method | HTTP request | Description -Creates or updates a load balancer inbound nat rule. +Creates or updates a load balancer inbound NAT rule. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**inbound_nat_rule_name** | **String**| The name of the inbound nat rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**inbound_nat_rule_parameters** | [**InboundNatRule**](InboundNatRule.md)| Parameters supplied to the create or update inbound nat rule operation. | +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**inbound_nat_rule_name** | **String** | The name of the inbound NAT rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**inbound_nat_rule_parameters** | [**InboundNatRule**](InboundNatRule.md) | Parameters supplied to the create or update inbound NAT rule operation. | ### Return type @@ -70,18 +74,18 @@ Name | Type | Description | Notes -Deletes the specified load balancer inbound nat rule. +Deletes the specified load balancer inbound NAT rule. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**inbound_nat_rule_name** | **String**| The name of the inbound nat rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**inbound_nat_rule_name** | **String** | The name of the inbound NAT rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -104,24 +108,24 @@ Nothing -Gets the specified load balancer inbound nat rule. +Gets the specified load balancer inbound NAT rule. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**inbound_nat_rule_name** | **String**| The name of the inbound nat rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**inbound_nat_rule_name** | **String** | The name of the inbound NAT rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -144,17 +148,17 @@ Name | Type | Description | Notes -Gets all the inbound nat rules in a load balancer. +Gets all the inbound NAT rules in a load balancer. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -184,12 +188,12 @@ Creates or updates a load balancer backend address pool. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**backend_address_pool_name** | **String**| The name of the backend address pool. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**BackendAddressPool**](BackendAddressPool.md)| Parameters supplied to the create or update load balancer backend address pool operation. | +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**backend_address_pool_name** | **String** | The name of the backend address pool. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**BackendAddressPool**](BackendAddressPool.md) | Parameters supplied to the create or update load balancer backend address pool operation. | ### Return type @@ -219,11 +223,11 @@ Deletes the specified load balancer backend address pool. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**backend_address_pool_name** | **String**| The name of the backend address pool. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**backend_address_pool_name** | **String** | The name of the backend address pool. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -253,11 +257,11 @@ Gets load balancer backend address pool. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**backend_address_pool_name** | **String**| The name of the backend address pool. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**backend_address_pool_name** | **String** | The name of the backend address pool. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -287,10 +291,10 @@ Gets all the load balancer backed address pools. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -320,11 +324,11 @@ Gets load balancer frontend IP configuration. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**frontend_i_p_configuration_name** | **String**| The name of the frontend IP configuration. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**frontend_i_p_configuration_name** | **String** | The name of the frontend IP configuration. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -354,10 +358,10 @@ Gets all the load balancer frontend IP configurations. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -387,11 +391,11 @@ Gets the specified load balancer load balancing rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**load_balancing_rule_name** | **String**| The name of the load balancing rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**load_balancing_rule_name** | **String** | The name of the load balancing rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -408,6 +412,40 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **load_balancer_load_balancing_rules_health** +> load_balancer_load_balancing_rules_health(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, load_balancing_rule_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> LoadBalancerHealthPerRule, OpenAPI.Clients.ApiResponse
+> load_balancer_load_balancing_rules_health(_api::LoadBalancersApi, response_stream::Channel, group_name::String, load_balancer_name::String, load_balancing_rule_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ LoadBalancerHealthPerRule }, OpenAPI.Clients.ApiResponse + + + +Get health details of a load balancing rule. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LoadBalancersApi** | API context | +**group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**load_balancing_rule_name** | **String** | The name of the load balancing rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**LoadBalancerHealthPerRule**](LoadBalancerHealthPerRule.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **load_balancer_load_balancing_rules_list** > load_balancer_load_balancing_rules_list(_api::LoadBalancersApi, resource_group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> LoadBalancerLoadBalancingRuleListResult, OpenAPI.Clients.ApiResponse
> load_balancer_load_balancing_rules_list(_api::LoadBalancersApi, response_stream::Channel, resource_group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ LoadBalancerLoadBalancingRuleListResult }, OpenAPI.Clients.ApiResponse @@ -421,10 +459,10 @@ Gets all the load balancing rules in a load balancer. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -454,10 +492,10 @@ Gets associated load balancer network interfaces. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -487,11 +525,11 @@ Gets the specified load balancer outbound rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**outbound_rule_name** | **String**| The name of the outbound rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**outbound_rule_name** | **String** | The name of the outbound rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -521,10 +559,10 @@ Gets all the outbound rules in a load balancer. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -554,11 +592,11 @@ Gets load balancer probe. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**probe_name** | **String**| The name of the probe. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**probe_name** | **String** | The name of the probe. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -588,10 +626,10 @@ Gets all the load balancer probes. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -621,11 +659,11 @@ Creates or updates a load balancer. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**LoadBalancer**](LoadBalancer.md)| Parameters supplied to the create or update load balancer operation. | +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**LoadBalancer**](LoadBalancer.md) | Parameters supplied to the create or update load balancer operation. | ### Return type @@ -655,10 +693,10 @@ Deletes the specified load balancer. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -688,16 +726,16 @@ Gets the specified load balancer. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -727,9 +765,9 @@ Gets all the load balancers in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -759,8 +797,8 @@ Gets all the load balancers in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -777,6 +815,113 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **load_balancers_list_inbound_nat_rule_port_mappings** +> load_balancers_list_inbound_nat_rule_port_mappings(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, backend_pool_name::String, api_version::String, subscription_id::String, parameters::QueryInboundNatRulePortMappingRequest; _mediaType=nothing) -> BackendAddressInboundNatRulePortMappings, OpenAPI.Clients.ApiResponse
+> load_balancers_list_inbound_nat_rule_port_mappings(_api::LoadBalancersApi, response_stream::Channel, group_name::String, load_balancer_name::String, backend_pool_name::String, api_version::String, subscription_id::String, parameters::QueryInboundNatRulePortMappingRequest; _mediaType=nothing) -> Channel{ BackendAddressInboundNatRulePortMappings }, OpenAPI.Clients.ApiResponse + + + +List of inbound NAT rule port mappings. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LoadBalancersApi** | API context | +**group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**backend_pool_name** | **String** | The name of the load balancer backend address pool. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**QueryInboundNatRulePortMappingRequest**](QueryInboundNatRulePortMappingRequest.md) | Query inbound NAT rule port mapping request. | + +### Return type + +[**BackendAddressInboundNatRulePortMappings**](BackendAddressInboundNatRulePortMappings.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **load_balancers_migrate_to_ip_based** +> load_balancers_migrate_to_ip_based(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) -> MigratedPools, OpenAPI.Clients.ApiResponse
+> load_balancers_migrate_to_ip_based(_api::LoadBalancersApi, response_stream::Channel, group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) -> Channel{ MigratedPools }, OpenAPI.Clients.ApiResponse + + + +Migrate load balancer to IP Based + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LoadBalancersApi** | API context | +**group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **parameters** | [**MigrateLoadBalancerToIpBasedRequest**](MigrateLoadBalancerToIpBasedRequest.md) | Parameters supplied to the migrateToIpBased Api. | + +### Return type + +[**MigratedPools**](MigratedPools.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **load_balancers_swap_public_ip_addresses** +> load_balancers_swap_public_ip_addresses(_api::LoadBalancersApi, location::String, api_version::String, subscription_id::String, parameters::LoadBalancerVipSwapRequest; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> load_balancers_swap_public_ip_addresses(_api::LoadBalancersApi, response_stream::Channel, location::String, api_version::String, subscription_id::String, parameters::LoadBalancerVipSwapRequest; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Swaps VIPs between two load balancers. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LoadBalancersApi** | API context | +**location** | **String** | The region where load balancers are located at. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**LoadBalancerVipSwapRequest**](LoadBalancerVipSwapRequest.md) | Parameters that define which VIPs should be swapped. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **load_balancers_update_tags** > load_balancers_update_tags(_api::LoadBalancersApi, resource_group_name::String, load_balancer_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) -> LoadBalancer, OpenAPI.Clients.ApiResponse
> load_balancers_update_tags(_api::LoadBalancersApi, response_stream::Channel, resource_group_name::String, load_balancer_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) -> Channel{ LoadBalancer }, OpenAPI.Clients.ApiResponse @@ -790,11 +935,11 @@ Updates a load balancer tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LoadBalancersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**load_balancer_name** | **String**| The name of the load balancer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update load balancer tags. | +**resource_group_name** | **String** | The name of the resource group. | +**load_balancer_name** | **String** | The name of the load balancer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update load balancer tags. | ### Return type diff --git a/src/Network/LoadBalancerClient/docs/LoadBalancingRulePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/LoadBalancingRulePropertiesFormat.md index 3e6a289..68f1db7 100644 --- a/src/Network/LoadBalancerClient/docs/LoadBalancingRulePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/LoadBalancingRulePropertiesFormat.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **frontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**backendAddressPools** | [**Vector{SubResource}**](SubResource.md) | An array of references to pool of DIPs. | [optional] [default to nothing] **probe** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **protocol** | [***TransportProtocol**](TransportProtocol.md) | | [default to nothing] **loadDistribution** | **String** | The load distribution policy for this rule. | [optional] [default to nothing] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **disableOutboundSnat** | **Bool** | Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. | [optional] [default to nothing] +**enableConnectionTracking** | **Bool** | Defines whether connections between 2 communicating endpoints can be tracked and associated to the same backend VM over its lifetime when using UDP protocol. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/ManagedServiceIdentity.md b/src/Network/LoadBalancerClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/LoadBalancerClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/MigrateLoadBalancerToIpBasedRequest.md b/src/Network/LoadBalancerClient/docs/MigrateLoadBalancerToIpBasedRequest.md new file mode 100644 index 0000000..c7b04fe --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/MigrateLoadBalancerToIpBasedRequest.md @@ -0,0 +1,12 @@ +# MigrateLoadBalancerToIpBasedRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pools** | **Vector{String}** | A list of pool names that should be migrated from Nic based to IP based pool | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/MigratedPools.md b/src/Network/LoadBalancerClient/docs/MigratedPools.md new file mode 100644 index 0000000..d16711e --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/MigratedPools.md @@ -0,0 +1,12 @@ +# MigratedPools + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**migratedPools** | **Vector{String}** | A list of pools migrated from Nic based to IP based pool | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/NatGateway.md b/src/Network/LoadBalancerClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/NatGatewayPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/NatGatewaySku.md b/src/Network/LoadBalancerClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/NatRulePortMapping.md b/src/Network/LoadBalancerClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/NatRulePortMapping2.md b/src/Network/LoadBalancerClient/docs/NatRulePortMapping2.md new file mode 100644 index 0000000..ff2c9f0 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/NatRulePortMapping2.md @@ -0,0 +1,14 @@ +# NatRulePortMapping2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/NetworkInterface.md b/src/Network/LoadBalancerClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/LoadBalancerClient/docs/NetworkInterface.md +++ b/src/Network/LoadBalancerClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index e49d013..cff1260 100644 --- a/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool2}**](BackendAddressPool2.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule2}**](InboundNatRule2.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/LoadBalancerClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/NetworkSecurityGroupPropertiesFormat.md index 84e7b18..d9c105d 100644 --- a/src/Network/LoadBalancerClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/PrivateEndpoint.md b/src/Network/LoadBalancerClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/LoadBalancerClient/docs/PrivateEndpoint.md +++ b/src/Network/LoadBalancerClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/PrivateEndpointConnection.md b/src/Network/LoadBalancerClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/LoadBalancerClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/LoadBalancerClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/LoadBalancerClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateEndpointProperties.md b/src/Network/LoadBalancerClient/docs/PrivateEndpointProperties.md index 40d6bf8..e3fd912 100644 --- a/src/Network/LoadBalancerClient/docs/PrivateEndpointProperties.md +++ b/src/Network/LoadBalancerClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/PrivateLinkService.md b/src/Network/LoadBalancerClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/LoadBalancerClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/LoadBalancerClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/PrivateLinkServiceProperties.md b/src/Network/LoadBalancerClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..68f0faa --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration2}**](FrontendIPConfiguration2.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/ProbePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/ProbePropertiesFormat.md index e05753b..a153c5d 100644 --- a/src/Network/LoadBalancerClient/docs/ProbePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/ProbePropertiesFormat.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes **protocol** | **String** | The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. | [default to nothing] **port** | **Int64** | The port for communicating the probe. Possible values range from 1 to 65535, inclusive. | [default to nothing] **intervalInSeconds** | **Int64** | The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5. | [optional] [default to nothing] +**noHealthyBackendsBehavior** | **String** | Determines how new connections are handled by the load balancer when all backend instances are probed down. | [optional] [default to nothing] **numberOfProbes** | **Int64** | The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. | [optional] [default to nothing] +**probeThreshold** | **Int64** | The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation. | [optional] [default to nothing] **requestPath** | **String** | The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/PublicIPAddress.md b/src/Network/LoadBalancerClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/LoadBalancerClient/docs/PublicIPAddress.md +++ b/src/Network/LoadBalancerClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/PublicIPAddressDnsSettings.md b/src/Network/LoadBalancerClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/LoadBalancerClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/LoadBalancerClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/LoadBalancerClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/PublicIPAddressSku.md b/src/Network/LoadBalancerClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/LoadBalancerClient/docs/PublicIPAddressSku.md +++ b/src/Network/LoadBalancerClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/QueryInboundNatRulePortMappingRequest.md b/src/Network/LoadBalancerClient/docs/QueryInboundNatRulePortMappingRequest.md new file mode 100644 index 0000000..5549e9b --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/QueryInboundNatRulePortMappingRequest.md @@ -0,0 +1,13 @@ +# QueryInboundNatRulePortMappingRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**ipAddress** | **String** | IP address set in load balancer backend address. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/ResourceSet.md b/src/Network/LoadBalancerClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/LoadBalancerClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/LoadBalancerClient/docs/RetentionPolicyParameters.md b/src/Network/LoadBalancerClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/LoadBalancerClient/docs/RetentionPolicyParameters.md +++ b/src/Network/LoadBalancerClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/LoadBalancerClient/docs/Route.md b/src/Network/LoadBalancerClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/LoadBalancerClient/docs/Route.md +++ b/src/Network/LoadBalancerClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/RoutePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/LoadBalancerClient/docs/RoutePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/RouteTablePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/LoadBalancerClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/SecurityRule.md b/src/Network/LoadBalancerClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/LoadBalancerClient/docs/SecurityRule.md +++ b/src/Network/LoadBalancerClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/SecurityRulePropertiesFormat.md b/src/Network/LoadBalancerClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/LoadBalancerClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicy.md b/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/LoadBalancerClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/Subnet.md b/src/Network/LoadBalancerClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/LoadBalancerClient/docs/Subnet.md +++ b/src/Network/LoadBalancerClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/LoadBalancerClient/docs/SubnetPropertiesFormat.md b/src/Network/LoadBalancerClient/docs/SubnetPropertiesFormat.md index 5569795..972cda9 100644 --- a/src/Network/LoadBalancerClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/LoadBalancerClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/LoadBalancerClient/src/LoadBalancerClient.jl b/src/Network/LoadBalancerClient/src/LoadBalancerClient.jl index 1fe80dc..b3e7b4c 100644 --- a/src/Network/LoadBalancerClient/src/LoadBalancerClient.jl +++ b/src/Network/LoadBalancerClient/src/LoadBalancerClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/LoadBalancerClient/src/apis/api_LoadBalancersApi.jl b/src/Network/LoadBalancerClient/src/apis/api_LoadBalancersApi.jl index 69af998..47b10a9 100644 --- a/src/Network/LoadBalancerClient/src/apis/api_LoadBalancersApi.jl +++ b/src/Network/LoadBalancerClient/src/apis/api_LoadBalancersApi.jl @@ -23,13 +23,13 @@ function _oacinternal_inbound_nat_rules_create_or_update(_api::LoadBalancersApi, OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "inboundNatRuleName", inbound_nat_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end -@doc raw"""Creates or updates a load balancer inbound nat rule. +@doc raw"""Creates or updates a load balancer inbound NAT rule. Params: - resource_group_name::String (required) @@ -64,13 +64,13 @@ function _oacinternal_inbound_nat_rules_delete(_api::LoadBalancersApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "inboundNatRuleName", inbound_nat_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""Deletes the specified load balancer inbound nat rule. +@doc raw"""Deletes the specified load balancer inbound NAT rule. Params: - resource_group_name::String (required) @@ -102,14 +102,14 @@ function _oacinternal_inbound_nat_rules_get(_api::LoadBalancersApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "inboundNatRuleName", inbound_nat_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""Gets the specified load balancer inbound nat rule. +@doc raw"""Gets the specified load balancer inbound NAT rule. Params: - resource_group_name::String (required) @@ -141,13 +141,13 @@ function _oacinternal_inbound_nat_rules_list(_api::LoadBalancersApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""Gets all the inbound nat rules in a load balancer. +@doc raw"""Gets all the inbound NAT rules in a load balancer. Params: - resource_group_name::String (required) @@ -179,7 +179,7 @@ function _oacinternal_load_balancer_backend_address_pools_create_or_update(_api: OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "backendAddressPoolName", backend_address_pool_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -220,7 +220,7 @@ function _oacinternal_load_balancer_backend_address_pools_delete(_api::LoadBalan OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "backendAddressPoolName", backend_address_pool_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -258,7 +258,7 @@ function _oacinternal_load_balancer_backend_address_pools_get(_api::LoadBalancer OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "backendAddressPoolName", backend_address_pool_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -295,7 +295,7 @@ function _oacinternal_load_balancer_backend_address_pools_list(_api::LoadBalance OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -332,7 +332,7 @@ function _oacinternal_load_balancer_frontend_i_p_configurations_get(_api::LoadBa OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "frontendIPConfigurationName", frontend_i_p_configuration_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -369,7 +369,7 @@ function _oacinternal_load_balancer_frontend_i_p_configurations_list(_api::LoadB OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -406,7 +406,7 @@ function _oacinternal_load_balancer_load_balancing_rules_get(_api::LoadBalancers OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancingRuleName", load_balancing_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -433,6 +433,51 @@ function load_balancer_load_balancing_rules_get(_api::LoadBalancersApi, response return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_load_balancer_load_balancing_rules_health_LoadBalancersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => LoadBalancerHealthPerRule, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_load_balancer_load_balancing_rules_health(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, load_balancing_rule_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("group_name", "load_balancer_load_balancing_rules_health", :pattern, group_name, r"^[a-zA-Z0-9_.-]*$") + + OpenAPI.validate_param("load_balancer_name", "load_balancer_load_balancing_rules_health", :pattern, load_balancer_name, r"^[a-zA-Z0-9_.-]*$") + + OpenAPI.validate_param("load_balancing_rule_name", "load_balancer_load_balancing_rules_health", :pattern, load_balancing_rule_name, r"^[a-zA-Z0-9_.-]*$") + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_load_balancer_load_balancing_rules_health_LoadBalancersApi, "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "groupName", group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "loadBalancingRuleName", load_balancing_rule_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Get health details of a load balancing rule. + +Params: +- group_name::String (required) +- load_balancer_name::String (required) +- load_balancing_rule_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: LoadBalancerHealthPerRule, OpenAPI.Clients.ApiResponse +""" +function load_balancer_load_balancing_rules_health(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, load_balancing_rule_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_load_balancer_load_balancing_rules_health(_api, group_name, load_balancer_name, load_balancing_rule_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function load_balancer_load_balancing_rules_health(_api::LoadBalancersApi, response_stream::Channel, group_name::String, load_balancer_name::String, load_balancing_rule_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_load_balancer_load_balancing_rules_health(_api, group_name, load_balancer_name, load_balancing_rule_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_load_balancer_load_balancing_rules_list_LoadBalancersApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => LoadBalancerLoadBalancingRuleListResult, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, @@ -443,7 +488,7 @@ function _oacinternal_load_balancer_load_balancing_rules_list(_api::LoadBalancer OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -479,7 +524,7 @@ function _oacinternal_load_balancer_network_interfaces_list(_api::LoadBalancersA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -516,7 +561,7 @@ function _oacinternal_load_balancer_outbound_rules_get(_api::LoadBalancersApi, r OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "outboundRuleName", outbound_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -553,7 +598,7 @@ function _oacinternal_load_balancer_outbound_rules_list(_api::LoadBalancersApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -590,7 +635,7 @@ function _oacinternal_load_balancer_probes_get(_api::LoadBalancersApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "probeName", probe_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -627,7 +672,7 @@ function _oacinternal_load_balancer_probes_list(_api::LoadBalancersApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -664,7 +709,7 @@ function _oacinternal_load_balancers_create_or_update(_api::LoadBalancersApi, re OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -703,7 +748,7 @@ function _oacinternal_load_balancers_delete(_api::LoadBalancersApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -739,8 +784,8 @@ function _oacinternal_load_balancers_get(_api::LoadBalancersApi, resource_group_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -776,7 +821,7 @@ function _oacinternal_load_balancers_list(_api::LoadBalancersApi, resource_group _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_load_balancers_list_LoadBalancersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -809,7 +854,7 @@ const _returntypes_load_balancers_list_all_LoadBalancersApi = Dict{Regex,Type}( function _oacinternal_load_balancers_list_all(_api::LoadBalancersApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_load_balancers_list_all_LoadBalancersApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -833,6 +878,123 @@ function load_balancers_list_all(_api::LoadBalancersApi, response_stream::Channe return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_load_balancers_list_inbound_nat_rule_port_mappings_LoadBalancersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => BackendAddressInboundNatRulePortMappings, + Regex("^" * replace("202", "x"=>".") * "\$") => BackendAddressInboundNatRulePortMappings, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_load_balancers_list_inbound_nat_rule_port_mappings(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, backend_pool_name::String, api_version::String, subscription_id::String, parameters::QueryInboundNatRulePortMappingRequest; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_load_balancers_list_inbound_nat_rule_port_mappings_LoadBalancersApi, "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "groupName", group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "backendPoolName", backend_pool_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""List of inbound NAT rule port mappings. + +Params: +- group_name::String (required) +- load_balancer_name::String (required) +- backend_pool_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::QueryInboundNatRulePortMappingRequest (required) + +Return: BackendAddressInboundNatRulePortMappings, OpenAPI.Clients.ApiResponse +""" +function load_balancers_list_inbound_nat_rule_port_mappings(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, backend_pool_name::String, api_version::String, subscription_id::String, parameters::QueryInboundNatRulePortMappingRequest; _mediaType=nothing) + _ctx = _oacinternal_load_balancers_list_inbound_nat_rule_port_mappings(_api, group_name, load_balancer_name, backend_pool_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function load_balancers_list_inbound_nat_rule_port_mappings(_api::LoadBalancersApi, response_stream::Channel, group_name::String, load_balancer_name::String, backend_pool_name::String, api_version::String, subscription_id::String, parameters::QueryInboundNatRulePortMappingRequest; _mediaType=nothing) + _ctx = _oacinternal_load_balancers_list_inbound_nat_rule_port_mappings(_api, group_name, load_balancer_name, backend_pool_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_load_balancers_migrate_to_ip_based_LoadBalancersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => MigratedPools, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_load_balancers_migrate_to_ip_based(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) + OpenAPI.validate_param("group_name", "load_balancers_migrate_to_ip_based", :pattern, group_name, r"^[a-z][a-z0-9]*$") + + OpenAPI.validate_param("load_balancer_name", "load_balancers_migrate_to_ip_based", :pattern, load_balancer_name, r"^[a-z][a-z0-9]*$") + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_load_balancers_migrate_to_ip_based_LoadBalancersApi, "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "groupName", group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Migrate load balancer to IP Based + +Params: +- group_name::String (required) +- load_balancer_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::MigrateLoadBalancerToIpBasedRequest + +Return: MigratedPools, OpenAPI.Clients.ApiResponse +""" +function load_balancers_migrate_to_ip_based(_api::LoadBalancersApi, group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) + _ctx = _oacinternal_load_balancers_migrate_to_ip_based(_api, group_name, load_balancer_name, api_version, subscription_id; parameters=parameters, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function load_balancers_migrate_to_ip_based(_api::LoadBalancersApi, response_stream::Channel, group_name::String, load_balancer_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) + _ctx = _oacinternal_load_balancers_migrate_to_ip_based(_api, group_name, load_balancer_name, api_version, subscription_id; parameters=parameters, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_load_balancers_swap_public_ip_addresses_LoadBalancersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_load_balancers_swap_public_ip_addresses(_api::LoadBalancersApi, location::String, api_version::String, subscription_id::String, parameters::LoadBalancerVipSwapRequest; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_load_balancers_swap_public_ip_addresses_LoadBalancersApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Swaps VIPs between two load balancers. + +Params: +- location::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::LoadBalancerVipSwapRequest (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function load_balancers_swap_public_ip_addresses(_api::LoadBalancersApi, location::String, api_version::String, subscription_id::String, parameters::LoadBalancerVipSwapRequest; _mediaType=nothing) + _ctx = _oacinternal_load_balancers_swap_public_ip_addresses(_api, location, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function load_balancers_swap_public_ip_addresses(_api::LoadBalancersApi, response_stream::Channel, location::String, api_version::String, subscription_id::String, parameters::LoadBalancerVipSwapRequest; _mediaType=nothing) + _ctx = _oacinternal_load_balancers_swap_public_ip_addresses(_api, location, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_load_balancers_update_tags_LoadBalancersApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => LoadBalancer, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, @@ -843,7 +1005,7 @@ function _oacinternal_load_balancers_update_tags(_api::LoadBalancersApi, resourc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "loadBalancerName", load_balancer_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -881,6 +1043,7 @@ export load_balancer_backend_address_pools_list export load_balancer_frontend_i_p_configurations_get export load_balancer_frontend_i_p_configurations_list export load_balancer_load_balancing_rules_get +export load_balancer_load_balancing_rules_health export load_balancer_load_balancing_rules_list export load_balancer_network_interfaces_list export load_balancer_outbound_rules_get @@ -892,4 +1055,7 @@ export load_balancers_delete export load_balancers_get export load_balancers_list export load_balancers_list_all +export load_balancers_list_inbound_nat_rule_port_mappings +export load_balancers_migrate_to_ip_based +export load_balancers_swap_public_ip_addresses export load_balancers_update_tags diff --git a/src/Network/LoadBalancerClient/src/modelincludes.jl b/src/Network/LoadBalancerClient/src/modelincludes.jl index 0c3c30e..6aa378f 100644 --- a/src/Network/LoadBalancerClient/src/modelincludes.jl +++ b/src/Network/LoadBalancerClient/src/modelincludes.jl @@ -4,8 +4,11 @@ include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") +include("models/model_BackendAddressInboundNatRulePortMappings.jl") include("models/model_BackendAddressPool.jl") include("models/model_BackendAddressPool2.jl") include("models/model_BackendAddressPoolPropertiesFormat.jl") @@ -15,6 +18,8 @@ include("models/model_CloudErrorBody.jl") include("models/model_CustomDnsConfigPropertiesFormat.jl") include("models/model_DdosSettings.jl") include("models/model_Delegation.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") @@ -22,6 +27,8 @@ include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfiguration2.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") include("models/model_FrontendIPConfigurationPropertiesFormat2.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") +include("models/model_GatewayLoadBalancerTunnelInterface2.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfigurationProfile.jl") @@ -33,9 +40,12 @@ include("models/model_InboundNatPoolPropertiesFormat.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRule2.jl") include("models/model_InboundNatRuleListResult.jl") +include("models/model_InboundNatRulePortMapping.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_InboundNatRulePropertiesFormat2.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancer.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddress2.jl") @@ -43,14 +53,28 @@ include("models/model_LoadBalancerBackendAddressPoolListResult.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat2.jl") include("models/model_LoadBalancerFrontendIPConfigurationListResult.jl") +include("models/model_LoadBalancerHealthPerRule.jl") +include("models/model_LoadBalancerHealthPerRulePerBackendAddress.jl") include("models/model_LoadBalancerListResult.jl") include("models/model_LoadBalancerLoadBalancingRuleListResult.jl") include("models/model_LoadBalancerOutboundRuleListResult.jl") include("models/model_LoadBalancerProbeListResult.jl") include("models/model_LoadBalancerPropertiesFormat.jl") include("models/model_LoadBalancerSku.jl") +include("models/model_LoadBalancerVipSwapRequest.jl") +include("models/model_LoadBalancerVipSwapRequestFrontendIPConfiguration.jl") +include("models/model_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.jl") include("models/model_LoadBalancingRule.jl") include("models/model_LoadBalancingRulePropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_MigrateLoadBalancerToIpBasedRequest.jl") +include("models/model_MigratedPools.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") +include("models/model_NatRulePortMapping2.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterfaceDnsSettings.jl") include("models/model_NetworkInterfaceIPConfiguration.jl") @@ -65,10 +89,18 @@ include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_OutboundRule.jl") include("models/model_OutboundRulePropertiesFormat.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_Probe.jl") include("models/model_ProbePropertiesFormat.jl") include("models/model_ProvisioningState.jl") @@ -76,9 +108,11 @@ include("models/model_PublicIPAddress.jl") include("models/model_PublicIPAddressDnsSettings.jl") include("models/model_PublicIPAddressPropertiesFormat.jl") include("models/model_PublicIPAddressSku.jl") +include("models/model_QueryInboundNatRulePortMappingRequest.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_BackendAddressInboundNatRulePortMappings.jl b/src/Network/LoadBalancerClient/src/models/model_BackendAddressInboundNatRulePortMappings.jl new file mode 100644 index 0000000..4eeadd8 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_BackendAddressInboundNatRulePortMappings.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BackendAddressInboundNatRulePortMappings +The response for a QueryInboundNatRulePortMapping API. + + BackendAddressInboundNatRulePortMappings(; + inboundNatRulePortMappings=nothing, + ) + + - inboundNatRulePortMappings::Vector{InboundNatRulePortMapping} : Collection of inbound NAT rule port mappings. +""" +Base.@kwdef mutable struct BackendAddressInboundNatRulePortMappings <: OpenAPI.APIModel + inboundNatRulePortMappings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRulePortMapping} } + + function BackendAddressInboundNatRulePortMappings(inboundNatRulePortMappings, ) + o = new(inboundNatRulePortMappings, ) + OpenAPI.validate_properties(o) + return o + end +end # type BackendAddressInboundNatRulePortMappings + +const _property_types_BackendAddressInboundNatRulePortMappings = Dict{Symbol,String}(Symbol("inboundNatRulePortMappings")=>"Vector{InboundNatRulePortMapping}", ) +OpenAPI.property_type(::Type{ BackendAddressInboundNatRulePortMappings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressInboundNatRulePortMappings[name]))} + +function OpenAPI.check_required(o::BackendAddressInboundNatRulePortMappings) + true +end + +function OpenAPI.validate_properties(o::BackendAddressInboundNatRulePortMappings) + OpenAPI.validate_property(BackendAddressInboundNatRulePortMappings, Symbol("inboundNatRulePortMappings"), o.inboundNatRulePortMappings) +end + +function OpenAPI.validate_property(::Type{ BackendAddressInboundNatRulePortMappings }, name::Symbol, val) + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool.jl b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool2.jl b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool2.jl index 42f8aea..bdffb4b 100644 --- a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPool2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool2 <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool2(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool2, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool2, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool2, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool2, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool2, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool2 const _property_types_BackendAddressPool2 = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool2[name]))} -function check_required(o::BackendAddressPool2) +function OpenAPI.check_required(o::BackendAddressPool2) true end +function OpenAPI.validate_properties(o::BackendAddressPool2) + OpenAPI.validate_property(BackendAddressPool2, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool2, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool2, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool2, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat2.jl b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat2.jl index 2f63de1..f904338 100644 --- a/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_BackendAddressPoolPropertiesFormat2.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat2(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface2} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress2} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat2 <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface2} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress2} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat2(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat2(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat2 -const _property_types_BackendAddressPoolPropertiesFormat2 = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress2}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat2 = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface2}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress2}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat2[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat2) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat2) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat2) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat2, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat2 }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat2", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat2", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_CloudError.jl b/src/Network/LoadBalancerClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/LoadBalancerClient/src/models/model_CloudError.jl +++ b/src/Network/LoadBalancerClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/LoadBalancerClient/src/models/model_CloudErrorBody.jl b/src/Network/LoadBalancerClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/LoadBalancerClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/LoadBalancerClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/LoadBalancerClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_DdosSettings.jl b/src/Network/LoadBalancerClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/LoadBalancerClient/src/models/model_DdosSettings.jl +++ b/src/Network/LoadBalancerClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_Delegation.jl b/src/Network/LoadBalancerClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/LoadBalancerClient/src/models/model_Delegation.jl +++ b/src/Network/LoadBalancerClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ExtendedLocation.jl b/src/Network/LoadBalancerClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_ExtendedLocationType.jl b/src/Network/LoadBalancerClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/LoadBalancerClient/src/models/model_FlowLog.jl b/src/Network/LoadBalancerClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FlowLog.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/LoadBalancerClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/LoadBalancerClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration2.jl b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration2.jl index fe363f9..c1e7811 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfiguration2.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration2 <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration2(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration2 const _property_types_FrontendIPConfiguration2 = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration2[name]))} -function check_required(o::FrontendIPConfiguration2) +function OpenAPI.check_required(o::FrontendIPConfiguration2) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration2) + OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration2 }, name::Symbol, val) + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 3545ff4..d235f7e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat2.jl b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat2.jl index b756192..7825255 100644 --- a/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_FrontendIPConfigurationPropertiesFormat2.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat2 <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat2 <: OpenAPI.A subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat2(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat2(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat2 -const _property_types_FrontendIPConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat2[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat2) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat2) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat2) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat2 }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/LoadBalancerClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_GatewayLoadBalancerTunnelInterface2.jl b/src/Network/LoadBalancerClient/src/models/model_GatewayLoadBalancerTunnelInterface2.jl new file mode 100644 index 0000000..a42e65c --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_GatewayLoadBalancerTunnelInterface2.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface_2 +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface2(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface2 <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface2(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface2 + +const _property_types_GatewayLoadBalancerTunnelInterface2 = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface2[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface2) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface2) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface2, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface2, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface2, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface2, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface2 }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface2", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface2", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface2", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface2", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_IPConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/LoadBalancerClient/src/models/model_IPConfiguration.jl +++ b/src/Network/LoadBalancerClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfile.jl b/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_IPConfigurationPropertiesFormat.jl index 613e62d..7b5e780 100644 --- a/src/Network/LoadBalancerClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatPool.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatPool.jl index 7e2ca35..78ef585 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatPool.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatPool, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatPool, Symbol("name"), name) - OpenAPI.validate_property(InboundNatPool, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatPool, Symbol("type"), type) - OpenAPI.validate_property(InboundNatPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatPool const _property_types_InboundNatPool = Dict{Symbol,String}(Symbol("properties")=>"InboundNatPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatPool[name]))} -function check_required(o::InboundNatPool) +function OpenAPI.check_required(o::InboundNatPool) true end +function OpenAPI.validate_properties(o::InboundNatPool) + OpenAPI.validate_property(InboundNatPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatPool, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatPool, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatPoolPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatPoolPropertiesFormat.jl index 87e6f25..6fbe785 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatPoolPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatPoolPropertiesFormat.jl @@ -39,23 +39,16 @@ Base.@kwdef mutable struct InboundNatPoolPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function InboundNatPoolPropertiesFormat(frontendIPConfiguration, protocol, frontendPortRangeStart, frontendPortRangeEnd, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeStart"), frontendPortRangeStart) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeEnd"), frontendPortRangeEnd) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, protocol, frontendPortRangeStart, frontendPortRangeEnd, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + o = new(frontendIPConfiguration, protocol, frontendPortRangeStart, frontendPortRangeEnd, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatPoolPropertiesFormat const _property_types_InboundNatPoolPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatPoolPropertiesFormat[name]))} -function check_required(o::InboundNatPoolPropertiesFormat) +function OpenAPI.check_required(o::InboundNatPoolPropertiesFormat) o.protocol === nothing && (return false) o.frontendPortRangeStart === nothing && (return false) o.frontendPortRangeEnd === nothing && (return false) @@ -63,17 +56,38 @@ function check_required(o::InboundNatPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatPoolPropertiesFormat) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatPoolPropertiesFormat }, name::Symbol, val) + + + if name === Symbol("frontendPortRangeStart") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + if name === Symbol("frontendPortRangeEnd") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatRule.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatRule.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatRule2.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatRule2.jl index 6b13ad6..c1e084d 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatRule2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatRule2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule2 <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule2(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule2, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule2, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule2, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule2, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule2, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule2 const _property_types_InboundNatRule2 = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule2[name]))} -function check_required(o::InboundNatRule2) +function OpenAPI.check_required(o::InboundNatRule2) true end +function OpenAPI.validate_properties(o::InboundNatRule2) + OpenAPI.validate_property(InboundNatRule2, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule2, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule2, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule2, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatRuleListResult.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatRuleListResult.jl index 91426b7..4ffdb4f 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatRuleListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatRuleListResult.jl @@ -10,7 +10,7 @@ Response for ListInboundNatRule API service call. nextLink=nothing, ) - - value::Vector{InboundNatRule} : A list of inbound nat rules in a load balancer. + - value::Vector{InboundNatRule} : A list of inbound NAT rules in a load balancer. - nextLink::String : The URL to get the next set of results. """ Base.@kwdef mutable struct InboundNatRuleListResult <: OpenAPI.APIModel @@ -18,18 +18,25 @@ Base.@kwdef mutable struct InboundNatRuleListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function InboundNatRuleListResult(value, nextLink, ) - OpenAPI.validate_property(InboundNatRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(InboundNatRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRuleListResult const _property_types_InboundNatRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{InboundNatRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRuleListResult[name]))} -function check_required(o::InboundNatRuleListResult) +function OpenAPI.check_required(o::InboundNatRuleListResult) true end +function OpenAPI.validate_properties(o::InboundNatRuleListResult) + OpenAPI.validate_property(InboundNatRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(InboundNatRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ InboundNatRuleListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePortMapping.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePortMapping.jl new file mode 100644 index 0000000..7a6c997 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePortMapping.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""InboundNatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + InboundNatRulePortMapping(; + inboundNatRuleName=nothing, + protocol=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - protocol::TransportProtocol + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct InboundNatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + protocol = nothing # spec type: Union{ Nothing, TransportProtocol } + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function InboundNatRulePortMapping(inboundNatRuleName, protocol, frontendPort, backendPort, ) + o = new(inboundNatRuleName, protocol, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type InboundNatRulePortMapping + +const _property_types_InboundNatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ InboundNatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePortMapping[name]))} + +function OpenAPI.check_required(o::InboundNatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::InboundNatRulePortMapping) + OpenAPI.validate_property(InboundNatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(InboundNatRulePortMapping, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ InboundNatRulePortMapping }, name::Symbol, val) + + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "InboundNatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "InboundNatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat2.jl b/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat2.jl index be98ec0..c3df966 100644 --- a/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_InboundNatRulePropertiesFormat2.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat2 <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat2 <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat2(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat2(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat2 -const _property_types_InboundNatRulePropertiesFormat2 = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol2", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat2 = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol2", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat2[name]))} -function check_required(o::InboundNatRulePropertiesFormat2) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat2) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat2) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat2 }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat2", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat2", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat2", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat2", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat2", :format, val, "int32") + end + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_IpTag.jl b/src/Network/LoadBalancerClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/LoadBalancerClient/src/models/model_IpTag.jl +++ b/src/Network/LoadBalancerClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/LoadBalancerClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/LoadBalancerClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancer.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancer.jl index 79efd6b..e03a19a 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancer.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancer.jl @@ -6,6 +6,7 @@ LoadBalancer resource. LoadBalancer(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -16,6 +17,7 @@ LoadBalancer resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::LoadBalancerSku - properties::LoadBalancerPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -26,6 +28,7 @@ LoadBalancer resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct LoadBalancer <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, LoadBalancerSku } properties = nothing # spec type: Union{ Nothing, LoadBalancerPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -35,25 +38,40 @@ Base.@kwdef mutable struct LoadBalancer <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function LoadBalancer(sku, properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(LoadBalancer, Symbol("sku"), sku) - OpenAPI.validate_property(LoadBalancer, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancer, Symbol("etag"), etag) - OpenAPI.validate_property(LoadBalancer, Symbol("id"), id) - OpenAPI.validate_property(LoadBalancer, Symbol("name"), name) - OpenAPI.validate_property(LoadBalancer, Symbol("type"), type) - OpenAPI.validate_property(LoadBalancer, Symbol("location"), location) - OpenAPI.validate_property(LoadBalancer, Symbol("tags"), tags) - return new(sku, properties, etag, id, name, type, location, tags, ) + function LoadBalancer(extendedLocation, sku, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancer -const _property_types_LoadBalancer = Dict{Symbol,String}(Symbol("sku")=>"LoadBalancerSku", Symbol("properties")=>"LoadBalancerPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_LoadBalancer = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"LoadBalancerSku", Symbol("properties")=>"LoadBalancerPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ LoadBalancer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancer[name]))} -function check_required(o::LoadBalancer) +function OpenAPI.check_required(o::LoadBalancer) true end +function OpenAPI.validate_properties(o::LoadBalancer) + OpenAPI.validate_property(LoadBalancer, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(LoadBalancer, Symbol("sku"), o.sku) + OpenAPI.validate_property(LoadBalancer, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancer, Symbol("etag"), o.etag) + OpenAPI.validate_property(LoadBalancer, Symbol("id"), o.id) + OpenAPI.validate_property(LoadBalancer, Symbol("name"), o.name) + OpenAPI.validate_property(LoadBalancer, Symbol("type"), o.type) + OpenAPI.validate_property(LoadBalancer, Symbol("location"), o.location) + OpenAPI.validate_property(LoadBalancer, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ LoadBalancer }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress2.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress2.jl index 582fea9..6cf9550 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddress2.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress2 <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress2(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress2, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress2, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress2 const _property_types_LoadBalancerBackendAddress2 = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat2", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress2[name]))} -function check_required(o::LoadBalancerBackendAddress2) +function OpenAPI.check_required(o::LoadBalancerBackendAddress2) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress2) + OpenAPI.validate_property(LoadBalancerBackendAddress2, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress2, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress2 }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPoolListResult.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPoolListResult.jl index 436840d..d31875b 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPoolListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPoolListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddressPoolListResult <: OpenAPI.A nextLink::Union{Nothing, String} = nothing function LoadBalancerBackendAddressPoolListResult(value, nextLink, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPoolListResult, Symbol("value"), value) - OpenAPI.validate_property(LoadBalancerBackendAddressPoolListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPoolListResult const _property_types_LoadBalancerBackendAddressPoolListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{BackendAddressPool}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPoolListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPoolListResult[name]))} -function check_required(o::LoadBalancerBackendAddressPoolListResult) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPoolListResult) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPoolListResult) + OpenAPI.validate_property(LoadBalancerBackendAddressPoolListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LoadBalancerBackendAddressPoolListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPoolListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat2.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat2.jl index a01c2de..bc6a41e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat2.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat2.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat2(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping2} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat2 <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping2} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat2(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat2(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat2 -const _property_types_LoadBalancerBackendAddressPropertiesFormat2 = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat2 = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping2}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat2[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat2) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat2) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat2) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat2, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat2 }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat2", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerFrontendIPConfigurationListResult.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerFrontendIPConfigurationListResult.jl index e20f832..a44762e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerFrontendIPConfigurationListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerFrontendIPConfigurationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerFrontendIPConfigurationListResult <: Open nextLink::Union{Nothing, String} = nothing function LoadBalancerFrontendIPConfigurationListResult(value, nextLink, ) - OpenAPI.validate_property(LoadBalancerFrontendIPConfigurationListResult, Symbol("value"), value) - OpenAPI.validate_property(LoadBalancerFrontendIPConfigurationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerFrontendIPConfigurationListResult const _property_types_LoadBalancerFrontendIPConfigurationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{FrontendIPConfiguration}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerFrontendIPConfigurationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerFrontendIPConfigurationListResult[name]))} -function check_required(o::LoadBalancerFrontendIPConfigurationListResult) +function OpenAPI.check_required(o::LoadBalancerFrontendIPConfigurationListResult) true end +function OpenAPI.validate_properties(o::LoadBalancerFrontendIPConfigurationListResult) + OpenAPI.validate_property(LoadBalancerFrontendIPConfigurationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LoadBalancerFrontendIPConfigurationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LoadBalancerFrontendIPConfigurationListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerHealthPerRule.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerHealthPerRule.jl new file mode 100644 index 0000000..1a6eeaf --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerHealthPerRule.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LoadBalancerHealthPerRule +The response for a Health API. + + LoadBalancerHealthPerRule(; + up=nothing, + down=nothing, + loadBalancerBackendAddresses=nothing, + ) + + - up::Int64 : Number of backend instances associated to the LB rule that are considered healthy. + - down::Int64 : Number of backend instances associated to the LB rule that are considered unhealthy. + - loadBalancerBackendAddresses::Vector{LoadBalancerHealthPerRulePerBackendAddress} : Information about the health per rule of the backend addresses. +""" +Base.@kwdef mutable struct LoadBalancerHealthPerRule <: OpenAPI.APIModel + up::Union{Nothing, Int64} = nothing + down::Union{Nothing, Int64} = nothing + loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerHealthPerRulePerBackendAddress} } + + function LoadBalancerHealthPerRule(up, down, loadBalancerBackendAddresses, ) + o = new(up, down, loadBalancerBackendAddresses, ) + OpenAPI.validate_properties(o) + return o + end +end # type LoadBalancerHealthPerRule + +const _property_types_LoadBalancerHealthPerRule = Dict{Symbol,String}(Symbol("up")=>"Int64", Symbol("down")=>"Int64", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerHealthPerRulePerBackendAddress}", ) +OpenAPI.property_type(::Type{ LoadBalancerHealthPerRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerHealthPerRule[name]))} + +function OpenAPI.check_required(o::LoadBalancerHealthPerRule) + true +end + +function OpenAPI.validate_properties(o::LoadBalancerHealthPerRule) + OpenAPI.validate_property(LoadBalancerHealthPerRule, Symbol("up"), o.up) + OpenAPI.validate_property(LoadBalancerHealthPerRule, Symbol("down"), o.down) + OpenAPI.validate_property(LoadBalancerHealthPerRule, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) +end + +function OpenAPI.validate_property(::Type{ LoadBalancerHealthPerRule }, name::Symbol, val) + + if name === Symbol("up") + OpenAPI.validate_param(name, "LoadBalancerHealthPerRule", :format, val, "int32") + end + + if name === Symbol("down") + OpenAPI.validate_param(name, "LoadBalancerHealthPerRule", :format, val, "int32") + end + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerHealthPerRulePerBackendAddress.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerHealthPerRulePerBackendAddress.jl new file mode 100644 index 0000000..e32a543 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerHealthPerRulePerBackendAddress.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LoadBalancerHealthPerRulePerBackendAddress +The information about health per rule per backend address. + + LoadBalancerHealthPerRulePerBackendAddress(; + ipAddress=nothing, + networkInterfaceIPConfigurationId=nothing, + state=nothing, + reason=nothing, + ) + + - ipAddress::String : The IP address belonging to the backend address. + - networkInterfaceIPConfigurationId::String : Resource ID of the Network Interface IP Configuration. + - state::String : The current health of the backend instances that is associated to the LB rule. + - reason::String : The explanation of the State +""" +Base.@kwdef mutable struct LoadBalancerHealthPerRulePerBackendAddress <: OpenAPI.APIModel + ipAddress::Union{Nothing, String} = nothing + networkInterfaceIPConfigurationId::Union{Nothing, String} = nothing + state::Union{Nothing, String} = nothing + reason::Union{Nothing, String} = nothing + + function LoadBalancerHealthPerRulePerBackendAddress(ipAddress, networkInterfaceIPConfigurationId, state, reason, ) + o = new(ipAddress, networkInterfaceIPConfigurationId, state, reason, ) + OpenAPI.validate_properties(o) + return o + end +end # type LoadBalancerHealthPerRulePerBackendAddress + +const _property_types_LoadBalancerHealthPerRulePerBackendAddress = Dict{Symbol,String}(Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfigurationId")=>"String", Symbol("state")=>"String", Symbol("reason")=>"String", ) +OpenAPI.property_type(::Type{ LoadBalancerHealthPerRulePerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerHealthPerRulePerBackendAddress[name]))} + +function OpenAPI.check_required(o::LoadBalancerHealthPerRulePerBackendAddress) + true +end + +function OpenAPI.validate_properties(o::LoadBalancerHealthPerRulePerBackendAddress) + OpenAPI.validate_property(LoadBalancerHealthPerRulePerBackendAddress, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerHealthPerRulePerBackendAddress, Symbol("networkInterfaceIPConfigurationId"), o.networkInterfaceIPConfigurationId) + OpenAPI.validate_property(LoadBalancerHealthPerRulePerBackendAddress, Symbol("state"), o.state) + OpenAPI.validate_property(LoadBalancerHealthPerRulePerBackendAddress, Symbol("reason"), o.reason) +end + +function OpenAPI.validate_property(::Type{ LoadBalancerHealthPerRulePerBackendAddress }, name::Symbol, val) + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerListResult.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerListResult.jl index bd11bce..27a886b 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function LoadBalancerListResult(value, nextLink, ) - OpenAPI.validate_property(LoadBalancerListResult, Symbol("value"), value) - OpenAPI.validate_property(LoadBalancerListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerListResult const _property_types_LoadBalancerListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{LoadBalancer}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerListResult[name]))} -function check_required(o::LoadBalancerListResult) +function OpenAPI.check_required(o::LoadBalancerListResult) true end +function OpenAPI.validate_properties(o::LoadBalancerListResult) + OpenAPI.validate_property(LoadBalancerListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LoadBalancerListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LoadBalancerListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerLoadBalancingRuleListResult.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerLoadBalancingRuleListResult.jl index cba10b3..c6be913 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerLoadBalancingRuleListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerLoadBalancingRuleListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerLoadBalancingRuleListResult <: OpenAPI.AP nextLink::Union{Nothing, String} = nothing function LoadBalancerLoadBalancingRuleListResult(value, nextLink, ) - OpenAPI.validate_property(LoadBalancerLoadBalancingRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(LoadBalancerLoadBalancingRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerLoadBalancingRuleListResult const _property_types_LoadBalancerLoadBalancingRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{LoadBalancingRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerLoadBalancingRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerLoadBalancingRuleListResult[name]))} -function check_required(o::LoadBalancerLoadBalancingRuleListResult) +function OpenAPI.check_required(o::LoadBalancerLoadBalancingRuleListResult) true end +function OpenAPI.validate_properties(o::LoadBalancerLoadBalancingRuleListResult) + OpenAPI.validate_property(LoadBalancerLoadBalancingRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LoadBalancerLoadBalancingRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LoadBalancerLoadBalancingRuleListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerOutboundRuleListResult.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerOutboundRuleListResult.jl index 97db200..8e48434 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerOutboundRuleListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerOutboundRuleListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerOutboundRuleListResult <: OpenAPI.APIMode nextLink::Union{Nothing, String} = nothing function LoadBalancerOutboundRuleListResult(value, nextLink, ) - OpenAPI.validate_property(LoadBalancerOutboundRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(LoadBalancerOutboundRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerOutboundRuleListResult const _property_types_LoadBalancerOutboundRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{OutboundRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerOutboundRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerOutboundRuleListResult[name]))} -function check_required(o::LoadBalancerOutboundRuleListResult) +function OpenAPI.check_required(o::LoadBalancerOutboundRuleListResult) true end +function OpenAPI.validate_properties(o::LoadBalancerOutboundRuleListResult) + OpenAPI.validate_property(LoadBalancerOutboundRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LoadBalancerOutboundRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LoadBalancerOutboundRuleListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerProbeListResult.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerProbeListResult.jl index 624f74c..3be0b80 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerProbeListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerProbeListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerProbeListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function LoadBalancerProbeListResult(value, nextLink, ) - OpenAPI.validate_property(LoadBalancerProbeListResult, Symbol("value"), value) - OpenAPI.validate_property(LoadBalancerProbeListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerProbeListResult const _property_types_LoadBalancerProbeListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Probe}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerProbeListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerProbeListResult[name]))} -function check_required(o::LoadBalancerProbeListResult) +function OpenAPI.check_required(o::LoadBalancerProbeListResult) true end +function OpenAPI.validate_properties(o::LoadBalancerProbeListResult) + OpenAPI.validate_property(LoadBalancerProbeListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LoadBalancerProbeListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LoadBalancerProbeListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerPropertiesFormat.jl index 19e0fd8..41355da 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerPropertiesFormat.jl @@ -22,7 +22,7 @@ Properties of the load balancer. - loadBalancingRules::Vector{LoadBalancingRule} : Object collection representing the load balancing rules Gets the provisioning. - probes::Vector{Probe} : Collection of probe objects used in the load balancer. - inboundNatRules::Vector{InboundNatRule} : Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. - - inboundNatPools::Vector{InboundNatPool} : Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + - inboundNatPools::Vector{InboundNatPool} : Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. - outboundRules::Vector{OutboundRule} : The outbound rules. - resourceGuid::String : The resource GUID property of the load balancer resource. - provisioningState::ProvisioningState @@ -39,25 +39,39 @@ Base.@kwdef mutable struct LoadBalancerPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function LoadBalancerPropertiesFormat(frontendIPConfigurations, backendAddressPools, loadBalancingRules, probes, inboundNatRules, inboundNatPools, outboundRules, resourceGuid, provisioningState, ) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("frontendIPConfigurations"), frontendIPConfigurations) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("backendAddressPools"), backendAddressPools) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("probes"), probes) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfigurations, backendAddressPools, loadBalancingRules, probes, inboundNatRules, inboundNatPools, outboundRules, resourceGuid, provisioningState, ) + o = new(frontendIPConfigurations, backendAddressPools, loadBalancingRules, probes, inboundNatRules, inboundNatPools, outboundRules, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerPropertiesFormat const _property_types_LoadBalancerPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("backendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancingRules")=>"Vector{LoadBalancingRule}", Symbol("probes")=>"Vector{Probe}", Symbol("inboundNatRules")=>"Vector{InboundNatRule}", Symbol("inboundNatPools")=>"Vector{InboundNatPool}", Symbol("outboundRules")=>"Vector{OutboundRule}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ LoadBalancerPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerPropertiesFormat[name]))} -function check_required(o::LoadBalancerPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerPropertiesFormat) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("frontendIPConfigurations"), o.frontendIPConfigurations) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("backendAddressPools"), o.backendAddressPools) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("probes"), o.probes) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerSku.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerSku.jl index cf2f266..3002b8b 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerSku.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerSku.jl @@ -7,28 +7,44 @@ SKU of a load balancer. LoadBalancerSku(; name=nothing, + tier=nothing, ) - name::String : Name of a load balancer SKU. + - tier::String : Tier of a load balancer SKU. """ Base.@kwdef mutable struct LoadBalancerSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function LoadBalancerSku(name, ) - OpenAPI.validate_property(LoadBalancerSku, Symbol("name"), name) - return new(name, ) + function LoadBalancerSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerSku -const _property_types_LoadBalancerSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_LoadBalancerSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerSku[name]))} -function check_required(o::LoadBalancerSku) +function OpenAPI.check_required(o::LoadBalancerSku) true end +function OpenAPI.validate_properties(o::LoadBalancerSku) + OpenAPI.validate_property(LoadBalancerSku, Symbol("name"), o.name) + OpenAPI.validate_property(LoadBalancerSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ LoadBalancerSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "LoadBalancerSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "LoadBalancerSku", :enum, val, ["Basic", "Standard", "Gateway"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "LoadBalancerSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequest.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequest.jl new file mode 100644 index 0000000..162c7e5 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequest.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LoadBalancerVipSwapRequest +The request for a VIP swap. + + LoadBalancerVipSwapRequest(; + frontendIPConfigurations=nothing, + ) + + - frontendIPConfigurations::Vector{LoadBalancerVipSwapRequestFrontendIPConfiguration} : A list of frontend IP configuration resources that should swap VIPs. +""" +Base.@kwdef mutable struct LoadBalancerVipSwapRequest <: OpenAPI.APIModel + frontendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerVipSwapRequestFrontendIPConfiguration} } + + function LoadBalancerVipSwapRequest(frontendIPConfigurations, ) + o = new(frontendIPConfigurations, ) + OpenAPI.validate_properties(o) + return o + end +end # type LoadBalancerVipSwapRequest + +const _property_types_LoadBalancerVipSwapRequest = Dict{Symbol,String}(Symbol("frontendIPConfigurations")=>"Vector{LoadBalancerVipSwapRequestFrontendIPConfiguration}", ) +OpenAPI.property_type(::Type{ LoadBalancerVipSwapRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerVipSwapRequest[name]))} + +function OpenAPI.check_required(o::LoadBalancerVipSwapRequest) + true +end + +function OpenAPI.validate_properties(o::LoadBalancerVipSwapRequest) + OpenAPI.validate_property(LoadBalancerVipSwapRequest, Symbol("frontendIPConfigurations"), o.frontendIPConfigurations) +end + +function OpenAPI.validate_property(::Type{ LoadBalancerVipSwapRequest }, name::Symbol, val) + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequestFrontendIPConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequestFrontendIPConfiguration.jl new file mode 100644 index 0000000..4bd49a1 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequestFrontendIPConfiguration.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LoadBalancerVipSwapRequestFrontendIPConfiguration +VIP swap request's frontend IP configuration object. + + LoadBalancerVipSwapRequestFrontendIPConfiguration(; + id=nothing, + properties=nothing, + ) + + - id::String : The ID of frontend IP configuration resource. + - properties::LoadBalancerVipSwapRequestFrontendIPConfigurationProperties +""" +Base.@kwdef mutable struct LoadBalancerVipSwapRequestFrontendIPConfiguration <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, LoadBalancerVipSwapRequestFrontendIPConfigurationProperties } + + function LoadBalancerVipSwapRequestFrontendIPConfiguration(id, properties, ) + o = new(id, properties, ) + OpenAPI.validate_properties(o) + return o + end +end # type LoadBalancerVipSwapRequestFrontendIPConfiguration + +const _property_types_LoadBalancerVipSwapRequestFrontendIPConfiguration = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("properties")=>"LoadBalancerVipSwapRequestFrontendIPConfigurationProperties", ) +OpenAPI.property_type(::Type{ LoadBalancerVipSwapRequestFrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerVipSwapRequestFrontendIPConfiguration[name]))} + +function OpenAPI.check_required(o::LoadBalancerVipSwapRequestFrontendIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::LoadBalancerVipSwapRequestFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerVipSwapRequestFrontendIPConfiguration, Symbol("id"), o.id) + OpenAPI.validate_property(LoadBalancerVipSwapRequestFrontendIPConfiguration, Symbol("properties"), o.properties) +end + +function OpenAPI.validate_property(::Type{ LoadBalancerVipSwapRequestFrontendIPConfiguration }, name::Symbol, val) + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.jl new file mode 100644 index 0000000..00ff556 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LoadBalancerVipSwapRequestFrontendIPConfigurationProperties +The properties of VIP swap request's frontend IP configuration object. + + LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(; + publicIPAddress=nothing, + ) + + - publicIPAddress::SubResource +""" +Base.@kwdef mutable struct LoadBalancerVipSwapRequestFrontendIPConfigurationProperties <: OpenAPI.APIModel + publicIPAddress = nothing # spec type: Union{ Nothing, SubResource } + + function LoadBalancerVipSwapRequestFrontendIPConfigurationProperties(publicIPAddress, ) + o = new(publicIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type LoadBalancerVipSwapRequestFrontendIPConfigurationProperties + +const _property_types_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties = Dict{Symbol,String}(Symbol("publicIPAddress")=>"SubResource", ) +OpenAPI.property_type(::Type{ LoadBalancerVipSwapRequestFrontendIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerVipSwapRequestFrontendIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::LoadBalancerVipSwapRequestFrontendIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::LoadBalancerVipSwapRequestFrontendIPConfigurationProperties) + OpenAPI.validate_property(LoadBalancerVipSwapRequestFrontendIPConfigurationProperties, Symbol("publicIPAddress"), o.publicIPAddress) +end + +function OpenAPI.validate_property(::Type{ LoadBalancerVipSwapRequestFrontendIPConfigurationProperties }, name::Symbol, val) + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRule.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRule.jl index a005b43..bb2fadb 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRule.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct LoadBalancingRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function LoadBalancingRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(LoadBalancingRule, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancingRule, Symbol("name"), name) - OpenAPI.validate_property(LoadBalancingRule, Symbol("etag"), etag) - OpenAPI.validate_property(LoadBalancingRule, Symbol("type"), type) - OpenAPI.validate_property(LoadBalancingRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancingRule const _property_types_LoadBalancingRule = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancingRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancingRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancingRule[name]))} -function check_required(o::LoadBalancingRule) +function OpenAPI.check_required(o::LoadBalancingRule) true end +function OpenAPI.validate_properties(o::LoadBalancingRule) + OpenAPI.validate_property(LoadBalancingRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancingRule, Symbol("name"), o.name) + OpenAPI.validate_property(LoadBalancingRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(LoadBalancingRule, Symbol("type"), o.type) + OpenAPI.validate_property(LoadBalancingRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ LoadBalancingRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRulePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRulePropertiesFormat.jl index f91dcd2..1359376 100644 --- a/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRulePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_LoadBalancingRulePropertiesFormat.jl @@ -8,6 +8,7 @@ Properties of the load balancer. LoadBalancingRulePropertiesFormat(; frontendIPConfiguration=nothing, backendAddressPool=nothing, + backendAddressPools=nothing, probe=nothing, protocol=nothing, loadDistribution=nothing, @@ -17,11 +18,13 @@ Properties of the load balancer. enableFloatingIP=nothing, enableTcpReset=nothing, disableOutboundSnat=nothing, + enableConnectionTracking=nothing, provisioningState=nothing, ) - frontendIPConfiguration::SubResource - backendAddressPool::SubResource + - backendAddressPools::Vector{SubResource} : An array of references to pool of DIPs. - probe::SubResource - protocol::TransportProtocol - loadDistribution::String : The load distribution policy for this rule. @@ -31,11 +34,13 @@ Properties of the load balancer. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. - disableOutboundSnat::Bool : Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + - enableConnectionTracking::Bool : Defines whether connections between 2 communicating endpoints can be tracked and associated to the same backend VM over its lifetime when using UDP protocol. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct LoadBalancingRulePropertiesFormat <: OpenAPI.APIModel frontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } + backendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } probe = nothing # spec type: Union{ Nothing, SubResource } protocol = nothing # spec type: Union{ Nothing, TransportProtocol } loadDistribution::Union{Nothing, String} = nothing @@ -45,45 +50,68 @@ Base.@kwdef mutable struct LoadBalancingRulePropertiesFormat <: OpenAPI.APIModel enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing disableOutboundSnat::Union{Nothing, Bool} = nothing + enableConnectionTracking::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function LoadBalancingRulePropertiesFormat(frontendIPConfiguration, backendAddressPool, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, provisioningState, ) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("probe"), probe) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("loadDistribution"), loadDistribution) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("disableOutboundSnat"), disableOutboundSnat) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendAddressPool, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, provisioningState, ) + function LoadBalancingRulePropertiesFormat(frontendIPConfiguration, backendAddressPool, backendAddressPools, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, enableConnectionTracking, provisioningState, ) + o = new(frontendIPConfiguration, backendAddressPool, backendAddressPools, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, enableConnectionTracking, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancingRulePropertiesFormat -const _property_types_LoadBalancingRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendAddressPool")=>"SubResource", Symbol("probe")=>"SubResource", Symbol("protocol")=>"TransportProtocol", Symbol("loadDistribution")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("disableOutboundSnat")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_LoadBalancingRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendAddressPool")=>"SubResource", Symbol("backendAddressPools")=>"Vector{SubResource}", Symbol("probe")=>"SubResource", Symbol("protocol")=>"TransportProtocol", Symbol("loadDistribution")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("disableOutboundSnat")=>"Bool", Symbol("enableConnectionTracking")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ LoadBalancingRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancingRulePropertiesFormat[name]))} -function check_required(o::LoadBalancingRulePropertiesFormat) +function OpenAPI.check_required(o::LoadBalancingRulePropertiesFormat) o.protocol === nothing && (return false) o.frontendPort === nothing && (return false) true end +function OpenAPI.validate_properties(o::LoadBalancingRulePropertiesFormat) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendAddressPools"), o.backendAddressPools) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("probe"), o.probe) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("loadDistribution"), o.loadDistribution) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("disableOutboundSnat"), o.disableOutboundSnat) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableConnectionTracking"), o.enableConnectionTracking) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ LoadBalancingRulePropertiesFormat }, name::Symbol, val) + + + + + + if name === Symbol("loadDistribution") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :enum, val, ["Default", "SourceIP", "SourceIPProtocol"]) end + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :format, val, "int32") end + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/LoadBalancerClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/LoadBalancerClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_MigrateLoadBalancerToIpBasedRequest.jl b/src/Network/LoadBalancerClient/src/models/model_MigrateLoadBalancerToIpBasedRequest.jl new file mode 100644 index 0000000..5f02fe7 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_MigrateLoadBalancerToIpBasedRequest.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""MigrateLoadBalancerToIpBasedRequest +The request for a migrateToIpBased API. + + MigrateLoadBalancerToIpBasedRequest(; + pools=nothing, + ) + + - pools::Vector{String} : A list of pool names that should be migrated from Nic based to IP based pool +""" +Base.@kwdef mutable struct MigrateLoadBalancerToIpBasedRequest <: OpenAPI.APIModel + pools::Union{Nothing, Vector{String}} = nothing + + function MigrateLoadBalancerToIpBasedRequest(pools, ) + o = new(pools, ) + OpenAPI.validate_properties(o) + return o + end +end # type MigrateLoadBalancerToIpBasedRequest + +const _property_types_MigrateLoadBalancerToIpBasedRequest = Dict{Symbol,String}(Symbol("pools")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ MigrateLoadBalancerToIpBasedRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MigrateLoadBalancerToIpBasedRequest[name]))} + +function OpenAPI.check_required(o::MigrateLoadBalancerToIpBasedRequest) + true +end + +function OpenAPI.validate_properties(o::MigrateLoadBalancerToIpBasedRequest) + OpenAPI.validate_property(MigrateLoadBalancerToIpBasedRequest, Symbol("pools"), o.pools) +end + +function OpenAPI.validate_property(::Type{ MigrateLoadBalancerToIpBasedRequest }, name::Symbol, val) + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_MigratedPools.jl b/src/Network/LoadBalancerClient/src/models/model_MigratedPools.jl new file mode 100644 index 0000000..3af1c0f --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_MigratedPools.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""MigratedPools +The response for a migrateToIpBased API. + + MigratedPools(; + migratedPools=nothing, + ) + + - migratedPools::Vector{String} : A list of pools migrated from Nic based to IP based pool +""" +Base.@kwdef mutable struct MigratedPools <: OpenAPI.APIModel + migratedPools::Union{Nothing, Vector{String}} = nothing + + function MigratedPools(migratedPools, ) + o = new(migratedPools, ) + OpenAPI.validate_properties(o) + return o + end +end # type MigratedPools + +const _property_types_MigratedPools = Dict{Symbol,String}(Symbol("migratedPools")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ MigratedPools }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MigratedPools[name]))} + +function OpenAPI.check_required(o::MigratedPools) + true +end + +function OpenAPI.validate_properties(o::MigratedPools) + OpenAPI.validate_property(MigratedPools, Symbol("migratedPools"), o.migratedPools) +end + +function OpenAPI.validate_property(::Type{ MigratedPools }, name::Symbol, val) + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_NatGateway.jl b/src/Network/LoadBalancerClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_NatGatewaySku.jl b/src/Network/LoadBalancerClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_NatRulePortMapping.jl b/src/Network/LoadBalancerClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/LoadBalancerClient/src/models/model_NatRulePortMapping2.jl b/src/Network/LoadBalancerClient/src/models/model_NatRulePortMapping2.jl new file mode 100644 index 0000000..ca9c0e5 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_NatRulePortMapping2.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping_2 +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping2(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping2 <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping2(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping2 + +const _property_types_NatRulePortMapping2 = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping2[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping2) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping2) + OpenAPI.validate_property(NatRulePortMapping2, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping2, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping2, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping2 }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping2", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping2", :format, val, "int32") + end +end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterface.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterface.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 998cc37..e1edea3 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool2} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule2} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool2} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule2} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool2}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule2}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool2}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule2}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceListResult.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceListResult.jl index afecbe5..a492dbc 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceListResult.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function NetworkInterfaceListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceListResult const _property_types_NetworkInterfaceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkInterface}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceListResult[name]))} -function check_required(o::NetworkInterfaceListResult) +function OpenAPI.check_required(o::NetworkInterfaceListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceListResult) + OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceListResult }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0ba83a0..b38ec23 100644 --- a/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_OutboundRule.jl b/src/Network/LoadBalancerClient/src/models/model_OutboundRule.jl index 0663459..eba9157 100644 --- a/src/Network/LoadBalancerClient/src/models/model_OutboundRule.jl +++ b/src/Network/LoadBalancerClient/src/models/model_OutboundRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct OutboundRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function OutboundRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(OutboundRule, Symbol("properties"), properties) - OpenAPI.validate_property(OutboundRule, Symbol("name"), name) - OpenAPI.validate_property(OutboundRule, Symbol("etag"), etag) - OpenAPI.validate_property(OutboundRule, Symbol("type"), type) - OpenAPI.validate_property(OutboundRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type OutboundRule const _property_types_OutboundRule = Dict{Symbol,String}(Symbol("properties")=>"OutboundRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ OutboundRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OutboundRule[name]))} -function check_required(o::OutboundRule) +function OpenAPI.check_required(o::OutboundRule) true end +function OpenAPI.validate_properties(o::OutboundRule) + OpenAPI.validate_property(OutboundRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(OutboundRule, Symbol("name"), o.name) + OpenAPI.validate_property(OutboundRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(OutboundRule, Symbol("type"), o.type) + OpenAPI.validate_property(OutboundRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ OutboundRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_OutboundRulePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_OutboundRulePropertiesFormat.jl index 7fc8efb..8cc0095 100644 --- a/src/Network/LoadBalancerClient/src/models/model_OutboundRulePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_OutboundRulePropertiesFormat.jl @@ -33,32 +33,45 @@ Base.@kwdef mutable struct OutboundRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing function OutboundRulePropertiesFormat(allocatedOutboundPorts, frontendIPConfigurations, backendAddressPool, provisioningState, protocol, enableTcpReset, idleTimeoutInMinutes, ) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("allocatedOutboundPorts"), allocatedOutboundPorts) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("frontendIPConfigurations"), frontendIPConfigurations) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - return new(allocatedOutboundPorts, frontendIPConfigurations, backendAddressPool, provisioningState, protocol, enableTcpReset, idleTimeoutInMinutes, ) + o = new(allocatedOutboundPorts, frontendIPConfigurations, backendAddressPool, provisioningState, protocol, enableTcpReset, idleTimeoutInMinutes, ) + OpenAPI.validate_properties(o) + return o end end # type OutboundRulePropertiesFormat const _property_types_OutboundRulePropertiesFormat = Dict{Symbol,String}(Symbol("allocatedOutboundPorts")=>"Int64", Symbol("frontendIPConfigurations")=>"Vector{SubResource}", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", Symbol("protocol")=>"String", Symbol("enableTcpReset")=>"Bool", Symbol("idleTimeoutInMinutes")=>"Int64", ) OpenAPI.property_type(::Type{ OutboundRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OutboundRulePropertiesFormat[name]))} -function check_required(o::OutboundRulePropertiesFormat) +function OpenAPI.check_required(o::OutboundRulePropertiesFormat) o.frontendIPConfigurations === nothing && (return false) o.backendAddressPool === nothing && (return false) o.protocol === nothing && (return false) true end +function OpenAPI.validate_properties(o::OutboundRulePropertiesFormat) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("allocatedOutboundPorts"), o.allocatedOutboundPorts) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("frontendIPConfigurations"), o.frontendIPConfigurations) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) +end + function OpenAPI.validate_property(::Type{ OutboundRulePropertiesFormat }, name::Symbol, val) + if name === Symbol("allocatedOutboundPorts") OpenAPI.validate_param(name, "OutboundRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("protocol") OpenAPI.validate_param(name, "OutboundRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "All"]) end + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpoint.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointProperties.jl index c7b43bc..627df0e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkService.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..0efdc5b --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration2} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration2} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration2}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_Probe.jl b/src/Network/LoadBalancerClient/src/models/model_Probe.jl index c8f0eb0..221af34 100644 --- a/src/Network/LoadBalancerClient/src/models/model_Probe.jl +++ b/src/Network/LoadBalancerClient/src/models/model_Probe.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Probe <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function Probe(properties, name, etag, type, id, ) - OpenAPI.validate_property(Probe, Symbol("properties"), properties) - OpenAPI.validate_property(Probe, Symbol("name"), name) - OpenAPI.validate_property(Probe, Symbol("etag"), etag) - OpenAPI.validate_property(Probe, Symbol("type"), type) - OpenAPI.validate_property(Probe, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Probe const _property_types_Probe = Dict{Symbol,String}(Symbol("properties")=>"ProbePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Probe }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Probe[name]))} -function check_required(o::Probe) +function OpenAPI.check_required(o::Probe) true end +function OpenAPI.validate_properties(o::Probe) + OpenAPI.validate_property(Probe, Symbol("properties"), o.properties) + OpenAPI.validate_property(Probe, Symbol("name"), o.name) + OpenAPI.validate_property(Probe, Symbol("etag"), o.etag) + OpenAPI.validate_property(Probe, Symbol("type"), o.type) + OpenAPI.validate_property(Probe, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Probe }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ProbePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ProbePropertiesFormat.jl index d278491..d200345 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ProbePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ProbePropertiesFormat.jl @@ -10,7 +10,9 @@ Load balancer probe resource. protocol=nothing, port=nothing, intervalInSeconds=nothing, + noHealthyBackendsBehavior=nothing, numberOfProbes=nothing, + probeThreshold=nothing, requestPath=nothing, provisioningState=nothing, ) @@ -19,7 +21,9 @@ Load balancer probe resource. - protocol::String : The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. - port::Int64 : The port for communicating the probe. Possible values range from 1 to 65535, inclusive. - intervalInSeconds::Int64 : The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5. + - noHealthyBackendsBehavior::String : Determines how new connections are handled by the load balancer when all backend instances are probed down. - numberOfProbes::Int64 : The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. + - probeThreshold::Int64 : The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation. - requestPath::String : The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. - provisioningState::ProvisioningState """ @@ -28,42 +32,68 @@ Base.@kwdef mutable struct ProbePropertiesFormat <: OpenAPI.APIModel protocol::Union{Nothing, String} = nothing port::Union{Nothing, Int64} = nothing intervalInSeconds::Union{Nothing, Int64} = nothing + noHealthyBackendsBehavior::Union{Nothing, String} = nothing numberOfProbes::Union{Nothing, Int64} = nothing + probeThreshold::Union{Nothing, Int64} = nothing requestPath::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ProbePropertiesFormat(loadBalancingRules, protocol, port, intervalInSeconds, numberOfProbes, requestPath, provisioningState, ) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("port"), port) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("intervalInSeconds"), intervalInSeconds) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("numberOfProbes"), numberOfProbes) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("requestPath"), requestPath) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(loadBalancingRules, protocol, port, intervalInSeconds, numberOfProbes, requestPath, provisioningState, ) + function ProbePropertiesFormat(loadBalancingRules, protocol, port, intervalInSeconds, noHealthyBackendsBehavior, numberOfProbes, probeThreshold, requestPath, provisioningState, ) + o = new(loadBalancingRules, protocol, port, intervalInSeconds, noHealthyBackendsBehavior, numberOfProbes, probeThreshold, requestPath, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ProbePropertiesFormat -const _property_types_ProbePropertiesFormat = Dict{Symbol,String}(Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("protocol")=>"String", Symbol("port")=>"Int64", Symbol("intervalInSeconds")=>"Int64", Symbol("numberOfProbes")=>"Int64", Symbol("requestPath")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ProbePropertiesFormat = Dict{Symbol,String}(Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("protocol")=>"String", Symbol("port")=>"Int64", Symbol("intervalInSeconds")=>"Int64", Symbol("noHealthyBackendsBehavior")=>"String", Symbol("numberOfProbes")=>"Int64", Symbol("probeThreshold")=>"Int64", Symbol("requestPath")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ProbePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProbePropertiesFormat[name]))} -function check_required(o::ProbePropertiesFormat) +function OpenAPI.check_required(o::ProbePropertiesFormat) o.protocol === nothing && (return false) o.port === nothing && (return false) true end +function OpenAPI.validate_properties(o::ProbePropertiesFormat) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("port"), o.port) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("intervalInSeconds"), o.intervalInSeconds) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("noHealthyBackendsBehavior"), o.noHealthyBackendsBehavior) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("numberOfProbes"), o.numberOfProbes) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("probeThreshold"), o.probeThreshold) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("requestPath"), o.requestPath) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ProbePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "ProbePropertiesFormat", :enum, val, ["Http", "Tcp", "Https"]) end + + if name === Symbol("port") OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") end + if name === Symbol("intervalInSeconds") OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") end + + if name === Symbol("noHealthyBackendsBehavior") + OpenAPI.validate_param(name, "ProbePropertiesFormat", :enum, val, ["AllProbedDown", "AllProbedUp"]) + end + + if name === Symbol("numberOfProbes") OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") end + + if name === Symbol("probeThreshold") + OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddress.jl b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressSku.jl b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/LoadBalancerClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_QueryInboundNatRulePortMappingRequest.jl b/src/Network/LoadBalancerClient/src/models/model_QueryInboundNatRulePortMappingRequest.jl new file mode 100644 index 0000000..8299575 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_QueryInboundNatRulePortMappingRequest.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""QueryInboundNatRulePortMappingRequest +The request for a QueryInboundNatRulePortMapping API. Either IpConfiguration or IpAddress should be set + + QueryInboundNatRulePortMappingRequest(; + ipConfiguration=nothing, + ipAddress=nothing, + ) + + - ipConfiguration::SubResource + - ipAddress::String : IP address set in load balancer backend address. +""" +Base.@kwdef mutable struct QueryInboundNatRulePortMappingRequest <: OpenAPI.APIModel + ipConfiguration = nothing # spec type: Union{ Nothing, SubResource } + ipAddress::Union{Nothing, String} = nothing + + function QueryInboundNatRulePortMappingRequest(ipConfiguration, ipAddress, ) + o = new(ipConfiguration, ipAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type QueryInboundNatRulePortMappingRequest + +const _property_types_QueryInboundNatRulePortMappingRequest = Dict{Symbol,String}(Symbol("ipConfiguration")=>"SubResource", Symbol("ipAddress")=>"String", ) +OpenAPI.property_type(::Type{ QueryInboundNatRulePortMappingRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_QueryInboundNatRulePortMappingRequest[name]))} + +function OpenAPI.check_required(o::QueryInboundNatRulePortMappingRequest) + true +end + +function OpenAPI.validate_properties(o::QueryInboundNatRulePortMappingRequest) + OpenAPI.validate_property(QueryInboundNatRulePortMappingRequest, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(QueryInboundNatRulePortMappingRequest, Symbol("ipAddress"), o.ipAddress) +end + +function OpenAPI.validate_property(::Type{ QueryInboundNatRulePortMappingRequest }, name::Symbol, val) + + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_Resource.jl b/src/Network/LoadBalancerClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/LoadBalancerClient/src/models/model_Resource.jl +++ b/src/Network/LoadBalancerClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLink.jl b/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ResourceSet.jl b/src/Network/LoadBalancerClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/LoadBalancerClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/LoadBalancerClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/LoadBalancerClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/LoadBalancerClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/LoadBalancerClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/LoadBalancerClient/src/models/model_Route.jl b/src/Network/LoadBalancerClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/LoadBalancerClient/src/models/model_Route.jl +++ b/src/Network/LoadBalancerClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/LoadBalancerClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_RouteTable.jl b/src/Network/LoadBalancerClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/LoadBalancerClient/src/models/model_RouteTable.jl +++ b/src/Network/LoadBalancerClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/LoadBalancerClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_SecurityRule.jl b/src/Network/LoadBalancerClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/LoadBalancerClient/src/models/model_SecurityRule.jl +++ b/src/Network/LoadBalancerClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/LoadBalancerClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLink.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_SubResource.jl b/src/Network/LoadBalancerClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/LoadBalancerClient/src/models/model_SubResource.jl +++ b/src/Network/LoadBalancerClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/LoadBalancerClient/src/models/model_Subnet.jl b/src/Network/LoadBalancerClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/LoadBalancerClient/src/models/model_Subnet.jl +++ b/src/Network/LoadBalancerClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_SubnetPropertiesFormat.jl index 27b81fb..9a56139 100644 --- a/src/Network/LoadBalancerClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_TagsObject.jl b/src/Network/LoadBalancerClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/LoadBalancerClient/src/models/model_TagsObject.jl +++ b/src/Network/LoadBalancerClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/LoadBalancerClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTap.jl b/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index 992fd12..a9f5c99 100644 --- a/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/LoadBalancerClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration2", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/.openapi-generator/FILES b/src/Network/NetworkInterfaceClient/.openapi-generator/FILES index a41224e..66e655d 100644 --- a/src/Network/NetworkInterfaceClient/.openapi-generator/FILES +++ b/src/Network/NetworkInterfaceClient/.openapi-generator/FILES @@ -3,6 +3,8 @@ README.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md docs/BackendAddressPool.md @@ -18,11 +20,14 @@ docs/EffectiveNetworkSecurityGroupListResult.md docs/EffectiveNetworkSecurityRule.md docs/EffectiveRoute.md docs/EffectiveRouteListResult.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfiguration2.md @@ -36,6 +41,8 @@ docs/InboundNatPoolPropertiesFormat.md docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancer.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -43,6 +50,12 @@ docs/LoadBalancerPropertiesFormat.md docs/LoadBalancerSku.md docs/LoadBalancingRule.md docs/LoadBalancingRulePropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkInterface.md docs/NetworkInterface2.md docs/NetworkInterfaceDnsSettings.md @@ -69,10 +82,18 @@ docs/NetworkSecurityGroupPropertiesFormat.md docs/OutboundRule.md docs/OutboundRulePropertiesFormat.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/Probe.md docs/ProbePropertiesFormat.md docs/ProvisioningState.md @@ -83,6 +104,7 @@ docs/PublicIPAddressSku.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -116,6 +138,8 @@ src/modelincludes.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl src/models/model_BackendAddressPool.jl @@ -131,11 +155,14 @@ src/models/model_EffectiveNetworkSecurityGroupListResult.jl src/models/model_EffectiveNetworkSecurityRule.jl src/models/model_EffectiveRoute.jl src/models/model_EffectiveRouteListResult.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfiguration2.jl @@ -149,6 +176,8 @@ src/models/model_InboundNatPoolPropertiesFormat.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancer.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -156,6 +185,12 @@ src/models/model_LoadBalancerPropertiesFormat.jl src/models/model_LoadBalancerSku.jl src/models/model_LoadBalancingRule.jl src/models/model_LoadBalancingRulePropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterface2.jl src/models/model_NetworkInterfaceDnsSettings.jl @@ -181,10 +216,18 @@ src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_OutboundRule.jl src/models/model_OutboundRulePropertiesFormat.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_Probe.jl src/models/model_ProbePropertiesFormat.jl src/models/model_ProvisioningState.jl @@ -195,6 +238,7 @@ src/models/model_PublicIPAddressSku.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl diff --git a/src/Network/NetworkInterfaceClient/.openapi-generator/VERSION b/src/Network/NetworkInterfaceClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/NetworkInterfaceClient/.openapi-generator/VERSION +++ b/src/Network/NetworkInterfaceClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/NetworkInterfaceClient/README.md b/src/Network/NetworkInterfaceClient/README.md index 4f32464..ebffcc2 100644 --- a/src/Network/NetworkInterfaceClient/README.md +++ b/src/Network/NetworkInterfaceClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -42,6 +43,8 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) - [BackendAddressPool](docs/BackendAddressPool.md) @@ -57,11 +60,14 @@ Class | Method - [EffectiveNetworkSecurityRule](docs/EffectiveNetworkSecurityRule.md) - [EffectiveRoute](docs/EffectiveRoute.md) - [EffectiveRouteListResult](docs/EffectiveRouteListResult.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfiguration2](docs/IPConfiguration2.md) @@ -75,6 +81,8 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancer](docs/LoadBalancer.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) @@ -82,6 +90,12 @@ Class | Method - [LoadBalancerSku](docs/LoadBalancerSku.md) - [LoadBalancingRule](docs/LoadBalancingRule.md) - [LoadBalancingRulePropertiesFormat](docs/LoadBalancingRulePropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterface2](docs/NetworkInterface2.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) @@ -107,10 +121,18 @@ Class | Method - [OutboundRule](docs/OutboundRule.md) - [OutboundRulePropertiesFormat](docs/OutboundRulePropertiesFormat.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [Probe](docs/Probe.md) - [ProbePropertiesFormat](docs/ProbePropertiesFormat.md) - [ProvisioningState](docs/ProvisioningState.md) @@ -121,6 +143,7 @@ Class | Method - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -150,9 +173,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/NetworkInterfaceClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/NetworkInterfaceClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md index 166b351..cea0c40 100644 --- a/src/Network/NetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration2}**](NetworkInterfaceIPConfiguration2.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration2}**](NetworkInterfaceIPConfiguration2.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/DdosSettings.md b/src/Network/NetworkInterfaceClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/NetworkInterfaceClient/docs/DdosSettings.md +++ b/src/Network/NetworkInterfaceClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/Delegation.md b/src/Network/NetworkInterfaceClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/NetworkInterfaceClient/docs/Delegation.md +++ b/src/Network/NetworkInterfaceClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/EffectiveNetworkSecurityGroupAssociation.md b/src/Network/NetworkInterfaceClient/docs/EffectiveNetworkSecurityGroupAssociation.md index 6572cdf..ebbec86 100644 --- a/src/Network/NetworkInterfaceClient/docs/EffectiveNetworkSecurityGroupAssociation.md +++ b/src/Network/NetworkInterfaceClient/docs/EffectiveNetworkSecurityGroupAssociation.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**networkManager** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **networkInterface** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/ExtendedLocation.md b/src/Network/NetworkInterfaceClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/ExtendedLocationType.md b/src/Network/NetworkInterfaceClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/FlowLog.md b/src/Network/NetworkInterfaceClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/NetworkInterfaceClient/docs/FlowLog.md +++ b/src/Network/NetworkInterfaceClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/FlowLogFormatParameters.md b/src/Network/NetworkInterfaceClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/NetworkInterfaceClient/docs/FlowLogFormatParameters.md +++ b/src/Network/NetworkInterfaceClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/FlowLogPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/NetworkInterfaceClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md index 537d6d3..b93377b 100644 --- a/src/Network/NetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/NetworkInterfaceClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md index 1603dd2..ecf81f5 100644 --- a/src/Network/NetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/IpamPoolPrefixAllocation.md b/src/Network/NetworkInterfaceClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/NetworkInterfaceClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/LoadBalancer.md b/src/Network/NetworkInterfaceClient/docs/LoadBalancer.md index 51256e9..d59ff0f 100644 --- a/src/Network/NetworkInterfaceClient/docs/LoadBalancer.md +++ b/src/Network/NetworkInterfaceClient/docs/LoadBalancer.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***LoadBalancerSku**](LoadBalancerSku.md) | | [optional] [default to nothing] **properties** | [***LoadBalancerPropertiesFormat**](LoadBalancerPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/NetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/LoadBalancerPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/LoadBalancerPropertiesFormat.md index b2d8456..9801726 100644 --- a/src/Network/NetworkInterfaceClient/docs/LoadBalancerPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/LoadBalancerPropertiesFormat.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **loadBalancingRules** | [**Vector{LoadBalancingRule}**](LoadBalancingRule.md) | Object collection representing the load balancing rules Gets the provisioning. | [optional] [default to nothing] **probes** | [**Vector{Probe}**](Probe.md) | Collection of probe objects used in the load balancer. | [optional] [default to nothing] **inboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. | [optional] [default to nothing] -**inboundNatPools** | [**Vector{InboundNatPool}**](InboundNatPool.md) | Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. | [optional] [default to nothing] +**inboundNatPools** | [**Vector{InboundNatPool}**](InboundNatPool.md) | Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. | [optional] [default to nothing] **outboundRules** | [**Vector{OutboundRule}**](OutboundRule.md) | The outbound rules. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the load balancer resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/LoadBalancerSku.md b/src/Network/NetworkInterfaceClient/docs/LoadBalancerSku.md index 71d4a1b..9302e46 100644 --- a/src/Network/NetworkInterfaceClient/docs/LoadBalancerSku.md +++ b/src/Network/NetworkInterfaceClient/docs/LoadBalancerSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a load balancer SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a load balancer SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/LoadBalancingRulePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/LoadBalancingRulePropertiesFormat.md index 3e6a289..68f1db7 100644 --- a/src/Network/NetworkInterfaceClient/docs/LoadBalancingRulePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/LoadBalancingRulePropertiesFormat.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **frontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**backendAddressPools** | [**Vector{SubResource}**](SubResource.md) | An array of references to pool of DIPs. | [optional] [default to nothing] **probe** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **protocol** | [***TransportProtocol**](TransportProtocol.md) | | [default to nothing] **loadDistribution** | **String** | The load distribution policy for this rule. | [optional] [default to nothing] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **disableOutboundSnat** | **Bool** | Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. | [optional] [default to nothing] +**enableConnectionTracking** | **Bool** | Defines whether connections between 2 communicating endpoints can be tracked and associated to the same backend VM over its lifetime when using UDP protocol. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/ManagedServiceIdentity.md b/src/Network/NetworkInterfaceClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/NetworkInterfaceClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/NatGateway.md b/src/Network/NetworkInterfaceClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/NatGatewayPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/NatGatewaySku.md b/src/Network/NetworkInterfaceClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/NatRulePortMapping.md b/src/Network/NetworkInterfaceClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterface.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterface.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterface2.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterface2.md index e62cd56..705aee0 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterface2.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterface2.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat2**](NetworkInterfacePropertiesFormat2.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration2.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration2.md index e1aaa0f..17ac112 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration2.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration2.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat2**](NetworkInterfaceIPConfigurationPropertiesFormat2.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index ea69054..2f6ff4a 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat2.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat2.md index cff7081..0b0bda5 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat2.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat2.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat2.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat2.md index df02b32..dbef644 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat2.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat2.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings2**](NetworkInterfaceDnsSettings2.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkInterfacesApi.md b/src/Network/NetworkInterfaceClient/docs/NetworkInterfacesApi.md index 3426b73..4c9c685 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkInterfacesApi.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkInterfacesApi.md @@ -34,11 +34,11 @@ Gets the specified network interface ip configuration. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**ip_configuration_name** | **String**| The name of the ip configuration name. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**ip_configuration_name** | **String** | The name of the ip configuration name. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -68,10 +68,10 @@ Get all ip configurations in a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -101,10 +101,10 @@ List all load balancers in a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -134,12 +134,12 @@ Creates or updates a Tap configuration in the specified NetworkInterface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**tap_configuration_name** | **String**| The name of the tap configuration. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**tap_configuration_parameters** | [**NetworkInterfaceTapConfiguration**](NetworkInterfaceTapConfiguration.md)| Parameters supplied to the create or update tap configuration operation. | +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**tap_configuration_name** | **String** | The name of the tap configuration. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**tap_configuration_parameters** | [**NetworkInterfaceTapConfiguration**](NetworkInterfaceTapConfiguration.md) | Parameters supplied to the create or update tap configuration operation. | ### Return type @@ -169,11 +169,11 @@ Deletes the specified tap configuration from the NetworkInterface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**tap_configuration_name** | **String**| The name of the tap configuration. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**tap_configuration_name** | **String** | The name of the tap configuration. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -203,11 +203,11 @@ Get the specified tap configuration on a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**tap_configuration_name** | **String**| The name of the tap configuration. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**tap_configuration_name** | **String** | The name of the tap configuration. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -237,10 +237,10 @@ Get all Tap configurations in a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -270,11 +270,11 @@ Creates or updates a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**NetworkInterface**](NetworkInterface.md)| Parameters supplied to the create or update network interface operation. | +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**NetworkInterface**](NetworkInterface.md) | Parameters supplied to the create or update network interface operation. | ### Return type @@ -304,10 +304,10 @@ Deletes the specified network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -337,16 +337,16 @@ Gets information about the specified network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -376,10 +376,10 @@ Gets all route tables applied to a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -409,9 +409,9 @@ Gets all network interfaces in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -441,8 +441,8 @@ Gets all network interfaces in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -472,10 +472,10 @@ Gets all network security groups applied to a network interface. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -505,11 +505,11 @@ Updates a network interface tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update network interface tags. | +**resource_group_name** | **String** | The name of the resource group. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update network interface tags. | ### Return type diff --git a/src/Network/NetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md index 53aa815..95819f8 100644 --- a/src/Network/NetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface2}**](NetworkInterface2.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateEndpoint.md b/src/Network/NetworkInterfaceClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/NetworkInterfaceClient/docs/PrivateEndpoint.md +++ b/src/Network/NetworkInterfaceClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateEndpointConnection.md b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateEndpointProperties.md b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointProperties.md index efc026e..3e9380d 100644 --- a/src/Network/NetworkInterfaceClient/docs/PrivateEndpointProperties.md +++ b/src/Network/NetworkInterfaceClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateLinkService.md b/src/Network/NetworkInterfaceClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceProperties.md b/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..11d35db --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface2}**](NetworkInterface2.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/ProbePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/ProbePropertiesFormat.md index e05753b..a153c5d 100644 --- a/src/Network/NetworkInterfaceClient/docs/ProbePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/ProbePropertiesFormat.md @@ -8,7 +8,9 @@ Name | Type | Description | Notes **protocol** | **String** | The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. | [default to nothing] **port** | **Int64** | The port for communicating the probe. Possible values range from 1 to 65535, inclusive. | [default to nothing] **intervalInSeconds** | **Int64** | The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5. | [optional] [default to nothing] +**noHealthyBackendsBehavior** | **String** | Determines how new connections are handled by the load balancer when all backend instances are probed down. | [optional] [default to nothing] **numberOfProbes** | **Int64** | The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. | [optional] [default to nothing] +**probeThreshold** | **Int64** | The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation. | [optional] [default to nothing] **requestPath** | **String** | The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/PublicIPAddress.md b/src/Network/NetworkInterfaceClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/NetworkInterfaceClient/docs/PublicIPAddress.md +++ b/src/Network/NetworkInterfaceClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md b/src/Network/NetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/NetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/NetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md index f34e9db..3b0ca8f 100644 --- a/src/Network/NetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/PublicIPAddressSku.md b/src/Network/NetworkInterfaceClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/NetworkInterfaceClient/docs/PublicIPAddressSku.md +++ b/src/Network/NetworkInterfaceClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/ResourceSet.md b/src/Network/NetworkInterfaceClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkInterfaceClient/docs/RetentionPolicyParameters.md b/src/Network/NetworkInterfaceClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/NetworkInterfaceClient/docs/RetentionPolicyParameters.md +++ b/src/Network/NetworkInterfaceClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/NetworkInterfaceClient/docs/Route.md b/src/Network/NetworkInterfaceClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/NetworkInterfaceClient/docs/Route.md +++ b/src/Network/NetworkInterfaceClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/RoutePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/NetworkInterfaceClient/docs/RoutePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/RouteTablePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/NetworkInterfaceClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/SecurityRule.md b/src/Network/NetworkInterfaceClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/NetworkInterfaceClient/docs/SecurityRule.md +++ b/src/Network/NetworkInterfaceClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/NetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicy.md b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/Subnet.md b/src/Network/NetworkInterfaceClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/NetworkInterfaceClient/docs/Subnet.md +++ b/src/Network/NetworkInterfaceClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkInterfaceClient/docs/SubnetPropertiesFormat.md b/src/Network/NetworkInterfaceClient/docs/SubnetPropertiesFormat.md index 234fb0d..6f50cb5 100644 --- a/src/Network/NetworkInterfaceClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/NetworkInterfaceClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkInterfaceClient/src/NetworkInterfaceClient.jl b/src/Network/NetworkInterfaceClient/src/NetworkInterfaceClient.jl index 0530e50..c5da002 100644 --- a/src/Network/NetworkInterfaceClient/src/NetworkInterfaceClient.jl +++ b/src/Network/NetworkInterfaceClient/src/NetworkInterfaceClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/NetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl b/src/Network/NetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl index f019bf9..92d757e 100644 --- a/src/Network/NetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl +++ b/src/Network/NetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_network_interface_i_p_configurations_get(_api::NetworkInte OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "ipConfigurationName", ip_configuration_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -59,7 +59,7 @@ function _oacinternal_network_interface_i_p_configurations_list(_api::NetworkInt OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -95,7 +95,7 @@ function _oacinternal_network_interface_load_balancers_list(_api::NetworkInterfa OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -133,7 +133,7 @@ function _oacinternal_network_interface_tap_configurations_create_or_update(_api OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "tapConfigurationName", tap_configuration_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -174,7 +174,7 @@ function _oacinternal_network_interface_tap_configurations_delete(_api::NetworkI OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "tapConfigurationName", tap_configuration_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -212,7 +212,7 @@ function _oacinternal_network_interface_tap_configurations_get(_api::NetworkInte OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "tapConfigurationName", tap_configuration_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -249,7 +249,7 @@ function _oacinternal_network_interface_tap_configurations_list(_api::NetworkInt OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -286,7 +286,7 @@ function _oacinternal_network_interfaces_create_or_update(_api::NetworkInterface OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -325,7 +325,7 @@ function _oacinternal_network_interfaces_delete(_api::NetworkInterfacesApi, reso OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -361,8 +361,8 @@ function _oacinternal_network_interfaces_get(_api::NetworkInterfacesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -400,7 +400,7 @@ function _oacinternal_network_interfaces_get_effective_route_table(_api::Network OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -435,7 +435,7 @@ function _oacinternal_network_interfaces_list(_api::NetworkInterfacesApi, resour _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_network_interfaces_list_NetworkInterfacesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -468,7 +468,7 @@ const _returntypes_network_interfaces_list_all_NetworkInterfacesApi = Dict{Regex function _oacinternal_network_interfaces_list_all(_api::NetworkInterfacesApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_network_interfaces_list_all_NetworkInterfacesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -503,7 +503,7 @@ function _oacinternal_network_interfaces_list_effective_network_security_groups( OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -539,7 +539,7 @@ function _oacinternal_network_interfaces_update_tags(_api::NetworkInterfacesApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/NetworkInterfaceClient/src/modelincludes.jl b/src/Network/NetworkInterfaceClient/src/modelincludes.jl index 9501bbe..f62f9f2 100644 --- a/src/Network/NetworkInterfaceClient/src/modelincludes.jl +++ b/src/Network/NetworkInterfaceClient/src/modelincludes.jl @@ -4,6 +4,8 @@ include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") include("models/model_BackendAddressPool.jl") @@ -19,11 +21,14 @@ include("models/model_EffectiveNetworkSecurityGroupListResult.jl") include("models/model_EffectiveNetworkSecurityRule.jl") include("models/model_EffectiveRoute.jl") include("models/model_EffectiveRouteListResult.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfiguration2.jl") @@ -37,6 +42,8 @@ include("models/model_InboundNatPoolPropertiesFormat.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancer.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") @@ -44,6 +51,12 @@ include("models/model_LoadBalancerPropertiesFormat.jl") include("models/model_LoadBalancerSku.jl") include("models/model_LoadBalancingRule.jl") include("models/model_LoadBalancingRulePropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterface2.jl") include("models/model_NetworkInterfaceDnsSettings.jl") @@ -69,10 +82,18 @@ include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_OutboundRule.jl") include("models/model_OutboundRulePropertiesFormat.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_Probe.jl") include("models/model_ProbePropertiesFormat.jl") include("models/model_ProvisioningState.jl") @@ -83,6 +104,7 @@ include("models/model_PublicIPAddressSku.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index 16d2fe6..fb83a0e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration2}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPool.jl b/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 7e6003f..2304128 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration2} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration2} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration2} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration2} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration2}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration2}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_CloudError.jl b/src/Network/NetworkInterfaceClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_CloudError.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_CloudErrorBody.jl b/src/Network/NetworkInterfaceClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_DdosSettings.jl b/src/Network/NetworkInterfaceClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_DdosSettings.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_Delegation.jl b/src/Network/NetworkInterfaceClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_Delegation.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroup.jl b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroup.jl index d00afca..8ac1aa9 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroup.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroup.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct EffectiveNetworkSecurityGroup <: OpenAPI.APIModel tagMap::Union{Nothing, String} = nothing function EffectiveNetworkSecurityGroup(networkSecurityGroup, association, effectiveSecurityRules, tagMap, ) - OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("association"), association) - OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("effectiveSecurityRules"), effectiveSecurityRules) - OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("tagMap"), tagMap) - return new(networkSecurityGroup, association, effectiveSecurityRules, tagMap, ) + o = new(networkSecurityGroup, association, effectiveSecurityRules, tagMap, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveNetworkSecurityGroup const _property_types_EffectiveNetworkSecurityGroup = Dict{Symbol,String}(Symbol("networkSecurityGroup")=>"SubResource", Symbol("association")=>"EffectiveNetworkSecurityGroupAssociation", Symbol("effectiveSecurityRules")=>"Vector{EffectiveNetworkSecurityRule}", Symbol("tagMap")=>"String", ) OpenAPI.property_type(::Type{ EffectiveNetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveNetworkSecurityGroup[name]))} -function check_required(o::EffectiveNetworkSecurityGroup) +function OpenAPI.check_required(o::EffectiveNetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::EffectiveNetworkSecurityGroup) + OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("association"), o.association) + OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("effectiveSecurityRules"), o.effectiveSecurityRules) + OpenAPI.validate_property(EffectiveNetworkSecurityGroup, Symbol("tagMap"), o.tagMap) +end + function OpenAPI.validate_property(::Type{ EffectiveNetworkSecurityGroup }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupAssociation.jl b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupAssociation.jl index a89f05a..c613560 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupAssociation.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupAssociation.jl @@ -6,30 +6,42 @@ The effective network security group association. EffectiveNetworkSecurityGroupAssociation(; + networkManager=nothing, subnet=nothing, networkInterface=nothing, ) + - networkManager::SubResource - subnet::SubResource - networkInterface::SubResource """ Base.@kwdef mutable struct EffectiveNetworkSecurityGroupAssociation <: OpenAPI.APIModel + networkManager = nothing # spec type: Union{ Nothing, SubResource } subnet = nothing # spec type: Union{ Nothing, SubResource } networkInterface = nothing # spec type: Union{ Nothing, SubResource } - function EffectiveNetworkSecurityGroupAssociation(subnet, networkInterface, ) - OpenAPI.validate_property(EffectiveNetworkSecurityGroupAssociation, Symbol("subnet"), subnet) - OpenAPI.validate_property(EffectiveNetworkSecurityGroupAssociation, Symbol("networkInterface"), networkInterface) - return new(subnet, networkInterface, ) + function EffectiveNetworkSecurityGroupAssociation(networkManager, subnet, networkInterface, ) + o = new(networkManager, subnet, networkInterface, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveNetworkSecurityGroupAssociation -const _property_types_EffectiveNetworkSecurityGroupAssociation = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("networkInterface")=>"SubResource", ) +const _property_types_EffectiveNetworkSecurityGroupAssociation = Dict{Symbol,String}(Symbol("networkManager")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("networkInterface")=>"SubResource", ) OpenAPI.property_type(::Type{ EffectiveNetworkSecurityGroupAssociation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveNetworkSecurityGroupAssociation[name]))} -function check_required(o::EffectiveNetworkSecurityGroupAssociation) +function OpenAPI.check_required(o::EffectiveNetworkSecurityGroupAssociation) true end +function OpenAPI.validate_properties(o::EffectiveNetworkSecurityGroupAssociation) + OpenAPI.validate_property(EffectiveNetworkSecurityGroupAssociation, Symbol("networkManager"), o.networkManager) + OpenAPI.validate_property(EffectiveNetworkSecurityGroupAssociation, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(EffectiveNetworkSecurityGroupAssociation, Symbol("networkInterface"), o.networkInterface) +end + function OpenAPI.validate_property(::Type{ EffectiveNetworkSecurityGroupAssociation }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupListResult.jl b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupListResult.jl index 4bc9f11..6d6ec7b 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupListResult.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityGroupListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct EffectiveNetworkSecurityGroupListResult <: OpenAPI.AP nextLink::Union{Nothing, String} = nothing function EffectiveNetworkSecurityGroupListResult(value, nextLink, ) - OpenAPI.validate_property(EffectiveNetworkSecurityGroupListResult, Symbol("value"), value) - OpenAPI.validate_property(EffectiveNetworkSecurityGroupListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveNetworkSecurityGroupListResult const _property_types_EffectiveNetworkSecurityGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{EffectiveNetworkSecurityGroup}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ EffectiveNetworkSecurityGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveNetworkSecurityGroupListResult[name]))} -function check_required(o::EffectiveNetworkSecurityGroupListResult) +function OpenAPI.check_required(o::EffectiveNetworkSecurityGroupListResult) true end +function OpenAPI.validate_properties(o::EffectiveNetworkSecurityGroupListResult) + OpenAPI.validate_property(EffectiveNetworkSecurityGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(EffectiveNetworkSecurityGroupListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ EffectiveNetworkSecurityGroupListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityRule.jl b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityRule.jl index c5dad8a..9e61e6a 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityRule.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveNetworkSecurityRule.jl @@ -57,37 +57,58 @@ Base.@kwdef mutable struct EffectiveNetworkSecurityRule <: OpenAPI.APIModel direction = nothing # spec type: Union{ Nothing, SecurityRuleDirection } function EffectiveNetworkSecurityRule(name, protocol, sourcePortRange, destinationPortRange, sourcePortRanges, destinationPortRanges, sourceAddressPrefix, destinationAddressPrefix, sourceAddressPrefixes, destinationAddressPrefixes, expandedSourceAddressPrefix, expandedDestinationAddressPrefix, access, priority, direction, ) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("name"), name) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("protocol"), protocol) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedSourceAddressPrefix"), expandedSourceAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedDestinationAddressPrefix"), expandedDestinationAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("access"), access) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("priority"), priority) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("direction"), direction) - return new(name, protocol, sourcePortRange, destinationPortRange, sourcePortRanges, destinationPortRanges, sourceAddressPrefix, destinationAddressPrefix, sourceAddressPrefixes, destinationAddressPrefixes, expandedSourceAddressPrefix, expandedDestinationAddressPrefix, access, priority, direction, ) + o = new(name, protocol, sourcePortRange, destinationPortRange, sourcePortRanges, destinationPortRanges, sourceAddressPrefix, destinationAddressPrefix, sourceAddressPrefixes, destinationAddressPrefixes, expandedSourceAddressPrefix, expandedDestinationAddressPrefix, access, priority, direction, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveNetworkSecurityRule const _property_types_EffectiveNetworkSecurityRule = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("sourceAddressPrefix")=>"String", Symbol("destinationAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("expandedSourceAddressPrefix")=>"Vector{String}", Symbol("expandedDestinationAddressPrefix")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", ) OpenAPI.property_type(::Type{ EffectiveNetworkSecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveNetworkSecurityRule[name]))} -function check_required(o::EffectiveNetworkSecurityRule) +function OpenAPI.check_required(o::EffectiveNetworkSecurityRule) true end +function OpenAPI.validate_properties(o::EffectiveNetworkSecurityRule) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedSourceAddressPrefix"), o.expandedSourceAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedDestinationAddressPrefix"), o.expandedDestinationAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("access"), o.access) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("priority"), o.priority) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("direction"), o.direction) +end + function OpenAPI.validate_property(::Type{ EffectiveNetworkSecurityRule }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "EffectiveNetworkSecurityRule", :enum, val, ["Tcp", "Udp", "All"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "EffectiveNetworkSecurityRule", :format, val, "int32") end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRoute.jl b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRoute.jl index 432c64f..e03c0e5 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRoute.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRoute.jl @@ -33,29 +33,43 @@ Base.@kwdef mutable struct EffectiveRoute <: OpenAPI.APIModel nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } function EffectiveRoute(name, disableBgpRoutePropagation, source, state, addressPrefix, nextHopIpAddress, nextHopType, ) - OpenAPI.validate_property(EffectiveRoute, Symbol("name"), name) - OpenAPI.validate_property(EffectiveRoute, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(EffectiveRoute, Symbol("source"), source) - OpenAPI.validate_property(EffectiveRoute, Symbol("state"), state) - OpenAPI.validate_property(EffectiveRoute, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(EffectiveRoute, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(EffectiveRoute, Symbol("nextHopType"), nextHopType) - return new(name, disableBgpRoutePropagation, source, state, addressPrefix, nextHopIpAddress, nextHopType, ) + o = new(name, disableBgpRoutePropagation, source, state, addressPrefix, nextHopIpAddress, nextHopType, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveRoute const _property_types_EffectiveRoute = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("source")=>"String", Symbol("state")=>"String", Symbol("addressPrefix")=>"Vector{String}", Symbol("nextHopIpAddress")=>"Vector{String}", Symbol("nextHopType")=>"RouteNextHopType", ) OpenAPI.property_type(::Type{ EffectiveRoute }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveRoute[name]))} -function check_required(o::EffectiveRoute) +function OpenAPI.check_required(o::EffectiveRoute) true end +function OpenAPI.validate_properties(o::EffectiveRoute) + OpenAPI.validate_property(EffectiveRoute, Symbol("name"), o.name) + OpenAPI.validate_property(EffectiveRoute, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(EffectiveRoute, Symbol("source"), o.source) + OpenAPI.validate_property(EffectiveRoute, Symbol("state"), o.state) + OpenAPI.validate_property(EffectiveRoute, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(EffectiveRoute, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(EffectiveRoute, Symbol("nextHopType"), o.nextHopType) +end + function OpenAPI.validate_property(::Type{ EffectiveRoute }, name::Symbol, val) + + + if name === Symbol("source") OpenAPI.validate_param(name, "EffectiveRoute", :enum, val, ["Unknown", "User", "VirtualNetworkGateway", "Default"]) end + + if name === Symbol("state") OpenAPI.validate_param(name, "EffectiveRoute", :enum, val, ["Active", "Invalid"]) end + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRouteListResult.jl b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRouteListResult.jl index 88b50b2..9b14895 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRouteListResult.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_EffectiveRouteListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct EffectiveRouteListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function EffectiveRouteListResult(value, nextLink, ) - OpenAPI.validate_property(EffectiveRouteListResult, Symbol("value"), value) - OpenAPI.validate_property(EffectiveRouteListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveRouteListResult const _property_types_EffectiveRouteListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{EffectiveRoute}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ EffectiveRouteListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveRouteListResult[name]))} -function check_required(o::EffectiveRouteListResult) +function OpenAPI.check_required(o::EffectiveRouteListResult) true end +function OpenAPI.validate_properties(o::EffectiveRouteListResult) + OpenAPI.validate_property(EffectiveRouteListResult, Symbol("value"), o.value) + OpenAPI.validate_property(EffectiveRouteListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ EffectiveRouteListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ExtendedLocation.jl b/src/Network/NetworkInterfaceClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ExtendedLocationType.jl b/src/Network/NetworkInterfaceClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_FlowLog.jl b/src/Network/NetworkInterfaceClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_FlowLog.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/NetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 3545ff4..d235f7e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/NetworkInterfaceClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration2.jl b/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration2.jl index c9c00a7..49ccad2 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IPConfiguration2.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration2 <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration2(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration2, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration2, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration2, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration2, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration2 const _property_types_IPConfiguration2 = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration2[name]))} -function check_required(o::IPConfiguration2) +function OpenAPI.check_required(o::IPConfiguration2) true end +function OpenAPI.validate_properties(o::IPConfiguration2) + OpenAPI.validate_property(IPConfiguration2, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration2, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration2, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration2 }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl index 613e62d..7b5e780 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat2.jl b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat2.jl index f5119e0..859e6cf 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat2 <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat2(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat2 const _property_types_IPConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat2[name]))} -function check_required(o::IPConfigurationPropertiesFormat2) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat2) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat2) + OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPool.jl b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPool.jl index 7e2ca35..78ef585 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPool.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatPool, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatPool, Symbol("name"), name) - OpenAPI.validate_property(InboundNatPool, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatPool, Symbol("type"), type) - OpenAPI.validate_property(InboundNatPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatPool const _property_types_InboundNatPool = Dict{Symbol,String}(Symbol("properties")=>"InboundNatPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatPool[name]))} -function check_required(o::InboundNatPool) +function OpenAPI.check_required(o::InboundNatPool) true end +function OpenAPI.validate_properties(o::InboundNatPool) + OpenAPI.validate_property(InboundNatPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatPool, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatPool, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPoolPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPoolPropertiesFormat.jl index 87e6f25..6fbe785 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPoolPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatPoolPropertiesFormat.jl @@ -39,23 +39,16 @@ Base.@kwdef mutable struct InboundNatPoolPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function InboundNatPoolPropertiesFormat(frontendIPConfiguration, protocol, frontendPortRangeStart, frontendPortRangeEnd, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeStart"), frontendPortRangeStart) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeEnd"), frontendPortRangeEnd) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, protocol, frontendPortRangeStart, frontendPortRangeEnd, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + o = new(frontendIPConfiguration, protocol, frontendPortRangeStart, frontendPortRangeEnd, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatPoolPropertiesFormat const _property_types_InboundNatPoolPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatPoolPropertiesFormat[name]))} -function check_required(o::InboundNatPoolPropertiesFormat) +function OpenAPI.check_required(o::InboundNatPoolPropertiesFormat) o.protocol === nothing && (return false) o.frontendPortRangeStart === nothing && (return false) o.frontendPortRangeEnd === nothing && (return false) @@ -63,17 +56,38 @@ function check_required(o::InboundNatPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatPoolPropertiesFormat) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatPoolPropertiesFormat }, name::Symbol, val) + + + if name === Symbol("frontendPortRangeStart") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + if name === Symbol("frontendPortRangeEnd") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatPoolPropertiesFormat", :format, val, "int32") end + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRule.jl b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRule.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl index 516c5ee..af21e63 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration2", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration2", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IpTag.jl b/src/Network/NetworkInterfaceClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_IpTag.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/NetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/NetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancer.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancer.jl index 79efd6b..e03a19a 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancer.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancer.jl @@ -6,6 +6,7 @@ LoadBalancer resource. LoadBalancer(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -16,6 +17,7 @@ LoadBalancer resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::LoadBalancerSku - properties::LoadBalancerPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -26,6 +28,7 @@ LoadBalancer resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct LoadBalancer <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, LoadBalancerSku } properties = nothing # spec type: Union{ Nothing, LoadBalancerPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -35,25 +38,40 @@ Base.@kwdef mutable struct LoadBalancer <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function LoadBalancer(sku, properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(LoadBalancer, Symbol("sku"), sku) - OpenAPI.validate_property(LoadBalancer, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancer, Symbol("etag"), etag) - OpenAPI.validate_property(LoadBalancer, Symbol("id"), id) - OpenAPI.validate_property(LoadBalancer, Symbol("name"), name) - OpenAPI.validate_property(LoadBalancer, Symbol("type"), type) - OpenAPI.validate_property(LoadBalancer, Symbol("location"), location) - OpenAPI.validate_property(LoadBalancer, Symbol("tags"), tags) - return new(sku, properties, etag, id, name, type, location, tags, ) + function LoadBalancer(extendedLocation, sku, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancer -const _property_types_LoadBalancer = Dict{Symbol,String}(Symbol("sku")=>"LoadBalancerSku", Symbol("properties")=>"LoadBalancerPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_LoadBalancer = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"LoadBalancerSku", Symbol("properties")=>"LoadBalancerPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ LoadBalancer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancer[name]))} -function check_required(o::LoadBalancer) +function OpenAPI.check_required(o::LoadBalancer) true end +function OpenAPI.validate_properties(o::LoadBalancer) + OpenAPI.validate_property(LoadBalancer, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(LoadBalancer, Symbol("sku"), o.sku) + OpenAPI.validate_property(LoadBalancer, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancer, Symbol("etag"), o.etag) + OpenAPI.validate_property(LoadBalancer, Symbol("id"), o.id) + OpenAPI.validate_property(LoadBalancer, Symbol("name"), o.name) + OpenAPI.validate_property(LoadBalancer, Symbol("type"), o.type) + OpenAPI.validate_property(LoadBalancer, Symbol("location"), o.location) + OpenAPI.validate_property(LoadBalancer, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ LoadBalancer }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerPropertiesFormat.jl index 19e0fd8..41355da 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerPropertiesFormat.jl @@ -22,7 +22,7 @@ Properties of the load balancer. - loadBalancingRules::Vector{LoadBalancingRule} : Object collection representing the load balancing rules Gets the provisioning. - probes::Vector{Probe} : Collection of probe objects used in the load balancer. - inboundNatRules::Vector{InboundNatRule} : Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules. - - inboundNatPools::Vector{InboundNatPool} : Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound Nat rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. + - inboundNatPools::Vector{InboundNatPool} : Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules. - outboundRules::Vector{OutboundRule} : The outbound rules. - resourceGuid::String : The resource GUID property of the load balancer resource. - provisioningState::ProvisioningState @@ -39,25 +39,39 @@ Base.@kwdef mutable struct LoadBalancerPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function LoadBalancerPropertiesFormat(frontendIPConfigurations, backendAddressPools, loadBalancingRules, probes, inboundNatRules, inboundNatPools, outboundRules, resourceGuid, provisioningState, ) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("frontendIPConfigurations"), frontendIPConfigurations) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("backendAddressPools"), backendAddressPools) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("probes"), probes) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfigurations, backendAddressPools, loadBalancingRules, probes, inboundNatRules, inboundNatPools, outboundRules, resourceGuid, provisioningState, ) + o = new(frontendIPConfigurations, backendAddressPools, loadBalancingRules, probes, inboundNatRules, inboundNatPools, outboundRules, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerPropertiesFormat const _property_types_LoadBalancerPropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("backendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancingRules")=>"Vector{LoadBalancingRule}", Symbol("probes")=>"Vector{Probe}", Symbol("inboundNatRules")=>"Vector{InboundNatRule}", Symbol("inboundNatPools")=>"Vector{InboundNatPool}", Symbol("outboundRules")=>"Vector{OutboundRule}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ LoadBalancerPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerPropertiesFormat[name]))} -function check_required(o::LoadBalancerPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerPropertiesFormat) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("frontendIPConfigurations"), o.frontendIPConfigurations) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("backendAddressPools"), o.backendAddressPools) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("probes"), o.probes) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(LoadBalancerPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerSku.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerSku.jl index cf2f266..3002b8b 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerSku.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancerSku.jl @@ -7,28 +7,44 @@ SKU of a load balancer. LoadBalancerSku(; name=nothing, + tier=nothing, ) - name::String : Name of a load balancer SKU. + - tier::String : Tier of a load balancer SKU. """ Base.@kwdef mutable struct LoadBalancerSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function LoadBalancerSku(name, ) - OpenAPI.validate_property(LoadBalancerSku, Symbol("name"), name) - return new(name, ) + function LoadBalancerSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerSku -const _property_types_LoadBalancerSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_LoadBalancerSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerSku[name]))} -function check_required(o::LoadBalancerSku) +function OpenAPI.check_required(o::LoadBalancerSku) true end +function OpenAPI.validate_properties(o::LoadBalancerSku) + OpenAPI.validate_property(LoadBalancerSku, Symbol("name"), o.name) + OpenAPI.validate_property(LoadBalancerSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ LoadBalancerSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "LoadBalancerSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "LoadBalancerSku", :enum, val, ["Basic", "Standard", "Gateway"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "LoadBalancerSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRule.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRule.jl index a005b43..bb2fadb 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRule.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct LoadBalancingRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function LoadBalancingRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(LoadBalancingRule, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancingRule, Symbol("name"), name) - OpenAPI.validate_property(LoadBalancingRule, Symbol("etag"), etag) - OpenAPI.validate_property(LoadBalancingRule, Symbol("type"), type) - OpenAPI.validate_property(LoadBalancingRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancingRule const _property_types_LoadBalancingRule = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancingRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancingRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancingRule[name]))} -function check_required(o::LoadBalancingRule) +function OpenAPI.check_required(o::LoadBalancingRule) true end +function OpenAPI.validate_properties(o::LoadBalancingRule) + OpenAPI.validate_property(LoadBalancingRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancingRule, Symbol("name"), o.name) + OpenAPI.validate_property(LoadBalancingRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(LoadBalancingRule, Symbol("type"), o.type) + OpenAPI.validate_property(LoadBalancingRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ LoadBalancingRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRulePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRulePropertiesFormat.jl index f91dcd2..1359376 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRulePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_LoadBalancingRulePropertiesFormat.jl @@ -8,6 +8,7 @@ Properties of the load balancer. LoadBalancingRulePropertiesFormat(; frontendIPConfiguration=nothing, backendAddressPool=nothing, + backendAddressPools=nothing, probe=nothing, protocol=nothing, loadDistribution=nothing, @@ -17,11 +18,13 @@ Properties of the load balancer. enableFloatingIP=nothing, enableTcpReset=nothing, disableOutboundSnat=nothing, + enableConnectionTracking=nothing, provisioningState=nothing, ) - frontendIPConfiguration::SubResource - backendAddressPool::SubResource + - backendAddressPools::Vector{SubResource} : An array of references to pool of DIPs. - probe::SubResource - protocol::TransportProtocol - loadDistribution::String : The load distribution policy for this rule. @@ -31,11 +34,13 @@ Properties of the load balancer. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. - disableOutboundSnat::Bool : Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule. + - enableConnectionTracking::Bool : Defines whether connections between 2 communicating endpoints can be tracked and associated to the same backend VM over its lifetime when using UDP protocol. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct LoadBalancingRulePropertiesFormat <: OpenAPI.APIModel frontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } + backendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } probe = nothing # spec type: Union{ Nothing, SubResource } protocol = nothing # spec type: Union{ Nothing, TransportProtocol } loadDistribution::Union{Nothing, String} = nothing @@ -45,45 +50,68 @@ Base.@kwdef mutable struct LoadBalancingRulePropertiesFormat <: OpenAPI.APIModel enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing disableOutboundSnat::Union{Nothing, Bool} = nothing + enableConnectionTracking::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function LoadBalancingRulePropertiesFormat(frontendIPConfiguration, backendAddressPool, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, provisioningState, ) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("probe"), probe) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("loadDistribution"), loadDistribution) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("disableOutboundSnat"), disableOutboundSnat) - OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendAddressPool, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, provisioningState, ) + function LoadBalancingRulePropertiesFormat(frontendIPConfiguration, backendAddressPool, backendAddressPools, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, enableConnectionTracking, provisioningState, ) + o = new(frontendIPConfiguration, backendAddressPool, backendAddressPools, probe, protocol, loadDistribution, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, disableOutboundSnat, enableConnectionTracking, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancingRulePropertiesFormat -const _property_types_LoadBalancingRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendAddressPool")=>"SubResource", Symbol("probe")=>"SubResource", Symbol("protocol")=>"TransportProtocol", Symbol("loadDistribution")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("disableOutboundSnat")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_LoadBalancingRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendAddressPool")=>"SubResource", Symbol("backendAddressPools")=>"Vector{SubResource}", Symbol("probe")=>"SubResource", Symbol("protocol")=>"TransportProtocol", Symbol("loadDistribution")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("disableOutboundSnat")=>"Bool", Symbol("enableConnectionTracking")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ LoadBalancingRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancingRulePropertiesFormat[name]))} -function check_required(o::LoadBalancingRulePropertiesFormat) +function OpenAPI.check_required(o::LoadBalancingRulePropertiesFormat) o.protocol === nothing && (return false) o.frontendPort === nothing && (return false) true end +function OpenAPI.validate_properties(o::LoadBalancingRulePropertiesFormat) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendAddressPools"), o.backendAddressPools) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("probe"), o.probe) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("loadDistribution"), o.loadDistribution) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("disableOutboundSnat"), o.disableOutboundSnat) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("enableConnectionTracking"), o.enableConnectionTracking) + OpenAPI.validate_property(LoadBalancingRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ LoadBalancingRulePropertiesFormat }, name::Symbol, val) + + + + + + if name === Symbol("loadDistribution") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :enum, val, ["Default", "SourceIP", "SourceIPProtocol"]) end + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "LoadBalancingRulePropertiesFormat", :format, val, "int32") end + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/NetworkInterfaceClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/NetworkInterfaceClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NatGateway.jl b/src/Network/NetworkInterfaceClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NatGatewaySku.jl b/src/Network/NetworkInterfaceClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NatRulePortMapping.jl b/src/Network/NetworkInterfaceClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface2.jl index f201988..9aeeef8 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterface2.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface2(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat2 - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface2 <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat2 } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface2 <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface2(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface2, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface2, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface2, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface2, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface2, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface2, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface2, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface2(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface2 -const _property_types_NetworkInterface2 = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat2", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface2 = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat2", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface2[name]))} -function check_required(o::NetworkInterface2) +function OpenAPI.check_required(o::NetworkInterface2) true end +function OpenAPI.validate_properties(o::NetworkInterface2) + OpenAPI.validate_property(NetworkInterface2, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface2, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface2, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface2, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface2, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface2, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface2, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface2, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface2 }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings2.jl index 6b0be1d..810a58c 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings2 <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings2(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings2 const _property_types_NetworkInterfaceDnsSettings2 = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings2[name]))} -function check_required(o::NetworkInterfaceDnsSettings2) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings2) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings2) + OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings2, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration2.jl index 43cb305..df1abb5 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration2.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat2 - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration2 <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat2 } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration2(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration2(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration2 -const _property_types_NetworkInterfaceIPConfiguration2 = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration2 = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration2[name]))} -function check_required(o::NetworkInterfaceIPConfiguration2) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration2) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration2) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl index cc4a0df..f45a8e4 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationListResult <: OpenAPI. nextLink::Union{Nothing, String} = nothing function NetworkInterfaceIPConfigurationListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationListResult const _property_types_NetworkInterfaceIPConfigurationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationListResult[name]))} -function check_required(o::NetworkInterfaceIPConfigurationListResult) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationListResult) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2.jl index 9cac136..58f1101 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2 const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2 = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2 }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 9b701e5..edb3d91 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat2.jl index 8e06413..c2cdb17 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat2.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat2(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2 """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat2 <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat2 <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2 } - function NetworkInterfaceIPConfigurationPropertiesFormat2(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat2(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat2 -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties2", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat2[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat2) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat2) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat2) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat2, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat2 }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat2", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat2", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat2", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl index afecbe5..a492dbc 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function NetworkInterfaceListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceListResult const _property_types_NetworkInterfaceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkInterface}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceListResult[name]))} -function check_required(o::NetworkInterfaceListResult) +function OpenAPI.check_required(o::NetworkInterfaceListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceListResult) + OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceLoadBalancerListResult.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceLoadBalancerListResult.jl index a75e638..0f8879a 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceLoadBalancerListResult.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceLoadBalancerListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceLoadBalancerListResult <: OpenAPI.API nextLink::Union{Nothing, String} = nothing function NetworkInterfaceLoadBalancerListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceLoadBalancerListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceLoadBalancerListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceLoadBalancerListResult const _property_types_NetworkInterfaceLoadBalancerListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{LoadBalancer}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceLoadBalancerListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceLoadBalancerListResult[name]))} -function check_required(o::NetworkInterfaceLoadBalancerListResult) +function OpenAPI.check_required(o::NetworkInterfaceLoadBalancerListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceLoadBalancerListResult) + OpenAPI.validate_property(NetworkInterfaceLoadBalancerListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceLoadBalancerListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceLoadBalancerListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat2.jl index 35838fe..7092aca 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat2.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings2 - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat2 <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat2 <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings2 } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat2(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat2(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat2 -const _property_types_NetworkInterfacePropertiesFormat2 = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration2}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration2}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings2", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat2 = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration2}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration2}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings2", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat2[name]))} -function check_required(o::NetworkInterfacePropertiesFormat2) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat2) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat2) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat2, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat2 }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat2", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat2", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat2", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat2", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration2.jl index b6f88e1..a49d026 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration2 <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration2(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration2 const _property_types_NetworkInterfaceTapConfiguration2 = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration2[name]))} -function check_required(o::NetworkInterfaceTapConfiguration2) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration2) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration2) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationListResult.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationListResult.jl index dc5a2fe..cd7c4d8 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationListResult.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationListResult <: OpenAPI nextLink::Union{Nothing, String} = nothing function NetworkInterfaceTapConfigurationListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationListResult const _property_types_NetworkInterfaceTapConfigurationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationListResult[name]))} -function check_required(o::NetworkInterfaceTapConfigurationListResult) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationListResult) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat2.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat2.jl index b21dd3f..4c150ca 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat2.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat2.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat2 <: provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat2(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat2, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat2 const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat2 = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat2[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat2) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat2) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat2) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat2, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat2 }, name::Symbol, val) + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 1afbff0..1489e1a 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface2} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface2} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface2}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface2}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_OutboundRule.jl b/src/Network/NetworkInterfaceClient/src/models/model_OutboundRule.jl index 0663459..eba9157 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_OutboundRule.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_OutboundRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct OutboundRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function OutboundRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(OutboundRule, Symbol("properties"), properties) - OpenAPI.validate_property(OutboundRule, Symbol("name"), name) - OpenAPI.validate_property(OutboundRule, Symbol("etag"), etag) - OpenAPI.validate_property(OutboundRule, Symbol("type"), type) - OpenAPI.validate_property(OutboundRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type OutboundRule const _property_types_OutboundRule = Dict{Symbol,String}(Symbol("properties")=>"OutboundRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ OutboundRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OutboundRule[name]))} -function check_required(o::OutboundRule) +function OpenAPI.check_required(o::OutboundRule) true end +function OpenAPI.validate_properties(o::OutboundRule) + OpenAPI.validate_property(OutboundRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(OutboundRule, Symbol("name"), o.name) + OpenAPI.validate_property(OutboundRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(OutboundRule, Symbol("type"), o.type) + OpenAPI.validate_property(OutboundRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ OutboundRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_OutboundRulePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_OutboundRulePropertiesFormat.jl index 7fc8efb..8cc0095 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_OutboundRulePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_OutboundRulePropertiesFormat.jl @@ -33,32 +33,45 @@ Base.@kwdef mutable struct OutboundRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing function OutboundRulePropertiesFormat(allocatedOutboundPorts, frontendIPConfigurations, backendAddressPool, provisioningState, protocol, enableTcpReset, idleTimeoutInMinutes, ) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("allocatedOutboundPorts"), allocatedOutboundPorts) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("frontendIPConfigurations"), frontendIPConfigurations) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("backendAddressPool"), backendAddressPool) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - return new(allocatedOutboundPorts, frontendIPConfigurations, backendAddressPool, provisioningState, protocol, enableTcpReset, idleTimeoutInMinutes, ) + o = new(allocatedOutboundPorts, frontendIPConfigurations, backendAddressPool, provisioningState, protocol, enableTcpReset, idleTimeoutInMinutes, ) + OpenAPI.validate_properties(o) + return o end end # type OutboundRulePropertiesFormat const _property_types_OutboundRulePropertiesFormat = Dict{Symbol,String}(Symbol("allocatedOutboundPorts")=>"Int64", Symbol("frontendIPConfigurations")=>"Vector{SubResource}", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", Symbol("protocol")=>"String", Symbol("enableTcpReset")=>"Bool", Symbol("idleTimeoutInMinutes")=>"Int64", ) OpenAPI.property_type(::Type{ OutboundRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OutboundRulePropertiesFormat[name]))} -function check_required(o::OutboundRulePropertiesFormat) +function OpenAPI.check_required(o::OutboundRulePropertiesFormat) o.frontendIPConfigurations === nothing && (return false) o.backendAddressPool === nothing && (return false) o.protocol === nothing && (return false) true end +function OpenAPI.validate_properties(o::OutboundRulePropertiesFormat) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("allocatedOutboundPorts"), o.allocatedOutboundPorts) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("frontendIPConfigurations"), o.frontendIPConfigurations) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(OutboundRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) +end + function OpenAPI.validate_property(::Type{ OutboundRulePropertiesFormat }, name::Symbol, val) + if name === Symbol("allocatedOutboundPorts") OpenAPI.validate_param(name, "OutboundRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("protocol") OpenAPI.validate_param(name, "OutboundRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "All"]) end + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpoint.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl index ea350b0..83ce77f 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface2}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface2}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkService.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..abe5a34 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface2} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface2} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface2}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_Probe.jl b/src/Network/NetworkInterfaceClient/src/models/model_Probe.jl index c8f0eb0..221af34 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_Probe.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_Probe.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Probe <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function Probe(properties, name, etag, type, id, ) - OpenAPI.validate_property(Probe, Symbol("properties"), properties) - OpenAPI.validate_property(Probe, Symbol("name"), name) - OpenAPI.validate_property(Probe, Symbol("etag"), etag) - OpenAPI.validate_property(Probe, Symbol("type"), type) - OpenAPI.validate_property(Probe, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Probe const _property_types_Probe = Dict{Symbol,String}(Symbol("properties")=>"ProbePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Probe }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Probe[name]))} -function check_required(o::Probe) +function OpenAPI.check_required(o::Probe) true end +function OpenAPI.validate_properties(o::Probe) + OpenAPI.validate_property(Probe, Symbol("properties"), o.properties) + OpenAPI.validate_property(Probe, Symbol("name"), o.name) + OpenAPI.validate_property(Probe, Symbol("etag"), o.etag) + OpenAPI.validate_property(Probe, Symbol("type"), o.type) + OpenAPI.validate_property(Probe, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Probe }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ProbePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ProbePropertiesFormat.jl index d278491..d200345 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ProbePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ProbePropertiesFormat.jl @@ -10,7 +10,9 @@ Load balancer probe resource. protocol=nothing, port=nothing, intervalInSeconds=nothing, + noHealthyBackendsBehavior=nothing, numberOfProbes=nothing, + probeThreshold=nothing, requestPath=nothing, provisioningState=nothing, ) @@ -19,7 +21,9 @@ Load balancer probe resource. - protocol::String : The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful. - port::Int64 : The port for communicating the probe. Possible values range from 1 to 65535, inclusive. - intervalInSeconds::Int64 : The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5. + - noHealthyBackendsBehavior::String : Determines how new connections are handled by the load balancer when all backend instances are probed down. - numberOfProbes::Int64 : The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure. + - probeThreshold::Int64 : The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation. - requestPath::String : The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value. - provisioningState::ProvisioningState """ @@ -28,42 +32,68 @@ Base.@kwdef mutable struct ProbePropertiesFormat <: OpenAPI.APIModel protocol::Union{Nothing, String} = nothing port::Union{Nothing, Int64} = nothing intervalInSeconds::Union{Nothing, Int64} = nothing + noHealthyBackendsBehavior::Union{Nothing, String} = nothing numberOfProbes::Union{Nothing, Int64} = nothing + probeThreshold::Union{Nothing, Int64} = nothing requestPath::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ProbePropertiesFormat(loadBalancingRules, protocol, port, intervalInSeconds, numberOfProbes, requestPath, provisioningState, ) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("port"), port) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("intervalInSeconds"), intervalInSeconds) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("numberOfProbes"), numberOfProbes) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("requestPath"), requestPath) - OpenAPI.validate_property(ProbePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(loadBalancingRules, protocol, port, intervalInSeconds, numberOfProbes, requestPath, provisioningState, ) + function ProbePropertiesFormat(loadBalancingRules, protocol, port, intervalInSeconds, noHealthyBackendsBehavior, numberOfProbes, probeThreshold, requestPath, provisioningState, ) + o = new(loadBalancingRules, protocol, port, intervalInSeconds, noHealthyBackendsBehavior, numberOfProbes, probeThreshold, requestPath, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ProbePropertiesFormat -const _property_types_ProbePropertiesFormat = Dict{Symbol,String}(Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("protocol")=>"String", Symbol("port")=>"Int64", Symbol("intervalInSeconds")=>"Int64", Symbol("numberOfProbes")=>"Int64", Symbol("requestPath")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ProbePropertiesFormat = Dict{Symbol,String}(Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("protocol")=>"String", Symbol("port")=>"Int64", Symbol("intervalInSeconds")=>"Int64", Symbol("noHealthyBackendsBehavior")=>"String", Symbol("numberOfProbes")=>"Int64", Symbol("probeThreshold")=>"Int64", Symbol("requestPath")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ProbePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProbePropertiesFormat[name]))} -function check_required(o::ProbePropertiesFormat) +function OpenAPI.check_required(o::ProbePropertiesFormat) o.protocol === nothing && (return false) o.port === nothing && (return false) true end +function OpenAPI.validate_properties(o::ProbePropertiesFormat) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("port"), o.port) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("intervalInSeconds"), o.intervalInSeconds) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("noHealthyBackendsBehavior"), o.noHealthyBackendsBehavior) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("numberOfProbes"), o.numberOfProbes) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("probeThreshold"), o.probeThreshold) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("requestPath"), o.requestPath) + OpenAPI.validate_property(ProbePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ProbePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "ProbePropertiesFormat", :enum, val, ["Http", "Tcp", "Https"]) end + + if name === Symbol("port") OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") end + if name === Symbol("intervalInSeconds") OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") end + + if name === Symbol("noHealthyBackendsBehavior") + OpenAPI.validate_param(name, "ProbePropertiesFormat", :enum, val, ["AllProbedDown", "AllProbedUp"]) + end + + if name === Symbol("numberOfProbes") OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") end + + if name === Symbol("probeThreshold") + OpenAPI.validate_param(name, "ProbePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddress.jl b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 986befb..bf69002 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration2", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration2", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_Resource.jl b/src/Network/NetworkInterfaceClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_Resource.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl b/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ResourceSet.jl b/src/Network/NetworkInterfaceClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/NetworkInterfaceClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/NetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_Route.jl b/src/Network/NetworkInterfaceClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_Route.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_RouteTable.jl b/src/Network/NetworkInterfaceClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_RouteTable.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_SecurityRule.jl b/src/Network/NetworkInterfaceClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_SecurityRule.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_SubResource.jl b/src/Network/NetworkInterfaceClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_SubResource.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_Subnet.jl b/src/Network/NetworkInterfaceClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_Subnet.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl index 3d6ff45..a8a0be7 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration2}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration2}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_TagsObject.jl b/src/Network/NetworkInterfaceClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_TagsObject.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl b/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index f8edced..95ea9fd 100644 --- a/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/NetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration2}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration2", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkManagementClient/.openapi-generator/FILES b/src/Network/NetworkManagementClient/.openapi-generator/FILES index 5a38d8f..c27eba6 100644 --- a/src/Network/NetworkManagementClient/.openapi-generator/FILES +++ b/src/Network/NetworkManagementClient/.openapi-generator/FILES @@ -3,32 +3,54 @@ README.md docs/Access.md docs/AuthenticationMethod.md docs/AzureAsyncOperationResult.md +docs/ChildResource.md docs/CloudError.md docs/CloudErrorBody.md +docs/CommonErrorAdditionalInfo.md +docs/CommonErrorDetail.md +docs/CommonErrorResponse.md +docs/CommonProxyResource.md +docs/CommonResource.md +docs/CommonTrackedResource.md docs/Error.md docs/ErrorDetails.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/IPAllocationMethod.md docs/IPVersion.md docs/ManagedServiceIdentity.md docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md docs/ProvisioningState.md +docs/ProxyResource.md docs/Resource.md docs/SubResource.md +docs/SystemData.md docs/TagsObject.md src/NetworkManagementClient.jl src/modelincludes.jl src/models/model_Access.jl src/models/model_AuthenticationMethod.jl src/models/model_AzureAsyncOperationResult.jl +src/models/model_ChildResource.jl src/models/model_CloudError.jl src/models/model_CloudErrorBody.jl +src/models/model_CommonErrorAdditionalInfo.jl +src/models/model_CommonErrorDetail.jl +src/models/model_CommonErrorResponse.jl +src/models/model_CommonProxyResource.jl +src/models/model_CommonResource.jl +src/models/model_CommonTrackedResource.jl src/models/model_Error.jl src/models/model_ErrorDetails.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_IPAllocationMethod.jl src/models/model_IPVersion.jl src/models/model_ManagedServiceIdentity.jl src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl src/models/model_ProvisioningState.jl +src/models/model_ProxyResource.jl src/models/model_Resource.jl src/models/model_SubResource.jl +src/models/model_SystemData.jl src/models/model_TagsObject.jl diff --git a/src/Network/NetworkManagementClient/.openapi-generator/VERSION b/src/Network/NetworkManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/NetworkManagementClient/.openapi-generator/VERSION +++ b/src/Network/NetworkManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/NetworkManagementClient/README.md b/src/Network/NetworkManagementClient/README.md index 1998948..f15b236 100644 --- a/src/Network/NetworkManagementClient/README.md +++ b/src/Network/NetworkManagementClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -27,23 +28,37 @@ Class | Method - [Access](docs/Access.md) - [AuthenticationMethod](docs/AuthenticationMethod.md) - [AzureAsyncOperationResult](docs/AzureAsyncOperationResult.md) + - [ChildResource](docs/ChildResource.md) - [CloudError](docs/CloudError.md) - [CloudErrorBody](docs/CloudErrorBody.md) + - [CommonErrorAdditionalInfo](docs/CommonErrorAdditionalInfo.md) + - [CommonErrorDetail](docs/CommonErrorDetail.md) + - [CommonErrorResponse](docs/CommonErrorResponse.md) + - [CommonProxyResource](docs/CommonProxyResource.md) + - [CommonResource](docs/CommonResource.md) + - [CommonTrackedResource](docs/CommonTrackedResource.md) - [Error](docs/Error.md) - [ErrorDetails](docs/ErrorDetails.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPVersion](docs/IPVersion.md) - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) - [ProvisioningState](docs/ProvisioningState.md) + - [ProxyResource](docs/ProxyResource.md) - [Resource](docs/Resource.md) - [SubResource](docs/SubResource.md) + - [SystemData](docs/SystemData.md) - [TagsObject](docs/TagsObject.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/NetworkManagementClient/docs/ChildResource.md b/src/Network/NetworkManagementClient/docs/ChildResource.md new file mode 100644 index 0000000..e474604 --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/ChildResource.md @@ -0,0 +1,15 @@ +# ChildResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource ID. | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/CommonErrorAdditionalInfo.md b/src/Network/NetworkManagementClient/docs/CommonErrorAdditionalInfo.md new file mode 100644 index 0000000..e125f6c --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/CommonErrorAdditionalInfo.md @@ -0,0 +1,13 @@ +# CommonErrorAdditionalInfo + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The additional info type. | [optional] [readonly] [default to nothing] +**info** | **Any** | The additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/CommonErrorDetail.md b/src/Network/NetworkManagementClient/docs/CommonErrorDetail.md new file mode 100644 index 0000000..a319c72 --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/CommonErrorDetail.md @@ -0,0 +1,16 @@ +# CommonErrorDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{CommonErrorDetail}**](CommonErrorDetail.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{CommonErrorAdditionalInfo}**](CommonErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/CommonErrorResponse.md b/src/Network/NetworkManagementClient/docs/CommonErrorResponse.md new file mode 100644 index 0000000..02e30bc --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/CommonErrorResponse.md @@ -0,0 +1,12 @@ +# CommonErrorResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***CommonErrorDetail**](CommonErrorDetail.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/CommonProxyResource.md b/src/Network/NetworkManagementClient/docs/CommonProxyResource.md new file mode 100644 index 0000000..072b5c6 --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/CommonProxyResource.md @@ -0,0 +1,15 @@ +# CommonProxyResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\" | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/CommonResource.md b/src/Network/NetworkManagementClient/docs/CommonResource.md new file mode 100644 index 0000000..bc84773 --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/CommonResource.md @@ -0,0 +1,15 @@ +# CommonResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\" | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/CommonTrackedResource.md b/src/Network/NetworkManagementClient/docs/CommonTrackedResource.md new file mode 100644 index 0000000..a8e2b0a --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/CommonTrackedResource.md @@ -0,0 +1,17 @@ +# CommonTrackedResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] +**location** | **String** | The geo-location where the resource lives | [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\" | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/ExtendedLocation.md b/src/Network/NetworkManagementClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/ExtendedLocationType.md b/src/Network/NetworkManagementClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/ProxyResource.md b/src/Network/NetworkManagementClient/docs/ProxyResource.md new file mode 100644 index 0000000..fb2898a --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/ProxyResource.md @@ -0,0 +1,15 @@ +# ProxyResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource ID. | [optional] [readonly] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/docs/SystemData.md b/src/Network/NetworkManagementClient/docs/SystemData.md new file mode 100644 index 0000000..eb4d196 --- /dev/null +++ b/src/Network/NetworkManagementClient/docs/SystemData.md @@ -0,0 +1,17 @@ +# SystemData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**createdBy** | **String** | The identity that created the resource. | [optional] [default to nothing] +**createdByType** | **String** | The type of identity that created the resource. | [optional] [default to nothing] +**createdAt** | **ZonedDateTime** | The timestamp of resource creation (UTC). | [optional] [default to nothing] +**lastModifiedBy** | **String** | The identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedByType** | **String** | The type of identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedAt** | **ZonedDateTime** | The type of identity that last modified the resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkManagementClient/src/NetworkManagementClient.jl b/src/Network/NetworkManagementClient/src/NetworkManagementClient.jl index e25ef7e..15e1200 100644 --- a/src/Network/NetworkManagementClient/src/NetworkManagementClient.jl +++ b/src/Network/NetworkManagementClient/src/NetworkManagementClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/NetworkManagementClient/src/modelincludes.jl b/src/Network/NetworkManagementClient/src/modelincludes.jl index 27f322e..8411612 100644 --- a/src/Network/NetworkManagementClient/src/modelincludes.jl +++ b/src/Network/NetworkManagementClient/src/modelincludes.jl @@ -4,15 +4,26 @@ include("models/model_Access.jl") include("models/model_AuthenticationMethod.jl") include("models/model_AzureAsyncOperationResult.jl") +include("models/model_ChildResource.jl") include("models/model_CloudError.jl") include("models/model_CloudErrorBody.jl") +include("models/model_CommonErrorAdditionalInfo.jl") +include("models/model_CommonErrorDetail.jl") +include("models/model_CommonErrorResponse.jl") +include("models/model_CommonProxyResource.jl") +include("models/model_CommonResource.jl") +include("models/model_CommonTrackedResource.jl") include("models/model_Error.jl") include("models/model_ErrorDetails.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPVersion.jl") include("models/model_ManagedServiceIdentity.jl") include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") include("models/model_ProvisioningState.jl") +include("models/model_ProxyResource.jl") include("models/model_Resource.jl") include("models/model_SubResource.jl") +include("models/model_SystemData.jl") include("models/model_TagsObject.jl") diff --git a/src/Network/NetworkManagementClient/src/models/model_AzureAsyncOperationResult.jl b/src/Network/NetworkManagementClient/src/models/model_AzureAsyncOperationResult.jl index 94ded94..52a5847 100644 --- a/src/Network/NetworkManagementClient/src/models/model_AzureAsyncOperationResult.jl +++ b/src/Network/NetworkManagementClient/src/models/model_AzureAsyncOperationResult.jl @@ -18,21 +18,29 @@ Base.@kwdef mutable struct AzureAsyncOperationResult <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, Error } function AzureAsyncOperationResult(status, error, ) - OpenAPI.validate_property(AzureAsyncOperationResult, Symbol("status"), status) - OpenAPI.validate_property(AzureAsyncOperationResult, Symbol("error"), error) - return new(status, error, ) + o = new(status, error, ) + OpenAPI.validate_properties(o) + return o end end # type AzureAsyncOperationResult const _property_types_AzureAsyncOperationResult = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("error")=>"Error", ) OpenAPI.property_type(::Type{ AzureAsyncOperationResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureAsyncOperationResult[name]))} -function check_required(o::AzureAsyncOperationResult) +function OpenAPI.check_required(o::AzureAsyncOperationResult) true end +function OpenAPI.validate_properties(o::AzureAsyncOperationResult) + OpenAPI.validate_property(AzureAsyncOperationResult, Symbol("status"), o.status) + OpenAPI.validate_property(AzureAsyncOperationResult, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ AzureAsyncOperationResult }, name::Symbol, val) + if name === Symbol("status") OpenAPI.validate_param(name, "AzureAsyncOperationResult", :enum, val, ["InProgress", "Succeeded", "Failed"]) end + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_ChildResource.jl b/src/Network/NetworkManagementClient/src/models/model_ChildResource.jl new file mode 100644 index 0000000..a3f9e77 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_ChildResource.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ChildResource +Proxy resource representation. + + ChildResource(; + id=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct ChildResource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function ChildResource(id, name, type, etag, ) + o = new(id, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type ChildResource + +const _property_types_ChildResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ ChildResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ChildResource[name]))} + +function OpenAPI.check_required(o::ChildResource) + true +end + +function OpenAPI.validate_properties(o::ChildResource) + OpenAPI.validate_property(ChildResource, Symbol("id"), o.id) + OpenAPI.validate_property(ChildResource, Symbol("name"), o.name) + OpenAPI.validate_property(ChildResource, Symbol("type"), o.type) + OpenAPI.validate_property(ChildResource, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ ChildResource }, name::Symbol, val) + + + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_CloudError.jl b/src/Network/NetworkManagementClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/NetworkManagementClient/src/models/model_CloudError.jl +++ b/src/Network/NetworkManagementClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/NetworkManagementClient/src/models/model_CloudErrorBody.jl b/src/Network/NetworkManagementClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/NetworkManagementClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/NetworkManagementClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_CommonErrorAdditionalInfo.jl b/src/Network/NetworkManagementClient/src/models/model_CommonErrorAdditionalInfo.jl new file mode 100644 index 0000000..cb54da8 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_CommonErrorAdditionalInfo.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CommonErrorAdditionalInfo +The resource management error additional info. + + CommonErrorAdditionalInfo(; + type=nothing, + info=nothing, + ) + + - type::String : The additional info type. + - info::Any : The additional info. +""" +Base.@kwdef mutable struct CommonErrorAdditionalInfo <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + info::Union{Nothing, Any} = nothing + + function CommonErrorAdditionalInfo(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o + end +end # type CommonErrorAdditionalInfo + +const _property_types_CommonErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) +OpenAPI.property_type(::Type{ CommonErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CommonErrorAdditionalInfo[name]))} + +function OpenAPI.check_required(o::CommonErrorAdditionalInfo) + true +end + +function OpenAPI.validate_properties(o::CommonErrorAdditionalInfo) + OpenAPI.validate_property(CommonErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(CommonErrorAdditionalInfo, Symbol("info"), o.info) +end + +function OpenAPI.validate_property(::Type{ CommonErrorAdditionalInfo }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_CommonErrorDetail.jl b/src/Network/NetworkManagementClient/src/models/model_CommonErrorDetail.jl new file mode 100644 index 0000000..a41b688 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_CommonErrorDetail.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CommonErrorDetail +The error detail. + + CommonErrorDetail(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{CommonErrorDetail} : The error details. + - additionalInfo::Vector{CommonErrorAdditionalInfo} : The error additional info. +""" +Base.@kwdef mutable struct CommonErrorDetail <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CommonErrorDetail} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CommonErrorAdditionalInfo} } + + function CommonErrorDetail(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type CommonErrorDetail + +const _property_types_CommonErrorDetail = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CommonErrorDetail}", Symbol("additionalInfo")=>"Vector{CommonErrorAdditionalInfo}", ) +OpenAPI.property_type(::Type{ CommonErrorDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CommonErrorDetail[name]))} + +function OpenAPI.check_required(o::CommonErrorDetail) + true +end + +function OpenAPI.validate_properties(o::CommonErrorDetail) + OpenAPI.validate_property(CommonErrorDetail, Symbol("code"), o.code) + OpenAPI.validate_property(CommonErrorDetail, Symbol("message"), o.message) + OpenAPI.validate_property(CommonErrorDetail, Symbol("target"), o.target) + OpenAPI.validate_property(CommonErrorDetail, Symbol("details"), o.details) + OpenAPI.validate_property(CommonErrorDetail, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ CommonErrorDetail }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_CommonErrorResponse.jl b/src/Network/NetworkManagementClient/src/models/model_CommonErrorResponse.jl new file mode 100644 index 0000000..4212cef --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_CommonErrorResponse.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CommonErrorResponse +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + + CommonErrorResponse(; + error=nothing, + ) + + - error::CommonErrorDetail +""" +Base.@kwdef mutable struct CommonErrorResponse <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, CommonErrorDetail } + + function CommonErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type CommonErrorResponse + +const _property_types_CommonErrorResponse = Dict{Symbol,String}(Symbol("error")=>"CommonErrorDetail", ) +OpenAPI.property_type(::Type{ CommonErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CommonErrorResponse[name]))} + +function OpenAPI.check_required(o::CommonErrorResponse) + true +end + +function OpenAPI.validate_properties(o::CommonErrorResponse) + OpenAPI.validate_property(CommonErrorResponse, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ CommonErrorResponse }, name::Symbol, val) + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_CommonProxyResource.jl b/src/Network/NetworkManagementClient/src/models/model_CommonProxyResource.jl new file mode 100644 index 0000000..f2ff28e --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_CommonProxyResource.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CommonProxyResource +The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location + + CommonProxyResource(; + id=nothing, + name=nothing, + type=nothing, + systemData=nothing, + ) + + - id::String : Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\" + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" + - systemData::SystemData +""" +Base.@kwdef mutable struct CommonProxyResource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + systemData = nothing # spec type: Union{ Nothing, SystemData } + + function CommonProxyResource(id, name, type, systemData, ) + o = new(id, name, type, systemData, ) + OpenAPI.validate_properties(o) + return o + end +end # type CommonProxyResource + +const _property_types_CommonProxyResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("systemData")=>"SystemData", ) +OpenAPI.property_type(::Type{ CommonProxyResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CommonProxyResource[name]))} + +function OpenAPI.check_required(o::CommonProxyResource) + true +end + +function OpenAPI.validate_properties(o::CommonProxyResource) + OpenAPI.validate_property(CommonProxyResource, Symbol("id"), o.id) + OpenAPI.validate_property(CommonProxyResource, Symbol("name"), o.name) + OpenAPI.validate_property(CommonProxyResource, Symbol("type"), o.type) + OpenAPI.validate_property(CommonProxyResource, Symbol("systemData"), o.systemData) +end + +function OpenAPI.validate_property(::Type{ CommonProxyResource }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "CommonProxyResource", :format, val, "arm-id") + end + + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_CommonResource.jl b/src/Network/NetworkManagementClient/src/models/model_CommonResource.jl new file mode 100644 index 0000000..8133af9 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_CommonResource.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CommonResource +Common fields that are returned in the response for all Azure Resource Manager resources + + CommonResource(; + id=nothing, + name=nothing, + type=nothing, + systemData=nothing, + ) + + - id::String : Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\" + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" + - systemData::SystemData +""" +Base.@kwdef mutable struct CommonResource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + systemData = nothing # spec type: Union{ Nothing, SystemData } + + function CommonResource(id, name, type, systemData, ) + o = new(id, name, type, systemData, ) + OpenAPI.validate_properties(o) + return o + end +end # type CommonResource + +const _property_types_CommonResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("systemData")=>"SystemData", ) +OpenAPI.property_type(::Type{ CommonResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CommonResource[name]))} + +function OpenAPI.check_required(o::CommonResource) + true +end + +function OpenAPI.validate_properties(o::CommonResource) + OpenAPI.validate_property(CommonResource, Symbol("id"), o.id) + OpenAPI.validate_property(CommonResource, Symbol("name"), o.name) + OpenAPI.validate_property(CommonResource, Symbol("type"), o.type) + OpenAPI.validate_property(CommonResource, Symbol("systemData"), o.systemData) +end + +function OpenAPI.validate_property(::Type{ CommonResource }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "CommonResource", :format, val, "arm-id") + end + + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_CommonTrackedResource.jl b/src/Network/NetworkManagementClient/src/models/model_CommonTrackedResource.jl new file mode 100644 index 0000000..8ee34d4 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_CommonTrackedResource.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CommonTrackedResource +The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' + + CommonTrackedResource(; + tags=nothing, + location=nothing, + id=nothing, + name=nothing, + type=nothing, + systemData=nothing, + ) + + - tags::Dict{String, String} : Resource tags. + - location::String : The geo-location where the resource lives + - id::String : Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\" + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" + - systemData::SystemData +""" +Base.@kwdef mutable struct CommonTrackedResource <: OpenAPI.APIModel + tags::Union{Nothing, Dict{String, String}} = nothing + location::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + systemData = nothing # spec type: Union{ Nothing, SystemData } + + function CommonTrackedResource(tags, location, id, name, type, systemData, ) + o = new(tags, location, id, name, type, systemData, ) + OpenAPI.validate_properties(o) + return o + end +end # type CommonTrackedResource + +const _property_types_CommonTrackedResource = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", Symbol("location")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("systemData")=>"SystemData", ) +OpenAPI.property_type(::Type{ CommonTrackedResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CommonTrackedResource[name]))} + +function OpenAPI.check_required(o::CommonTrackedResource) + o.location === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::CommonTrackedResource) + OpenAPI.validate_property(CommonTrackedResource, Symbol("tags"), o.tags) + OpenAPI.validate_property(CommonTrackedResource, Symbol("location"), o.location) + OpenAPI.validate_property(CommonTrackedResource, Symbol("id"), o.id) + OpenAPI.validate_property(CommonTrackedResource, Symbol("name"), o.name) + OpenAPI.validate_property(CommonTrackedResource, Symbol("type"), o.type) + OpenAPI.validate_property(CommonTrackedResource, Symbol("systemData"), o.systemData) +end + +function OpenAPI.validate_property(::Type{ CommonTrackedResource }, name::Symbol, val) + + + + if name === Symbol("id") + OpenAPI.validate_param(name, "CommonTrackedResource", :format, val, "arm-id") + end + + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_Error.jl b/src/Network/NetworkManagementClient/src/models/model_Error.jl index aa5ee45..9838e72 100644 --- a/src/Network/NetworkManagementClient/src/models/model_Error.jl +++ b/src/Network/NetworkManagementClient/src/models/model_Error.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Error <: OpenAPI.APIModel innerError::Union{Nothing, String} = nothing function Error(code, message, target, details, innerError, ) - OpenAPI.validate_property(Error, Symbol("code"), code) - OpenAPI.validate_property(Error, Symbol("message"), message) - OpenAPI.validate_property(Error, Symbol("target"), target) - OpenAPI.validate_property(Error, Symbol("details"), details) - OpenAPI.validate_property(Error, Symbol("innerError"), innerError) - return new(code, message, target, details, innerError, ) + o = new(code, message, target, details, innerError, ) + OpenAPI.validate_properties(o) + return o end end # type Error const _property_types_Error = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetails}", Symbol("innerError")=>"String", ) OpenAPI.property_type(::Type{ Error }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Error[name]))} -function check_required(o::Error) +function OpenAPI.check_required(o::Error) true end +function OpenAPI.validate_properties(o::Error) + OpenAPI.validate_property(Error, Symbol("code"), o.code) + OpenAPI.validate_property(Error, Symbol("message"), o.message) + OpenAPI.validate_property(Error, Symbol("target"), o.target) + OpenAPI.validate_property(Error, Symbol("details"), o.details) + OpenAPI.validate_property(Error, Symbol("innerError"), o.innerError) +end + function OpenAPI.validate_property(::Type{ Error }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_ErrorDetails.jl b/src/Network/NetworkManagementClient/src/models/model_ErrorDetails.jl index 446e801..2667170 100644 --- a/src/Network/NetworkManagementClient/src/models/model_ErrorDetails.jl +++ b/src/Network/NetworkManagementClient/src/models/model_ErrorDetails.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ErrorDetails <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ErrorDetails(code, target, message, ) - OpenAPI.validate_property(ErrorDetails, Symbol("code"), code) - OpenAPI.validate_property(ErrorDetails, Symbol("target"), target) - OpenAPI.validate_property(ErrorDetails, Symbol("message"), message) - return new(code, target, message, ) + o = new(code, target, message, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorDetails const _property_types_ErrorDetails = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ErrorDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetails[name]))} -function check_required(o::ErrorDetails) +function OpenAPI.check_required(o::ErrorDetails) true end +function OpenAPI.validate_properties(o::ErrorDetails) + OpenAPI.validate_property(ErrorDetails, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetails, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetails, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ErrorDetails }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_ExtendedLocation.jl b/src/Network/NetworkManagementClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_ExtendedLocationType.jl b/src/Network/NetworkManagementClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentity.jl index 32461c5..a47460b 100644 --- a/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentity.jl +++ b/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentity.jl @@ -24,23 +24,33 @@ Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) - OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), principalId) - OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), type) - OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), userAssignedIdentities) - return new(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o end end # type ManagedServiceIdentity const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} -function check_required(o::ManagedServiceIdentity) +function OpenAPI.check_required(o::ManagedServiceIdentity) true end +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) end + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl index 30a72e4..5e5ab16 100644 --- a/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +++ b/src/Network/NetworkManagementClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -17,18 +17,25 @@ Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: clientId::Union{Nothing, String} = nothing function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) - OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), principalId) - OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), clientId) - return new(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o end end # type ManagedServiceIdentityUserAssignedIdentitiesValue const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} -function check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) true end +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_ProxyResource.jl b/src/Network/NetworkManagementClient/src/models/model_ProxyResource.jl new file mode 100644 index 0000000..aadc46f --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_ProxyResource.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProxyResource +Proxy resource representation. + + ProxyResource(; + id=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct ProxyResource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function ProxyResource(id, name, type, etag, ) + o = new(id, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProxyResource + +const _property_types_ProxyResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ ProxyResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProxyResource[name]))} + +function OpenAPI.check_required(o::ProxyResource) + true +end + +function OpenAPI.validate_properties(o::ProxyResource) + OpenAPI.validate_property(ProxyResource, Symbol("id"), o.id) + OpenAPI.validate_property(ProxyResource, Symbol("name"), o.name) + OpenAPI.validate_property(ProxyResource, Symbol("type"), o.type) + OpenAPI.validate_property(ProxyResource, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ ProxyResource }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "ProxyResource", :format, val, "arm-id") + end + + + +end diff --git a/src/Network/NetworkManagementClient/src/models/model_Resource.jl b/src/Network/NetworkManagementClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/NetworkManagementClient/src/models/model_Resource.jl +++ b/src/Network/NetworkManagementClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkManagementClient/src/models/model_SubResource.jl b/src/Network/NetworkManagementClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/NetworkManagementClient/src/models/model_SubResource.jl +++ b/src/Network/NetworkManagementClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/NetworkManagementClient/src/models/model_SystemData.jl b/src/Network/NetworkManagementClient/src/models/model_SystemData.jl new file mode 100644 index 0000000..19c1a03 --- /dev/null +++ b/src/Network/NetworkManagementClient/src/models/model_SystemData.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SystemData +Metadata pertaining to creation and last modification of the resource. + + SystemData(; + createdBy=nothing, + createdByType=nothing, + createdAt=nothing, + lastModifiedBy=nothing, + lastModifiedByType=nothing, + lastModifiedAt=nothing, + ) + + - createdBy::String : The identity that created the resource. + - createdByType::String : The type of identity that created the resource. + - createdAt::ZonedDateTime : The timestamp of resource creation (UTC). + - lastModifiedBy::String : The identity that last modified the resource. + - lastModifiedByType::String : The type of identity that last modified the resource. + - lastModifiedAt::ZonedDateTime : The type of identity that last modified the resource. +""" +Base.@kwdef mutable struct SystemData <: OpenAPI.APIModel + createdBy::Union{Nothing, String} = nothing + createdByType::Union{Nothing, String} = nothing + createdAt::Union{Nothing, ZonedDateTime} = nothing + lastModifiedBy::Union{Nothing, String} = nothing + lastModifiedByType::Union{Nothing, String} = nothing + lastModifiedAt::Union{Nothing, ZonedDateTime} = nothing + + function SystemData(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + o = new(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + OpenAPI.validate_properties(o) + return o + end +end # type SystemData + +const _property_types_SystemData = Dict{Symbol,String}(Symbol("createdBy")=>"String", Symbol("createdByType")=>"String", Symbol("createdAt")=>"ZonedDateTime", Symbol("lastModifiedBy")=>"String", Symbol("lastModifiedByType")=>"String", Symbol("lastModifiedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ SystemData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SystemData[name]))} + +function OpenAPI.check_required(o::SystemData) + true +end + +function OpenAPI.validate_properties(o::SystemData) + OpenAPI.validate_property(SystemData, Symbol("createdBy"), o.createdBy) + OpenAPI.validate_property(SystemData, Symbol("createdByType"), o.createdByType) + OpenAPI.validate_property(SystemData, Symbol("createdAt"), o.createdAt) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedByType"), o.lastModifiedByType) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedAt"), o.lastModifiedAt) +end + +function OpenAPI.validate_property(::Type{ SystemData }, name::Symbol, val) + + + if name === Symbol("createdByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("createdAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end + + + if name === Symbol("lastModifiedByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("lastModifiedAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end +end diff --git a/src/Network/NetworkManagementClient/src/models/model_TagsObject.jl b/src/Network/NetworkManagementClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/NetworkManagementClient/src/models/model_TagsObject.jl +++ b/src/Network/NetworkManagementClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/NetworkSecurityGroupClient/.openapi-generator/FILES b/src/Network/NetworkSecurityGroupClient/.openapi-generator/FILES index bd855d4..8f0d245 100644 --- a/src/Network/NetworkSecurityGroupClient/.openapi-generator/FILES +++ b/src/Network/NetworkSecurityGroupClient/.openapi-generator/FILES @@ -3,6 +3,8 @@ README.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md docs/BackendAddressPool.md @@ -12,11 +14,14 @@ docs/CloudErrorBody.md docs/CustomDnsConfigPropertiesFormat.md docs/DdosSettings.md docs/Delegation.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfigurationProfile.md @@ -26,8 +31,16 @@ docs/IPVersion.md docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkInterface.md docs/NetworkInterfaceDnsSettings.md docs/NetworkInterfaceIPConfiguration.md @@ -43,10 +56,18 @@ docs/NetworkSecurityGroupPropertiesFormat.md docs/NetworkSecurityGroupPropertiesFormat2.md docs/NetworkSecurityGroupsApi.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/ProvisioningState.md docs/PublicIPAddress.md docs/PublicIPAddressDnsSettings.md @@ -55,6 +76,7 @@ docs/PublicIPAddressSku.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -95,6 +117,8 @@ src/modelincludes.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl src/models/model_BackendAddressPool.jl @@ -104,11 +128,14 @@ src/models/model_CloudErrorBody.jl src/models/model_CustomDnsConfigPropertiesFormat.jl src/models/model_DdosSettings.jl src/models/model_Delegation.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfigurationProfile.jl @@ -118,8 +145,16 @@ src/models/model_IPVersion.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterfaceDnsSettings.jl src/models/model_NetworkInterfaceIPConfiguration.jl @@ -134,10 +169,18 @@ src/models/model_NetworkSecurityGroupListResult.jl src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_NetworkSecurityGroupPropertiesFormat2.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_ProvisioningState.jl src/models/model_PublicIPAddress.jl src/models/model_PublicIPAddressDnsSettings.jl @@ -146,6 +189,7 @@ src/models/model_PublicIPAddressSku.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl diff --git a/src/Network/NetworkSecurityGroupClient/.openapi-generator/VERSION b/src/Network/NetworkSecurityGroupClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/NetworkSecurityGroupClient/.openapi-generator/VERSION +++ b/src/Network/NetworkSecurityGroupClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/NetworkSecurityGroupClient/README.md b/src/Network/NetworkSecurityGroupClient/README.md index 880bb1d..a8dfd63 100644 --- a/src/Network/NetworkSecurityGroupClient/README.md +++ b/src/Network/NetworkSecurityGroupClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -39,6 +40,8 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) - [BackendAddressPool](docs/BackendAddressPool.md) @@ -48,11 +51,14 @@ Class | Method - [CustomDnsConfigPropertiesFormat](docs/CustomDnsConfigPropertiesFormat.md) - [DdosSettings](docs/DdosSettings.md) - [Delegation](docs/Delegation.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfigurationProfile](docs/IPConfigurationProfile.md) @@ -62,8 +68,16 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) - [NetworkInterfaceIPConfiguration](docs/NetworkInterfaceIPConfiguration.md) @@ -78,10 +92,18 @@ Class | Method - [NetworkSecurityGroupPropertiesFormat](docs/NetworkSecurityGroupPropertiesFormat.md) - [NetworkSecurityGroupPropertiesFormat2](docs/NetworkSecurityGroupPropertiesFormat2.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [ProvisioningState](docs/ProvisioningState.md) - [PublicIPAddress](docs/PublicIPAddress.md) - [PublicIPAddressDnsSettings](docs/PublicIPAddressDnsSettings.md) @@ -90,6 +112,7 @@ Class | Method - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -124,9 +147,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/NetworkSecurityGroupClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/NetworkSecurityGroupClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/DdosSettings.md b/src/Network/NetworkSecurityGroupClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/DdosSettings.md +++ b/src/Network/NetworkSecurityGroupClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/Delegation.md b/src/Network/NetworkSecurityGroupClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/Delegation.md +++ b/src/Network/NetworkSecurityGroupClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/ExtendedLocation.md b/src/Network/NetworkSecurityGroupClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/ExtendedLocationType.md b/src/Network/NetworkSecurityGroupClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/FlowLog.md b/src/Network/NetworkSecurityGroupClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/FlowLog.md +++ b/src/Network/NetworkSecurityGroupClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/FlowLogFormatParameters.md b/src/Network/NetworkSecurityGroupClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/FlowLogFormatParameters.md +++ b/src/Network/NetworkSecurityGroupClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/FlowLogPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/FrontendIPConfigurationPropertiesFormat.md index 537d6d3..b93377b 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/NetworkSecurityGroupClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/IpamPoolPrefixAllocation.md b/src/Network/NetworkSecurityGroupClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/NetworkSecurityGroupClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/ManagedServiceIdentity.md b/src/Network/NetworkSecurityGroupClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/NetworkSecurityGroupClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/NatGateway.md b/src/Network/NetworkSecurityGroupClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/NatGatewayPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/NatGatewaySku.md b/src/Network/NetworkSecurityGroupClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/NatRulePortMapping.md b/src/Network/NetworkSecurityGroupClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterface.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterface.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index ea69054..2f6ff4a 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfacePropertiesFormat.md index f44460e..6002f2b 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat.md index 84e7b18..d9c105d 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat2.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat2.md index aacf6a6..f096de9 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat2.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupPropertiesFormat2.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule2}**](SecurityRule2.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule2}**](SecurityRule2.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupsApi.md b/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupsApi.md index bbfedb8..b9a2d3f 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupsApi.md +++ b/src/Network/NetworkSecurityGroupClient/docs/NetworkSecurityGroupsApi.md @@ -25,11 +25,11 @@ Creates or updates a network security group in the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkSecurityGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**NetworkSecurityGroup**](NetworkSecurityGroup.md)| Parameters supplied to the create or update network security group operation. | +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**NetworkSecurityGroup**](NetworkSecurityGroup.md) | Parameters supplied to the create or update network security group operation. | ### Return type @@ -59,10 +59,10 @@ Deletes the specified network security group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkSecurityGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,16 +92,16 @@ Gets the specified network security group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkSecurityGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -131,9 +131,9 @@ Gets all network security groups in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkSecurityGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -163,8 +163,8 @@ Gets all network security groups in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkSecurityGroupsApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Updates a network security group tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkSecurityGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update network security group tags. | +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update network security group tags. | ### Return type diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpoint.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpoint.md +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointConnection.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointProperties.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointProperties.md index 40d6bf8..e3fd912 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointProperties.md +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkService.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceProperties.md b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..5c91eab --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddress.md b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddress.md +++ b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressDnsSettings.md b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressSku.md b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressSku.md +++ b/src/Network/NetworkSecurityGroupClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/ResourceSet.md b/src/Network/NetworkSecurityGroupClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkSecurityGroupClient/docs/RetentionPolicyParameters.md b/src/Network/NetworkSecurityGroupClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/RetentionPolicyParameters.md +++ b/src/Network/NetworkSecurityGroupClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/NetworkSecurityGroupClient/docs/Route.md b/src/Network/NetworkSecurityGroupClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/Route.md +++ b/src/Network/NetworkSecurityGroupClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/RoutePropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/RoutePropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/RouteTablePropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/SecurityRule.md b/src/Network/NetworkSecurityGroupClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/SecurityRule.md +++ b/src/Network/NetworkSecurityGroupClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/SecurityRule2.md b/src/Network/NetworkSecurityGroupClient/docs/SecurityRule2.md index d50d15f..426c7a2 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/SecurityRule2.md +++ b/src/Network/NetworkSecurityGroupClient/docs/SecurityRule2.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat2**](SecurityRulePropertiesFormat2.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat2.md b/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat2.md index 482050a..44cd9ae 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat2.md +++ b/src/Network/NetworkSecurityGroupClient/docs/SecurityRulePropertiesFormat2.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess2**](SecurityRuleAccess2.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection2**](SecurityRuleDirection2.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/SecurityRulesApi.md b/src/Network/NetworkSecurityGroupClient/docs/SecurityRulesApi.md index 4204b0c..43e5054 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/SecurityRulesApi.md +++ b/src/Network/NetworkSecurityGroupClient/docs/SecurityRulesApi.md @@ -25,11 +25,11 @@ Get the specified default network security rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SecurityRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**default_security_rule_name** | **String**| The name of the default security rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**default_security_rule_name** | **String** | The name of the default security rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -59,10 +59,10 @@ Gets all default security rules in a network security group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SecurityRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,12 +92,12 @@ Creates or updates a security rule in the specified network security group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SecurityRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**security_rule_name** | **String**| The name of the security rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**security_rule_parameters** | [**SecurityRule**](SecurityRule.md)| Parameters supplied to the create or update network security rule operation. | +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**security_rule_name** | **String** | The name of the security rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**security_rule_parameters** | [**SecurityRule**](SecurityRule.md) | Parameters supplied to the create or update network security rule operation. | ### Return type @@ -127,11 +127,11 @@ Deletes the specified network security rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SecurityRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**security_rule_name** | **String**| The name of the security rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**security_rule_name** | **String** | The name of the security rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -161,11 +161,11 @@ Get the specified network security rule. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SecurityRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**security_rule_name** | **String**| The name of the security rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**security_rule_name** | **String** | The name of the security rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -195,10 +195,10 @@ Gets all security rules in a network security group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SecurityRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_security_group_name** | **String**| The name of the network security group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_security_group_name** | **String** | The name of the network security group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicy.md b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/Subnet.md b/src/Network/NetworkSecurityGroupClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/Subnet.md +++ b/src/Network/NetworkSecurityGroupClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkSecurityGroupClient/docs/SubnetPropertiesFormat.md b/src/Network/NetworkSecurityGroupClient/docs/SubnetPropertiesFormat.md index 844ba72..75eecce 100644 --- a/src/Network/NetworkSecurityGroupClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/NetworkSecurityGroupClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkSecurityGroupClient/src/NetworkSecurityGroupClient.jl b/src/Network/NetworkSecurityGroupClient/src/NetworkSecurityGroupClient.jl index dc64c82..e690a79 100644 --- a/src/Network/NetworkSecurityGroupClient/src/NetworkSecurityGroupClient.jl +++ b/src/Network/NetworkSecurityGroupClient/src/NetworkSecurityGroupClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/NetworkSecurityGroupClient/src/apis/api_NetworkSecurityGroupsApi.jl b/src/Network/NetworkSecurityGroupClient/src/apis/api_NetworkSecurityGroupsApi.jl index a1b29e8..40cdaa8 100644 --- a/src/Network/NetworkSecurityGroupClient/src/apis/api_NetworkSecurityGroupsApi.jl +++ b/src/Network/NetworkSecurityGroupClient/src/apis/api_NetworkSecurityGroupsApi.jl @@ -22,7 +22,7 @@ function _oacinternal_network_security_groups_create_or_update(_api::NetworkSecu OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_network_security_groups_delete(_api::NetworkSecurityGroups OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,8 +97,8 @@ function _oacinternal_network_security_groups_get(_api::NetworkSecurityGroupsApi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -134,7 +134,7 @@ function _oacinternal_network_security_groups_list(_api::NetworkSecurityGroupsAp _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_network_security_groups_list_NetworkSecurityGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -167,7 +167,7 @@ const _returntypes_network_security_groups_list_all_NetworkSecurityGroupsApi = D function _oacinternal_network_security_groups_list_all(_api::NetworkSecurityGroupsApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_network_security_groups_list_all_NetworkSecurityGroupsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -201,7 +201,7 @@ function _oacinternal_network_security_groups_update_tags(_api::NetworkSecurityG OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/NetworkSecurityGroupClient/src/apis/api_SecurityRulesApi.jl b/src/Network/NetworkSecurityGroupClient/src/apis/api_SecurityRulesApi.jl index c541bf5..b2a7ac4 100644 --- a/src/Network/NetworkSecurityGroupClient/src/apis/api_SecurityRulesApi.jl +++ b/src/Network/NetworkSecurityGroupClient/src/apis/api_SecurityRulesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_default_security_rules_get(_api::SecurityRulesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "defaultSecurityRuleName", default_security_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -59,7 +59,7 @@ function _oacinternal_default_security_rules_list(_api::SecurityRulesApi, resour OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,7 +97,7 @@ function _oacinternal_security_rules_create_or_update(_api::SecurityRulesApi, re OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "securityRuleName", security_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -138,7 +138,7 @@ function _oacinternal_security_rules_delete(_api::SecurityRulesApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "securityRuleName", security_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -176,7 +176,7 @@ function _oacinternal_security_rules_get(_api::SecurityRulesApi, resource_group_ OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "securityRuleName", security_rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -213,7 +213,7 @@ function _oacinternal_security_rules_list(_api::SecurityRulesApi, resource_group OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkSecurityGroupName", network_security_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/NetworkSecurityGroupClient/src/modelincludes.jl b/src/Network/NetworkSecurityGroupClient/src/modelincludes.jl index b8c0626..6dd94c5 100644 --- a/src/Network/NetworkSecurityGroupClient/src/modelincludes.jl +++ b/src/Network/NetworkSecurityGroupClient/src/modelincludes.jl @@ -4,6 +4,8 @@ include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") include("models/model_BackendAddressPool.jl") @@ -13,11 +15,14 @@ include("models/model_CloudErrorBody.jl") include("models/model_CustomDnsConfigPropertiesFormat.jl") include("models/model_DdosSettings.jl") include("models/model_Delegation.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfigurationProfile.jl") @@ -27,8 +32,16 @@ include("models/model_IPVersion.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterfaceDnsSettings.jl") include("models/model_NetworkInterfaceIPConfiguration.jl") @@ -43,10 +56,18 @@ include("models/model_NetworkSecurityGroupListResult.jl") include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_NetworkSecurityGroupPropertiesFormat2.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_ProvisioningState.jl") include("models/model_PublicIPAddress.jl") include("models/model_PublicIPAddressDnsSettings.jl") @@ -55,6 +76,7 @@ include("models/model_PublicIPAddressSku.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPool.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_CloudError.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_CloudError.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_CloudErrorBody.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_DdosSettings.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_DdosSettings.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_Delegation.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_Delegation.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ExtendedLocation.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ExtendedLocationType.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLog.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLog.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 3545ff4..d235f7e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfiguration.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfile.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationPropertiesFormat.jl index 613e62d..7b5e780 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRule.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRule.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IpTag.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_IpTag.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NatGateway.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NatGatewaySku.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NatRulePortMapping.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterface.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterface.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 9b701e5..edb3d91 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfacePropertiesFormat.jl index c1b2e7b..85d99e4 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup2", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup2", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup2.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup2.jl index 08937ce..967e179 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup2.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroup2.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup2 <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup2(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup2 const _property_types_NetworkSecurityGroup2 = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat2", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup2[name]))} -function check_required(o::NetworkSecurityGroup2) +function OpenAPI.check_required(o::NetworkSecurityGroup2) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup2) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup2, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup2 }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupListResult.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupListResult.jl index 222b93e..d61958c 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupListResult.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkSecurityGroupListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function NetworkSecurityGroupListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkSecurityGroupListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkSecurityGroupListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupListResult const _property_types_NetworkSecurityGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkSecurityGroup}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupListResult[name]))} -function check_required(o::NetworkSecurityGroupListResult) +function OpenAPI.check_required(o::NetworkSecurityGroupListResult) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupListResult) + OpenAPI.validate_property(NetworkSecurityGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkSecurityGroupListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0ba83a0..b38ec23 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat2.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat2.jl index 3e3cd85..2f5af40 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat2.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_NetworkSecurityGroupPropertiesFormat2.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat2(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule2} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule2} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat2 <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule2} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule2} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat2 <: OpenAPI.APIM resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat2(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat2(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat2 -const _property_types_NetworkSecurityGroupPropertiesFormat2 = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule2}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule2}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat2 = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule2}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule2}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat2[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat2) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat2) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat2) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat2 }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpoint.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointProperties.jl index c7b43bc..627df0e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkService.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..f0c3f6f --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddress.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressSku.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_Resource.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_Resource.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLink.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceSet.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_Route.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_Route.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTable.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTable.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule2.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule2.jl index d2a8f16..9538ef5 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule2.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRule2.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat2 - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule2 <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat2 } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule2(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule2, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule2, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule2, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule2, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule2(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule2 -const _property_types_SecurityRule2 = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule2 = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule2[name]))} -function check_required(o::SecurityRule2) +function OpenAPI.check_required(o::SecurityRule2) true end +function OpenAPI.validate_properties(o::SecurityRule2) + OpenAPI.validate_property(SecurityRule2, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule2, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule2, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule2, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRuleListResult.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRuleListResult.jl index 6f09c16..acb9103 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRuleListResult.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRuleListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct SecurityRuleListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function SecurityRuleListResult(value, nextLink, ) - OpenAPI.validate_property(SecurityRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(SecurityRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRuleListResult const _property_types_SecurityRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{SecurityRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ SecurityRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRuleListResult[name]))} -function check_required(o::SecurityRuleListResult) +function OpenAPI.check_required(o::SecurityRuleListResult) true end +function OpenAPI.validate_properties(o::SecurityRuleListResult) + OpenAPI.validate_property(SecurityRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(SecurityRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ SecurityRuleListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat2.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat2.jl index 1a15fad..f50eaa1 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat2.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SecurityRulePropertiesFormat2.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat2 <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat2(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat2 const _property_types_SecurityRulePropertiesFormat2 = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess2", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection2", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat2[name]))} -function check_required(o::SecurityRulePropertiesFormat2) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat2) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat2) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat2 }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat2", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat2", :format, val, "int32") end + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLink.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SubResource.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SubResource.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_Subnet.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_Subnet.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_SubnetPropertiesFormat.jl index 6aff4d3..4f44153 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup2", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup2", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_TagsObject.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_TagsObject.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTap.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index b13a962..4588cfe 100644 --- a/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/NetworkSecurityGroupClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkWatcherClient/.openapi-generator/FILES b/src/Network/NetworkWatcherClient/.openapi-generator/FILES index b3b5534..97b2318 100644 --- a/src/Network/NetworkWatcherClient/.openapi-generator/FILES +++ b/src/Network/NetworkWatcherClient/.openapi-generator/FILES @@ -18,6 +18,9 @@ docs/ConnectionMonitorDestination.md docs/ConnectionMonitorEndpoint.md docs/ConnectionMonitorEndpointFilter.md docs/ConnectionMonitorEndpointFilterItem.md +docs/ConnectionMonitorEndpointLocationDetails.md +docs/ConnectionMonitorEndpointScope.md +docs/ConnectionMonitorEndpointScopeItem.md docs/ConnectionMonitorHttpConfiguration.md docs/ConnectionMonitorIcmpConfiguration.md docs/ConnectionMonitorListResult.md @@ -63,6 +66,8 @@ docs/HopLink2.md docs/HopLinkProperties.md docs/HopLinkProperties2.md docs/IPVersion.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md docs/MatchedRule.md docs/NetworkConfigurationDiagnosticParameters.md docs/NetworkConfigurationDiagnosticProfile.md @@ -80,10 +85,12 @@ docs/NextHopResult.md docs/PacketCapture.md docs/PacketCaptureFilter.md docs/PacketCaptureListResult.md +docs/PacketCaptureMachineScope.md docs/PacketCaptureParameters.md docs/PacketCaptureQueryStatusResult.md docs/PacketCaptureResult.md docs/PacketCaptureResultProperties.md +docs/PacketCaptureSettings.md docs/PacketCaptureStorageLocation.md docs/PacketCapturesApi.md docs/ProtocolConfiguration.md @@ -141,6 +148,9 @@ src/models/model_ConnectionMonitorDestination.jl src/models/model_ConnectionMonitorEndpoint.jl src/models/model_ConnectionMonitorEndpointFilter.jl src/models/model_ConnectionMonitorEndpointFilterItem.jl +src/models/model_ConnectionMonitorEndpointLocationDetails.jl +src/models/model_ConnectionMonitorEndpointScope.jl +src/models/model_ConnectionMonitorEndpointScopeItem.jl src/models/model_ConnectionMonitorHttpConfiguration.jl src/models/model_ConnectionMonitorIcmpConfiguration.jl src/models/model_ConnectionMonitorListResult.jl @@ -184,6 +194,8 @@ src/models/model_HopLink2.jl src/models/model_HopLinkProperties.jl src/models/model_HopLinkProperties2.jl src/models/model_IPVersion.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl src/models/model_MatchedRule.jl src/models/model_NetworkConfigurationDiagnosticParameters.jl src/models/model_NetworkConfigurationDiagnosticProfile.jl @@ -200,10 +212,12 @@ src/models/model_NextHopResult.jl src/models/model_PacketCapture.jl src/models/model_PacketCaptureFilter.jl src/models/model_PacketCaptureListResult.jl +src/models/model_PacketCaptureMachineScope.jl src/models/model_PacketCaptureParameters.jl src/models/model_PacketCaptureQueryStatusResult.jl src/models/model_PacketCaptureResult.jl src/models/model_PacketCaptureResultProperties.jl +src/models/model_PacketCaptureSettings.jl src/models/model_PacketCaptureStorageLocation.jl src/models/model_ProtocolConfiguration.jl src/models/model_ProvisioningState.jl diff --git a/src/Network/NetworkWatcherClient/.openapi-generator/VERSION b/src/Network/NetworkWatcherClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/NetworkWatcherClient/.openapi-generator/VERSION +++ b/src/Network/NetworkWatcherClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/NetworkWatcherClient/README.md b/src/Network/NetworkWatcherClient/README.md index e6efcf1..b132a53 100644 --- a/src/Network/NetworkWatcherClient/README.md +++ b/src/Network/NetworkWatcherClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -24,14 +25,13 @@ Class | Method *ConnectionMonitorsApi* | [**connection_monitors_delete**](docs/ConnectionMonitorsApi.md#connection_monitors_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}
*ConnectionMonitorsApi* | [**connection_monitors_get**](docs/ConnectionMonitorsApi.md#connection_monitors_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}
*ConnectionMonitorsApi* | [**connection_monitors_list**](docs/ConnectionMonitorsApi.md#connection_monitors_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors
-*ConnectionMonitorsApi* | [**connection_monitors_query**](docs/ConnectionMonitorsApi.md#connection_monitors_query)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query
-*ConnectionMonitorsApi* | [**connection_monitors_start**](docs/ConnectionMonitorsApi.md#connection_monitors_start)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start
*ConnectionMonitorsApi* | [**connection_monitors_stop**](docs/ConnectionMonitorsApi.md#connection_monitors_stop)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop
*ConnectionMonitorsApi* | [**connection_monitors_update_tags**](docs/ConnectionMonitorsApi.md#connection_monitors_update_tags)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}
*FlowLogsApi* | [**flow_logs_create_or_update**](docs/FlowLogsApi.md#flow_logs_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}
*FlowLogsApi* | [**flow_logs_delete**](docs/FlowLogsApi.md#flow_logs_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}
*FlowLogsApi* | [**flow_logs_get**](docs/FlowLogsApi.md#flow_logs_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}
*FlowLogsApi* | [**flow_logs_list**](docs/FlowLogsApi.md#flow_logs_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs
+*FlowLogsApi* | [**flow_logs_update_tags**](docs/FlowLogsApi.md#flow_logs_update_tags)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}
*NetworkWatchersApi* | [**network_watchers_check_connectivity**](docs/NetworkWatchersApi.md#network_watchers_check_connectivity)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck
*NetworkWatchersApi* | [**network_watchers_create_or_update**](docs/NetworkWatchersApi.md#network_watchers_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}
*NetworkWatchersApi* | [**network_watchers_delete**](docs/NetworkWatchersApi.md#network_watchers_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}
@@ -80,6 +80,9 @@ Class | Method - [ConnectionMonitorEndpoint](docs/ConnectionMonitorEndpoint.md) - [ConnectionMonitorEndpointFilter](docs/ConnectionMonitorEndpointFilter.md) - [ConnectionMonitorEndpointFilterItem](docs/ConnectionMonitorEndpointFilterItem.md) + - [ConnectionMonitorEndpointLocationDetails](docs/ConnectionMonitorEndpointLocationDetails.md) + - [ConnectionMonitorEndpointScope](docs/ConnectionMonitorEndpointScope.md) + - [ConnectionMonitorEndpointScopeItem](docs/ConnectionMonitorEndpointScopeItem.md) - [ConnectionMonitorHttpConfiguration](docs/ConnectionMonitorHttpConfiguration.md) - [ConnectionMonitorIcmpConfiguration](docs/ConnectionMonitorIcmpConfiguration.md) - [ConnectionMonitorListResult](docs/ConnectionMonitorListResult.md) @@ -123,6 +126,8 @@ Class | Method - [HopLinkProperties](docs/HopLinkProperties.md) - [HopLinkProperties2](docs/HopLinkProperties2.md) - [IPVersion](docs/IPVersion.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) - [MatchedRule](docs/MatchedRule.md) - [NetworkConfigurationDiagnosticParameters](docs/NetworkConfigurationDiagnosticParameters.md) - [NetworkConfigurationDiagnosticProfile](docs/NetworkConfigurationDiagnosticProfile.md) @@ -139,10 +144,12 @@ Class | Method - [PacketCapture](docs/PacketCapture.md) - [PacketCaptureFilter](docs/PacketCaptureFilter.md) - [PacketCaptureListResult](docs/PacketCaptureListResult.md) + - [PacketCaptureMachineScope](docs/PacketCaptureMachineScope.md) - [PacketCaptureParameters](docs/PacketCaptureParameters.md) - [PacketCaptureQueryStatusResult](docs/PacketCaptureQueryStatusResult.md) - [PacketCaptureResult](docs/PacketCaptureResult.md) - [PacketCaptureResultProperties](docs/PacketCaptureResultProperties.md) + - [PacketCaptureSettings](docs/PacketCaptureSettings.md) - [PacketCaptureStorageLocation](docs/PacketCaptureStorageLocation.md) - [ProtocolConfiguration](docs/ProtocolConfiguration.md) - [ProvisioningState](docs/ProvisioningState.md) @@ -175,9 +182,12 @@ Class | Method - [VerificationIPFlowResult](docs/VerificationIPFlowResult.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpoint.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpoint.md index ba86bf5..ad9e384 100644 --- a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpoint.md +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpoint.md @@ -5,9 +5,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the connection monitor endpoint. | [default to nothing] -**resourceId** | **String** | Resource ID of the connection monitor endpoint. | [optional] [default to nothing] -**address** | **String** | Address of the connection monitor endpoint (IP or domain name). | [optional] [default to nothing] +**type** | **String** | The endpoint type. | [optional] [default to nothing] +**resourceId** | **String** | Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type. | [optional] [default to nothing] +**address** | **String** | Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type. | [optional] [default to nothing] **filter** | [***ConnectionMonitorEndpointFilter**](ConnectionMonitorEndpointFilter.md) | | [optional] [default to nothing] +**scope** | [***ConnectionMonitorEndpointScope**](ConnectionMonitorEndpointScope.md) | | [optional] [default to nothing] +**coverageLevel** | **String** | Test coverage for the endpoint. | [optional] [default to nothing] +**locationDetails** | [***ConnectionMonitorEndpointLocationDetails**](ConnectionMonitorEndpointLocationDetails.md) | | [optional] [default to nothing] +**subscriptionId** | **String** | Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointLocationDetails.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointLocationDetails.md new file mode 100644 index 0000000..e0364ab --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointLocationDetails.md @@ -0,0 +1,12 @@ +# ConnectionMonitorEndpointLocationDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**region** | **String** | Region for connection monitor endpoint. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointScope.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointScope.md new file mode 100644 index 0000000..6f07776 --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointScope.md @@ -0,0 +1,13 @@ +# ConnectionMonitorEndpointScope + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**include** | [**Vector{ConnectionMonitorEndpointScopeItem}**](ConnectionMonitorEndpointScopeItem.md) | List of items which needs to be included to the endpoint scope. | [optional] [default to nothing] +**exclude** | [**Vector{ConnectionMonitorEndpointScopeItem}**](ConnectionMonitorEndpointScopeItem.md) | List of items which needs to be excluded from the endpoint scope. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointScopeItem.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointScopeItem.md new file mode 100644 index 0000000..348e7d1 --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorEndpointScopeItem.md @@ -0,0 +1,12 @@ +# ConnectionMonitorEndpointScopeItem + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**address** | **String** | The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorParameters.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorParameters.md index a4ed347..801829b 100644 --- a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorParameters.md +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorParameters.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **source** | [***ConnectionMonitorSource**](ConnectionMonitorSource.md) | | [optional] [default to nothing] **destination** | [***ConnectionMonitorDestination**](ConnectionMonitorDestination.md) | | [optional] [default to nothing] **autoStart** | **Bool** | Determines if the connection monitor will start automatically once created. | [optional] [default to true] -**monitoringIntervalInSeconds** | **Int64** | Monitoring interval in seconds. | [optional] [default to nothing] +**monitoringIntervalInSeconds** | **Int64** | Monitoring interval in seconds. | [optional] [default to 60] **endpoints** | [**Vector{ConnectionMonitorEndpoint}**](ConnectionMonitorEndpoint.md) | List of connection monitor endpoints. | [optional] [default to nothing] **testConfigurations** | [**Vector{ConnectionMonitorTestConfiguration}**](ConnectionMonitorTestConfiguration.md) | List of connection monitor test configurations. | [optional] [default to nothing] **testGroups** | [**Vector{ConnectionMonitorTestGroup}**](ConnectionMonitorTestGroup.md) | List of connection monitor test groups. | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorResultProperties.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorResultProperties.md index b0239a4..86bc9e0 100644 --- a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorResultProperties.md +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorResultProperties.md @@ -4,14 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**provisioningState** | **Any** | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **startTime** | **ZonedDateTime** | The date and time when the connection monitor was started. | [optional] [readonly] [default to nothing] **monitoringStatus** | **String** | The monitoring status of the connection monitor. | [optional] [readonly] [default to nothing] **connectionMonitorType** | **String** | Type of connection monitor. | [optional] [readonly] [default to nothing] **source** | [***ConnectionMonitorSource**](ConnectionMonitorSource.md) | | [optional] [default to nothing] **destination** | [***ConnectionMonitorDestination**](ConnectionMonitorDestination.md) | | [optional] [default to nothing] **autoStart** | **Bool** | Determines if the connection monitor will start automatically once created. | [optional] [default to true] -**monitoringIntervalInSeconds** | **Int64** | Monitoring interval in seconds. | [optional] [default to nothing] +**monitoringIntervalInSeconds** | **Int64** | Monitoring interval in seconds. | [optional] [default to 60] **endpoints** | [**Vector{ConnectionMonitorEndpoint}**](ConnectionMonitorEndpoint.md) | List of connection monitor endpoints. | [optional] [default to nothing] **testConfigurations** | [**Vector{ConnectionMonitorTestConfiguration}**](ConnectionMonitorTestConfiguration.md) | List of connection monitor test configurations. | [optional] [default to nothing] **testGroups** | [**Vector{ConnectionMonitorTestGroup}**](ConnectionMonitorTestGroup.md) | List of connection monitor test groups. | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorTcpConfiguration.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorTcpConfiguration.md index 2587731..8df741e 100644 --- a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorTcpConfiguration.md +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorTcpConfiguration.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **port** | **Int64** | The port to connect to. | [optional] [default to nothing] **disableTraceRoute** | **Bool** | Value indicating whether path evaluation with trace route should be disabled. | [optional] [default to nothing] +**destinationPortBehavior** | **String** | Destination port behavior. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorsApi.md b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorsApi.md index 558a57f..c97531d 100644 --- a/src/Network/NetworkWatcherClient/docs/ConnectionMonitorsApi.md +++ b/src/Network/NetworkWatcherClient/docs/ConnectionMonitorsApi.md @@ -8,15 +8,13 @@ Method | HTTP request | Description [**connection_monitors_delete**](ConnectionMonitorsApi.md#connection_monitors_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName} | [**connection_monitors_get**](ConnectionMonitorsApi.md#connection_monitors_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName} | [**connection_monitors_list**](ConnectionMonitorsApi.md#connection_monitors_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors | -[**connection_monitors_query**](ConnectionMonitorsApi.md#connection_monitors_query) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query | -[**connection_monitors_start**](ConnectionMonitorsApi.md#connection_monitors_start) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start | [**connection_monitors_stop**](ConnectionMonitorsApi.md#connection_monitors_stop) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop | [**connection_monitors_update_tags**](ConnectionMonitorsApi.md#connection_monitors_update_tags) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName} | # **connection_monitors_create_or_update** -> connection_monitors_create_or_update(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; _mediaType=nothing) -> ConnectionMonitorResult, OpenAPI.Clients.ApiResponse
-> connection_monitors_create_or_update(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; _mediaType=nothing) -> Channel{ ConnectionMonitorResult }, OpenAPI.Clients.ApiResponse +> connection_monitors_create_or_update(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; migrate=nothing, _mediaType=nothing) -> ConnectionMonitorResult, OpenAPI.Clients.ApiResponse
+> connection_monitors_create_or_update(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; migrate=nothing, _mediaType=nothing) -> Channel{ ConnectionMonitorResult }, OpenAPI.Clients.ApiResponse @@ -27,12 +25,18 @@ Create or update a connection monitor. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**connection_monitor_name** | **String**| The name of the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ConnectionMonitor**](ConnectionMonitor.md)| Parameters that define the operation to create a connection monitor. | +**resource_group_name** | **String** | The name of the resource group containing Network Watcher. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**connection_monitor_name** | **String** | The name of the connection monitor. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ConnectionMonitor**](ConnectionMonitor.md) | Parameters that define the operation to create a connection monitor. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **migrate** | **String** | Value indicating whether connection monitor V1 should be migrated to V2 format. | [default to nothing] ### Return type @@ -62,11 +66,11 @@ Deletes the specified connection monitor. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**connection_monitor_name** | **String**| The name of the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing Network Watcher. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**connection_monitor_name** | **String** | The name of the connection monitor. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -96,11 +100,11 @@ Gets a connection monitor by name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**connection_monitor_name** | **String**| The name of the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing Network Watcher. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**connection_monitor_name** | **String** | The name of the connection monitor. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -130,10 +134,10 @@ Lists all connection monitors for the specified Network Watcher. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing Network Watcher. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -150,74 +154,6 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) -# **connection_monitors_query** -> connection_monitors_query(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> ConnectionMonitorQueryResult, OpenAPI.Clients.ApiResponse
-> connection_monitors_query(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ ConnectionMonitorQueryResult }, OpenAPI.Clients.ApiResponse - - - -Query a snapshot of the most recent connection states. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**connection_monitor_name** | **String**| The name given to the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] - -### Return type - -[**ConnectionMonitorQueryResult**](ConnectionMonitorQueryResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **connection_monitors_start** -> connection_monitors_start(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> connection_monitors_start(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Starts the specified connection monitor. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**connection_monitor_name** | **String**| The name of the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - # **connection_monitors_stop** > connection_monitors_stop(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
> connection_monitors_stop(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -231,11 +167,11 @@ Stops the specified connection monitor. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**connection_monitor_name** | **String**| The name of the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing Network Watcher. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**connection_monitor_name** | **String** | The name of the connection monitor. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -265,12 +201,12 @@ Update tags of the specified connection monitor. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ConnectionMonitorsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**connection_monitor_name** | **String**| The name of the connection monitor. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update connection monitor tags. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**connection_monitor_name** | **String** | The name of the connection monitor. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update connection monitor tags. | ### Return type diff --git a/src/Network/NetworkWatcherClient/docs/FlowLog.md b/src/Network/NetworkWatcherClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/NetworkWatcherClient/docs/FlowLog.md +++ b/src/Network/NetworkWatcherClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/FlowLogFormatParameters.md b/src/Network/NetworkWatcherClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/NetworkWatcherClient/docs/FlowLogFormatParameters.md +++ b/src/Network/NetworkWatcherClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/FlowLogInformation.md b/src/Network/NetworkWatcherClient/docs/FlowLogInformation.md index 3e9a349..544a02b 100644 --- a/src/Network/NetworkWatcherClient/docs/FlowLogInformation.md +++ b/src/Network/NetworkWatcherClient/docs/FlowLogInformation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | The ID of the resource to configure for flow log and traffic analytics (optional) . | [default to nothing] **properties** | [***FlowLogProperties**](FlowLogProperties.md) | | [default to nothing] **flowAnalyticsConfiguration** | [***TrafficAnalyticsProperties**](TrafficAnalyticsProperties.md) | | [optional] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/FlowLogProperties.md b/src/Network/NetworkWatcherClient/docs/FlowLogProperties.md index e08be80..61976ca 100644 --- a/src/Network/NetworkWatcherClient/docs/FlowLogProperties.md +++ b/src/Network/NetworkWatcherClient/docs/FlowLogProperties.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/FlowLogPropertiesFormat.md b/src/Network/NetworkWatcherClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/NetworkWatcherClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/NetworkWatcherClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/FlowLogsApi.md b/src/Network/NetworkWatcherClient/docs/FlowLogsApi.md index 4c90c73..008180e 100644 --- a/src/Network/NetworkWatcherClient/docs/FlowLogsApi.md +++ b/src/Network/NetworkWatcherClient/docs/FlowLogsApi.md @@ -8,6 +8,7 @@ Method | HTTP request | Description [**flow_logs_delete**](FlowLogsApi.md#flow_logs_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName} | [**flow_logs_get**](FlowLogsApi.md#flow_logs_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName} | [**flow_logs_list**](FlowLogsApi.md#flow_logs_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs | +[**flow_logs_update_tags**](FlowLogsApi.md#flow_logs_update_tags) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName} | # **flow_logs_create_or_update** @@ -23,12 +24,12 @@ Create or update a flow log for the specified network security group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FlowLogsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**flow_log_name** | **String**| The name of the flow log. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**FlowLog**](FlowLog.md)| Parameters that define the create or update flow log resource. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**flow_log_name** | **String** | The name of the flow log. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**FlowLog**](FlowLog.md) | Parameters that define the create or update flow log resource. | ### Return type @@ -58,11 +59,11 @@ Deletes the specified flow log resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FlowLogsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**flow_log_name** | **String**| The name of the flow log resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**flow_log_name** | **String** | The name of the flow log resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,11 +93,11 @@ Gets a flow log resource by name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FlowLogsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**flow_log_name** | **String**| The name of the flow log resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**flow_log_name** | **String** | The name of the flow log resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +127,10 @@ Lists all flow log resources for the specified Network Watcher. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **FlowLogsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing Network Watcher. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing Network Watcher. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -146,3 +147,38 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **flow_logs_update_tags** +> flow_logs_update_tags(_api::FlowLogsApi, resource_group_name::String, network_watcher_name::String, flow_log_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) -> FlowLog, OpenAPI.Clients.ApiResponse
+> flow_logs_update_tags(_api::FlowLogsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, flow_log_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) -> Channel{ FlowLog }, OpenAPI.Clients.ApiResponse + + + +Update tags of the specified flow log. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **FlowLogsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**flow_log_name** | **String** | The name of the flow log. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update flow log tags. | + +### Return type + +[**FlowLog**](FlowLog.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Network/NetworkWatcherClient/docs/ManagedServiceIdentity.md b/src/Network/NetworkWatcherClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/NetworkWatcherClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/NetworkWatchersApi.md b/src/Network/NetworkWatcherClient/docs/NetworkWatchersApi.md index cc464e3..415e569 100644 --- a/src/Network/NetworkWatcherClient/docs/NetworkWatchersApi.md +++ b/src/Network/NetworkWatcherClient/docs/NetworkWatchersApi.md @@ -37,11 +37,11 @@ Verifies the possibility of establishing a direct TCP connection from a virtual Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ConnectivityParameters**](ConnectivityParameters.md)| Parameters that determine how the connectivity check will be performed. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ConnectivityParameters**](ConnectivityParameters.md) | Parameters that determine how the connectivity check will be performed. | ### Return type @@ -71,11 +71,11 @@ Creates or updates a network watcher in the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**NetworkWatcher**](NetworkWatcher.md)| Parameters that define the network watcher resource. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**NetworkWatcher**](NetworkWatcher.md) | Parameters that define the network watcher resource. | ### Return type @@ -105,10 +105,10 @@ Deletes the specified network watcher resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -138,10 +138,10 @@ Gets the specified network watcher by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -171,11 +171,11 @@ NOTE: This feature is currently in preview and still being tested for stability. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**AzureReachabilityReportParameters**](AzureReachabilityReportParameters.md)| Parameters that determine Azure reachability report configuration. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**AzureReachabilityReportParameters**](AzureReachabilityReportParameters.md) | Parameters that determine Azure reachability report configuration. | ### Return type @@ -205,11 +205,11 @@ Queries status of flow log and traffic analytics (optional) on a specified resou Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**FlowLogStatusParameters**](FlowLogStatusParameters.md)| Parameters that define a resource to query flow log and traffic analytics (optional) status. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**FlowLogStatusParameters**](FlowLogStatusParameters.md) | Parameters that define a resource to query flow log and traffic analytics (optional) status. | ### Return type @@ -239,11 +239,11 @@ Gets Network Configuration Diagnostic data to help customers understand and debu Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**NetworkConfigurationDiagnosticParameters**](NetworkConfigurationDiagnosticParameters.md)| Parameters to get network configuration diagnostic. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**NetworkConfigurationDiagnosticParameters**](NetworkConfigurationDiagnosticParameters.md) | Parameters to get network configuration diagnostic. | ### Return type @@ -273,11 +273,11 @@ Gets the next hop from the specified VM. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**NextHopParameters**](NextHopParameters.md)| Parameters that define the source and destination endpoint. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**NextHopParameters**](NextHopParameters.md) | Parameters that define the source and destination endpoint. | ### Return type @@ -307,11 +307,11 @@ Gets the current network topology by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TopologyParameters**](TopologyParameters.md)| Parameters that define the representation of topology. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TopologyParameters**](TopologyParameters.md) | Parameters that define the representation of topology. | ### Return type @@ -341,11 +341,11 @@ Initiate troubleshooting on a specified resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TroubleshootingParameters**](TroubleshootingParameters.md)| Parameters that define the resource to troubleshoot. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TroubleshootingParameters**](TroubleshootingParameters.md) | Parameters that define the resource to troubleshoot. | ### Return type @@ -375,11 +375,11 @@ Get the last completed troubleshooting result on a specified resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**QueryTroubleshootingParameters**](QueryTroubleshootingParameters.md)| Parameters that define the resource to query the troubleshooting result. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**QueryTroubleshootingParameters**](QueryTroubleshootingParameters.md) | Parameters that define the resource to query the troubleshooting result. | ### Return type @@ -409,11 +409,11 @@ Gets the configured and effective security group rules on the specified VM. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**SecurityGroupViewParameters**](SecurityGroupViewParameters.md)| Parameters that define the VM to check security groups for. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**SecurityGroupViewParameters**](SecurityGroupViewParameters.md) | Parameters that define the VM to check security groups for. | ### Return type @@ -443,9 +443,9 @@ Gets all network watchers by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -475,8 +475,8 @@ Gets all network watchers by subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -506,11 +506,11 @@ NOTE: This feature is currently in preview and still being tested for stability. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**AvailableProvidersListParameters**](AvailableProvidersListParameters.md)| Parameters that scope the list of available providers. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**AvailableProvidersListParameters**](AvailableProvidersListParameters.md) | Parameters that scope the list of available providers. | ### Return type @@ -540,11 +540,11 @@ Configures flow log and traffic analytics (optional) on a specified resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**FlowLogInformation**](FlowLogInformation.md)| Parameters that define the configuration of flow log. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**FlowLogInformation**](FlowLogInformation.md) | Parameters that define the configuration of flow log. | ### Return type @@ -574,11 +574,11 @@ Updates a network watcher tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update network watcher tags. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update network watcher tags. | ### Return type @@ -608,11 +608,11 @@ Verify IP flow from the specified VM to a location given the currently configure Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkWatchersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VerificationIPFlowParameters**](VerificationIPFlowParameters.md)| Parameters that define the IP flow to be verified. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VerificationIPFlowParameters**](VerificationIPFlowParameters.md) | Parameters that define the IP flow to be verified. | ### Return type diff --git a/src/Network/NetworkWatcherClient/docs/PacketCaptureFilter.md b/src/Network/NetworkWatcherClient/docs/PacketCaptureFilter.md index e3ef7a0..0689ad3 100644 --- a/src/Network/NetworkWatcherClient/docs/PacketCaptureFilter.md +++ b/src/Network/NetworkWatcherClient/docs/PacketCaptureFilter.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**protocol** | **String** | Protocol to be filtered on. | [optional] [default to Any] +**protocol** | **String** | Protocol to be filtered on. | [optional] [default to "Any"] **localIPAddress** | **String** | Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5\"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. | [optional] [default to nothing] **remoteIPAddress** | **String** | Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. | [optional] [default to nothing] **localPort** | **String** | Local port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/PacketCaptureMachineScope.md b/src/Network/NetworkWatcherClient/docs/PacketCaptureMachineScope.md new file mode 100644 index 0000000..2b66400 --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/PacketCaptureMachineScope.md @@ -0,0 +1,13 @@ +# PacketCaptureMachineScope + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**include** | **Vector{String}** | List of AzureVMSS instances to run packet capture on. | [optional] [default to nothing] +**exclude** | **Vector{String}** | List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/PacketCaptureParameters.md b/src/Network/NetworkWatcherClient/docs/PacketCaptureParameters.md index 5c44619..a8b8cea 100644 --- a/src/Network/NetworkWatcherClient/docs/PacketCaptureParameters.md +++ b/src/Network/NetworkWatcherClient/docs/PacketCaptureParameters.md @@ -4,12 +4,16 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**target** | **String** | The ID of the targeted resource, only VM is currently supported. | [default to nothing] -**bytesToCapturePerPacket** | **Int64** | Number of bytes captured per packet, the remaining bytes are truncated. | [optional] [default to nothing] -**totalBytesPerSession** | **Int64** | Maximum size of the capture output. | [optional] [default to nothing] -**timeLimitInSeconds** | **Int64** | Maximum duration of the capture session in seconds. | [optional] [default to nothing] +**target** | **String** | The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. | [default to nothing] +**scope** | [***PacketCaptureMachineScope**](PacketCaptureMachineScope.md) | | [optional] [default to nothing] +**targetType** | **String** | Target type of the resource provided. | [optional] [default to nothing] +**bytesToCapturePerPacket** | **Int64** | Number of bytes captured per packet, the remaining bytes are truncated. | [optional] [default to 0] +**totalBytesPerSession** | **Int64** | Maximum size of the capture output. | [optional] [default to 1073741824] +**timeLimitInSeconds** | **Int64** | Maximum duration of the capture session in seconds. | [optional] [default to 18000] **storageLocation** | [***PacketCaptureStorageLocation**](PacketCaptureStorageLocation.md) | | [default to nothing] **filters** | [**Vector{PacketCaptureFilter}**](PacketCaptureFilter.md) | A list of packet capture filters. | [optional] [default to nothing] +**continuousCapture** | **Bool** | This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. | [optional] [default to nothing] +**captureSettings** | [***PacketCaptureSettings**](PacketCaptureSettings.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/PacketCaptureResultProperties.md b/src/Network/NetworkWatcherClient/docs/PacketCaptureResultProperties.md index ebbe030..0544148 100644 --- a/src/Network/NetworkWatcherClient/docs/PacketCaptureResultProperties.md +++ b/src/Network/NetworkWatcherClient/docs/PacketCaptureResultProperties.md @@ -4,13 +4,17 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**provisioningState** | **Any** | | [optional] [default to nothing] -**target** | **String** | The ID of the targeted resource, only VM is currently supported. | [default to nothing] -**bytesToCapturePerPacket** | **Int64** | Number of bytes captured per packet, the remaining bytes are truncated. | [optional] [default to nothing] -**totalBytesPerSession** | **Int64** | Maximum size of the capture output. | [optional] [default to nothing] -**timeLimitInSeconds** | **Int64** | Maximum duration of the capture session in seconds. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**target** | **String** | The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. | [default to nothing] +**scope** | [***PacketCaptureMachineScope**](PacketCaptureMachineScope.md) | | [optional] [default to nothing] +**targetType** | **String** | Target type of the resource provided. | [optional] [default to nothing] +**bytesToCapturePerPacket** | **Int64** | Number of bytes captured per packet, the remaining bytes are truncated. | [optional] [default to 0] +**totalBytesPerSession** | **Int64** | Maximum size of the capture output. | [optional] [default to 1073741824] +**timeLimitInSeconds** | **Int64** | Maximum duration of the capture session in seconds. | [optional] [default to 18000] **storageLocation** | [***PacketCaptureStorageLocation**](PacketCaptureStorageLocation.md) | | [default to nothing] **filters** | [**Vector{PacketCaptureFilter}**](PacketCaptureFilter.md) | A list of packet capture filters. | [optional] [default to nothing] +**continuousCapture** | **Bool** | This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. | [optional] [default to nothing] +**captureSettings** | [***PacketCaptureSettings**](PacketCaptureSettings.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/PacketCaptureSettings.md b/src/Network/NetworkWatcherClient/docs/PacketCaptureSettings.md new file mode 100644 index 0000000..7c71c3e --- /dev/null +++ b/src/Network/NetworkWatcherClient/docs/PacketCaptureSettings.md @@ -0,0 +1,14 @@ +# PacketCaptureSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fileCount** | **Int64** | Number of file count. Default value of count is 10 and maximum number is 10000. | [optional] [default to 10] +**fileSizeInBytes** | **Int64** | Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB). | [optional] [default to 104857600] +**sessionTimeLimitInSeconds** | **Int64** | Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day). | [optional] [default to 86400] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/NetworkWatcherClient/docs/PacketCaptureStorageLocation.md b/src/Network/NetworkWatcherClient/docs/PacketCaptureStorageLocation.md index 1cb2394..8ed0423 100644 --- a/src/Network/NetworkWatcherClient/docs/PacketCaptureStorageLocation.md +++ b/src/Network/NetworkWatcherClient/docs/PacketCaptureStorageLocation.md @@ -4,9 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**storageId** | **String** | The ID of the storage account to save the packet capture session. Required if no local file path is provided. | [optional] [default to nothing] +**storageId** | **String** | The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided. | [optional] [default to nothing] **storagePath** | **String** | The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. | [optional] [default to nothing] -**filePath** | **String** | A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional. | [optional] [default to nothing] +**filePath** | **String** | This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional. | [optional] [default to nothing] +**localPath** | **String** | This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/NetworkWatcherClient/docs/PacketCapturesApi.md b/src/Network/NetworkWatcherClient/docs/PacketCapturesApi.md index 6667488..64218f9 100644 --- a/src/Network/NetworkWatcherClient/docs/PacketCapturesApi.md +++ b/src/Network/NetworkWatcherClient/docs/PacketCapturesApi.md @@ -25,12 +25,12 @@ Create and start a packet capture on the specified VM. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PacketCapturesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**packet_capture_name** | **String**| The name of the packet capture session. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**PacketCapture**](PacketCapture.md)| Parameters that define the create packet capture operation. | +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**packet_capture_name** | **String** | The name of the packet capture session. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**PacketCapture**](PacketCapture.md) | Parameters that define the create packet capture operation. | ### Return type @@ -60,11 +60,11 @@ Deletes the specified packet capture session. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PacketCapturesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**packet_capture_name** | **String**| The name of the packet capture session. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**packet_capture_name** | **String** | The name of the packet capture session. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -94,11 +94,11 @@ Gets a packet capture session by name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PacketCapturesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**packet_capture_name** | **String**| The name of the packet capture session. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**packet_capture_name** | **String** | The name of the packet capture session. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -128,11 +128,11 @@ Query the status of a running packet capture session. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PacketCapturesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**packet_capture_name** | **String**| The name given to the packet capture session. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**packet_capture_name** | **String** | The name given to the packet capture session. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -162,10 +162,10 @@ Lists all packet capture sessions within the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PacketCapturesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the Network Watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the Network Watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -195,11 +195,11 @@ Stops a specified packet capture session. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PacketCapturesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher. | [default to nothing] -**packet_capture_name** | **String**| The name of the packet capture session. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**network_watcher_name** | **String** | The name of the network watcher. | +**packet_capture_name** | **String** | The name of the packet capture session. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/NetworkWatcherClient/docs/RetentionPolicyParameters.md b/src/Network/NetworkWatcherClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/NetworkWatcherClient/docs/RetentionPolicyParameters.md +++ b/src/Network/NetworkWatcherClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/NetworkWatcherClient/docs/SecurityRule.md b/src/Network/NetworkWatcherClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/NetworkWatcherClient/docs/SecurityRule.md +++ b/src/Network/NetworkWatcherClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/SecurityRulePropertiesFormat.md b/src/Network/NetworkWatcherClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/NetworkWatcherClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/NetworkWatcherClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/NetworkWatcherClient/docs/TrafficAnalyticsApi.md b/src/Network/NetworkWatcherClient/docs/TrafficAnalyticsApi.md index 2c4ceae..04e01d7 100644 --- a/src/Network/NetworkWatcherClient/docs/TrafficAnalyticsApi.md +++ b/src/Network/NetworkWatcherClient/docs/TrafficAnalyticsApi.md @@ -21,11 +21,11 @@ Queries status of flow log and traffic analytics (optional) on a specified resou Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrafficAnalyticsApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**FlowLogStatusParameters**](FlowLogStatusParameters.md)| Parameters that define a resource to query flow log and traffic analytics (optional) status. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**FlowLogStatusParameters**](FlowLogStatusParameters.md) | Parameters that define a resource to query flow log and traffic analytics (optional) status. | ### Return type @@ -55,11 +55,11 @@ Configures flow log and traffic analytics (optional) on a specified resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TrafficAnalyticsApi** | API context | -**resource_group_name** | **String**| The name of the network watcher resource group. | [default to nothing] -**network_watcher_name** | **String**| The name of the network watcher resource. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**FlowLogInformation**](FlowLogInformation.md)| Parameters that define the configuration of flow log. | +**resource_group_name** | **String** | The name of the network watcher resource group. | +**network_watcher_name** | **String** | The name of the network watcher resource. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**FlowLogInformation**](FlowLogInformation.md) | Parameters that define the configuration of flow log. | ### Return type diff --git a/src/Network/NetworkWatcherClient/src/NetworkWatcherClient.jl b/src/Network/NetworkWatcherClient/src/NetworkWatcherClient.jl index 019de94..93ab022 100644 --- a/src/Network/NetworkWatcherClient/src/NetworkWatcherClient.jl +++ b/src/Network/NetworkWatcherClient/src/NetworkWatcherClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/NetworkWatcherClient/src/apis/api_ConnectionMonitorsApi.jl b/src/Network/NetworkWatcherClient/src/apis/api_ConnectionMonitorsApi.jl index 56dc118..2bb29d5 100644 --- a/src/Network/NetworkWatcherClient/src/apis/api_ConnectionMonitorsApi.jl +++ b/src/Network/NetworkWatcherClient/src/apis/api_ConnectionMonitorsApi.jl @@ -17,13 +17,14 @@ const _returntypes_connection_monitors_create_or_update_ConnectionMonitorsApi = Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse2, ) -function _oacinternal_connection_monitors_create_or_update(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; _mediaType=nothing) +function _oacinternal_connection_monitors_create_or_update(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; migrate=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_connection_monitors_create_or_update_ConnectionMonitorsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "migrate", migrate; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -38,16 +39,17 @@ Params: - api_version::String (required) - subscription_id::String (required) - parameters::ConnectionMonitor (required) +- migrate::String Return: ConnectionMonitorResult, OpenAPI.Clients.ApiResponse """ -function connection_monitors_create_or_update(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; _mediaType=nothing) - _ctx = _oacinternal_connection_monitors_create_or_update(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id, parameters; _mediaType=_mediaType) +function connection_monitors_create_or_update(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; migrate=nothing, _mediaType=nothing) + _ctx = _oacinternal_connection_monitors_create_or_update(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id, parameters; migrate=migrate, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function connection_monitors_create_or_update(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; _mediaType=nothing) - _ctx = _oacinternal_connection_monitors_create_or_update(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id, parameters; _mediaType=_mediaType) +function connection_monitors_create_or_update(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String, parameters::ConnectionMonitor; migrate=nothing, _mediaType=nothing) + _ctx = _oacinternal_connection_monitors_create_or_update(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id, parameters; migrate=migrate, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -63,7 +65,7 @@ function _oacinternal_connection_monitors_delete(_api::ConnectionMonitorsApi, re OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -101,7 +103,7 @@ function _oacinternal_connection_monitors_get(_api::ConnectionMonitorsApi, resou OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -138,7 +140,7 @@ function _oacinternal_connection_monitors_list(_api::ConnectionMonitorsApi, reso OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -164,84 +166,6 @@ function connection_monitors_list(_api::ConnectionMonitorsApi, response_stream:: return OpenAPI.Clients.exec(_ctx, response_stream) end -const _returntypes_connection_monitors_query_ConnectionMonitorsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => ConnectionMonitorQueryResult, - Regex("^" * replace("202", "x"=>".") * "\$") => ConnectionMonitorQueryResult, - Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse2, -) - -function _oacinternal_connection_monitors_query(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connection_monitors_query_ConnectionMonitorsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/query", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Query a snapshot of the most recent connection states. - -Params: -- resource_group_name::String (required) -- network_watcher_name::String (required) -- connection_monitor_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: ConnectionMonitorQueryResult, OpenAPI.Clients.ApiResponse -""" -function connection_monitors_query(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_connection_monitors_query(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function connection_monitors_query(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_connection_monitors_query(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_connection_monitors_start_ConnectionMonitorsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse2, -) - -function _oacinternal_connection_monitors_start(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_connection_monitors_start_ConnectionMonitorsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/start", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Starts the specified connection monitor. - -Params: -- resource_group_name::String (required) -- network_watcher_name::String (required) -- connection_monitor_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function connection_monitors_start(_api::ConnectionMonitorsApi, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_connection_monitors_start(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function connection_monitors_start(_api::ConnectionMonitorsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, connection_monitor_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_connection_monitors_start(_api, resource_group_name, network_watcher_name, connection_monitor_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - const _returntypes_connection_monitors_stop_ConnectionMonitorsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, @@ -254,7 +178,7 @@ function _oacinternal_connection_monitors_stop(_api::ConnectionMonitorsApi, reso OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -292,7 +216,7 @@ function _oacinternal_connection_monitors_update_tags(_api::ConnectionMonitorsAp OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "connectionMonitorName", connection_monitor_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -324,7 +248,5 @@ export connection_monitors_create_or_update export connection_monitors_delete export connection_monitors_get export connection_monitors_list -export connection_monitors_query -export connection_monitors_start export connection_monitors_stop export connection_monitors_update_tags diff --git a/src/Network/NetworkWatcherClient/src/apis/api_FlowLogsApi.jl b/src/Network/NetworkWatcherClient/src/apis/api_FlowLogsApi.jl index 6ea2d9f..70f47bc 100644 --- a/src/Network/NetworkWatcherClient/src/apis/api_FlowLogsApi.jl +++ b/src/Network/NetworkWatcherClient/src/apis/api_FlowLogsApi.jl @@ -23,7 +23,7 @@ function _oacinternal_flow_logs_create_or_update(_api::FlowLogsApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "flowLogName", flow_log_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -63,7 +63,7 @@ function _oacinternal_flow_logs_delete(_api::FlowLogsApi, resource_group_name::S OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "flowLogName", flow_log_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -101,7 +101,7 @@ function _oacinternal_flow_logs_get(_api::FlowLogsApi, resource_group_name::Stri OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "flowLogName", flow_log_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -138,7 +138,7 @@ function _oacinternal_flow_logs_list(_api::FlowLogsApi, resource_group_name::Str OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -164,7 +164,47 @@ function flow_logs_list(_api::FlowLogsApi, response_stream::Channel, resource_gr return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_flow_logs_update_tags_FlowLogsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => FlowLog, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse2, +) + +function _oacinternal_flow_logs_update_tags(_api::FlowLogsApi, resource_group_name::String, network_watcher_name::String, flow_log_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_flow_logs_update_tags_FlowLogsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "flowLogName", flow_log_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Update tags of the specified flow log. + +Params: +- resource_group_name::String (required) +- network_watcher_name::String (required) +- flow_log_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::TagsObject (required) + +Return: FlowLog, OpenAPI.Clients.ApiResponse +""" +function flow_logs_update_tags(_api::FlowLogsApi, resource_group_name::String, network_watcher_name::String, flow_log_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) + _ctx = _oacinternal_flow_logs_update_tags(_api, resource_group_name, network_watcher_name, flow_log_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function flow_logs_update_tags(_api::FlowLogsApi, response_stream::Channel, resource_group_name::String, network_watcher_name::String, flow_log_name::String, api_version::String, subscription_id::String, parameters::TagsObject; _mediaType=nothing) + _ctx = _oacinternal_flow_logs_update_tags(_api, resource_group_name, network_watcher_name, flow_log_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + export flow_logs_create_or_update export flow_logs_delete export flow_logs_get export flow_logs_list +export flow_logs_update_tags diff --git a/src/Network/NetworkWatcherClient/src/apis/api_NetworkWatchersApi.jl b/src/Network/NetworkWatcherClient/src/apis/api_NetworkWatchersApi.jl index 795fa35..6858b75 100644 --- a/src/Network/NetworkWatcherClient/src/apis/api_NetworkWatchersApi.jl +++ b/src/Network/NetworkWatcherClient/src/apis/api_NetworkWatchersApi.jl @@ -22,7 +22,7 @@ function _oacinternal_network_watchers_check_connectivity(_api::NetworkWatchersA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -60,7 +60,7 @@ function _oacinternal_network_watchers_create_or_update(_api::NetworkWatchersApi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -98,7 +98,7 @@ function _oacinternal_network_watchers_delete(_api::NetworkWatchersApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -134,7 +134,7 @@ function _oacinternal_network_watchers_get(_api::NetworkWatchersApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -171,7 +171,7 @@ function _oacinternal_network_watchers_get_azure_reachability_report(_api::Netwo OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -209,7 +209,7 @@ function _oacinternal_network_watchers_get_flow_log_status(_api::NetworkWatchers OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -247,7 +247,7 @@ function _oacinternal_network_watchers_get_network_configuration_diagnostic(_api OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -285,7 +285,7 @@ function _oacinternal_network_watchers_get_next_hop(_api::NetworkWatchersApi, re OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -322,7 +322,7 @@ function _oacinternal_network_watchers_get_topology(_api::NetworkWatchersApi, re OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -360,7 +360,7 @@ function _oacinternal_network_watchers_get_troubleshooting(_api::NetworkWatchers OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -398,7 +398,7 @@ function _oacinternal_network_watchers_get_troubleshooting_result(_api::NetworkW OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -436,7 +436,7 @@ function _oacinternal_network_watchers_get_v_m_security_rules(_api::NetworkWatch OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -472,7 +472,7 @@ function _oacinternal_network_watchers_list(_api::NetworkWatchersApi, resource_g _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_network_watchers_list_NetworkWatchersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -505,7 +505,7 @@ const _returntypes_network_watchers_list_all_NetworkWatchersApi = Dict{Regex,Typ function _oacinternal_network_watchers_list_all(_api::NetworkWatchersApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_network_watchers_list_all_NetworkWatchersApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -540,7 +540,7 @@ function _oacinternal_network_watchers_list_available_providers(_api::NetworkWat OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -578,7 +578,7 @@ function _oacinternal_network_watchers_set_flow_log_configuration(_api::NetworkW OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -615,7 +615,7 @@ function _oacinternal_network_watchers_update_tags(_api::NetworkWatchersApi, res OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -653,7 +653,7 @@ function _oacinternal_network_watchers_verify_i_p_flow(_api::NetworkWatchersApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/NetworkWatcherClient/src/apis/api_PacketCapturesApi.jl b/src/Network/NetworkWatcherClient/src/apis/api_PacketCapturesApi.jl index 1487f78..7ed5b7c 100644 --- a/src/Network/NetworkWatcherClient/src/apis/api_PacketCapturesApi.jl +++ b/src/Network/NetworkWatcherClient/src/apis/api_PacketCapturesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_packet_captures_create(_api::PacketCapturesApi, resource_g OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "packetCaptureName", packet_capture_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -62,7 +62,7 @@ function _oacinternal_packet_captures_delete(_api::PacketCapturesApi, resource_g OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "packetCaptureName", packet_capture_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -100,7 +100,7 @@ function _oacinternal_packet_captures_get(_api::PacketCapturesApi, resource_grou OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "packetCaptureName", packet_capture_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -139,7 +139,7 @@ function _oacinternal_packet_captures_get_status(_api::PacketCapturesApi, resour OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "packetCaptureName", packet_capture_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -176,7 +176,7 @@ function _oacinternal_packet_captures_list(_api::PacketCapturesApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -214,7 +214,7 @@ function _oacinternal_packet_captures_stop(_api::PacketCapturesApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "packetCaptureName", packet_capture_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/NetworkWatcherClient/src/apis/api_TrafficAnalyticsApi.jl b/src/Network/NetworkWatcherClient/src/apis/api_TrafficAnalyticsApi.jl index f2321ad..c1f8edd 100644 --- a/src/Network/NetworkWatcherClient/src/apis/api_TrafficAnalyticsApi.jl +++ b/src/Network/NetworkWatcherClient/src/apis/api_TrafficAnalyticsApi.jl @@ -22,7 +22,7 @@ function _oacinternal_network_watchers_get_flow_log_status(_api::TrafficAnalytic OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -60,7 +60,7 @@ function _oacinternal_network_watchers_set_flow_log_configuration(_api::TrafficA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "networkWatcherName", network_watcher_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/NetworkWatcherClient/src/modelincludes.jl b/src/Network/NetworkWatcherClient/src/modelincludes.jl index d590193..40ddca6 100644 --- a/src/Network/NetworkWatcherClient/src/modelincludes.jl +++ b/src/Network/NetworkWatcherClient/src/modelincludes.jl @@ -19,6 +19,9 @@ include("models/model_ConnectionMonitorDestination.jl") include("models/model_ConnectionMonitorEndpoint.jl") include("models/model_ConnectionMonitorEndpointFilter.jl") include("models/model_ConnectionMonitorEndpointFilterItem.jl") +include("models/model_ConnectionMonitorEndpointLocationDetails.jl") +include("models/model_ConnectionMonitorEndpointScope.jl") +include("models/model_ConnectionMonitorEndpointScopeItem.jl") include("models/model_ConnectionMonitorHttpConfiguration.jl") include("models/model_ConnectionMonitorIcmpConfiguration.jl") include("models/model_ConnectionMonitorListResult.jl") @@ -62,6 +65,8 @@ include("models/model_HopLink2.jl") include("models/model_HopLinkProperties.jl") include("models/model_HopLinkProperties2.jl") include("models/model_IPVersion.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") include("models/model_MatchedRule.jl") include("models/model_NetworkConfigurationDiagnosticParameters.jl") include("models/model_NetworkConfigurationDiagnosticProfile.jl") @@ -78,10 +83,12 @@ include("models/model_NextHopResult.jl") include("models/model_PacketCapture.jl") include("models/model_PacketCaptureFilter.jl") include("models/model_PacketCaptureListResult.jl") +include("models/model_PacketCaptureMachineScope.jl") include("models/model_PacketCaptureParameters.jl") include("models/model_PacketCaptureQueryStatusResult.jl") include("models/model_PacketCaptureResult.jl") include("models/model_PacketCaptureResultProperties.jl") +include("models/model_PacketCaptureSettings.jl") include("models/model_PacketCaptureStorageLocation.jl") include("models/model_ProtocolConfiguration.jl") include("models/model_ProvisioningState.jl") diff --git a/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersList.jl b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersList.jl index 8826443..cbc3ddb 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersList.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersList.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct AvailableProvidersList <: OpenAPI.APIModel countries::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AvailableProvidersListCountry} } function AvailableProvidersList(countries, ) - OpenAPI.validate_property(AvailableProvidersList, Symbol("countries"), countries) - return new(countries, ) + o = new(countries, ) + OpenAPI.validate_properties(o) + return o end end # type AvailableProvidersList const _property_types_AvailableProvidersList = Dict{Symbol,String}(Symbol("countries")=>"Vector{AvailableProvidersListCountry}", ) OpenAPI.property_type(::Type{ AvailableProvidersList }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailableProvidersList[name]))} -function check_required(o::AvailableProvidersList) +function OpenAPI.check_required(o::AvailableProvidersList) o.countries === nothing && (return false) true end +function OpenAPI.validate_properties(o::AvailableProvidersList) + OpenAPI.validate_property(AvailableProvidersList, Symbol("countries"), o.countries) +end + function OpenAPI.validate_property(::Type{ AvailableProvidersList }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCity.jl b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCity.jl index a702f12..7456365 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCity.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCity.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct AvailableProvidersListCity <: OpenAPI.APIModel providers::Union{Nothing, Vector{String}} = nothing function AvailableProvidersListCity(cityName, providers, ) - OpenAPI.validate_property(AvailableProvidersListCity, Symbol("cityName"), cityName) - OpenAPI.validate_property(AvailableProvidersListCity, Symbol("providers"), providers) - return new(cityName, providers, ) + o = new(cityName, providers, ) + OpenAPI.validate_properties(o) + return o end end # type AvailableProvidersListCity const _property_types_AvailableProvidersListCity = Dict{Symbol,String}(Symbol("cityName")=>"String", Symbol("providers")=>"Vector{String}", ) OpenAPI.property_type(::Type{ AvailableProvidersListCity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailableProvidersListCity[name]))} -function check_required(o::AvailableProvidersListCity) +function OpenAPI.check_required(o::AvailableProvidersListCity) true end +function OpenAPI.validate_properties(o::AvailableProvidersListCity) + OpenAPI.validate_property(AvailableProvidersListCity, Symbol("cityName"), o.cityName) + OpenAPI.validate_property(AvailableProvidersListCity, Symbol("providers"), o.providers) +end + function OpenAPI.validate_property(::Type{ AvailableProvidersListCity }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCountry.jl b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCountry.jl index fe7c81b..998c826 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCountry.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListCountry.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct AvailableProvidersListCountry <: OpenAPI.APIModel states::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AvailableProvidersListState} } function AvailableProvidersListCountry(countryName, providers, states, ) - OpenAPI.validate_property(AvailableProvidersListCountry, Symbol("countryName"), countryName) - OpenAPI.validate_property(AvailableProvidersListCountry, Symbol("providers"), providers) - OpenAPI.validate_property(AvailableProvidersListCountry, Symbol("states"), states) - return new(countryName, providers, states, ) + o = new(countryName, providers, states, ) + OpenAPI.validate_properties(o) + return o end end # type AvailableProvidersListCountry const _property_types_AvailableProvidersListCountry = Dict{Symbol,String}(Symbol("countryName")=>"String", Symbol("providers")=>"Vector{String}", Symbol("states")=>"Vector{AvailableProvidersListState}", ) OpenAPI.property_type(::Type{ AvailableProvidersListCountry }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailableProvidersListCountry[name]))} -function check_required(o::AvailableProvidersListCountry) +function OpenAPI.check_required(o::AvailableProvidersListCountry) true end +function OpenAPI.validate_properties(o::AvailableProvidersListCountry) + OpenAPI.validate_property(AvailableProvidersListCountry, Symbol("countryName"), o.countryName) + OpenAPI.validate_property(AvailableProvidersListCountry, Symbol("providers"), o.providers) + OpenAPI.validate_property(AvailableProvidersListCountry, Symbol("states"), o.states) +end + function OpenAPI.validate_property(::Type{ AvailableProvidersListCountry }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListParameters.jl index c887e10..809ecb7 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListParameters.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct AvailableProvidersListParameters <: OpenAPI.APIModel city::Union{Nothing, String} = nothing function AvailableProvidersListParameters(azureLocations, country, state, city, ) - OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("azureLocations"), azureLocations) - OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("country"), country) - OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("state"), state) - OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("city"), city) - return new(azureLocations, country, state, city, ) + o = new(azureLocations, country, state, city, ) + OpenAPI.validate_properties(o) + return o end end # type AvailableProvidersListParameters const _property_types_AvailableProvidersListParameters = Dict{Symbol,String}(Symbol("azureLocations")=>"Vector{String}", Symbol("country")=>"String", Symbol("state")=>"String", Symbol("city")=>"String", ) OpenAPI.property_type(::Type{ AvailableProvidersListParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailableProvidersListParameters[name]))} -function check_required(o::AvailableProvidersListParameters) +function OpenAPI.check_required(o::AvailableProvidersListParameters) true end +function OpenAPI.validate_properties(o::AvailableProvidersListParameters) + OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("azureLocations"), o.azureLocations) + OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("country"), o.country) + OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("state"), o.state) + OpenAPI.validate_property(AvailableProvidersListParameters, Symbol("city"), o.city) +end + function OpenAPI.validate_property(::Type{ AvailableProvidersListParameters }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListState.jl b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListState.jl index d686f17..41ec59b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListState.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AvailableProvidersListState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct AvailableProvidersListState <: OpenAPI.APIModel cities::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AvailableProvidersListCity} } function AvailableProvidersListState(stateName, providers, cities, ) - OpenAPI.validate_property(AvailableProvidersListState, Symbol("stateName"), stateName) - OpenAPI.validate_property(AvailableProvidersListState, Symbol("providers"), providers) - OpenAPI.validate_property(AvailableProvidersListState, Symbol("cities"), cities) - return new(stateName, providers, cities, ) + o = new(stateName, providers, cities, ) + OpenAPI.validate_properties(o) + return o end end # type AvailableProvidersListState const _property_types_AvailableProvidersListState = Dict{Symbol,String}(Symbol("stateName")=>"String", Symbol("providers")=>"Vector{String}", Symbol("cities")=>"Vector{AvailableProvidersListCity}", ) OpenAPI.property_type(::Type{ AvailableProvidersListState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailableProvidersListState[name]))} -function check_required(o::AvailableProvidersListState) +function OpenAPI.check_required(o::AvailableProvidersListState) true end +function OpenAPI.validate_properties(o::AvailableProvidersListState) + OpenAPI.validate_property(AvailableProvidersListState, Symbol("stateName"), o.stateName) + OpenAPI.validate_property(AvailableProvidersListState, Symbol("providers"), o.providers) + OpenAPI.validate_property(AvailableProvidersListState, Symbol("cities"), o.cities) +end + function OpenAPI.validate_property(::Type{ AvailableProvidersListState }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReport.jl b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReport.jl index 88d92ca..44b8422 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReport.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReport.jl @@ -21,22 +21,30 @@ Base.@kwdef mutable struct AzureReachabilityReport <: OpenAPI.APIModel reachabilityReport::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AzureReachabilityReportItem} } function AzureReachabilityReport(aggregationLevel, providerLocation, reachabilityReport, ) - OpenAPI.validate_property(AzureReachabilityReport, Symbol("aggregationLevel"), aggregationLevel) - OpenAPI.validate_property(AzureReachabilityReport, Symbol("providerLocation"), providerLocation) - OpenAPI.validate_property(AzureReachabilityReport, Symbol("reachabilityReport"), reachabilityReport) - return new(aggregationLevel, providerLocation, reachabilityReport, ) + o = new(aggregationLevel, providerLocation, reachabilityReport, ) + OpenAPI.validate_properties(o) + return o end end # type AzureReachabilityReport const _property_types_AzureReachabilityReport = Dict{Symbol,String}(Symbol("aggregationLevel")=>"String", Symbol("providerLocation")=>"AzureReachabilityReportLocation", Symbol("reachabilityReport")=>"Vector{AzureReachabilityReportItem}", ) OpenAPI.property_type(::Type{ AzureReachabilityReport }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureReachabilityReport[name]))} -function check_required(o::AzureReachabilityReport) +function OpenAPI.check_required(o::AzureReachabilityReport) o.aggregationLevel === nothing && (return false) o.providerLocation === nothing && (return false) o.reachabilityReport === nothing && (return false) true end +function OpenAPI.validate_properties(o::AzureReachabilityReport) + OpenAPI.validate_property(AzureReachabilityReport, Symbol("aggregationLevel"), o.aggregationLevel) + OpenAPI.validate_property(AzureReachabilityReport, Symbol("providerLocation"), o.providerLocation) + OpenAPI.validate_property(AzureReachabilityReport, Symbol("reachabilityReport"), o.reachabilityReport) +end + function OpenAPI.validate_property(::Type{ AzureReachabilityReport }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportItem.jl b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportItem.jl index c9cd48f..ba2c64e 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportItem.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportItem.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct AzureReachabilityReportItem <: OpenAPI.APIModel latencies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AzureReachabilityReportLatencyInfo} } function AzureReachabilityReportItem(provider, azureLocation, latencies, ) - OpenAPI.validate_property(AzureReachabilityReportItem, Symbol("provider"), provider) - OpenAPI.validate_property(AzureReachabilityReportItem, Symbol("azureLocation"), azureLocation) - OpenAPI.validate_property(AzureReachabilityReportItem, Symbol("latencies"), latencies) - return new(provider, azureLocation, latencies, ) + o = new(provider, azureLocation, latencies, ) + OpenAPI.validate_properties(o) + return o end end # type AzureReachabilityReportItem const _property_types_AzureReachabilityReportItem = Dict{Symbol,String}(Symbol("provider")=>"String", Symbol("azureLocation")=>"String", Symbol("latencies")=>"Vector{AzureReachabilityReportLatencyInfo}", ) OpenAPI.property_type(::Type{ AzureReachabilityReportItem }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureReachabilityReportItem[name]))} -function check_required(o::AzureReachabilityReportItem) +function OpenAPI.check_required(o::AzureReachabilityReportItem) true end +function OpenAPI.validate_properties(o::AzureReachabilityReportItem) + OpenAPI.validate_property(AzureReachabilityReportItem, Symbol("provider"), o.provider) + OpenAPI.validate_property(AzureReachabilityReportItem, Symbol("azureLocation"), o.azureLocation) + OpenAPI.validate_property(AzureReachabilityReportItem, Symbol("latencies"), o.latencies) +end + function OpenAPI.validate_property(::Type{ AzureReachabilityReportItem }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLatencyInfo.jl b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLatencyInfo.jl index 3270e93..fc8c178 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLatencyInfo.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLatencyInfo.jl @@ -18,23 +18,33 @@ Base.@kwdef mutable struct AzureReachabilityReportLatencyInfo <: OpenAPI.APIMode score::Union{Nothing, Int64} = nothing function AzureReachabilityReportLatencyInfo(timeStamp, score, ) - OpenAPI.validate_property(AzureReachabilityReportLatencyInfo, Symbol("timeStamp"), timeStamp) - OpenAPI.validate_property(AzureReachabilityReportLatencyInfo, Symbol("score"), score) - return new(timeStamp, score, ) + o = new(timeStamp, score, ) + OpenAPI.validate_properties(o) + return o end end # type AzureReachabilityReportLatencyInfo const _property_types_AzureReachabilityReportLatencyInfo = Dict{Symbol,String}(Symbol("timeStamp")=>"ZonedDateTime", Symbol("score")=>"Int64", ) OpenAPI.property_type(::Type{ AzureReachabilityReportLatencyInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureReachabilityReportLatencyInfo[name]))} -function check_required(o::AzureReachabilityReportLatencyInfo) +function OpenAPI.check_required(o::AzureReachabilityReportLatencyInfo) true end +function OpenAPI.validate_properties(o::AzureReachabilityReportLatencyInfo) + OpenAPI.validate_property(AzureReachabilityReportLatencyInfo, Symbol("timeStamp"), o.timeStamp) + OpenAPI.validate_property(AzureReachabilityReportLatencyInfo, Symbol("score"), o.score) +end + function OpenAPI.validate_property(::Type{ AzureReachabilityReportLatencyInfo }, name::Symbol, val) + if name === Symbol("timeStamp") OpenAPI.validate_param(name, "AzureReachabilityReportLatencyInfo", :format, val, "date-time") end + + if name === Symbol("score") + OpenAPI.validate_param(name, "AzureReachabilityReportLatencyInfo", :format, val, "int32") + end if name === Symbol("score") OpenAPI.validate_param(name, "AzureReachabilityReportLatencyInfo", :maximum, val, 100, false) OpenAPI.validate_param(name, "AzureReachabilityReportLatencyInfo", :minimum, val, 1, false) diff --git a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLocation.jl b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLocation.jl index 953c1e5..95fc19f 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLocation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportLocation.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct AzureReachabilityReportLocation <: OpenAPI.APIModel city::Union{Nothing, String} = nothing function AzureReachabilityReportLocation(country, state, city, ) - OpenAPI.validate_property(AzureReachabilityReportLocation, Symbol("country"), country) - OpenAPI.validate_property(AzureReachabilityReportLocation, Symbol("state"), state) - OpenAPI.validate_property(AzureReachabilityReportLocation, Symbol("city"), city) - return new(country, state, city, ) + o = new(country, state, city, ) + OpenAPI.validate_properties(o) + return o end end # type AzureReachabilityReportLocation const _property_types_AzureReachabilityReportLocation = Dict{Symbol,String}(Symbol("country")=>"String", Symbol("state")=>"String", Symbol("city")=>"String", ) OpenAPI.property_type(::Type{ AzureReachabilityReportLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureReachabilityReportLocation[name]))} -function check_required(o::AzureReachabilityReportLocation) +function OpenAPI.check_required(o::AzureReachabilityReportLocation) o.country === nothing && (return false) true end +function OpenAPI.validate_properties(o::AzureReachabilityReportLocation) + OpenAPI.validate_property(AzureReachabilityReportLocation, Symbol("country"), o.country) + OpenAPI.validate_property(AzureReachabilityReportLocation, Symbol("state"), o.state) + OpenAPI.validate_property(AzureReachabilityReportLocation, Symbol("city"), o.city) +end + function OpenAPI.validate_property(::Type{ AzureReachabilityReportLocation }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportParameters.jl index f1c8783..fb2c31b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_AzureReachabilityReportParameters.jl @@ -27,29 +27,39 @@ Base.@kwdef mutable struct AzureReachabilityReportParameters <: OpenAPI.APIModel endTime::Union{Nothing, ZonedDateTime} = nothing function AzureReachabilityReportParameters(providerLocation, providers, azureLocations, startTime, endTime, ) - OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("providerLocation"), providerLocation) - OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("providers"), providers) - OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("azureLocations"), azureLocations) - OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("startTime"), startTime) - OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("endTime"), endTime) - return new(providerLocation, providers, azureLocations, startTime, endTime, ) + o = new(providerLocation, providers, azureLocations, startTime, endTime, ) + OpenAPI.validate_properties(o) + return o end end # type AzureReachabilityReportParameters const _property_types_AzureReachabilityReportParameters = Dict{Symbol,String}(Symbol("providerLocation")=>"AzureReachabilityReportLocation", Symbol("providers")=>"Vector{String}", Symbol("azureLocations")=>"Vector{String}", Symbol("startTime")=>"ZonedDateTime", Symbol("endTime")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ AzureReachabilityReportParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureReachabilityReportParameters[name]))} -function check_required(o::AzureReachabilityReportParameters) +function OpenAPI.check_required(o::AzureReachabilityReportParameters) o.providerLocation === nothing && (return false) o.startTime === nothing && (return false) o.endTime === nothing && (return false) true end +function OpenAPI.validate_properties(o::AzureReachabilityReportParameters) + OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("providerLocation"), o.providerLocation) + OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("providers"), o.providers) + OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("azureLocations"), o.azureLocations) + OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(AzureReachabilityReportParameters, Symbol("endTime"), o.endTime) +end + function OpenAPI.validate_property(::Type{ AzureReachabilityReportParameters }, name::Symbol, val) + + + + if name === Symbol("startTime") OpenAPI.validate_param(name, "AzureReachabilityReportParameters", :format, val, "date-time") end + if name === Symbol("endTime") OpenAPI.validate_param(name, "AzureReachabilityReportParameters", :format, val, "date-time") end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitor.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitor.jl index 726cc81..a629d9f 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitor.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitor.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct ConnectionMonitor <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ConnectionMonitorParameters } function ConnectionMonitor(location, tags, properties, ) - OpenAPI.validate_property(ConnectionMonitor, Symbol("location"), location) - OpenAPI.validate_property(ConnectionMonitor, Symbol("tags"), tags) - OpenAPI.validate_property(ConnectionMonitor, Symbol("properties"), properties) - return new(location, tags, properties, ) + o = new(location, tags, properties, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitor const _property_types_ConnectionMonitor = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"ConnectionMonitorParameters", ) OpenAPI.property_type(::Type{ ConnectionMonitor }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitor[name]))} -function check_required(o::ConnectionMonitor) +function OpenAPI.check_required(o::ConnectionMonitor) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectionMonitor) + OpenAPI.validate_property(ConnectionMonitor, Symbol("location"), o.location) + OpenAPI.validate_property(ConnectionMonitor, Symbol("tags"), o.tags) + OpenAPI.validate_property(ConnectionMonitor, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitor }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorDestination.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorDestination.jl index d8e5580..8a7d322 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorDestination.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorDestination.jl @@ -21,19 +21,34 @@ Base.@kwdef mutable struct ConnectionMonitorDestination <: OpenAPI.APIModel port::Union{Nothing, Int64} = nothing function ConnectionMonitorDestination(resourceId, address, port, ) - OpenAPI.validate_property(ConnectionMonitorDestination, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectionMonitorDestination, Symbol("address"), address) - OpenAPI.validate_property(ConnectionMonitorDestination, Symbol("port"), port) - return new(resourceId, address, port, ) + o = new(resourceId, address, port, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorDestination const _property_types_ConnectionMonitorDestination = Dict{Symbol,String}(Symbol("resourceId")=>"String", Symbol("address")=>"String", Symbol("port")=>"Int64", ) OpenAPI.property_type(::Type{ ConnectionMonitorDestination }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorDestination[name]))} -function check_required(o::ConnectionMonitorDestination) +function OpenAPI.check_required(o::ConnectionMonitorDestination) true end +function OpenAPI.validate_properties(o::ConnectionMonitorDestination) + OpenAPI.validate_property(ConnectionMonitorDestination, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectionMonitorDestination, Symbol("address"), o.address) + OpenAPI.validate_property(ConnectionMonitorDestination, Symbol("port"), o.port) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorDestination }, name::Symbol, val) + + + + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorDestination", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorDestination", :maximum, val, 65535, false) + OpenAPI.validate_param(name, "ConnectionMonitorDestination", :minimum, val, 0, false) + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpoint.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpoint.jl index e99c930..26ab89c 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpoint.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpoint.jl @@ -7,38 +7,80 @@ Describes the connection monitor endpoint. ConnectionMonitorEndpoint(; name=nothing, + type=nothing, resourceId=nothing, address=nothing, filter=nothing, + scope=nothing, + coverageLevel=nothing, + locationDetails=nothing, + subscriptionId=nothing, ) - name::String : The name of the connection monitor endpoint. - - resourceId::String : Resource ID of the connection monitor endpoint. - - address::String : Address of the connection monitor endpoint (IP or domain name). + - type::String : The endpoint type. + - resourceId::String : Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type. + - address::String : Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type. - filter::ConnectionMonitorEndpointFilter + - scope::ConnectionMonitorEndpointScope + - coverageLevel::String : Test coverage for the endpoint. + - locationDetails::ConnectionMonitorEndpointLocationDetails + - subscriptionId::String : Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint. """ Base.@kwdef mutable struct ConnectionMonitorEndpoint <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing resourceId::Union{Nothing, String} = nothing address::Union{Nothing, String} = nothing filter = nothing # spec type: Union{ Nothing, ConnectionMonitorEndpointFilter } + scope = nothing # spec type: Union{ Nothing, ConnectionMonitorEndpointScope } + coverageLevel::Union{Nothing, String} = nothing + locationDetails = nothing # spec type: Union{ Nothing, ConnectionMonitorEndpointLocationDetails } + subscriptionId::Union{Nothing, String} = nothing - function ConnectionMonitorEndpoint(name, resourceId, address, filter, ) - OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("name"), name) - OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("address"), address) - OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("filter"), filter) - return new(name, resourceId, address, filter, ) + function ConnectionMonitorEndpoint(name, type, resourceId, address, filter, scope, coverageLevel, locationDetails, subscriptionId, ) + o = new(name, type, resourceId, address, filter, scope, coverageLevel, locationDetails, subscriptionId, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorEndpoint -const _property_types_ConnectionMonitorEndpoint = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("resourceId")=>"String", Symbol("address")=>"String", Symbol("filter")=>"ConnectionMonitorEndpointFilter", ) +const _property_types_ConnectionMonitorEndpoint = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("resourceId")=>"String", Symbol("address")=>"String", Symbol("filter")=>"ConnectionMonitorEndpointFilter", Symbol("scope")=>"ConnectionMonitorEndpointScope", Symbol("coverageLevel")=>"String", Symbol("locationDetails")=>"ConnectionMonitorEndpointLocationDetails", Symbol("subscriptionId")=>"String", ) OpenAPI.property_type(::Type{ ConnectionMonitorEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorEndpoint[name]))} -function check_required(o::ConnectionMonitorEndpoint) +function OpenAPI.check_required(o::ConnectionMonitorEndpoint) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectionMonitorEndpoint) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("address"), o.address) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("filter"), o.filter) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("scope"), o.scope) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("coverageLevel"), o.coverageLevel) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("locationDetails"), o.locationDetails) + OpenAPI.validate_property(ConnectionMonitorEndpoint, Symbol("subscriptionId"), o.subscriptionId) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorEndpoint }, name::Symbol, val) + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ConnectionMonitorEndpoint", :enum, val, ["AzureVM", "AzureVNet", "AzureSubnet", "ExternalAddress", "MMAWorkspaceMachine", "MMAWorkspaceNetwork", "AzureArcVM", "AzureVMSS", "AzureArcNetwork"]) + end + + + + + + + if name === Symbol("coverageLevel") + OpenAPI.validate_param(name, "ConnectionMonitorEndpoint", :enum, val, ["Default", "Low", "BelowAverage", "Average", "AboveAverage", "Full"]) + end + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilter.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilter.jl index fbf5408..3385eaf 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilter.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilter.jl @@ -18,21 +18,29 @@ Base.@kwdef mutable struct ConnectionMonitorEndpointFilter <: OpenAPI.APIModel items::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorEndpointFilterItem} } function ConnectionMonitorEndpointFilter(type, items, ) - OpenAPI.validate_property(ConnectionMonitorEndpointFilter, Symbol("type"), type) - OpenAPI.validate_property(ConnectionMonitorEndpointFilter, Symbol("items"), items) - return new(type, items, ) + o = new(type, items, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorEndpointFilter const _property_types_ConnectionMonitorEndpointFilter = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("items")=>"Vector{ConnectionMonitorEndpointFilterItem}", ) OpenAPI.property_type(::Type{ ConnectionMonitorEndpointFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorEndpointFilter[name]))} -function check_required(o::ConnectionMonitorEndpointFilter) +function OpenAPI.check_required(o::ConnectionMonitorEndpointFilter) true end +function OpenAPI.validate_properties(o::ConnectionMonitorEndpointFilter) + OpenAPI.validate_property(ConnectionMonitorEndpointFilter, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectionMonitorEndpointFilter, Symbol("items"), o.items) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorEndpointFilter }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "ConnectionMonitorEndpointFilter", :enum, val, ["Include"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilterItem.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilterItem.jl index e687ca1..3567e5b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilterItem.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointFilterItem.jl @@ -18,21 +18,29 @@ Base.@kwdef mutable struct ConnectionMonitorEndpointFilterItem <: OpenAPI.APIMod address::Union{Nothing, String} = nothing function ConnectionMonitorEndpointFilterItem(type, address, ) - OpenAPI.validate_property(ConnectionMonitorEndpointFilterItem, Symbol("type"), type) - OpenAPI.validate_property(ConnectionMonitorEndpointFilterItem, Symbol("address"), address) - return new(type, address, ) + o = new(type, address, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorEndpointFilterItem const _property_types_ConnectionMonitorEndpointFilterItem = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("address")=>"String", ) OpenAPI.property_type(::Type{ ConnectionMonitorEndpointFilterItem }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorEndpointFilterItem[name]))} -function check_required(o::ConnectionMonitorEndpointFilterItem) +function OpenAPI.check_required(o::ConnectionMonitorEndpointFilterItem) true end +function OpenAPI.validate_properties(o::ConnectionMonitorEndpointFilterItem) + OpenAPI.validate_property(ConnectionMonitorEndpointFilterItem, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectionMonitorEndpointFilterItem, Symbol("address"), o.address) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorEndpointFilterItem }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "ConnectionMonitorEndpointFilterItem", :enum, val, ["AgentAddress"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointLocationDetails.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointLocationDetails.jl new file mode 100644 index 0000000..42ee6a6 --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointLocationDetails.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ConnectionMonitorEndpointLocationDetails +Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details. + + ConnectionMonitorEndpointLocationDetails(; + region=nothing, + ) + + - region::String : Region for connection monitor endpoint. +""" +Base.@kwdef mutable struct ConnectionMonitorEndpointLocationDetails <: OpenAPI.APIModel + region::Union{Nothing, String} = nothing + + function ConnectionMonitorEndpointLocationDetails(region, ) + o = new(region, ) + OpenAPI.validate_properties(o) + return o + end +end # type ConnectionMonitorEndpointLocationDetails + +const _property_types_ConnectionMonitorEndpointLocationDetails = Dict{Symbol,String}(Symbol("region")=>"String", ) +OpenAPI.property_type(::Type{ ConnectionMonitorEndpointLocationDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorEndpointLocationDetails[name]))} + +function OpenAPI.check_required(o::ConnectionMonitorEndpointLocationDetails) + true +end + +function OpenAPI.validate_properties(o::ConnectionMonitorEndpointLocationDetails) + OpenAPI.validate_property(ConnectionMonitorEndpointLocationDetails, Symbol("region"), o.region) +end + +function OpenAPI.validate_property(::Type{ ConnectionMonitorEndpointLocationDetails }, name::Symbol, val) + +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointScope.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointScope.jl new file mode 100644 index 0000000..7aa8679 --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointScope.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ConnectionMonitorEndpointScope +Describes the connection monitor endpoint scope. + + ConnectionMonitorEndpointScope(; + include=nothing, + exclude=nothing, + ) + + - include::Vector{ConnectionMonitorEndpointScopeItem} : List of items which needs to be included to the endpoint scope. + - exclude::Vector{ConnectionMonitorEndpointScopeItem} : List of items which needs to be excluded from the endpoint scope. +""" +Base.@kwdef mutable struct ConnectionMonitorEndpointScope <: OpenAPI.APIModel + include::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorEndpointScopeItem} } + exclude::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorEndpointScopeItem} } + + function ConnectionMonitorEndpointScope(include, exclude, ) + o = new(include, exclude, ) + OpenAPI.validate_properties(o) + return o + end +end # type ConnectionMonitorEndpointScope + +const _property_types_ConnectionMonitorEndpointScope = Dict{Symbol,String}(Symbol("include")=>"Vector{ConnectionMonitorEndpointScopeItem}", Symbol("exclude")=>"Vector{ConnectionMonitorEndpointScopeItem}", ) +OpenAPI.property_type(::Type{ ConnectionMonitorEndpointScope }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorEndpointScope[name]))} + +function OpenAPI.check_required(o::ConnectionMonitorEndpointScope) + true +end + +function OpenAPI.validate_properties(o::ConnectionMonitorEndpointScope) + OpenAPI.validate_property(ConnectionMonitorEndpointScope, Symbol("include"), o.include) + OpenAPI.validate_property(ConnectionMonitorEndpointScope, Symbol("exclude"), o.exclude) +end + +function OpenAPI.validate_property(::Type{ ConnectionMonitorEndpointScope }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointScopeItem.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointScopeItem.jl new file mode 100644 index 0000000..df9fac2 --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorEndpointScopeItem.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ConnectionMonitorEndpointScopeItem +Describes the connection monitor endpoint scope item. + + ConnectionMonitorEndpointScopeItem(; + address=nothing, + ) + + - address::String : The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address. +""" +Base.@kwdef mutable struct ConnectionMonitorEndpointScopeItem <: OpenAPI.APIModel + address::Union{Nothing, String} = nothing + + function ConnectionMonitorEndpointScopeItem(address, ) + o = new(address, ) + OpenAPI.validate_properties(o) + return o + end +end # type ConnectionMonitorEndpointScopeItem + +const _property_types_ConnectionMonitorEndpointScopeItem = Dict{Symbol,String}(Symbol("address")=>"String", ) +OpenAPI.property_type(::Type{ ConnectionMonitorEndpointScopeItem }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorEndpointScopeItem[name]))} + +function OpenAPI.check_required(o::ConnectionMonitorEndpointScopeItem) + true +end + +function OpenAPI.validate_properties(o::ConnectionMonitorEndpointScopeItem) + OpenAPI.validate_property(ConnectionMonitorEndpointScopeItem, Symbol("address"), o.address) +end + +function OpenAPI.validate_property(::Type{ ConnectionMonitorEndpointScopeItem }, name::Symbol, val) + +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorHttpConfiguration.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorHttpConfiguration.jl index 9e73ffe..b381541 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorHttpConfiguration.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorHttpConfiguration.jl @@ -30,25 +30,44 @@ Base.@kwdef mutable struct ConnectionMonitorHttpConfiguration <: OpenAPI.APIMode preferHTTPS::Union{Nothing, Bool} = nothing function ConnectionMonitorHttpConfiguration(port, method, path, requestHeaders, validStatusCodeRanges, preferHTTPS, ) - OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("port"), port) - OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("method"), method) - OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("path"), path) - OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("requestHeaders"), requestHeaders) - OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("validStatusCodeRanges"), validStatusCodeRanges) - OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("preferHTTPS"), preferHTTPS) - return new(port, method, path, requestHeaders, validStatusCodeRanges, preferHTTPS, ) + o = new(port, method, path, requestHeaders, validStatusCodeRanges, preferHTTPS, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorHttpConfiguration const _property_types_ConnectionMonitorHttpConfiguration = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("method")=>"String", Symbol("path")=>"String", Symbol("requestHeaders")=>"Vector{HTTPHeader}", Symbol("validStatusCodeRanges")=>"Vector{String}", Symbol("preferHTTPS")=>"Bool", ) OpenAPI.property_type(::Type{ ConnectionMonitorHttpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorHttpConfiguration[name]))} -function check_required(o::ConnectionMonitorHttpConfiguration) +function OpenAPI.check_required(o::ConnectionMonitorHttpConfiguration) true end +function OpenAPI.validate_properties(o::ConnectionMonitorHttpConfiguration) + OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("port"), o.port) + OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("method"), o.method) + OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("path"), o.path) + OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("requestHeaders"), o.requestHeaders) + OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("validStatusCodeRanges"), o.validStatusCodeRanges) + OpenAPI.validate_property(ConnectionMonitorHttpConfiguration, Symbol("preferHTTPS"), o.preferHTTPS) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorHttpConfiguration }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorHttpConfiguration", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorHttpConfiguration", :maximum, val, 65535, false) + OpenAPI.validate_param(name, "ConnectionMonitorHttpConfiguration", :minimum, val, 0, false) + end + if name === Symbol("method") OpenAPI.validate_param(name, "ConnectionMonitorHttpConfiguration", :enum, val, ["Get", "Post"]) end + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorIcmpConfiguration.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorIcmpConfiguration.jl index e5326be..e7acccd 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorIcmpConfiguration.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorIcmpConfiguration.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ConnectionMonitorIcmpConfiguration <: OpenAPI.APIMode disableTraceRoute::Union{Nothing, Bool} = nothing function ConnectionMonitorIcmpConfiguration(disableTraceRoute, ) - OpenAPI.validate_property(ConnectionMonitorIcmpConfiguration, Symbol("disableTraceRoute"), disableTraceRoute) - return new(disableTraceRoute, ) + o = new(disableTraceRoute, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorIcmpConfiguration const _property_types_ConnectionMonitorIcmpConfiguration = Dict{Symbol,String}(Symbol("disableTraceRoute")=>"Bool", ) OpenAPI.property_type(::Type{ ConnectionMonitorIcmpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorIcmpConfiguration[name]))} -function check_required(o::ConnectionMonitorIcmpConfiguration) +function OpenAPI.check_required(o::ConnectionMonitorIcmpConfiguration) true end +function OpenAPI.validate_properties(o::ConnectionMonitorIcmpConfiguration) + OpenAPI.validate_property(ConnectionMonitorIcmpConfiguration, Symbol("disableTraceRoute"), o.disableTraceRoute) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorIcmpConfiguration }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorListResult.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorListResult.jl index 2d96eac..d74317a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorListResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ConnectionMonitorListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorResult} } function ConnectionMonitorListResult(value, ) - OpenAPI.validate_property(ConnectionMonitorListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorListResult const _property_types_ConnectionMonitorListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ConnectionMonitorResult}", ) OpenAPI.property_type(::Type{ ConnectionMonitorListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorListResult[name]))} -function check_required(o::ConnectionMonitorListResult) +function OpenAPI.check_required(o::ConnectionMonitorListResult) true end +function OpenAPI.validate_properties(o::ConnectionMonitorListResult) + OpenAPI.validate_property(ConnectionMonitorListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorListResult }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorOutput.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorOutput.jl index a2cc76d..25f997a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorOutput.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorOutput.jl @@ -18,21 +18,29 @@ Base.@kwdef mutable struct ConnectionMonitorOutput <: OpenAPI.APIModel workspaceSettings = nothing # spec type: Union{ Nothing, ConnectionMonitorWorkspaceSettings } function ConnectionMonitorOutput(type, workspaceSettings, ) - OpenAPI.validate_property(ConnectionMonitorOutput, Symbol("type"), type) - OpenAPI.validate_property(ConnectionMonitorOutput, Symbol("workspaceSettings"), workspaceSettings) - return new(type, workspaceSettings, ) + o = new(type, workspaceSettings, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorOutput const _property_types_ConnectionMonitorOutput = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("workspaceSettings")=>"ConnectionMonitorWorkspaceSettings", ) OpenAPI.property_type(::Type{ ConnectionMonitorOutput }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorOutput[name]))} -function check_required(o::ConnectionMonitorOutput) +function OpenAPI.check_required(o::ConnectionMonitorOutput) true end +function OpenAPI.validate_properties(o::ConnectionMonitorOutput) + OpenAPI.validate_property(ConnectionMonitorOutput, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectionMonitorOutput, Symbol("workspaceSettings"), o.workspaceSettings) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorOutput }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "ConnectionMonitorOutput", :enum, val, ["Workspace"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorParameters.jl index cb0af7f..d155782 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorParameters.jl @@ -9,7 +9,7 @@ Parameters that define the operation to create a connection monitor. source=nothing, destination=nothing, autoStart=true, - monitoringIntervalInSeconds=nothing, + monitoringIntervalInSeconds=60, endpoints=nothing, testConfigurations=nothing, testGroups=nothing, @@ -31,7 +31,7 @@ Base.@kwdef mutable struct ConnectionMonitorParameters <: OpenAPI.APIModel source = nothing # spec type: Union{ Nothing, ConnectionMonitorSource } destination = nothing # spec type: Union{ Nothing, ConnectionMonitorDestination } autoStart::Union{Nothing, Bool} = true - monitoringIntervalInSeconds::Union{Nothing, Int64} = nothing + monitoringIntervalInSeconds::Union{Nothing, Int64} = 60 endpoints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorEndpoint} } testConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorTestConfiguration} } testGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorTestGroup} } @@ -39,25 +39,46 @@ Base.@kwdef mutable struct ConnectionMonitorParameters <: OpenAPI.APIModel notes::Union{Nothing, String} = nothing function ConnectionMonitorParameters(source, destination, autoStart, monitoringIntervalInSeconds, endpoints, testConfigurations, testGroups, outputs, notes, ) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("source"), source) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("destination"), destination) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("autoStart"), autoStart) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("monitoringIntervalInSeconds"), monitoringIntervalInSeconds) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("endpoints"), endpoints) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("testConfigurations"), testConfigurations) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("testGroups"), testGroups) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("outputs"), outputs) - OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("notes"), notes) - return new(source, destination, autoStart, monitoringIntervalInSeconds, endpoints, testConfigurations, testGroups, outputs, notes, ) + o = new(source, destination, autoStart, monitoringIntervalInSeconds, endpoints, testConfigurations, testGroups, outputs, notes, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorParameters const _property_types_ConnectionMonitorParameters = Dict{Symbol,String}(Symbol("source")=>"ConnectionMonitorSource", Symbol("destination")=>"ConnectionMonitorDestination", Symbol("autoStart")=>"Bool", Symbol("monitoringIntervalInSeconds")=>"Int64", Symbol("endpoints")=>"Vector{ConnectionMonitorEndpoint}", Symbol("testConfigurations")=>"Vector{ConnectionMonitorTestConfiguration}", Symbol("testGroups")=>"Vector{ConnectionMonitorTestGroup}", Symbol("outputs")=>"Vector{ConnectionMonitorOutput}", Symbol("notes")=>"String", ) OpenAPI.property_type(::Type{ ConnectionMonitorParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorParameters[name]))} -function check_required(o::ConnectionMonitorParameters) +function OpenAPI.check_required(o::ConnectionMonitorParameters) true end +function OpenAPI.validate_properties(o::ConnectionMonitorParameters) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("source"), o.source) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("destination"), o.destination) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("autoStart"), o.autoStart) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("monitoringIntervalInSeconds"), o.monitoringIntervalInSeconds) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("endpoints"), o.endpoints) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("testConfigurations"), o.testConfigurations) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("testGroups"), o.testGroups) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("outputs"), o.outputs) + OpenAPI.validate_property(ConnectionMonitorParameters, Symbol("notes"), o.notes) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorParameters }, name::Symbol, val) + + + + + if name === Symbol("monitoringIntervalInSeconds") + OpenAPI.validate_param(name, "ConnectionMonitorParameters", :format, val, "int32") + end + if name === Symbol("monitoringIntervalInSeconds") + OpenAPI.validate_param(name, "ConnectionMonitorParameters", :maximum, val, 1800, false) + OpenAPI.validate_param(name, "ConnectionMonitorParameters", :minimum, val, 30, false) + end + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorQueryResult.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorQueryResult.jl index 5716804..59c98f0 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorQueryResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorQueryResult.jl @@ -18,21 +18,29 @@ Base.@kwdef mutable struct ConnectionMonitorQueryResult <: OpenAPI.APIModel states::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionStateSnapshot} } function ConnectionMonitorQueryResult(sourceStatus, states, ) - OpenAPI.validate_property(ConnectionMonitorQueryResult, Symbol("sourceStatus"), sourceStatus) - OpenAPI.validate_property(ConnectionMonitorQueryResult, Symbol("states"), states) - return new(sourceStatus, states, ) + o = new(sourceStatus, states, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorQueryResult const _property_types_ConnectionMonitorQueryResult = Dict{Symbol,String}(Symbol("sourceStatus")=>"String", Symbol("states")=>"Vector{ConnectionStateSnapshot}", ) OpenAPI.property_type(::Type{ ConnectionMonitorQueryResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorQueryResult[name]))} -function check_required(o::ConnectionMonitorQueryResult) +function OpenAPI.check_required(o::ConnectionMonitorQueryResult) true end +function OpenAPI.validate_properties(o::ConnectionMonitorQueryResult) + OpenAPI.validate_property(ConnectionMonitorQueryResult, Symbol("sourceStatus"), o.sourceStatus) + OpenAPI.validate_property(ConnectionMonitorQueryResult, Symbol("states"), o.states) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorQueryResult }, name::Symbol, val) + if name === Symbol("sourceStatus") OpenAPI.validate_param(name, "ConnectionMonitorQueryResult", :enum, val, ["Unknown", "Active", "Inactive"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResult.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResult.jl index 9719ac2..938a60a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResult.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ConnectionMonitorResult <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ConnectionMonitorResultProperties } function ConnectionMonitorResult(name, id, etag, type, location, tags, properties, ) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("name"), name) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("id"), id) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("etag"), etag) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("type"), type) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("location"), location) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("tags"), tags) - OpenAPI.validate_property(ConnectionMonitorResult, Symbol("properties"), properties) - return new(name, id, etag, type, location, tags, properties, ) + o = new(name, id, etag, type, location, tags, properties, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorResult const _property_types_ConnectionMonitorResult = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("properties")=>"ConnectionMonitorResultProperties", ) OpenAPI.property_type(::Type{ ConnectionMonitorResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorResult[name]))} -function check_required(o::ConnectionMonitorResult) +function OpenAPI.check_required(o::ConnectionMonitorResult) true end +function OpenAPI.validate_properties(o::ConnectionMonitorResult) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("name"), o.name) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("id"), o.id) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("etag"), o.etag) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("location"), o.location) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("tags"), o.tags) + OpenAPI.validate_property(ConnectionMonitorResult, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorResult }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResultProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResultProperties.jl index e1cda02..7dd35f1 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResultProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorResultProperties.jl @@ -13,7 +13,7 @@ Describes the properties of a connection monitor. source=nothing, destination=nothing, autoStart=true, - monitoringIntervalInSeconds=nothing, + monitoringIntervalInSeconds=60, endpoints=nothing, testConfigurations=nothing, testGroups=nothing, @@ -21,7 +21,7 @@ Describes the properties of a connection monitor. notes=nothing, ) - - provisioningState::Any + - provisioningState::ProvisioningState - startTime::ZonedDateTime : The date and time when the connection monitor was started. - monitoringStatus::String : The monitoring status of the connection monitor. - connectionMonitorType::String : Type of connection monitor. @@ -36,14 +36,14 @@ Describes the properties of a connection monitor. - notes::String : Optional notes to be associated with the connection monitor. """ Base.@kwdef mutable struct ConnectionMonitorResultProperties <: OpenAPI.APIModel - provisioningState::Union{Nothing, Any} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } startTime::Union{Nothing, ZonedDateTime} = nothing monitoringStatus::Union{Nothing, String} = nothing connectionMonitorType::Union{Nothing, String} = nothing source = nothing # spec type: Union{ Nothing, ConnectionMonitorSource } destination = nothing # spec type: Union{ Nothing, ConnectionMonitorDestination } autoStart::Union{Nothing, Bool} = true - monitoringIntervalInSeconds::Union{Nothing, Int64} = nothing + monitoringIntervalInSeconds::Union{Nothing, Int64} = 60 endpoints::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorEndpoint} } testConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorTestConfiguration} } testGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectionMonitorTestGroup} } @@ -51,35 +51,61 @@ Base.@kwdef mutable struct ConnectionMonitorResultProperties <: OpenAPI.APIModel notes::Union{Nothing, String} = nothing function ConnectionMonitorResultProperties(provisioningState, startTime, monitoringStatus, connectionMonitorType, source, destination, autoStart, monitoringIntervalInSeconds, endpoints, testConfigurations, testGroups, outputs, notes, ) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("startTime"), startTime) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("monitoringStatus"), monitoringStatus) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("connectionMonitorType"), connectionMonitorType) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("source"), source) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("destination"), destination) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("autoStart"), autoStart) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("monitoringIntervalInSeconds"), monitoringIntervalInSeconds) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("endpoints"), endpoints) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("testConfigurations"), testConfigurations) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("testGroups"), testGroups) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("outputs"), outputs) - OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("notes"), notes) - return new(provisioningState, startTime, monitoringStatus, connectionMonitorType, source, destination, autoStart, monitoringIntervalInSeconds, endpoints, testConfigurations, testGroups, outputs, notes, ) + o = new(provisioningState, startTime, monitoringStatus, connectionMonitorType, source, destination, autoStart, monitoringIntervalInSeconds, endpoints, testConfigurations, testGroups, outputs, notes, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorResultProperties -const _property_types_ConnectionMonitorResultProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"Any", Symbol("startTime")=>"ZonedDateTime", Symbol("monitoringStatus")=>"String", Symbol("connectionMonitorType")=>"String", Symbol("source")=>"ConnectionMonitorSource", Symbol("destination")=>"ConnectionMonitorDestination", Symbol("autoStart")=>"Bool", Symbol("monitoringIntervalInSeconds")=>"Int64", Symbol("endpoints")=>"Vector{ConnectionMonitorEndpoint}", Symbol("testConfigurations")=>"Vector{ConnectionMonitorTestConfiguration}", Symbol("testGroups")=>"Vector{ConnectionMonitorTestGroup}", Symbol("outputs")=>"Vector{ConnectionMonitorOutput}", Symbol("notes")=>"String", ) +const _property_types_ConnectionMonitorResultProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("startTime")=>"ZonedDateTime", Symbol("monitoringStatus")=>"String", Symbol("connectionMonitorType")=>"String", Symbol("source")=>"ConnectionMonitorSource", Symbol("destination")=>"ConnectionMonitorDestination", Symbol("autoStart")=>"Bool", Symbol("monitoringIntervalInSeconds")=>"Int64", Symbol("endpoints")=>"Vector{ConnectionMonitorEndpoint}", Symbol("testConfigurations")=>"Vector{ConnectionMonitorTestConfiguration}", Symbol("testGroups")=>"Vector{ConnectionMonitorTestGroup}", Symbol("outputs")=>"Vector{ConnectionMonitorOutput}", Symbol("notes")=>"String", ) OpenAPI.property_type(::Type{ ConnectionMonitorResultProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorResultProperties[name]))} -function check_required(o::ConnectionMonitorResultProperties) +function OpenAPI.check_required(o::ConnectionMonitorResultProperties) true end +function OpenAPI.validate_properties(o::ConnectionMonitorResultProperties) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("monitoringStatus"), o.monitoringStatus) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("connectionMonitorType"), o.connectionMonitorType) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("source"), o.source) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("destination"), o.destination) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("autoStart"), o.autoStart) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("monitoringIntervalInSeconds"), o.monitoringIntervalInSeconds) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("endpoints"), o.endpoints) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("testConfigurations"), o.testConfigurations) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("testGroups"), o.testGroups) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("outputs"), o.outputs) + OpenAPI.validate_property(ConnectionMonitorResultProperties, Symbol("notes"), o.notes) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorResultProperties }, name::Symbol, val) + + if name === Symbol("startTime") OpenAPI.validate_param(name, "ConnectionMonitorResultProperties", :format, val, "date-time") end + + if name === Symbol("connectionMonitorType") OpenAPI.validate_param(name, "ConnectionMonitorResultProperties", :enum, val, ["MultiEndpoint", "SingleSourceDestination"]) end + + + + + + if name === Symbol("monitoringIntervalInSeconds") + OpenAPI.validate_param(name, "ConnectionMonitorResultProperties", :format, val, "int32") + end + if name === Symbol("monitoringIntervalInSeconds") + OpenAPI.validate_param(name, "ConnectionMonitorResultProperties", :maximum, val, 1800, false) + OpenAPI.validate_param(name, "ConnectionMonitorResultProperties", :minimum, val, 30, false) + end + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSource.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSource.jl index 7b6b150..117be53 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSource.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSource.jl @@ -18,19 +18,33 @@ Base.@kwdef mutable struct ConnectionMonitorSource <: OpenAPI.APIModel port::Union{Nothing, Int64} = nothing function ConnectionMonitorSource(resourceId, port, ) - OpenAPI.validate_property(ConnectionMonitorSource, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectionMonitorSource, Symbol("port"), port) - return new(resourceId, port, ) + o = new(resourceId, port, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorSource const _property_types_ConnectionMonitorSource = Dict{Symbol,String}(Symbol("resourceId")=>"String", Symbol("port")=>"Int64", ) OpenAPI.property_type(::Type{ ConnectionMonitorSource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorSource[name]))} -function check_required(o::ConnectionMonitorSource) +function OpenAPI.check_required(o::ConnectionMonitorSource) o.resourceId === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectionMonitorSource) + OpenAPI.validate_property(ConnectionMonitorSource, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectionMonitorSource, Symbol("port"), o.port) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorSource }, name::Symbol, val) + + + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorSource", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorSource", :maximum, val, 65535, false) + OpenAPI.validate_param(name, "ConnectionMonitorSource", :minimum, val, 0, false) + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSuccessThreshold.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSuccessThreshold.jl index cd73d0d..552c5a7 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSuccessThreshold.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorSuccessThreshold.jl @@ -18,18 +18,28 @@ Base.@kwdef mutable struct ConnectionMonitorSuccessThreshold <: OpenAPI.APIModel roundTripTimeMs::Union{Nothing, Float64} = nothing function ConnectionMonitorSuccessThreshold(checksFailedPercent, roundTripTimeMs, ) - OpenAPI.validate_property(ConnectionMonitorSuccessThreshold, Symbol("checksFailedPercent"), checksFailedPercent) - OpenAPI.validate_property(ConnectionMonitorSuccessThreshold, Symbol("roundTripTimeMs"), roundTripTimeMs) - return new(checksFailedPercent, roundTripTimeMs, ) + o = new(checksFailedPercent, roundTripTimeMs, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorSuccessThreshold const _property_types_ConnectionMonitorSuccessThreshold = Dict{Symbol,String}(Symbol("checksFailedPercent")=>"Int64", Symbol("roundTripTimeMs")=>"Float64", ) OpenAPI.property_type(::Type{ ConnectionMonitorSuccessThreshold }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorSuccessThreshold[name]))} -function check_required(o::ConnectionMonitorSuccessThreshold) +function OpenAPI.check_required(o::ConnectionMonitorSuccessThreshold) true end +function OpenAPI.validate_properties(o::ConnectionMonitorSuccessThreshold) + OpenAPI.validate_property(ConnectionMonitorSuccessThreshold, Symbol("checksFailedPercent"), o.checksFailedPercent) + OpenAPI.validate_property(ConnectionMonitorSuccessThreshold, Symbol("roundTripTimeMs"), o.roundTripTimeMs) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorSuccessThreshold }, name::Symbol, val) + + if name === Symbol("checksFailedPercent") + OpenAPI.validate_param(name, "ConnectionMonitorSuccessThreshold", :format, val, "int32") + end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTcpConfiguration.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTcpConfiguration.jl index 3d1369f..e602f84 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTcpConfiguration.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTcpConfiguration.jl @@ -8,28 +8,51 @@ Describes the TCP configuration. ConnectionMonitorTcpConfiguration(; port=nothing, disableTraceRoute=nothing, + destinationPortBehavior=nothing, ) - port::Int64 : The port to connect to. - disableTraceRoute::Bool : Value indicating whether path evaluation with trace route should be disabled. + - destinationPortBehavior::String : Destination port behavior. """ Base.@kwdef mutable struct ConnectionMonitorTcpConfiguration <: OpenAPI.APIModel port::Union{Nothing, Int64} = nothing disableTraceRoute::Union{Nothing, Bool} = nothing + destinationPortBehavior::Union{Nothing, String} = nothing - function ConnectionMonitorTcpConfiguration(port, disableTraceRoute, ) - OpenAPI.validate_property(ConnectionMonitorTcpConfiguration, Symbol("port"), port) - OpenAPI.validate_property(ConnectionMonitorTcpConfiguration, Symbol("disableTraceRoute"), disableTraceRoute) - return new(port, disableTraceRoute, ) + function ConnectionMonitorTcpConfiguration(port, disableTraceRoute, destinationPortBehavior, ) + o = new(port, disableTraceRoute, destinationPortBehavior, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorTcpConfiguration -const _property_types_ConnectionMonitorTcpConfiguration = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("disableTraceRoute")=>"Bool", ) +const _property_types_ConnectionMonitorTcpConfiguration = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("disableTraceRoute")=>"Bool", Symbol("destinationPortBehavior")=>"String", ) OpenAPI.property_type(::Type{ ConnectionMonitorTcpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorTcpConfiguration[name]))} -function check_required(o::ConnectionMonitorTcpConfiguration) +function OpenAPI.check_required(o::ConnectionMonitorTcpConfiguration) true end +function OpenAPI.validate_properties(o::ConnectionMonitorTcpConfiguration) + OpenAPI.validate_property(ConnectionMonitorTcpConfiguration, Symbol("port"), o.port) + OpenAPI.validate_property(ConnectionMonitorTcpConfiguration, Symbol("disableTraceRoute"), o.disableTraceRoute) + OpenAPI.validate_property(ConnectionMonitorTcpConfiguration, Symbol("destinationPortBehavior"), o.destinationPortBehavior) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorTcpConfiguration }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorTcpConfiguration", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectionMonitorTcpConfiguration", :maximum, val, 65535, false) + OpenAPI.validate_param(name, "ConnectionMonitorTcpConfiguration", :minimum, val, 0, false) + end + + + if name === Symbol("destinationPortBehavior") + OpenAPI.validate_param(name, "ConnectionMonitorTcpConfiguration", :enum, val, ["None", "ListenIfAvailable"]) + end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestConfiguration.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestConfiguration.jl index 75b6327..11efa82 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestConfiguration.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestConfiguration.jl @@ -36,32 +36,50 @@ Base.@kwdef mutable struct ConnectionMonitorTestConfiguration <: OpenAPI.APIMode successThreshold = nothing # spec type: Union{ Nothing, ConnectionMonitorSuccessThreshold } function ConnectionMonitorTestConfiguration(name, testFrequencySec, protocol, preferredIPVersion, httpConfiguration, tcpConfiguration, icmpConfiguration, successThreshold, ) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("name"), name) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("testFrequencySec"), testFrequencySec) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("protocol"), protocol) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("preferredIPVersion"), preferredIPVersion) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("httpConfiguration"), httpConfiguration) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("tcpConfiguration"), tcpConfiguration) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("icmpConfiguration"), icmpConfiguration) - OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("successThreshold"), successThreshold) - return new(name, testFrequencySec, protocol, preferredIPVersion, httpConfiguration, tcpConfiguration, icmpConfiguration, successThreshold, ) + o = new(name, testFrequencySec, protocol, preferredIPVersion, httpConfiguration, tcpConfiguration, icmpConfiguration, successThreshold, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorTestConfiguration const _property_types_ConnectionMonitorTestConfiguration = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("testFrequencySec")=>"Int64", Symbol("protocol")=>"String", Symbol("preferredIPVersion")=>"String", Symbol("httpConfiguration")=>"ConnectionMonitorHttpConfiguration", Symbol("tcpConfiguration")=>"ConnectionMonitorTcpConfiguration", Symbol("icmpConfiguration")=>"ConnectionMonitorIcmpConfiguration", Symbol("successThreshold")=>"ConnectionMonitorSuccessThreshold", ) OpenAPI.property_type(::Type{ ConnectionMonitorTestConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorTestConfiguration[name]))} -function check_required(o::ConnectionMonitorTestConfiguration) +function OpenAPI.check_required(o::ConnectionMonitorTestConfiguration) o.name === nothing && (return false) o.protocol === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectionMonitorTestConfiguration) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("testFrequencySec"), o.testFrequencySec) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("preferredIPVersion"), o.preferredIPVersion) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("httpConfiguration"), o.httpConfiguration) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("tcpConfiguration"), o.tcpConfiguration) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("icmpConfiguration"), o.icmpConfiguration) + OpenAPI.validate_property(ConnectionMonitorTestConfiguration, Symbol("successThreshold"), o.successThreshold) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorTestConfiguration }, name::Symbol, val) + + + if name === Symbol("testFrequencySec") + OpenAPI.validate_param(name, "ConnectionMonitorTestConfiguration", :format, val, "int32") + end + if name === Symbol("protocol") OpenAPI.validate_param(name, "ConnectionMonitorTestConfiguration", :enum, val, ["Tcp", "Http", "Icmp"]) end + + if name === Symbol("preferredIPVersion") OpenAPI.validate_param(name, "ConnectionMonitorTestConfiguration", :enum, val, ["IPv4", "IPv6"]) end + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestGroup.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestGroup.jl index cdd9e64..a12bffb 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestGroup.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorTestGroup.jl @@ -27,19 +27,16 @@ Base.@kwdef mutable struct ConnectionMonitorTestGroup <: OpenAPI.APIModel destinations::Union{Nothing, Vector{String}} = nothing function ConnectionMonitorTestGroup(name, disable, testConfigurations, sources, destinations, ) - OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("name"), name) - OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("disable"), disable) - OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("testConfigurations"), testConfigurations) - OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("sources"), sources) - OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("destinations"), destinations) - return new(name, disable, testConfigurations, sources, destinations, ) + o = new(name, disable, testConfigurations, sources, destinations, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorTestGroup const _property_types_ConnectionMonitorTestGroup = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("disable")=>"Bool", Symbol("testConfigurations")=>"Vector{String}", Symbol("sources")=>"Vector{String}", Symbol("destinations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ConnectionMonitorTestGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorTestGroup[name]))} -function check_required(o::ConnectionMonitorTestGroup) +function OpenAPI.check_required(o::ConnectionMonitorTestGroup) o.name === nothing && (return false) o.testConfigurations === nothing && (return false) o.sources === nothing && (return false) @@ -47,5 +44,18 @@ function check_required(o::ConnectionMonitorTestGroup) true end +function OpenAPI.validate_properties(o::ConnectionMonitorTestGroup) + OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("disable"), o.disable) + OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("testConfigurations"), o.testConfigurations) + OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("sources"), o.sources) + OpenAPI.validate_property(ConnectionMonitorTestGroup, Symbol("destinations"), o.destinations) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorTestGroup }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorWorkspaceSettings.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorWorkspaceSettings.jl index b7b094e..2c9dda9 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorWorkspaceSettings.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionMonitorWorkspaceSettings.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ConnectionMonitorWorkspaceSettings <: OpenAPI.APIMode workspaceResourceId::Union{Nothing, String} = nothing function ConnectionMonitorWorkspaceSettings(workspaceResourceId, ) - OpenAPI.validate_property(ConnectionMonitorWorkspaceSettings, Symbol("workspaceResourceId"), workspaceResourceId) - return new(workspaceResourceId, ) + o = new(workspaceResourceId, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionMonitorWorkspaceSettings const _property_types_ConnectionMonitorWorkspaceSettings = Dict{Symbol,String}(Symbol("workspaceResourceId")=>"String", ) OpenAPI.property_type(::Type{ ConnectionMonitorWorkspaceSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionMonitorWorkspaceSettings[name]))} -function check_required(o::ConnectionMonitorWorkspaceSettings) +function OpenAPI.check_required(o::ConnectionMonitorWorkspaceSettings) true end +function OpenAPI.validate_properties(o::ConnectionMonitorWorkspaceSettings) + OpenAPI.validate_property(ConnectionMonitorWorkspaceSettings, Symbol("workspaceResourceId"), o.workspaceResourceId) +end + function OpenAPI.validate_property(::Type{ ConnectionMonitorWorkspaceSettings }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectionStateSnapshot.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectionStateSnapshot.jl index 883aa8a..a2c6365 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectionStateSnapshot.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectionStateSnapshot.jl @@ -42,38 +42,90 @@ Base.@kwdef mutable struct ConnectionStateSnapshot <: OpenAPI.APIModel hops::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectivityHop2} } function ConnectionStateSnapshot(connectionState, startTime, endTime, evaluationState, avgLatencyInMs, minLatencyInMs, maxLatencyInMs, probesSent, probesFailed, hops, ) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("connectionState"), connectionState) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("startTime"), startTime) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("endTime"), endTime) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("evaluationState"), evaluationState) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("avgLatencyInMs"), avgLatencyInMs) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("minLatencyInMs"), minLatencyInMs) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("maxLatencyInMs"), maxLatencyInMs) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("probesSent"), probesSent) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("probesFailed"), probesFailed) - OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("hops"), hops) - return new(connectionState, startTime, endTime, evaluationState, avgLatencyInMs, minLatencyInMs, maxLatencyInMs, probesSent, probesFailed, hops, ) + o = new(connectionState, startTime, endTime, evaluationState, avgLatencyInMs, minLatencyInMs, maxLatencyInMs, probesSent, probesFailed, hops, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionStateSnapshot const _property_types_ConnectionStateSnapshot = Dict{Symbol,String}(Symbol("connectionState")=>"String", Symbol("startTime")=>"ZonedDateTime", Symbol("endTime")=>"ZonedDateTime", Symbol("evaluationState")=>"String", Symbol("avgLatencyInMs")=>"Int64", Symbol("minLatencyInMs")=>"Int64", Symbol("maxLatencyInMs")=>"Int64", Symbol("probesSent")=>"Int64", Symbol("probesFailed")=>"Int64", Symbol("hops")=>"Vector{ConnectivityHop2}", ) OpenAPI.property_type(::Type{ ConnectionStateSnapshot }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionStateSnapshot[name]))} -function check_required(o::ConnectionStateSnapshot) +function OpenAPI.check_required(o::ConnectionStateSnapshot) true end +function OpenAPI.validate_properties(o::ConnectionStateSnapshot) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("connectionState"), o.connectionState) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("endTime"), o.endTime) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("evaluationState"), o.evaluationState) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("avgLatencyInMs"), o.avgLatencyInMs) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("minLatencyInMs"), o.minLatencyInMs) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("maxLatencyInMs"), o.maxLatencyInMs) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("probesSent"), o.probesSent) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("probesFailed"), o.probesFailed) + OpenAPI.validate_property(ConnectionStateSnapshot, Symbol("hops"), o.hops) +end + function OpenAPI.validate_property(::Type{ ConnectionStateSnapshot }, name::Symbol, val) + if name === Symbol("connectionState") OpenAPI.validate_param(name, "ConnectionStateSnapshot", :enum, val, ["Reachable", "Unreachable", "Unknown"]) end + + if name === Symbol("startTime") OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "date-time") end + if name === Symbol("endTime") OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "date-time") end + if name === Symbol("evaluationState") OpenAPI.validate_param(name, "ConnectionStateSnapshot", :enum, val, ["NotStarted", "InProgress", "Completed"]) end + + + if name === Symbol("avgLatencyInMs") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "int64") + end + if name === Symbol("avgLatencyInMs") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :minimum, val, 0, false) + end + + if name === Symbol("minLatencyInMs") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "int64") + end + if name === Symbol("minLatencyInMs") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :minimum, val, 0, false) + end + + if name === Symbol("maxLatencyInMs") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "int64") + end + if name === Symbol("maxLatencyInMs") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :minimum, val, 0, false) + end + + if name === Symbol("probesSent") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "int64") + end + if name === Symbol("probesSent") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :minimum, val, 0, false) + end + + if name === Symbol("probesFailed") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :format, val, "int64") + end + if name === Symbol("probesFailed") + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "ConnectionStateSnapshot", :minimum, val, 0, false) + end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityDestination.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityDestination.jl index 21ff94d..09bc53a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityDestination.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityDestination.jl @@ -21,19 +21,34 @@ Base.@kwdef mutable struct ConnectivityDestination <: OpenAPI.APIModel port::Union{Nothing, Int64} = nothing function ConnectivityDestination(resourceId, address, port, ) - OpenAPI.validate_property(ConnectivityDestination, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectivityDestination, Symbol("address"), address) - OpenAPI.validate_property(ConnectivityDestination, Symbol("port"), port) - return new(resourceId, address, port, ) + o = new(resourceId, address, port, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityDestination const _property_types_ConnectivityDestination = Dict{Symbol,String}(Symbol("resourceId")=>"String", Symbol("address")=>"String", Symbol("port")=>"Int64", ) OpenAPI.property_type(::Type{ ConnectivityDestination }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityDestination[name]))} -function check_required(o::ConnectivityDestination) +function OpenAPI.check_required(o::ConnectivityDestination) true end +function OpenAPI.validate_properties(o::ConnectivityDestination) + OpenAPI.validate_property(ConnectivityDestination, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectivityDestination, Symbol("address"), o.address) + OpenAPI.validate_property(ConnectivityDestination, Symbol("port"), o.port) +end + function OpenAPI.validate_property(::Type{ ConnectivityDestination }, name::Symbol, val) + + + + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectivityDestination", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectivityDestination", :maximum, val, 65535, false) + OpenAPI.validate_param(name, "ConnectivityDestination", :minimum, val, 0, false) + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop.jl index 071bf91..3090b17 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop.jl @@ -39,25 +39,39 @@ Base.@kwdef mutable struct ConnectivityHop <: OpenAPI.APIModel issues::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectivityIssue} } function ConnectivityHop(type, id, address, resourceId, nextHopIds, previousHopIds, links, previousLinks, issues, ) - OpenAPI.validate_property(ConnectivityHop, Symbol("type"), type) - OpenAPI.validate_property(ConnectivityHop, Symbol("id"), id) - OpenAPI.validate_property(ConnectivityHop, Symbol("address"), address) - OpenAPI.validate_property(ConnectivityHop, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectivityHop, Symbol("nextHopIds"), nextHopIds) - OpenAPI.validate_property(ConnectivityHop, Symbol("previousHopIds"), previousHopIds) - OpenAPI.validate_property(ConnectivityHop, Symbol("links"), links) - OpenAPI.validate_property(ConnectivityHop, Symbol("previousLinks"), previousLinks) - OpenAPI.validate_property(ConnectivityHop, Symbol("issues"), issues) - return new(type, id, address, resourceId, nextHopIds, previousHopIds, links, previousLinks, issues, ) + o = new(type, id, address, resourceId, nextHopIds, previousHopIds, links, previousLinks, issues, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityHop const _property_types_ConnectivityHop = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("id")=>"String", Symbol("address")=>"String", Symbol("resourceId")=>"String", Symbol("nextHopIds")=>"Vector{String}", Symbol("previousHopIds")=>"Vector{String}", Symbol("links")=>"Vector{HopLink}", Symbol("previousLinks")=>"Vector{HopLink}", Symbol("issues")=>"Vector{ConnectivityIssue}", ) OpenAPI.property_type(::Type{ ConnectivityHop }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityHop[name]))} -function check_required(o::ConnectivityHop) +function OpenAPI.check_required(o::ConnectivityHop) true end +function OpenAPI.validate_properties(o::ConnectivityHop) + OpenAPI.validate_property(ConnectivityHop, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectivityHop, Symbol("id"), o.id) + OpenAPI.validate_property(ConnectivityHop, Symbol("address"), o.address) + OpenAPI.validate_property(ConnectivityHop, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectivityHop, Symbol("nextHopIds"), o.nextHopIds) + OpenAPI.validate_property(ConnectivityHop, Symbol("previousHopIds"), o.previousHopIds) + OpenAPI.validate_property(ConnectivityHop, Symbol("links"), o.links) + OpenAPI.validate_property(ConnectivityHop, Symbol("previousLinks"), o.previousLinks) + OpenAPI.validate_property(ConnectivityHop, Symbol("issues"), o.issues) +end + function OpenAPI.validate_property(::Type{ ConnectivityHop }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop2.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop2.jl index 07184bb..16897f5 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop2.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityHop2.jl @@ -39,25 +39,39 @@ Base.@kwdef mutable struct ConnectivityHop2 <: OpenAPI.APIModel issues::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ConnectivityIssue2} } function ConnectivityHop2(type, id, address, resourceId, nextHopIds, previousHopIds, links, previousLinks, issues, ) - OpenAPI.validate_property(ConnectivityHop2, Symbol("type"), type) - OpenAPI.validate_property(ConnectivityHop2, Symbol("id"), id) - OpenAPI.validate_property(ConnectivityHop2, Symbol("address"), address) - OpenAPI.validate_property(ConnectivityHop2, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectivityHop2, Symbol("nextHopIds"), nextHopIds) - OpenAPI.validate_property(ConnectivityHop2, Symbol("previousHopIds"), previousHopIds) - OpenAPI.validate_property(ConnectivityHop2, Symbol("links"), links) - OpenAPI.validate_property(ConnectivityHop2, Symbol("previousLinks"), previousLinks) - OpenAPI.validate_property(ConnectivityHop2, Symbol("issues"), issues) - return new(type, id, address, resourceId, nextHopIds, previousHopIds, links, previousLinks, issues, ) + o = new(type, id, address, resourceId, nextHopIds, previousHopIds, links, previousLinks, issues, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityHop2 const _property_types_ConnectivityHop2 = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("id")=>"String", Symbol("address")=>"String", Symbol("resourceId")=>"String", Symbol("nextHopIds")=>"Vector{String}", Symbol("previousHopIds")=>"Vector{String}", Symbol("links")=>"Vector{HopLink2}", Symbol("previousLinks")=>"Vector{HopLink2}", Symbol("issues")=>"Vector{ConnectivityIssue2}", ) OpenAPI.property_type(::Type{ ConnectivityHop2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityHop2[name]))} -function check_required(o::ConnectivityHop2) +function OpenAPI.check_required(o::ConnectivityHop2) true end +function OpenAPI.validate_properties(o::ConnectivityHop2) + OpenAPI.validate_property(ConnectivityHop2, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectivityHop2, Symbol("id"), o.id) + OpenAPI.validate_property(ConnectivityHop2, Symbol("address"), o.address) + OpenAPI.validate_property(ConnectivityHop2, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectivityHop2, Symbol("nextHopIds"), o.nextHopIds) + OpenAPI.validate_property(ConnectivityHop2, Symbol("previousHopIds"), o.previousHopIds) + OpenAPI.validate_property(ConnectivityHop2, Symbol("links"), o.links) + OpenAPI.validate_property(ConnectivityHop2, Symbol("previousLinks"), o.previousLinks) + OpenAPI.validate_property(ConnectivityHop2, Symbol("issues"), o.issues) +end + function OpenAPI.validate_property(::Type{ ConnectivityHop2 }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityInformation.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityInformation.jl index e12ed67..a5ba327 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityInformation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityInformation.jl @@ -33,26 +33,54 @@ Base.@kwdef mutable struct ConnectivityInformation <: OpenAPI.APIModel probesFailed::Union{Nothing, Int64} = nothing function ConnectivityInformation(hops, connectionStatus, avgLatencyInMs, minLatencyInMs, maxLatencyInMs, probesSent, probesFailed, ) - OpenAPI.validate_property(ConnectivityInformation, Symbol("hops"), hops) - OpenAPI.validate_property(ConnectivityInformation, Symbol("connectionStatus"), connectionStatus) - OpenAPI.validate_property(ConnectivityInformation, Symbol("avgLatencyInMs"), avgLatencyInMs) - OpenAPI.validate_property(ConnectivityInformation, Symbol("minLatencyInMs"), minLatencyInMs) - OpenAPI.validate_property(ConnectivityInformation, Symbol("maxLatencyInMs"), maxLatencyInMs) - OpenAPI.validate_property(ConnectivityInformation, Symbol("probesSent"), probesSent) - OpenAPI.validate_property(ConnectivityInformation, Symbol("probesFailed"), probesFailed) - return new(hops, connectionStatus, avgLatencyInMs, minLatencyInMs, maxLatencyInMs, probesSent, probesFailed, ) + o = new(hops, connectionStatus, avgLatencyInMs, minLatencyInMs, maxLatencyInMs, probesSent, probesFailed, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityInformation const _property_types_ConnectivityInformation = Dict{Symbol,String}(Symbol("hops")=>"Vector{ConnectivityHop}", Symbol("connectionStatus")=>"String", Symbol("avgLatencyInMs")=>"Int64", Symbol("minLatencyInMs")=>"Int64", Symbol("maxLatencyInMs")=>"Int64", Symbol("probesSent")=>"Int64", Symbol("probesFailed")=>"Int64", ) OpenAPI.property_type(::Type{ ConnectivityInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityInformation[name]))} -function check_required(o::ConnectivityInformation) +function OpenAPI.check_required(o::ConnectivityInformation) true end +function OpenAPI.validate_properties(o::ConnectivityInformation) + OpenAPI.validate_property(ConnectivityInformation, Symbol("hops"), o.hops) + OpenAPI.validate_property(ConnectivityInformation, Symbol("connectionStatus"), o.connectionStatus) + OpenAPI.validate_property(ConnectivityInformation, Symbol("avgLatencyInMs"), o.avgLatencyInMs) + OpenAPI.validate_property(ConnectivityInformation, Symbol("minLatencyInMs"), o.minLatencyInMs) + OpenAPI.validate_property(ConnectivityInformation, Symbol("maxLatencyInMs"), o.maxLatencyInMs) + OpenAPI.validate_property(ConnectivityInformation, Symbol("probesSent"), o.probesSent) + OpenAPI.validate_property(ConnectivityInformation, Symbol("probesFailed"), o.probesFailed) +end + function OpenAPI.validate_property(::Type{ ConnectivityInformation }, name::Symbol, val) + + if name === Symbol("connectionStatus") OpenAPI.validate_param(name, "ConnectivityInformation", :enum, val, ["Unknown", "Connected", "Disconnected", "Degraded"]) end + + + if name === Symbol("avgLatencyInMs") + OpenAPI.validate_param(name, "ConnectivityInformation", :format, val, "int32") + end + + if name === Symbol("minLatencyInMs") + OpenAPI.validate_param(name, "ConnectivityInformation", :format, val, "int32") + end + + if name === Symbol("maxLatencyInMs") + OpenAPI.validate_param(name, "ConnectivityInformation", :format, val, "int32") + end + + if name === Symbol("probesSent") + OpenAPI.validate_param(name, "ConnectivityInformation", :format, val, "int32") + end + + if name === Symbol("probesFailed") + OpenAPI.validate_param(name, "ConnectivityInformation", :format, val, "int32") + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue.jl index c2563c3..8cfb18c 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue.jl @@ -24,29 +24,41 @@ Base.@kwdef mutable struct ConnectivityIssue <: OpenAPI.APIModel context::Union{Nothing, Vector{Dict}} = nothing function ConnectivityIssue(origin, severity, type, context, ) - OpenAPI.validate_property(ConnectivityIssue, Symbol("origin"), origin) - OpenAPI.validate_property(ConnectivityIssue, Symbol("severity"), severity) - OpenAPI.validate_property(ConnectivityIssue, Symbol("type"), type) - OpenAPI.validate_property(ConnectivityIssue, Symbol("context"), context) - return new(origin, severity, type, context, ) + o = new(origin, severity, type, context, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityIssue const _property_types_ConnectivityIssue = Dict{Symbol,String}(Symbol("origin")=>"String", Symbol("severity")=>"String", Symbol("type")=>"String", Symbol("context")=>"Vector{Dict}", ) OpenAPI.property_type(::Type{ ConnectivityIssue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityIssue[name]))} -function check_required(o::ConnectivityIssue) +function OpenAPI.check_required(o::ConnectivityIssue) true end +function OpenAPI.validate_properties(o::ConnectivityIssue) + OpenAPI.validate_property(ConnectivityIssue, Symbol("origin"), o.origin) + OpenAPI.validate_property(ConnectivityIssue, Symbol("severity"), o.severity) + OpenAPI.validate_property(ConnectivityIssue, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectivityIssue, Symbol("context"), o.context) +end + function OpenAPI.validate_property(::Type{ ConnectivityIssue }, name::Symbol, val) + if name === Symbol("origin") OpenAPI.validate_param(name, "ConnectivityIssue", :enum, val, ["Local", "Inbound", "Outbound"]) end + + if name === Symbol("severity") OpenAPI.validate_param(name, "ConnectivityIssue", :enum, val, ["Error", "Warning"]) end + + if name === Symbol("type") OpenAPI.validate_param(name, "ConnectivityIssue", :enum, val, ["Unknown", "AgentStopped", "GuestFirewall", "DnsResolution", "SocketBind", "NetworkSecurityRule", "UserDefinedRoute", "PortThrottled", "Platform"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue2.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue2.jl index c7b5be4..1089450 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue2.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityIssue2.jl @@ -24,29 +24,41 @@ Base.@kwdef mutable struct ConnectivityIssue2 <: OpenAPI.APIModel context::Union{Nothing, Vector{Dict}} = nothing function ConnectivityIssue2(origin, severity, type, context, ) - OpenAPI.validate_property(ConnectivityIssue2, Symbol("origin"), origin) - OpenAPI.validate_property(ConnectivityIssue2, Symbol("severity"), severity) - OpenAPI.validate_property(ConnectivityIssue2, Symbol("type"), type) - OpenAPI.validate_property(ConnectivityIssue2, Symbol("context"), context) - return new(origin, severity, type, context, ) + o = new(origin, severity, type, context, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityIssue2 const _property_types_ConnectivityIssue2 = Dict{Symbol,String}(Symbol("origin")=>"String", Symbol("severity")=>"String", Symbol("type")=>"String", Symbol("context")=>"Vector{Dict}", ) OpenAPI.property_type(::Type{ ConnectivityIssue2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityIssue2[name]))} -function check_required(o::ConnectivityIssue2) +function OpenAPI.check_required(o::ConnectivityIssue2) true end +function OpenAPI.validate_properties(o::ConnectivityIssue2) + OpenAPI.validate_property(ConnectivityIssue2, Symbol("origin"), o.origin) + OpenAPI.validate_property(ConnectivityIssue2, Symbol("severity"), o.severity) + OpenAPI.validate_property(ConnectivityIssue2, Symbol("type"), o.type) + OpenAPI.validate_property(ConnectivityIssue2, Symbol("context"), o.context) +end + function OpenAPI.validate_property(::Type{ ConnectivityIssue2 }, name::Symbol, val) + if name === Symbol("origin") OpenAPI.validate_param(name, "ConnectivityIssue2", :enum, val, ["Local", "Inbound", "Outbound"]) end + + if name === Symbol("severity") OpenAPI.validate_param(name, "ConnectivityIssue2", :enum, val, ["Error", "Warning"]) end + + if name === Symbol("type") OpenAPI.validate_param(name, "ConnectivityIssue2", :enum, val, ["Unknown", "AgentStopped", "GuestFirewall", "DnsResolution", "SocketBind", "NetworkSecurityRule", "UserDefinedRoute", "PortThrottled", "Platform"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityParameters.jl index cb787e4..d5c8e2b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivityParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivityParameters.jl @@ -27,26 +27,37 @@ Base.@kwdef mutable struct ConnectivityParameters <: OpenAPI.APIModel preferredIPVersion = nothing # spec type: Union{ Nothing, IPVersion } function ConnectivityParameters(source, destination, protocol, protocolConfiguration, preferredIPVersion, ) - OpenAPI.validate_property(ConnectivityParameters, Symbol("source"), source) - OpenAPI.validate_property(ConnectivityParameters, Symbol("destination"), destination) - OpenAPI.validate_property(ConnectivityParameters, Symbol("protocol"), protocol) - OpenAPI.validate_property(ConnectivityParameters, Symbol("protocolConfiguration"), protocolConfiguration) - OpenAPI.validate_property(ConnectivityParameters, Symbol("preferredIPVersion"), preferredIPVersion) - return new(source, destination, protocol, protocolConfiguration, preferredIPVersion, ) + o = new(source, destination, protocol, protocolConfiguration, preferredIPVersion, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivityParameters const _property_types_ConnectivityParameters = Dict{Symbol,String}(Symbol("source")=>"ConnectivitySource", Symbol("destination")=>"ConnectivityDestination", Symbol("protocol")=>"String", Symbol("protocolConfiguration")=>"ProtocolConfiguration", Symbol("preferredIPVersion")=>"IPVersion", ) OpenAPI.property_type(::Type{ ConnectivityParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivityParameters[name]))} -function check_required(o::ConnectivityParameters) +function OpenAPI.check_required(o::ConnectivityParameters) o.source === nothing && (return false) o.destination === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectivityParameters) + OpenAPI.validate_property(ConnectivityParameters, Symbol("source"), o.source) + OpenAPI.validate_property(ConnectivityParameters, Symbol("destination"), o.destination) + OpenAPI.validate_property(ConnectivityParameters, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(ConnectivityParameters, Symbol("protocolConfiguration"), o.protocolConfiguration) + OpenAPI.validate_property(ConnectivityParameters, Symbol("preferredIPVersion"), o.preferredIPVersion) +end + function OpenAPI.validate_property(::Type{ ConnectivityParameters }, name::Symbol, val) + + + if name === Symbol("protocol") OpenAPI.validate_param(name, "ConnectivityParameters", :enum, val, ["Tcp", "Http", "Https", "Icmp"]) end + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ConnectivitySource.jl b/src/Network/NetworkWatcherClient/src/models/model_ConnectivitySource.jl index 5fc6b9e..33205ab 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ConnectivitySource.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ConnectivitySource.jl @@ -18,19 +18,33 @@ Base.@kwdef mutable struct ConnectivitySource <: OpenAPI.APIModel port::Union{Nothing, Int64} = nothing function ConnectivitySource(resourceId, port, ) - OpenAPI.validate_property(ConnectivitySource, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(ConnectivitySource, Symbol("port"), port) - return new(resourceId, port, ) + o = new(resourceId, port, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectivitySource const _property_types_ConnectivitySource = Dict{Symbol,String}(Symbol("resourceId")=>"String", Symbol("port")=>"Int64", ) OpenAPI.property_type(::Type{ ConnectivitySource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectivitySource[name]))} -function check_required(o::ConnectivitySource) +function OpenAPI.check_required(o::ConnectivitySource) o.resourceId === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectivitySource) + OpenAPI.validate_property(ConnectivitySource, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(ConnectivitySource, Symbol("port"), o.port) +end + function OpenAPI.validate_property(::Type{ ConnectivitySource }, name::Symbol, val) + + + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectivitySource", :format, val, "int32") + end + if name === Symbol("port") + OpenAPI.validate_param(name, "ConnectivitySource", :maximum, val, 65535, false) + OpenAPI.validate_param(name, "ConnectivitySource", :minimum, val, 0, false) + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_EffectiveNetworkSecurityRule.jl b/src/Network/NetworkWatcherClient/src/models/model_EffectiveNetworkSecurityRule.jl index c5dad8a..9e61e6a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_EffectiveNetworkSecurityRule.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_EffectiveNetworkSecurityRule.jl @@ -57,37 +57,58 @@ Base.@kwdef mutable struct EffectiveNetworkSecurityRule <: OpenAPI.APIModel direction = nothing # spec type: Union{ Nothing, SecurityRuleDirection } function EffectiveNetworkSecurityRule(name, protocol, sourcePortRange, destinationPortRange, sourcePortRanges, destinationPortRanges, sourceAddressPrefix, destinationAddressPrefix, sourceAddressPrefixes, destinationAddressPrefixes, expandedSourceAddressPrefix, expandedDestinationAddressPrefix, access, priority, direction, ) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("name"), name) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("protocol"), protocol) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedSourceAddressPrefix"), expandedSourceAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedDestinationAddressPrefix"), expandedDestinationAddressPrefix) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("access"), access) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("priority"), priority) - OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("direction"), direction) - return new(name, protocol, sourcePortRange, destinationPortRange, sourcePortRanges, destinationPortRanges, sourceAddressPrefix, destinationAddressPrefix, sourceAddressPrefixes, destinationAddressPrefixes, expandedSourceAddressPrefix, expandedDestinationAddressPrefix, access, priority, direction, ) + o = new(name, protocol, sourcePortRange, destinationPortRange, sourcePortRanges, destinationPortRanges, sourceAddressPrefix, destinationAddressPrefix, sourceAddressPrefixes, destinationAddressPrefixes, expandedSourceAddressPrefix, expandedDestinationAddressPrefix, access, priority, direction, ) + OpenAPI.validate_properties(o) + return o end end # type EffectiveNetworkSecurityRule const _property_types_EffectiveNetworkSecurityRule = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("sourceAddressPrefix")=>"String", Symbol("destinationAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("expandedSourceAddressPrefix")=>"Vector{String}", Symbol("expandedDestinationAddressPrefix")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", ) OpenAPI.property_type(::Type{ EffectiveNetworkSecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EffectiveNetworkSecurityRule[name]))} -function check_required(o::EffectiveNetworkSecurityRule) +function OpenAPI.check_required(o::EffectiveNetworkSecurityRule) true end +function OpenAPI.validate_properties(o::EffectiveNetworkSecurityRule) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedSourceAddressPrefix"), o.expandedSourceAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("expandedDestinationAddressPrefix"), o.expandedDestinationAddressPrefix) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("access"), o.access) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("priority"), o.priority) + OpenAPI.validate_property(EffectiveNetworkSecurityRule, Symbol("direction"), o.direction) +end + function OpenAPI.validate_property(::Type{ EffectiveNetworkSecurityRule }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "EffectiveNetworkSecurityRule", :enum, val, ["Tcp", "Udp", "All"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "EffectiveNetworkSecurityRule", :format, val, "int32") end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ErrorDetails.jl b/src/Network/NetworkWatcherClient/src/models/model_ErrorDetails.jl index 446e801..2667170 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ErrorDetails.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ErrorDetails.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ErrorDetails <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ErrorDetails(code, target, message, ) - OpenAPI.validate_property(ErrorDetails, Symbol("code"), code) - OpenAPI.validate_property(ErrorDetails, Symbol("target"), target) - OpenAPI.validate_property(ErrorDetails, Symbol("message"), message) - return new(code, target, message, ) + o = new(code, target, message, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorDetails const _property_types_ErrorDetails = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ErrorDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetails[name]))} -function check_required(o::ErrorDetails) +function OpenAPI.check_required(o::ErrorDetails) true end +function OpenAPI.validate_properties(o::ErrorDetails) + OpenAPI.validate_property(ErrorDetails, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetails, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetails, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ErrorDetails }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse.jl b/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse.jl index 9a62379..6fbd2da 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, ErrorDetails } function ErrorResponse(error, ) - OpenAPI.validate_property(ErrorResponse, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorDetails", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse2.jl b/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse2.jl index 083487f..a2f8399 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse2.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ErrorResponse2.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ErrorResponse2 <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, ErrorDetails } function ErrorResponse2(error, ) - OpenAPI.validate_property(ErrorResponse2, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse2 const _property_types_ErrorResponse2 = Dict{Symbol,String}(Symbol("error")=>"ErrorDetails", ) OpenAPI.property_type(::Type{ ErrorResponse2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse2[name]))} -function check_required(o::ErrorResponse2) +function OpenAPI.check_required(o::ErrorResponse2) true end +function OpenAPI.validate_properties(o::ErrorResponse2) + OpenAPI.validate_property(ErrorResponse2, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ErrorResponse2 }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_EvaluatedNetworkSecurityGroup.jl b/src/Network/NetworkWatcherClient/src/models/model_EvaluatedNetworkSecurityGroup.jl index e8bb364..17efc49 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_EvaluatedNetworkSecurityGroup.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_EvaluatedNetworkSecurityGroup.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct EvaluatedNetworkSecurityGroup <: OpenAPI.APIModel rulesEvaluationResult::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkSecurityRulesEvaluationResult} } function EvaluatedNetworkSecurityGroup(networkSecurityGroupId, appliedTo, matchedRule, rulesEvaluationResult, ) - OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("networkSecurityGroupId"), networkSecurityGroupId) - OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("appliedTo"), appliedTo) - OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("matchedRule"), matchedRule) - OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("rulesEvaluationResult"), rulesEvaluationResult) - return new(networkSecurityGroupId, appliedTo, matchedRule, rulesEvaluationResult, ) + o = new(networkSecurityGroupId, appliedTo, matchedRule, rulesEvaluationResult, ) + OpenAPI.validate_properties(o) + return o end end # type EvaluatedNetworkSecurityGroup const _property_types_EvaluatedNetworkSecurityGroup = Dict{Symbol,String}(Symbol("networkSecurityGroupId")=>"String", Symbol("appliedTo")=>"String", Symbol("matchedRule")=>"MatchedRule", Symbol("rulesEvaluationResult")=>"Vector{NetworkSecurityRulesEvaluationResult}", ) OpenAPI.property_type(::Type{ EvaluatedNetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EvaluatedNetworkSecurityGroup[name]))} -function check_required(o::EvaluatedNetworkSecurityGroup) +function OpenAPI.check_required(o::EvaluatedNetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::EvaluatedNetworkSecurityGroup) + OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("networkSecurityGroupId"), o.networkSecurityGroupId) + OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("appliedTo"), o.appliedTo) + OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("matchedRule"), o.matchedRule) + OpenAPI.validate_property(EvaluatedNetworkSecurityGroup, Symbol("rulesEvaluationResult"), o.rulesEvaluationResult) +end + function OpenAPI.validate_property(::Type{ EvaluatedNetworkSecurityGroup }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLog.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLog.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLogInformation.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLogInformation.jl index fd72329..993a068 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLogInformation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLogInformation.jl @@ -9,33 +9,46 @@ Information on the configuration of flow log and traffic analytics (optional) . targetResourceId=nothing, properties=nothing, flowAnalyticsConfiguration=nothing, + identity=nothing, ) - targetResourceId::String : The ID of the resource to configure for flow log and traffic analytics (optional) . - properties::FlowLogProperties - flowAnalyticsConfiguration::TrafficAnalyticsProperties + - identity::ManagedServiceIdentity """ Base.@kwdef mutable struct FlowLogInformation <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing properties = nothing # spec type: Union{ Nothing, FlowLogProperties } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } - function FlowLogInformation(targetResourceId, properties, flowAnalyticsConfiguration, ) - OpenAPI.validate_property(FlowLogInformation, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogInformation, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLogInformation, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - return new(targetResourceId, properties, flowAnalyticsConfiguration, ) + function FlowLogInformation(targetResourceId, properties, flowAnalyticsConfiguration, identity, ) + o = new(targetResourceId, properties, flowAnalyticsConfiguration, identity, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogInformation -const _property_types_FlowLogInformation = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("properties")=>"FlowLogProperties", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", ) +const _property_types_FlowLogInformation = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("properties")=>"FlowLogProperties", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("identity")=>"ManagedServiceIdentity", ) OpenAPI.property_type(::Type{ FlowLogInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogInformation[name]))} -function check_required(o::FlowLogInformation) +function OpenAPI.check_required(o::FlowLogInformation) o.targetResourceId === nothing && (return false) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogInformation) + OpenAPI.validate_property(FlowLogInformation, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogInformation, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLogInformation, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogInformation, Symbol("identity"), o.identity) +end + function OpenAPI.validate_property(::Type{ FlowLogInformation }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLogListResult.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLogListResult.jl index 36730fd..05b9dc1 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLogListResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLogListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct FlowLogListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function FlowLogListResult(value, nextLink, ) - OpenAPI.validate_property(FlowLogListResult, Symbol("value"), value) - OpenAPI.validate_property(FlowLogListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogListResult const _property_types_FlowLogListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{FlowLog}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ FlowLogListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogListResult[name]))} -function check_required(o::FlowLogListResult) +function OpenAPI.check_required(o::FlowLogListResult) true end +function OpenAPI.validate_properties(o::FlowLogListResult) + OpenAPI.validate_property(FlowLogListResult, Symbol("value"), o.value) + OpenAPI.validate_property(FlowLogListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ FlowLogListResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLogProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLogProperties.jl index 3e1d5da..f8009ad 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLogProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLogProperties.jl @@ -7,39 +7,53 @@ Parameters that define the configuration of flow log. FlowLogProperties(; storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, ) - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters """ Base.@kwdef mutable struct FlowLogProperties <: OpenAPI.APIModel storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } - function FlowLogProperties(storageId, enabled, retentionPolicy, format, ) - OpenAPI.validate_property(FlowLogProperties, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogProperties, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogProperties, Symbol("format"), format) - return new(storageId, enabled, retentionPolicy, format, ) + function FlowLogProperties(storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, ) + o = new(storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogProperties -const _property_types_FlowLogProperties = Dict{Symbol,String}(Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", ) +const _property_types_FlowLogProperties = Dict{Symbol,String}(Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", ) OpenAPI.property_type(::Type{ FlowLogProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogProperties[name]))} -function check_required(o::FlowLogProperties) +function OpenAPI.check_required(o::FlowLogProperties) o.storageId === nothing && (return false) o.enabled === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogProperties) + OpenAPI.validate_property(FlowLogProperties, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogProperties, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogProperties, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogProperties, Symbol("format"), o.format) +end + function OpenAPI.validate_property(::Type{ FlowLogProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_FlowLogStatusParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_FlowLogStatusParameters.jl index 0784062..6ace36e 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_FlowLogStatusParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_FlowLogStatusParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct FlowLogStatusParameters <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing function FlowLogStatusParameters(targetResourceId, ) - OpenAPI.validate_property(FlowLogStatusParameters, Symbol("targetResourceId"), targetResourceId) - return new(targetResourceId, ) + o = new(targetResourceId, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogStatusParameters const _property_types_FlowLogStatusParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", ) OpenAPI.property_type(::Type{ FlowLogStatusParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogStatusParameters[name]))} -function check_required(o::FlowLogStatusParameters) +function OpenAPI.check_required(o::FlowLogStatusParameters) o.targetResourceId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogStatusParameters) + OpenAPI.validate_property(FlowLogStatusParameters, Symbol("targetResourceId"), o.targetResourceId) +end + function OpenAPI.validate_property(::Type{ FlowLogStatusParameters }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_HTTPConfiguration.jl b/src/Network/NetworkWatcherClient/src/models/model_HTTPConfiguration.jl index f3c4406..1c66308 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_HTTPConfiguration.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_HTTPConfiguration.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct HTTPConfiguration <: OpenAPI.APIModel validStatusCodes::Union{Nothing, Vector{Int64}} = nothing function HTTPConfiguration(method, headers, validStatusCodes, ) - OpenAPI.validate_property(HTTPConfiguration, Symbol("method"), method) - OpenAPI.validate_property(HTTPConfiguration, Symbol("headers"), headers) - OpenAPI.validate_property(HTTPConfiguration, Symbol("validStatusCodes"), validStatusCodes) - return new(method, headers, validStatusCodes, ) + o = new(method, headers, validStatusCodes, ) + OpenAPI.validate_properties(o) + return o end end # type HTTPConfiguration const _property_types_HTTPConfiguration = Dict{Symbol,String}(Symbol("method")=>"String", Symbol("headers")=>"Vector{HTTPHeader}", Symbol("validStatusCodes")=>"Vector{Int64}", ) OpenAPI.property_type(::Type{ HTTPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HTTPConfiguration[name]))} -function check_required(o::HTTPConfiguration) +function OpenAPI.check_required(o::HTTPConfiguration) true end +function OpenAPI.validate_properties(o::HTTPConfiguration) + OpenAPI.validate_property(HTTPConfiguration, Symbol("method"), o.method) + OpenAPI.validate_property(HTTPConfiguration, Symbol("headers"), o.headers) + OpenAPI.validate_property(HTTPConfiguration, Symbol("validStatusCodes"), o.validStatusCodes) +end + function OpenAPI.validate_property(::Type{ HTTPConfiguration }, name::Symbol, val) + if name === Symbol("method") OpenAPI.validate_param(name, "HTTPConfiguration", :enum, val, ["Get"]) end + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_HTTPHeader.jl b/src/Network/NetworkWatcherClient/src/models/model_HTTPHeader.jl index e606cb3..32525df 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_HTTPHeader.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_HTTPHeader.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct HTTPHeader <: OpenAPI.APIModel value::Union{Nothing, String} = nothing function HTTPHeader(name, value, ) - OpenAPI.validate_property(HTTPHeader, Symbol("name"), name) - OpenAPI.validate_property(HTTPHeader, Symbol("value"), value) - return new(name, value, ) + o = new(name, value, ) + OpenAPI.validate_properties(o) + return o end end # type HTTPHeader const _property_types_HTTPHeader = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) OpenAPI.property_type(::Type{ HTTPHeader }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HTTPHeader[name]))} -function check_required(o::HTTPHeader) +function OpenAPI.check_required(o::HTTPHeader) true end +function OpenAPI.validate_properties(o::HTTPHeader) + OpenAPI.validate_property(HTTPHeader, Symbol("name"), o.name) + OpenAPI.validate_property(HTTPHeader, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ HTTPHeader }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_HopLink.jl b/src/Network/NetworkWatcherClient/src/models/model_HopLink.jl index 9e8bd02..9356e78 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_HopLink.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_HopLink.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct HopLink <: OpenAPI.APIModel resourceId::Union{Nothing, String} = nothing function HopLink(nextHopId, linkType, properties, issues, context, resourceId, ) - OpenAPI.validate_property(HopLink, Symbol("nextHopId"), nextHopId) - OpenAPI.validate_property(HopLink, Symbol("linkType"), linkType) - OpenAPI.validate_property(HopLink, Symbol("properties"), properties) - OpenAPI.validate_property(HopLink, Symbol("issues"), issues) - OpenAPI.validate_property(HopLink, Symbol("context"), context) - OpenAPI.validate_property(HopLink, Symbol("resourceId"), resourceId) - return new(nextHopId, linkType, properties, issues, context, resourceId, ) + o = new(nextHopId, linkType, properties, issues, context, resourceId, ) + OpenAPI.validate_properties(o) + return o end end # type HopLink const _property_types_HopLink = Dict{Symbol,String}(Symbol("nextHopId")=>"String", Symbol("linkType")=>"String", Symbol("properties")=>"HopLinkProperties", Symbol("issues")=>"Vector{ConnectivityIssue}", Symbol("context")=>"Dict{String, String}", Symbol("resourceId")=>"String", ) OpenAPI.property_type(::Type{ HopLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HopLink[name]))} -function check_required(o::HopLink) +function OpenAPI.check_required(o::HopLink) true end +function OpenAPI.validate_properties(o::HopLink) + OpenAPI.validate_property(HopLink, Symbol("nextHopId"), o.nextHopId) + OpenAPI.validate_property(HopLink, Symbol("linkType"), o.linkType) + OpenAPI.validate_property(HopLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(HopLink, Symbol("issues"), o.issues) + OpenAPI.validate_property(HopLink, Symbol("context"), o.context) + OpenAPI.validate_property(HopLink, Symbol("resourceId"), o.resourceId) +end + function OpenAPI.validate_property(::Type{ HopLink }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_HopLink2.jl b/src/Network/NetworkWatcherClient/src/models/model_HopLink2.jl index 8add091..26671cc 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_HopLink2.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_HopLink2.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct HopLink2 <: OpenAPI.APIModel resourceId::Union{Nothing, String} = nothing function HopLink2(nextHopId, linkType, properties, issues, context, resourceId, ) - OpenAPI.validate_property(HopLink2, Symbol("nextHopId"), nextHopId) - OpenAPI.validate_property(HopLink2, Symbol("linkType"), linkType) - OpenAPI.validate_property(HopLink2, Symbol("properties"), properties) - OpenAPI.validate_property(HopLink2, Symbol("issues"), issues) - OpenAPI.validate_property(HopLink2, Symbol("context"), context) - OpenAPI.validate_property(HopLink2, Symbol("resourceId"), resourceId) - return new(nextHopId, linkType, properties, issues, context, resourceId, ) + o = new(nextHopId, linkType, properties, issues, context, resourceId, ) + OpenAPI.validate_properties(o) + return o end end # type HopLink2 const _property_types_HopLink2 = Dict{Symbol,String}(Symbol("nextHopId")=>"String", Symbol("linkType")=>"String", Symbol("properties")=>"HopLinkProperties2", Symbol("issues")=>"Vector{ConnectivityIssue2}", Symbol("context")=>"Dict{String, String}", Symbol("resourceId")=>"String", ) OpenAPI.property_type(::Type{ HopLink2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HopLink2[name]))} -function check_required(o::HopLink2) +function OpenAPI.check_required(o::HopLink2) true end +function OpenAPI.validate_properties(o::HopLink2) + OpenAPI.validate_property(HopLink2, Symbol("nextHopId"), o.nextHopId) + OpenAPI.validate_property(HopLink2, Symbol("linkType"), o.linkType) + OpenAPI.validate_property(HopLink2, Symbol("properties"), o.properties) + OpenAPI.validate_property(HopLink2, Symbol("issues"), o.issues) + OpenAPI.validate_property(HopLink2, Symbol("context"), o.context) + OpenAPI.validate_property(HopLink2, Symbol("resourceId"), o.resourceId) +end + function OpenAPI.validate_property(::Type{ HopLink2 }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties.jl index fef3c0f..c55c54b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties.jl @@ -21,19 +21,48 @@ Base.@kwdef mutable struct HopLinkProperties <: OpenAPI.APIModel roundTripTimeMax::Union{Nothing, Int64} = nothing function HopLinkProperties(roundTripTimeMin, roundTripTimeAvg, roundTripTimeMax, ) - OpenAPI.validate_property(HopLinkProperties, Symbol("roundTripTimeMin"), roundTripTimeMin) - OpenAPI.validate_property(HopLinkProperties, Symbol("roundTripTimeAvg"), roundTripTimeAvg) - OpenAPI.validate_property(HopLinkProperties, Symbol("roundTripTimeMax"), roundTripTimeMax) - return new(roundTripTimeMin, roundTripTimeAvg, roundTripTimeMax, ) + o = new(roundTripTimeMin, roundTripTimeAvg, roundTripTimeMax, ) + OpenAPI.validate_properties(o) + return o end end # type HopLinkProperties const _property_types_HopLinkProperties = Dict{Symbol,String}(Symbol("roundTripTimeMin")=>"Int64", Symbol("roundTripTimeAvg")=>"Int64", Symbol("roundTripTimeMax")=>"Int64", ) OpenAPI.property_type(::Type{ HopLinkProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HopLinkProperties[name]))} -function check_required(o::HopLinkProperties) +function OpenAPI.check_required(o::HopLinkProperties) true end +function OpenAPI.validate_properties(o::HopLinkProperties) + OpenAPI.validate_property(HopLinkProperties, Symbol("roundTripTimeMin"), o.roundTripTimeMin) + OpenAPI.validate_property(HopLinkProperties, Symbol("roundTripTimeAvg"), o.roundTripTimeAvg) + OpenAPI.validate_property(HopLinkProperties, Symbol("roundTripTimeMax"), o.roundTripTimeMax) +end + function OpenAPI.validate_property(::Type{ HopLinkProperties }, name::Symbol, val) + + if name === Symbol("roundTripTimeMin") + OpenAPI.validate_param(name, "HopLinkProperties", :format, val, "int64") + end + if name === Symbol("roundTripTimeMin") + OpenAPI.validate_param(name, "HopLinkProperties", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "HopLinkProperties", :minimum, val, 0, false) + end + + if name === Symbol("roundTripTimeAvg") + OpenAPI.validate_param(name, "HopLinkProperties", :format, val, "int64") + end + if name === Symbol("roundTripTimeAvg") + OpenAPI.validate_param(name, "HopLinkProperties", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "HopLinkProperties", :minimum, val, 0, false) + end + + if name === Symbol("roundTripTimeMax") + OpenAPI.validate_param(name, "HopLinkProperties", :format, val, "int64") + end + if name === Symbol("roundTripTimeMax") + OpenAPI.validate_param(name, "HopLinkProperties", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "HopLinkProperties", :minimum, val, 0, false) + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties2.jl b/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties2.jl index b9a6009..81ff951 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties2.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_HopLinkProperties2.jl @@ -21,19 +21,48 @@ Base.@kwdef mutable struct HopLinkProperties2 <: OpenAPI.APIModel roundTripTimeMax::Union{Nothing, Int64} = nothing function HopLinkProperties2(roundTripTimeMin, roundTripTimeAvg, roundTripTimeMax, ) - OpenAPI.validate_property(HopLinkProperties2, Symbol("roundTripTimeMin"), roundTripTimeMin) - OpenAPI.validate_property(HopLinkProperties2, Symbol("roundTripTimeAvg"), roundTripTimeAvg) - OpenAPI.validate_property(HopLinkProperties2, Symbol("roundTripTimeMax"), roundTripTimeMax) - return new(roundTripTimeMin, roundTripTimeAvg, roundTripTimeMax, ) + o = new(roundTripTimeMin, roundTripTimeAvg, roundTripTimeMax, ) + OpenAPI.validate_properties(o) + return o end end # type HopLinkProperties2 const _property_types_HopLinkProperties2 = Dict{Symbol,String}(Symbol("roundTripTimeMin")=>"Int64", Symbol("roundTripTimeAvg")=>"Int64", Symbol("roundTripTimeMax")=>"Int64", ) OpenAPI.property_type(::Type{ HopLinkProperties2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HopLinkProperties2[name]))} -function check_required(o::HopLinkProperties2) +function OpenAPI.check_required(o::HopLinkProperties2) true end +function OpenAPI.validate_properties(o::HopLinkProperties2) + OpenAPI.validate_property(HopLinkProperties2, Symbol("roundTripTimeMin"), o.roundTripTimeMin) + OpenAPI.validate_property(HopLinkProperties2, Symbol("roundTripTimeAvg"), o.roundTripTimeAvg) + OpenAPI.validate_property(HopLinkProperties2, Symbol("roundTripTimeMax"), o.roundTripTimeMax) +end + function OpenAPI.validate_property(::Type{ HopLinkProperties2 }, name::Symbol, val) + + if name === Symbol("roundTripTimeMin") + OpenAPI.validate_param(name, "HopLinkProperties2", :format, val, "int64") + end + if name === Symbol("roundTripTimeMin") + OpenAPI.validate_param(name, "HopLinkProperties2", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "HopLinkProperties2", :minimum, val, 0, false) + end + + if name === Symbol("roundTripTimeAvg") + OpenAPI.validate_param(name, "HopLinkProperties2", :format, val, "int64") + end + if name === Symbol("roundTripTimeAvg") + OpenAPI.validate_param(name, "HopLinkProperties2", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "HopLinkProperties2", :minimum, val, 0, false) + end + + if name === Symbol("roundTripTimeMax") + OpenAPI.validate_param(name, "HopLinkProperties2", :format, val, "int64") + end + if name === Symbol("roundTripTimeMax") + OpenAPI.validate_param(name, "HopLinkProperties2", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "HopLinkProperties2", :minimum, val, 0, false) + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/NetworkWatcherClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/NetworkWatcherClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_MatchedRule.jl b/src/Network/NetworkWatcherClient/src/models/model_MatchedRule.jl index 0ef0c23..d77bfdc 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_MatchedRule.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_MatchedRule.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct MatchedRule <: OpenAPI.APIModel action::Union{Nothing, String} = nothing function MatchedRule(ruleName, action, ) - OpenAPI.validate_property(MatchedRule, Symbol("ruleName"), ruleName) - OpenAPI.validate_property(MatchedRule, Symbol("action"), action) - return new(ruleName, action, ) + o = new(ruleName, action, ) + OpenAPI.validate_properties(o) + return o end end # type MatchedRule const _property_types_MatchedRule = Dict{Symbol,String}(Symbol("ruleName")=>"String", Symbol("action")=>"String", ) OpenAPI.property_type(::Type{ MatchedRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MatchedRule[name]))} -function check_required(o::MatchedRule) +function OpenAPI.check_required(o::MatchedRule) true end +function OpenAPI.validate_properties(o::MatchedRule) + OpenAPI.validate_property(MatchedRule, Symbol("ruleName"), o.ruleName) + OpenAPI.validate_property(MatchedRule, Symbol("action"), o.action) +end + function OpenAPI.validate_property(::Type{ MatchedRule }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticParameters.jl index 6c908ce..a38f48a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticParameters.jl @@ -21,24 +21,33 @@ Base.@kwdef mutable struct NetworkConfigurationDiagnosticParameters <: OpenAPI.A profiles::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkConfigurationDiagnosticProfile} } function NetworkConfigurationDiagnosticParameters(targetResourceId, verbosityLevel, profiles, ) - OpenAPI.validate_property(NetworkConfigurationDiagnosticParameters, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(NetworkConfigurationDiagnosticParameters, Symbol("verbosityLevel"), verbosityLevel) - OpenAPI.validate_property(NetworkConfigurationDiagnosticParameters, Symbol("profiles"), profiles) - return new(targetResourceId, verbosityLevel, profiles, ) + o = new(targetResourceId, verbosityLevel, profiles, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkConfigurationDiagnosticParameters const _property_types_NetworkConfigurationDiagnosticParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("verbosityLevel")=>"String", Symbol("profiles")=>"Vector{NetworkConfigurationDiagnosticProfile}", ) OpenAPI.property_type(::Type{ NetworkConfigurationDiagnosticParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkConfigurationDiagnosticParameters[name]))} -function check_required(o::NetworkConfigurationDiagnosticParameters) +function OpenAPI.check_required(o::NetworkConfigurationDiagnosticParameters) o.targetResourceId === nothing && (return false) o.profiles === nothing && (return false) true end +function OpenAPI.validate_properties(o::NetworkConfigurationDiagnosticParameters) + OpenAPI.validate_property(NetworkConfigurationDiagnosticParameters, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(NetworkConfigurationDiagnosticParameters, Symbol("verbosityLevel"), o.verbosityLevel) + OpenAPI.validate_property(NetworkConfigurationDiagnosticParameters, Symbol("profiles"), o.profiles) +end + function OpenAPI.validate_property(::Type{ NetworkConfigurationDiagnosticParameters }, name::Symbol, val) + + if name === Symbol("verbosityLevel") OpenAPI.validate_param(name, "NetworkConfigurationDiagnosticParameters", :enum, val, ["Normal", "Minimum", "Full"]) end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticProfile.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticProfile.jl index c593130..54d362a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticProfile.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticProfile.jl @@ -27,19 +27,16 @@ Base.@kwdef mutable struct NetworkConfigurationDiagnosticProfile <: OpenAPI.APIM destinationPort::Union{Nothing, String} = nothing function NetworkConfigurationDiagnosticProfile(direction, protocol, source, destination, destinationPort, ) - OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("direction"), direction) - OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("protocol"), protocol) - OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("source"), source) - OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("destination"), destination) - OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("destinationPort"), destinationPort) - return new(direction, protocol, source, destination, destinationPort, ) + o = new(direction, protocol, source, destination, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkConfigurationDiagnosticProfile const _property_types_NetworkConfigurationDiagnosticProfile = Dict{Symbol,String}(Symbol("direction")=>"Direction", Symbol("protocol")=>"String", Symbol("source")=>"String", Symbol("destination")=>"String", Symbol("destinationPort")=>"String", ) OpenAPI.property_type(::Type{ NetworkConfigurationDiagnosticProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkConfigurationDiagnosticProfile[name]))} -function check_required(o::NetworkConfigurationDiagnosticProfile) +function OpenAPI.check_required(o::NetworkConfigurationDiagnosticProfile) o.direction === nothing && (return false) o.protocol === nothing && (return false) o.source === nothing && (return false) @@ -48,5 +45,18 @@ function check_required(o::NetworkConfigurationDiagnosticProfile) true end +function OpenAPI.validate_properties(o::NetworkConfigurationDiagnosticProfile) + OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("direction"), o.direction) + OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("source"), o.source) + OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("destination"), o.destination) + OpenAPI.validate_property(NetworkConfigurationDiagnosticProfile, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ NetworkConfigurationDiagnosticProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResponse.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResponse.jl index 5f11097..df4083b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResponse.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResponse.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct NetworkConfigurationDiagnosticResponse <: OpenAPI.API results::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkConfigurationDiagnosticResult} } function NetworkConfigurationDiagnosticResponse(results, ) - OpenAPI.validate_property(NetworkConfigurationDiagnosticResponse, Symbol("results"), results) - return new(results, ) + o = new(results, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkConfigurationDiagnosticResponse const _property_types_NetworkConfigurationDiagnosticResponse = Dict{Symbol,String}(Symbol("results")=>"Vector{NetworkConfigurationDiagnosticResult}", ) OpenAPI.property_type(::Type{ NetworkConfigurationDiagnosticResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkConfigurationDiagnosticResponse[name]))} -function check_required(o::NetworkConfigurationDiagnosticResponse) +function OpenAPI.check_required(o::NetworkConfigurationDiagnosticResponse) true end +function OpenAPI.validate_properties(o::NetworkConfigurationDiagnosticResponse) + OpenAPI.validate_property(NetworkConfigurationDiagnosticResponse, Symbol("results"), o.results) +end + function OpenAPI.validate_property(::Type{ NetworkConfigurationDiagnosticResponse }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResult.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResult.jl index 692964d..bf0c874 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkConfigurationDiagnosticResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkConfigurationDiagnosticResult <: OpenAPI.APIMo networkSecurityGroupResult = nothing # spec type: Union{ Nothing, NetworkSecurityGroupResult } function NetworkConfigurationDiagnosticResult(profile, networkSecurityGroupResult, ) - OpenAPI.validate_property(NetworkConfigurationDiagnosticResult, Symbol("profile"), profile) - OpenAPI.validate_property(NetworkConfigurationDiagnosticResult, Symbol("networkSecurityGroupResult"), networkSecurityGroupResult) - return new(profile, networkSecurityGroupResult, ) + o = new(profile, networkSecurityGroupResult, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkConfigurationDiagnosticResult const _property_types_NetworkConfigurationDiagnosticResult = Dict{Symbol,String}(Symbol("profile")=>"NetworkConfigurationDiagnosticProfile", Symbol("networkSecurityGroupResult")=>"NetworkSecurityGroupResult", ) OpenAPI.property_type(::Type{ NetworkConfigurationDiagnosticResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkConfigurationDiagnosticResult[name]))} -function check_required(o::NetworkConfigurationDiagnosticResult) +function OpenAPI.check_required(o::NetworkConfigurationDiagnosticResult) true end +function OpenAPI.validate_properties(o::NetworkConfigurationDiagnosticResult) + OpenAPI.validate_property(NetworkConfigurationDiagnosticResult, Symbol("profile"), o.profile) + OpenAPI.validate_property(NetworkConfigurationDiagnosticResult, Symbol("networkSecurityGroupResult"), o.networkSecurityGroupResult) +end + function OpenAPI.validate_property(::Type{ NetworkConfigurationDiagnosticResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkInterfaceAssociation.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkInterfaceAssociation.jl index b4d041e..6336d10 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkInterfaceAssociation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkInterfaceAssociation.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceAssociation <: OpenAPI.APIModel securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } function NetworkInterfaceAssociation(id, securityRules, ) - OpenAPI.validate_property(NetworkInterfaceAssociation, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterfaceAssociation, Symbol("securityRules"), securityRules) - return new(id, securityRules, ) + o = new(id, securityRules, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceAssociation const _property_types_NetworkInterfaceAssociation = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("securityRules")=>"Vector{SecurityRule}", ) OpenAPI.property_type(::Type{ NetworkInterfaceAssociation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceAssociation[name]))} -function check_required(o::NetworkInterfaceAssociation) +function OpenAPI.check_required(o::NetworkInterfaceAssociation) true end +function OpenAPI.validate_properties(o::NetworkInterfaceAssociation) + OpenAPI.validate_property(NetworkInterfaceAssociation, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterfaceAssociation, Symbol("securityRules"), o.securityRules) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceAssociation }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityGroupResult.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityGroupResult.jl index 11adc41..d213927 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityGroupResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityGroupResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkSecurityGroupResult <: OpenAPI.APIModel evaluatedNetworkSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{EvaluatedNetworkSecurityGroup} } function NetworkSecurityGroupResult(securityRuleAccessResult, evaluatedNetworkSecurityGroups, ) - OpenAPI.validate_property(NetworkSecurityGroupResult, Symbol("securityRuleAccessResult"), securityRuleAccessResult) - OpenAPI.validate_property(NetworkSecurityGroupResult, Symbol("evaluatedNetworkSecurityGroups"), evaluatedNetworkSecurityGroups) - return new(securityRuleAccessResult, evaluatedNetworkSecurityGroups, ) + o = new(securityRuleAccessResult, evaluatedNetworkSecurityGroups, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupResult const _property_types_NetworkSecurityGroupResult = Dict{Symbol,String}(Symbol("securityRuleAccessResult")=>"SecurityRuleAccess", Symbol("evaluatedNetworkSecurityGroups")=>"Vector{EvaluatedNetworkSecurityGroup}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupResult[name]))} -function check_required(o::NetworkSecurityGroupResult) +function OpenAPI.check_required(o::NetworkSecurityGroupResult) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupResult) + OpenAPI.validate_property(NetworkSecurityGroupResult, Symbol("securityRuleAccessResult"), o.securityRuleAccessResult) + OpenAPI.validate_property(NetworkSecurityGroupResult, Symbol("evaluatedNetworkSecurityGroups"), o.evaluatedNetworkSecurityGroups) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupResult }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityRulesEvaluationResult.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityRulesEvaluationResult.jl index c6230ab..588ac97 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityRulesEvaluationResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkSecurityRulesEvaluationResult.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct NetworkSecurityRulesEvaluationResult <: OpenAPI.APIMo destinationPortMatched::Union{Nothing, Bool} = nothing function NetworkSecurityRulesEvaluationResult(name, protocolMatched, sourceMatched, sourcePortMatched, destinationMatched, destinationPortMatched, ) - OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("protocolMatched"), protocolMatched) - OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("sourceMatched"), sourceMatched) - OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("sourcePortMatched"), sourcePortMatched) - OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("destinationMatched"), destinationMatched) - OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("destinationPortMatched"), destinationPortMatched) - return new(name, protocolMatched, sourceMatched, sourcePortMatched, destinationMatched, destinationPortMatched, ) + o = new(name, protocolMatched, sourceMatched, sourcePortMatched, destinationMatched, destinationPortMatched, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityRulesEvaluationResult const _property_types_NetworkSecurityRulesEvaluationResult = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("protocolMatched")=>"Bool", Symbol("sourceMatched")=>"Bool", Symbol("sourcePortMatched")=>"Bool", Symbol("destinationMatched")=>"Bool", Symbol("destinationPortMatched")=>"Bool", ) OpenAPI.property_type(::Type{ NetworkSecurityRulesEvaluationResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityRulesEvaluationResult[name]))} -function check_required(o::NetworkSecurityRulesEvaluationResult) +function OpenAPI.check_required(o::NetworkSecurityRulesEvaluationResult) true end +function OpenAPI.validate_properties(o::NetworkSecurityRulesEvaluationResult) + OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("protocolMatched"), o.protocolMatched) + OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("sourceMatched"), o.sourceMatched) + OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("sourcePortMatched"), o.sourcePortMatched) + OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("destinationMatched"), o.destinationMatched) + OpenAPI.validate_property(NetworkSecurityRulesEvaluationResult, Symbol("destinationPortMatched"), o.destinationPortMatched) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityRulesEvaluationResult }, name::Symbol, val) + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcher.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcher.jl index a0f4624..1a38664 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcher.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcher.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkWatcher <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkWatcher(etag, properties, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkWatcher, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkWatcher, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkWatcher, Symbol("id"), id) - OpenAPI.validate_property(NetworkWatcher, Symbol("name"), name) - OpenAPI.validate_property(NetworkWatcher, Symbol("type"), type) - OpenAPI.validate_property(NetworkWatcher, Symbol("location"), location) - OpenAPI.validate_property(NetworkWatcher, Symbol("tags"), tags) - return new(etag, properties, id, name, type, location, tags, ) + o = new(etag, properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkWatcher const _property_types_NetworkWatcher = Dict{Symbol,String}(Symbol("etag")=>"String", Symbol("properties")=>"NetworkWatcherPropertiesFormat", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkWatcher }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkWatcher[name]))} -function check_required(o::NetworkWatcher) +function OpenAPI.check_required(o::NetworkWatcher) true end +function OpenAPI.validate_properties(o::NetworkWatcher) + OpenAPI.validate_property(NetworkWatcher, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkWatcher, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkWatcher, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkWatcher, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkWatcher, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkWatcher, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkWatcher, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkWatcher }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherListResult.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherListResult.jl index 89e781f..18aea40 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherListResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct NetworkWatcherListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkWatcher} } function NetworkWatcherListResult(value, ) - OpenAPI.validate_property(NetworkWatcherListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkWatcherListResult const _property_types_NetworkWatcherListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkWatcher}", ) OpenAPI.property_type(::Type{ NetworkWatcherListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkWatcherListResult[name]))} -function check_required(o::NetworkWatcherListResult) +function OpenAPI.check_required(o::NetworkWatcherListResult) true end +function OpenAPI.validate_properties(o::NetworkWatcherListResult) + OpenAPI.validate_property(NetworkWatcherListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ NetworkWatcherListResult }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherPropertiesFormat.jl b/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherPropertiesFormat.jl index c322652..5c76b5e 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherPropertiesFormat.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NetworkWatcherPropertiesFormat.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct NetworkWatcherPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkWatcherPropertiesFormat(provisioningState, ) - OpenAPI.validate_property(NetworkWatcherPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(provisioningState, ) + o = new(provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkWatcherPropertiesFormat const _property_types_NetworkWatcherPropertiesFormat = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkWatcherPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkWatcherPropertiesFormat[name]))} -function check_required(o::NetworkWatcherPropertiesFormat) +function OpenAPI.check_required(o::NetworkWatcherPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkWatcherPropertiesFormat) + OpenAPI.validate_property(NetworkWatcherPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkWatcherPropertiesFormat }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NextHopParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_NextHopParameters.jl index c0da819..a20a378 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NextHopParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NextHopParameters.jl @@ -24,23 +24,32 @@ Base.@kwdef mutable struct NextHopParameters <: OpenAPI.APIModel targetNicResourceId::Union{Nothing, String} = nothing function NextHopParameters(targetResourceId, sourceIPAddress, destinationIPAddress, targetNicResourceId, ) - OpenAPI.validate_property(NextHopParameters, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(NextHopParameters, Symbol("sourceIPAddress"), sourceIPAddress) - OpenAPI.validate_property(NextHopParameters, Symbol("destinationIPAddress"), destinationIPAddress) - OpenAPI.validate_property(NextHopParameters, Symbol("targetNicResourceId"), targetNicResourceId) - return new(targetResourceId, sourceIPAddress, destinationIPAddress, targetNicResourceId, ) + o = new(targetResourceId, sourceIPAddress, destinationIPAddress, targetNicResourceId, ) + OpenAPI.validate_properties(o) + return o end end # type NextHopParameters const _property_types_NextHopParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("sourceIPAddress")=>"String", Symbol("destinationIPAddress")=>"String", Symbol("targetNicResourceId")=>"String", ) OpenAPI.property_type(::Type{ NextHopParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NextHopParameters[name]))} -function check_required(o::NextHopParameters) +function OpenAPI.check_required(o::NextHopParameters) o.targetResourceId === nothing && (return false) o.sourceIPAddress === nothing && (return false) o.destinationIPAddress === nothing && (return false) true end +function OpenAPI.validate_properties(o::NextHopParameters) + OpenAPI.validate_property(NextHopParameters, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(NextHopParameters, Symbol("sourceIPAddress"), o.sourceIPAddress) + OpenAPI.validate_property(NextHopParameters, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(NextHopParameters, Symbol("targetNicResourceId"), o.targetNicResourceId) +end + function OpenAPI.validate_property(::Type{ NextHopParameters }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_NextHopResult.jl b/src/Network/NetworkWatcherClient/src/models/model_NextHopResult.jl index 2311682..9933615 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_NextHopResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_NextHopResult.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct NextHopResult <: OpenAPI.APIModel routeTableId::Union{Nothing, String} = nothing function NextHopResult(nextHopType, nextHopIpAddress, routeTableId, ) - OpenAPI.validate_property(NextHopResult, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(NextHopResult, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(NextHopResult, Symbol("routeTableId"), routeTableId) - return new(nextHopType, nextHopIpAddress, routeTableId, ) + o = new(nextHopType, nextHopIpAddress, routeTableId, ) + OpenAPI.validate_properties(o) + return o end end # type NextHopResult const _property_types_NextHopResult = Dict{Symbol,String}(Symbol("nextHopType")=>"String", Symbol("nextHopIpAddress")=>"String", Symbol("routeTableId")=>"String", ) OpenAPI.property_type(::Type{ NextHopResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NextHopResult[name]))} -function check_required(o::NextHopResult) +function OpenAPI.check_required(o::NextHopResult) true end +function OpenAPI.validate_properties(o::NextHopResult) + OpenAPI.validate_property(NextHopResult, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(NextHopResult, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(NextHopResult, Symbol("routeTableId"), o.routeTableId) +end + function OpenAPI.validate_property(::Type{ NextHopResult }, name::Symbol, val) + if name === Symbol("nextHopType") OpenAPI.validate_param(name, "NextHopResult", :enum, val, ["Internet", "VirtualAppliance", "VirtualNetworkGateway", "VnetLocal", "HyperNetGateway", "None"]) end + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCapture.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCapture.jl index ec3b553..9f04aef 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCapture.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCapture.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct PacketCapture <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PacketCaptureParameters } function PacketCapture(properties, ) - OpenAPI.validate_property(PacketCapture, Symbol("properties"), properties) - return new(properties, ) + o = new(properties, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCapture const _property_types_PacketCapture = Dict{Symbol,String}(Symbol("properties")=>"PacketCaptureParameters", ) OpenAPI.property_type(::Type{ PacketCapture }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCapture[name]))} -function check_required(o::PacketCapture) +function OpenAPI.check_required(o::PacketCapture) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::PacketCapture) + OpenAPI.validate_property(PacketCapture, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ PacketCapture }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureFilter.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureFilter.jl index ec76cdb..3b4f4bb 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureFilter.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureFilter.jl @@ -6,7 +6,7 @@ Filter that is applied to packet capture request. Multiple filters can be applied. PacketCaptureFilter(; - protocol=Any, + protocol="Any", localIPAddress=nothing, remoteIPAddress=nothing, localPort=nothing, @@ -20,31 +20,42 @@ Filter that is applied to packet capture request. Multiple filters can be applie - remotePort::String : Remote port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null. """ Base.@kwdef mutable struct PacketCaptureFilter <: OpenAPI.APIModel - protocol::Union{Nothing, String} = Any + protocol::Union{Nothing, String} = "Any" localIPAddress::Union{Nothing, String} = nothing remoteIPAddress::Union{Nothing, String} = nothing localPort::Union{Nothing, String} = nothing remotePort::Union{Nothing, String} = nothing function PacketCaptureFilter(protocol, localIPAddress, remoteIPAddress, localPort, remotePort, ) - OpenAPI.validate_property(PacketCaptureFilter, Symbol("protocol"), protocol) - OpenAPI.validate_property(PacketCaptureFilter, Symbol("localIPAddress"), localIPAddress) - OpenAPI.validate_property(PacketCaptureFilter, Symbol("remoteIPAddress"), remoteIPAddress) - OpenAPI.validate_property(PacketCaptureFilter, Symbol("localPort"), localPort) - OpenAPI.validate_property(PacketCaptureFilter, Symbol("remotePort"), remotePort) - return new(protocol, localIPAddress, remoteIPAddress, localPort, remotePort, ) + o = new(protocol, localIPAddress, remoteIPAddress, localPort, remotePort, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureFilter const _property_types_PacketCaptureFilter = Dict{Symbol,String}(Symbol("protocol")=>"String", Symbol("localIPAddress")=>"String", Symbol("remoteIPAddress")=>"String", Symbol("localPort")=>"String", Symbol("remotePort")=>"String", ) OpenAPI.property_type(::Type{ PacketCaptureFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureFilter[name]))} -function check_required(o::PacketCaptureFilter) +function OpenAPI.check_required(o::PacketCaptureFilter) true end +function OpenAPI.validate_properties(o::PacketCaptureFilter) + OpenAPI.validate_property(PacketCaptureFilter, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(PacketCaptureFilter, Symbol("localIPAddress"), o.localIPAddress) + OpenAPI.validate_property(PacketCaptureFilter, Symbol("remoteIPAddress"), o.remoteIPAddress) + OpenAPI.validate_property(PacketCaptureFilter, Symbol("localPort"), o.localPort) + OpenAPI.validate_property(PacketCaptureFilter, Symbol("remotePort"), o.remotePort) +end + function OpenAPI.validate_property(::Type{ PacketCaptureFilter }, name::Symbol, val) + if name === Symbol("protocol") OpenAPI.validate_param(name, "PacketCaptureFilter", :enum, val, ["TCP", "UDP", "Any"]) end + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureListResult.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureListResult.jl index 6e3ddb2..f074e2e 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureListResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct PacketCaptureListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PacketCaptureResult} } function PacketCaptureListResult(value, ) - OpenAPI.validate_property(PacketCaptureListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureListResult const _property_types_PacketCaptureListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PacketCaptureResult}", ) OpenAPI.property_type(::Type{ PacketCaptureListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureListResult[name]))} -function check_required(o::PacketCaptureListResult) +function OpenAPI.check_required(o::PacketCaptureListResult) true end +function OpenAPI.validate_properties(o::PacketCaptureListResult) + OpenAPI.validate_property(PacketCaptureListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ PacketCaptureListResult }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureMachineScope.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureMachineScope.jl new file mode 100644 index 0000000..9d4d9f7 --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureMachineScope.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PacketCaptureMachineScope +A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS. + + PacketCaptureMachineScope(; + include=nothing, + exclude=nothing, + ) + + - include::Vector{String} : List of AzureVMSS instances to run packet capture on. + - exclude::Vector{String} : List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture. +""" +Base.@kwdef mutable struct PacketCaptureMachineScope <: OpenAPI.APIModel + include::Union{Nothing, Vector{String}} = nothing + exclude::Union{Nothing, Vector{String}} = nothing + + function PacketCaptureMachineScope(include, exclude, ) + o = new(include, exclude, ) + OpenAPI.validate_properties(o) + return o + end +end # type PacketCaptureMachineScope + +const _property_types_PacketCaptureMachineScope = Dict{Symbol,String}(Symbol("include")=>"Vector{String}", Symbol("exclude")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ PacketCaptureMachineScope }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureMachineScope[name]))} + +function OpenAPI.check_required(o::PacketCaptureMachineScope) + true +end + +function OpenAPI.validate_properties(o::PacketCaptureMachineScope) + OpenAPI.validate_property(PacketCaptureMachineScope, Symbol("include"), o.include) + OpenAPI.validate_property(PacketCaptureMachineScope, Symbol("exclude"), o.exclude) +end + +function OpenAPI.validate_property(::Type{ PacketCaptureMachineScope }, name::Symbol, val) + + +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureParameters.jl index 349e013..2b9a04a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureParameters.jl @@ -7,47 +7,103 @@ Parameters that define the create packet capture operation. PacketCaptureParameters(; target=nothing, - bytesToCapturePerPacket=nothing, - totalBytesPerSession=nothing, - timeLimitInSeconds=nothing, + scope=nothing, + targetType=nothing, + bytesToCapturePerPacket=0, + totalBytesPerSession=1073741824, + timeLimitInSeconds=18000, storageLocation=nothing, filters=nothing, + continuousCapture=nothing, + captureSettings=nothing, ) - - target::String : The ID of the targeted resource, only VM is currently supported. + - target::String : The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. + - scope::PacketCaptureMachineScope + - targetType::String : Target type of the resource provided. - bytesToCapturePerPacket::Int64 : Number of bytes captured per packet, the remaining bytes are truncated. - totalBytesPerSession::Int64 : Maximum size of the capture output. - timeLimitInSeconds::Int64 : Maximum duration of the capture session in seconds. - storageLocation::PacketCaptureStorageLocation - filters::Vector{PacketCaptureFilter} : A list of packet capture filters. + - continuousCapture::Bool : This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. + - captureSettings::PacketCaptureSettings """ Base.@kwdef mutable struct PacketCaptureParameters <: OpenAPI.APIModel target::Union{Nothing, String} = nothing - bytesToCapturePerPacket::Union{Nothing, Int64} = nothing - totalBytesPerSession::Union{Nothing, Int64} = nothing - timeLimitInSeconds::Union{Nothing, Int64} = nothing + scope = nothing # spec type: Union{ Nothing, PacketCaptureMachineScope } + targetType::Union{Nothing, String} = nothing + bytesToCapturePerPacket::Union{Nothing, Int64} = 0 + totalBytesPerSession::Union{Nothing, Int64} = 1073741824 + timeLimitInSeconds::Union{Nothing, Int64} = 18000 storageLocation = nothing # spec type: Union{ Nothing, PacketCaptureStorageLocation } filters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PacketCaptureFilter} } + continuousCapture::Union{Nothing, Bool} = nothing + captureSettings = nothing # spec type: Union{ Nothing, PacketCaptureSettings } - function PacketCaptureParameters(target, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, ) - OpenAPI.validate_property(PacketCaptureParameters, Symbol("target"), target) - OpenAPI.validate_property(PacketCaptureParameters, Symbol("bytesToCapturePerPacket"), bytesToCapturePerPacket) - OpenAPI.validate_property(PacketCaptureParameters, Symbol("totalBytesPerSession"), totalBytesPerSession) - OpenAPI.validate_property(PacketCaptureParameters, Symbol("timeLimitInSeconds"), timeLimitInSeconds) - OpenAPI.validate_property(PacketCaptureParameters, Symbol("storageLocation"), storageLocation) - OpenAPI.validate_property(PacketCaptureParameters, Symbol("filters"), filters) - return new(target, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, ) + function PacketCaptureParameters(target, scope, targetType, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, continuousCapture, captureSettings, ) + o = new(target, scope, targetType, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, continuousCapture, captureSettings, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureParameters -const _property_types_PacketCaptureParameters = Dict{Symbol,String}(Symbol("target")=>"String", Symbol("bytesToCapturePerPacket")=>"Int64", Symbol("totalBytesPerSession")=>"Int64", Symbol("timeLimitInSeconds")=>"Int64", Symbol("storageLocation")=>"PacketCaptureStorageLocation", Symbol("filters")=>"Vector{PacketCaptureFilter}", ) +const _property_types_PacketCaptureParameters = Dict{Symbol,String}(Symbol("target")=>"String", Symbol("scope")=>"PacketCaptureMachineScope", Symbol("targetType")=>"String", Symbol("bytesToCapturePerPacket")=>"Int64", Symbol("totalBytesPerSession")=>"Int64", Symbol("timeLimitInSeconds")=>"Int64", Symbol("storageLocation")=>"PacketCaptureStorageLocation", Symbol("filters")=>"Vector{PacketCaptureFilter}", Symbol("continuousCapture")=>"Bool", Symbol("captureSettings")=>"PacketCaptureSettings", ) OpenAPI.property_type(::Type{ PacketCaptureParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureParameters[name]))} -function check_required(o::PacketCaptureParameters) +function OpenAPI.check_required(o::PacketCaptureParameters) o.target === nothing && (return false) o.storageLocation === nothing && (return false) true end +function OpenAPI.validate_properties(o::PacketCaptureParameters) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("target"), o.target) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("scope"), o.scope) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("targetType"), o.targetType) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("bytesToCapturePerPacket"), o.bytesToCapturePerPacket) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("totalBytesPerSession"), o.totalBytesPerSession) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("timeLimitInSeconds"), o.timeLimitInSeconds) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("storageLocation"), o.storageLocation) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("filters"), o.filters) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("continuousCapture"), o.continuousCapture) + OpenAPI.validate_property(PacketCaptureParameters, Symbol("captureSettings"), o.captureSettings) +end + function OpenAPI.validate_property(::Type{ PacketCaptureParameters }, name::Symbol, val) + + + + if name === Symbol("targetType") + OpenAPI.validate_param(name, "PacketCaptureParameters", :enum, val, ["AzureVM", "AzureVMSS"]) + end + + + if name === Symbol("bytesToCapturePerPacket") + OpenAPI.validate_param(name, "PacketCaptureParameters", :format, val, "int64") + end + if name === Symbol("bytesToCapturePerPacket") + OpenAPI.validate_param(name, "PacketCaptureParameters", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "PacketCaptureParameters", :minimum, val, 0, false) + end + + if name === Symbol("totalBytesPerSession") + OpenAPI.validate_param(name, "PacketCaptureParameters", :format, val, "int64") + end + if name === Symbol("totalBytesPerSession") + OpenAPI.validate_param(name, "PacketCaptureParameters", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "PacketCaptureParameters", :minimum, val, 0, false) + end + + if name === Symbol("timeLimitInSeconds") + OpenAPI.validate_param(name, "PacketCaptureParameters", :format, val, "int32") + end + if name === Symbol("timeLimitInSeconds") + OpenAPI.validate_param(name, "PacketCaptureParameters", :maximum, val, 18000, false) + OpenAPI.validate_param(name, "PacketCaptureParameters", :minimum, val, 0, false) + end + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureQueryStatusResult.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureQueryStatusResult.jl index 8b8f287..9c9e521 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureQueryStatusResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureQueryStatusResult.jl @@ -30,31 +30,44 @@ Base.@kwdef mutable struct PacketCaptureQueryStatusResult <: OpenAPI.APIModel packetCaptureError::Union{Nothing, Vector{String}} = nothing function PacketCaptureQueryStatusResult(name, id, captureStartTime, packetCaptureStatus, stopReason, packetCaptureError, ) - OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("name"), name) - OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("id"), id) - OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("captureStartTime"), captureStartTime) - OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("packetCaptureStatus"), packetCaptureStatus) - OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("stopReason"), stopReason) - OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("packetCaptureError"), packetCaptureError) - return new(name, id, captureStartTime, packetCaptureStatus, stopReason, packetCaptureError, ) + o = new(name, id, captureStartTime, packetCaptureStatus, stopReason, packetCaptureError, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureQueryStatusResult const _property_types_PacketCaptureQueryStatusResult = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("id")=>"String", Symbol("captureStartTime")=>"ZonedDateTime", Symbol("packetCaptureStatus")=>"String", Symbol("stopReason")=>"String", Symbol("packetCaptureError")=>"Vector{String}", ) OpenAPI.property_type(::Type{ PacketCaptureQueryStatusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureQueryStatusResult[name]))} -function check_required(o::PacketCaptureQueryStatusResult) +function OpenAPI.check_required(o::PacketCaptureQueryStatusResult) true end +function OpenAPI.validate_properties(o::PacketCaptureQueryStatusResult) + OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("name"), o.name) + OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("id"), o.id) + OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("captureStartTime"), o.captureStartTime) + OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("packetCaptureStatus"), o.packetCaptureStatus) + OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("stopReason"), o.stopReason) + OpenAPI.validate_property(PacketCaptureQueryStatusResult, Symbol("packetCaptureError"), o.packetCaptureError) +end + function OpenAPI.validate_property(::Type{ PacketCaptureQueryStatusResult }, name::Symbol, val) + + + if name === Symbol("captureStartTime") OpenAPI.validate_param(name, "PacketCaptureQueryStatusResult", :format, val, "date-time") end + if name === Symbol("packetCaptureStatus") OpenAPI.validate_param(name, "PacketCaptureQueryStatusResult", :enum, val, ["NotStarted", "Running", "Stopped", "Error", "Unknown"]) end + + + if name === Symbol("packetCaptureError") - OpenAPI.validate_param(name, "PacketCaptureQueryStatusResult", :enum, val, []) + OpenAPI.validate_param(name, "PacketCaptureQueryStatusResult", :enum, val, ["InternalError", "AgentStopped", "CaptureFailed", "LocalFileFailed", "StorageFailed"]) end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResult.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResult.jl index 0d07d98..fe3f482 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResult.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct PacketCaptureResult <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PacketCaptureResultProperties } function PacketCaptureResult(name, id, etag, properties, ) - OpenAPI.validate_property(PacketCaptureResult, Symbol("name"), name) - OpenAPI.validate_property(PacketCaptureResult, Symbol("id"), id) - OpenAPI.validate_property(PacketCaptureResult, Symbol("etag"), etag) - OpenAPI.validate_property(PacketCaptureResult, Symbol("properties"), properties) - return new(name, id, etag, properties, ) + o = new(name, id, etag, properties, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureResult const _property_types_PacketCaptureResult = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("properties")=>"PacketCaptureResultProperties", ) OpenAPI.property_type(::Type{ PacketCaptureResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureResult[name]))} -function check_required(o::PacketCaptureResult) +function OpenAPI.check_required(o::PacketCaptureResult) true end +function OpenAPI.validate_properties(o::PacketCaptureResult) + OpenAPI.validate_property(PacketCaptureResult, Symbol("name"), o.name) + OpenAPI.validate_property(PacketCaptureResult, Symbol("id"), o.id) + OpenAPI.validate_property(PacketCaptureResult, Symbol("etag"), o.etag) + OpenAPI.validate_property(PacketCaptureResult, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ PacketCaptureResult }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResultProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResultProperties.jl index 2d58b4d..eb49592 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResultProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureResultProperties.jl @@ -8,50 +8,107 @@ The properties of a packet capture session. PacketCaptureResultProperties(; provisioningState=nothing, target=nothing, - bytesToCapturePerPacket=nothing, - totalBytesPerSession=nothing, - timeLimitInSeconds=nothing, + scope=nothing, + targetType=nothing, + bytesToCapturePerPacket=0, + totalBytesPerSession=1073741824, + timeLimitInSeconds=18000, storageLocation=nothing, filters=nothing, + continuousCapture=nothing, + captureSettings=nothing, ) - - provisioningState::Any - - target::String : The ID of the targeted resource, only VM is currently supported. + - provisioningState::ProvisioningState + - target::String : The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported. + - scope::PacketCaptureMachineScope + - targetType::String : Target type of the resource provided. - bytesToCapturePerPacket::Int64 : Number of bytes captured per packet, the remaining bytes are truncated. - totalBytesPerSession::Int64 : Maximum size of the capture output. - timeLimitInSeconds::Int64 : Maximum duration of the capture session in seconds. - storageLocation::PacketCaptureStorageLocation - filters::Vector{PacketCaptureFilter} : A list of packet capture filters. + - continuousCapture::Bool : This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'. + - captureSettings::PacketCaptureSettings """ Base.@kwdef mutable struct PacketCaptureResultProperties <: OpenAPI.APIModel - provisioningState::Union{Nothing, Any} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } target::Union{Nothing, String} = nothing - bytesToCapturePerPacket::Union{Nothing, Int64} = nothing - totalBytesPerSession::Union{Nothing, Int64} = nothing - timeLimitInSeconds::Union{Nothing, Int64} = nothing + scope = nothing # spec type: Union{ Nothing, PacketCaptureMachineScope } + targetType::Union{Nothing, String} = nothing + bytesToCapturePerPacket::Union{Nothing, Int64} = 0 + totalBytesPerSession::Union{Nothing, Int64} = 1073741824 + timeLimitInSeconds::Union{Nothing, Int64} = 18000 storageLocation = nothing # spec type: Union{ Nothing, PacketCaptureStorageLocation } filters::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PacketCaptureFilter} } + continuousCapture::Union{Nothing, Bool} = nothing + captureSettings = nothing # spec type: Union{ Nothing, PacketCaptureSettings } - function PacketCaptureResultProperties(provisioningState, target, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, ) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("target"), target) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("bytesToCapturePerPacket"), bytesToCapturePerPacket) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("totalBytesPerSession"), totalBytesPerSession) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("timeLimitInSeconds"), timeLimitInSeconds) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("storageLocation"), storageLocation) - OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("filters"), filters) - return new(provisioningState, target, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, ) + function PacketCaptureResultProperties(provisioningState, target, scope, targetType, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, continuousCapture, captureSettings, ) + o = new(provisioningState, target, scope, targetType, bytesToCapturePerPacket, totalBytesPerSession, timeLimitInSeconds, storageLocation, filters, continuousCapture, captureSettings, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureResultProperties -const _property_types_PacketCaptureResultProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"Any", Symbol("target")=>"String", Symbol("bytesToCapturePerPacket")=>"Int64", Symbol("totalBytesPerSession")=>"Int64", Symbol("timeLimitInSeconds")=>"Int64", Symbol("storageLocation")=>"PacketCaptureStorageLocation", Symbol("filters")=>"Vector{PacketCaptureFilter}", ) +const _property_types_PacketCaptureResultProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("target")=>"String", Symbol("scope")=>"PacketCaptureMachineScope", Symbol("targetType")=>"String", Symbol("bytesToCapturePerPacket")=>"Int64", Symbol("totalBytesPerSession")=>"Int64", Symbol("timeLimitInSeconds")=>"Int64", Symbol("storageLocation")=>"PacketCaptureStorageLocation", Symbol("filters")=>"Vector{PacketCaptureFilter}", Symbol("continuousCapture")=>"Bool", Symbol("captureSettings")=>"PacketCaptureSettings", ) OpenAPI.property_type(::Type{ PacketCaptureResultProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureResultProperties[name]))} -function check_required(o::PacketCaptureResultProperties) +function OpenAPI.check_required(o::PacketCaptureResultProperties) o.target === nothing && (return false) o.storageLocation === nothing && (return false) true end +function OpenAPI.validate_properties(o::PacketCaptureResultProperties) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("target"), o.target) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("scope"), o.scope) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("targetType"), o.targetType) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("bytesToCapturePerPacket"), o.bytesToCapturePerPacket) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("totalBytesPerSession"), o.totalBytesPerSession) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("timeLimitInSeconds"), o.timeLimitInSeconds) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("storageLocation"), o.storageLocation) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("filters"), o.filters) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("continuousCapture"), o.continuousCapture) + OpenAPI.validate_property(PacketCaptureResultProperties, Symbol("captureSettings"), o.captureSettings) +end + function OpenAPI.validate_property(::Type{ PacketCaptureResultProperties }, name::Symbol, val) + + + + + if name === Symbol("targetType") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :enum, val, ["AzureVM", "AzureVMSS"]) + end + + + if name === Symbol("bytesToCapturePerPacket") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :format, val, "int64") + end + if name === Symbol("bytesToCapturePerPacket") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :minimum, val, 0, false) + end + + if name === Symbol("totalBytesPerSession") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :format, val, "int64") + end + if name === Symbol("totalBytesPerSession") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :minimum, val, 0, false) + end + + if name === Symbol("timeLimitInSeconds") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :format, val, "int32") + end + if name === Symbol("timeLimitInSeconds") + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :maximum, val, 18000, false) + OpenAPI.validate_param(name, "PacketCaptureResultProperties", :minimum, val, 0, false) + end + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureSettings.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureSettings.jl new file mode 100644 index 0000000..998fc63 --- /dev/null +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureSettings.jl @@ -0,0 +1,68 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PacketCaptureSettings +The storage location for a packet capture session. + + PacketCaptureSettings(; + fileCount=10, + fileSizeInBytes=104857600, + sessionTimeLimitInSeconds=86400, + ) + + - fileCount::Int64 : Number of file count. Default value of count is 10 and maximum number is 10000. + - fileSizeInBytes::Int64 : Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB). + - sessionTimeLimitInSeconds::Int64 : Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day). +""" +Base.@kwdef mutable struct PacketCaptureSettings <: OpenAPI.APIModel + fileCount::Union{Nothing, Int64} = 10 + fileSizeInBytes::Union{Nothing, Int64} = 104857600 + sessionTimeLimitInSeconds::Union{Nothing, Int64} = 86400 + + function PacketCaptureSettings(fileCount, fileSizeInBytes, sessionTimeLimitInSeconds, ) + o = new(fileCount, fileSizeInBytes, sessionTimeLimitInSeconds, ) + OpenAPI.validate_properties(o) + return o + end +end # type PacketCaptureSettings + +const _property_types_PacketCaptureSettings = Dict{Symbol,String}(Symbol("fileCount")=>"Int64", Symbol("fileSizeInBytes")=>"Int64", Symbol("sessionTimeLimitInSeconds")=>"Int64", ) +OpenAPI.property_type(::Type{ PacketCaptureSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureSettings[name]))} + +function OpenAPI.check_required(o::PacketCaptureSettings) + true +end + +function OpenAPI.validate_properties(o::PacketCaptureSettings) + OpenAPI.validate_property(PacketCaptureSettings, Symbol("fileCount"), o.fileCount) + OpenAPI.validate_property(PacketCaptureSettings, Symbol("fileSizeInBytes"), o.fileSizeInBytes) + OpenAPI.validate_property(PacketCaptureSettings, Symbol("sessionTimeLimitInSeconds"), o.sessionTimeLimitInSeconds) +end + +function OpenAPI.validate_property(::Type{ PacketCaptureSettings }, name::Symbol, val) + + if name === Symbol("fileCount") + OpenAPI.validate_param(name, "PacketCaptureSettings", :format, val, "int32") + end + if name === Symbol("fileCount") + OpenAPI.validate_param(name, "PacketCaptureSettings", :maximum, val, 10000, false) + OpenAPI.validate_param(name, "PacketCaptureSettings", :minimum, val, 0, false) + end + + if name === Symbol("fileSizeInBytes") + OpenAPI.validate_param(name, "PacketCaptureSettings", :format, val, "int64") + end + if name === Symbol("fileSizeInBytes") + OpenAPI.validate_param(name, "PacketCaptureSettings", :maximum, val, 4294967295, false) + OpenAPI.validate_param(name, "PacketCaptureSettings", :minimum, val, 0, false) + end + + if name === Symbol("sessionTimeLimitInSeconds") + OpenAPI.validate_param(name, "PacketCaptureSettings", :format, val, "int32") + end + if name === Symbol("sessionTimeLimitInSeconds") + OpenAPI.validate_param(name, "PacketCaptureSettings", :maximum, val, 604800, false) + OpenAPI.validate_param(name, "PacketCaptureSettings", :minimum, val, 0, false) + end +end diff --git a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureStorageLocation.jl b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureStorageLocation.jl index 697cf5e..72e52d7 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureStorageLocation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_PacketCaptureStorageLocation.jl @@ -9,31 +9,44 @@ The storage location for a packet capture session. storageId=nothing, storagePath=nothing, filePath=nothing, + localPath=nothing, ) - - storageId::String : The ID of the storage account to save the packet capture session. Required if no local file path is provided. + - storageId::String : The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided. - storagePath::String : The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture. - - filePath::String : A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional. + - filePath::String : This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional. + - localPath::String : This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. """ Base.@kwdef mutable struct PacketCaptureStorageLocation <: OpenAPI.APIModel storageId::Union{Nothing, String} = nothing storagePath::Union{Nothing, String} = nothing filePath::Union{Nothing, String} = nothing + localPath::Union{Nothing, String} = nothing - function PacketCaptureStorageLocation(storageId, storagePath, filePath, ) - OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("storageId"), storageId) - OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("storagePath"), storagePath) - OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("filePath"), filePath) - return new(storageId, storagePath, filePath, ) + function PacketCaptureStorageLocation(storageId, storagePath, filePath, localPath, ) + o = new(storageId, storagePath, filePath, localPath, ) + OpenAPI.validate_properties(o) + return o end end # type PacketCaptureStorageLocation -const _property_types_PacketCaptureStorageLocation = Dict{Symbol,String}(Symbol("storageId")=>"String", Symbol("storagePath")=>"String", Symbol("filePath")=>"String", ) +const _property_types_PacketCaptureStorageLocation = Dict{Symbol,String}(Symbol("storageId")=>"String", Symbol("storagePath")=>"String", Symbol("filePath")=>"String", Symbol("localPath")=>"String", ) OpenAPI.property_type(::Type{ PacketCaptureStorageLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PacketCaptureStorageLocation[name]))} -function check_required(o::PacketCaptureStorageLocation) +function OpenAPI.check_required(o::PacketCaptureStorageLocation) true end +function OpenAPI.validate_properties(o::PacketCaptureStorageLocation) + OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("storagePath"), o.storagePath) + OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("filePath"), o.filePath) + OpenAPI.validate_property(PacketCaptureStorageLocation, Symbol("localPath"), o.localPath) +end + function OpenAPI.validate_property(::Type{ PacketCaptureStorageLocation }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_ProtocolConfiguration.jl b/src/Network/NetworkWatcherClient/src/models/model_ProtocolConfiguration.jl index 9b7813c..0ba63a4 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_ProtocolConfiguration.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_ProtocolConfiguration.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ProtocolConfiguration <: OpenAPI.APIModel HTTPConfiguration = nothing # spec type: Union{ Nothing, HTTPConfiguration } function ProtocolConfiguration(HTTPConfiguration, ) - OpenAPI.validate_property(ProtocolConfiguration, Symbol("HTTPConfiguration"), HTTPConfiguration) - return new(HTTPConfiguration, ) + o = new(HTTPConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type ProtocolConfiguration const _property_types_ProtocolConfiguration = Dict{Symbol,String}(Symbol("HTTPConfiguration")=>"HTTPConfiguration", ) OpenAPI.property_type(::Type{ ProtocolConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProtocolConfiguration[name]))} -function check_required(o::ProtocolConfiguration) +function OpenAPI.check_required(o::ProtocolConfiguration) true end +function OpenAPI.validate_properties(o::ProtocolConfiguration) + OpenAPI.validate_property(ProtocolConfiguration, Symbol("HTTPConfiguration"), o.HTTPConfiguration) +end + function OpenAPI.validate_property(::Type{ ProtocolConfiguration }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_QueryTroubleshootingParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_QueryTroubleshootingParameters.jl index dbc2a78..177b06b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_QueryTroubleshootingParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_QueryTroubleshootingParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct QueryTroubleshootingParameters <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing function QueryTroubleshootingParameters(targetResourceId, ) - OpenAPI.validate_property(QueryTroubleshootingParameters, Symbol("targetResourceId"), targetResourceId) - return new(targetResourceId, ) + o = new(targetResourceId, ) + OpenAPI.validate_properties(o) + return o end end # type QueryTroubleshootingParameters const _property_types_QueryTroubleshootingParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", ) OpenAPI.property_type(::Type{ QueryTroubleshootingParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_QueryTroubleshootingParameters[name]))} -function check_required(o::QueryTroubleshootingParameters) +function OpenAPI.check_required(o::QueryTroubleshootingParameters) o.targetResourceId === nothing && (return false) true end +function OpenAPI.validate_properties(o::QueryTroubleshootingParameters) + OpenAPI.validate_property(QueryTroubleshootingParameters, Symbol("targetResourceId"), o.targetResourceId) +end + function OpenAPI.validate_property(::Type{ QueryTroubleshootingParameters }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_Resource.jl b/src/Network/NetworkWatcherClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_Resource.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupNetworkInterface.jl b/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupNetworkInterface.jl index 7825748..0b116ab 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupNetworkInterface.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupNetworkInterface.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct SecurityGroupNetworkInterface <: OpenAPI.APIModel securityRuleAssociations = nothing # spec type: Union{ Nothing, SecurityRuleAssociations } function SecurityGroupNetworkInterface(id, securityRuleAssociations, ) - OpenAPI.validate_property(SecurityGroupNetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(SecurityGroupNetworkInterface, Symbol("securityRuleAssociations"), securityRuleAssociations) - return new(id, securityRuleAssociations, ) + o = new(id, securityRuleAssociations, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityGroupNetworkInterface const _property_types_SecurityGroupNetworkInterface = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("securityRuleAssociations")=>"SecurityRuleAssociations", ) OpenAPI.property_type(::Type{ SecurityGroupNetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityGroupNetworkInterface[name]))} -function check_required(o::SecurityGroupNetworkInterface) +function OpenAPI.check_required(o::SecurityGroupNetworkInterface) true end +function OpenAPI.validate_properties(o::SecurityGroupNetworkInterface) + OpenAPI.validate_property(SecurityGroupNetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(SecurityGroupNetworkInterface, Symbol("securityRuleAssociations"), o.securityRuleAssociations) +end + function OpenAPI.validate_property(::Type{ SecurityGroupNetworkInterface }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewParameters.jl index 8dc0f6e..1e201ce 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct SecurityGroupViewParameters <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing function SecurityGroupViewParameters(targetResourceId, ) - OpenAPI.validate_property(SecurityGroupViewParameters, Symbol("targetResourceId"), targetResourceId) - return new(targetResourceId, ) + o = new(targetResourceId, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityGroupViewParameters const _property_types_SecurityGroupViewParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", ) OpenAPI.property_type(::Type{ SecurityGroupViewParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityGroupViewParameters[name]))} -function check_required(o::SecurityGroupViewParameters) +function OpenAPI.check_required(o::SecurityGroupViewParameters) o.targetResourceId === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityGroupViewParameters) + OpenAPI.validate_property(SecurityGroupViewParameters, Symbol("targetResourceId"), o.targetResourceId) +end + function OpenAPI.validate_property(::Type{ SecurityGroupViewParameters }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewResult.jl b/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewResult.jl index 8517e86..e7b18c5 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SecurityGroupViewResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SecurityGroupViewResult <: OpenAPI.APIModel networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityGroupNetworkInterface} } function SecurityGroupViewResult(networkInterfaces, ) - OpenAPI.validate_property(SecurityGroupViewResult, Symbol("networkInterfaces"), networkInterfaces) - return new(networkInterfaces, ) + o = new(networkInterfaces, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityGroupViewResult const _property_types_SecurityGroupViewResult = Dict{Symbol,String}(Symbol("networkInterfaces")=>"Vector{SecurityGroupNetworkInterface}", ) OpenAPI.property_type(::Type{ SecurityGroupViewResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityGroupViewResult[name]))} -function check_required(o::SecurityGroupViewResult) +function OpenAPI.check_required(o::SecurityGroupViewResult) true end +function OpenAPI.validate_properties(o::SecurityGroupViewResult) + OpenAPI.validate_property(SecurityGroupViewResult, Symbol("networkInterfaces"), o.networkInterfaces) +end + function OpenAPI.validate_property(::Type{ SecurityGroupViewResult }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SecurityRule.jl b/src/Network/NetworkWatcherClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SecurityRule.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SecurityRuleAssociations.jl b/src/Network/NetworkWatcherClient/src/models/model_SecurityRuleAssociations.jl index 85a6833..dc7b480 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SecurityRuleAssociations.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SecurityRuleAssociations.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct SecurityRuleAssociations <: OpenAPI.APIModel effectiveSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{EffectiveNetworkSecurityRule} } function SecurityRuleAssociations(networkInterfaceAssociation, subnetAssociation, defaultSecurityRules, effectiveSecurityRules, ) - OpenAPI.validate_property(SecurityRuleAssociations, Symbol("networkInterfaceAssociation"), networkInterfaceAssociation) - OpenAPI.validate_property(SecurityRuleAssociations, Symbol("subnetAssociation"), subnetAssociation) - OpenAPI.validate_property(SecurityRuleAssociations, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(SecurityRuleAssociations, Symbol("effectiveSecurityRules"), effectiveSecurityRules) - return new(networkInterfaceAssociation, subnetAssociation, defaultSecurityRules, effectiveSecurityRules, ) + o = new(networkInterfaceAssociation, subnetAssociation, defaultSecurityRules, effectiveSecurityRules, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRuleAssociations const _property_types_SecurityRuleAssociations = Dict{Symbol,String}(Symbol("networkInterfaceAssociation")=>"NetworkInterfaceAssociation", Symbol("subnetAssociation")=>"SubnetAssociation", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("effectiveSecurityRules")=>"Vector{EffectiveNetworkSecurityRule}", ) OpenAPI.property_type(::Type{ SecurityRuleAssociations }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRuleAssociations[name]))} -function check_required(o::SecurityRuleAssociations) +function OpenAPI.check_required(o::SecurityRuleAssociations) true end +function OpenAPI.validate_properties(o::SecurityRuleAssociations) + OpenAPI.validate_property(SecurityRuleAssociations, Symbol("networkInterfaceAssociation"), o.networkInterfaceAssociation) + OpenAPI.validate_property(SecurityRuleAssociations, Symbol("subnetAssociation"), o.subnetAssociation) + OpenAPI.validate_property(SecurityRuleAssociations, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(SecurityRuleAssociations, Symbol("effectiveSecurityRules"), o.effectiveSecurityRules) +end + function OpenAPI.validate_property(::Type{ SecurityRuleAssociations }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/NetworkWatcherClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SubResource.jl b/src/Network/NetworkWatcherClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SubResource.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_SubnetAssociation.jl b/src/Network/NetworkWatcherClient/src/models/model_SubnetAssociation.jl index 0bfb3af..25363a9 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_SubnetAssociation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_SubnetAssociation.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct SubnetAssociation <: OpenAPI.APIModel securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } function SubnetAssociation(id, securityRules, ) - OpenAPI.validate_property(SubnetAssociation, Symbol("id"), id) - OpenAPI.validate_property(SubnetAssociation, Symbol("securityRules"), securityRules) - return new(id, securityRules, ) + o = new(id, securityRules, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetAssociation const _property_types_SubnetAssociation = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("securityRules")=>"Vector{SecurityRule}", ) OpenAPI.property_type(::Type{ SubnetAssociation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetAssociation[name]))} -function check_required(o::SubnetAssociation) +function OpenAPI.check_required(o::SubnetAssociation) true end +function OpenAPI.validate_properties(o::SubnetAssociation) + OpenAPI.validate_property(SubnetAssociation, Symbol("id"), o.id) + OpenAPI.validate_property(SubnetAssociation, Symbol("securityRules"), o.securityRules) +end + function OpenAPI.validate_property(::Type{ SubnetAssociation }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TagsObject.jl b/src/Network/NetworkWatcherClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TagsObject.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_Topology.jl b/src/Network/NetworkWatcherClient/src/models/model_Topology.jl index 621b3db..f6bad26 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_Topology.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_Topology.jl @@ -24,26 +24,35 @@ Base.@kwdef mutable struct Topology <: OpenAPI.APIModel resources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TopologyResource} } function Topology(id, createdDateTime, lastModified, resources, ) - OpenAPI.validate_property(Topology, Symbol("id"), id) - OpenAPI.validate_property(Topology, Symbol("createdDateTime"), createdDateTime) - OpenAPI.validate_property(Topology, Symbol("lastModified"), lastModified) - OpenAPI.validate_property(Topology, Symbol("resources"), resources) - return new(id, createdDateTime, lastModified, resources, ) + o = new(id, createdDateTime, lastModified, resources, ) + OpenAPI.validate_properties(o) + return o end end # type Topology const _property_types_Topology = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("createdDateTime")=>"ZonedDateTime", Symbol("lastModified")=>"ZonedDateTime", Symbol("resources")=>"Vector{TopologyResource}", ) OpenAPI.property_type(::Type{ Topology }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Topology[name]))} -function check_required(o::Topology) +function OpenAPI.check_required(o::Topology) true end +function OpenAPI.validate_properties(o::Topology) + OpenAPI.validate_property(Topology, Symbol("id"), o.id) + OpenAPI.validate_property(Topology, Symbol("createdDateTime"), o.createdDateTime) + OpenAPI.validate_property(Topology, Symbol("lastModified"), o.lastModified) + OpenAPI.validate_property(Topology, Symbol("resources"), o.resources) +end + function OpenAPI.validate_property(::Type{ Topology }, name::Symbol, val) + + if name === Symbol("createdDateTime") OpenAPI.validate_param(name, "Topology", :format, val, "date-time") end + if name === Symbol("lastModified") OpenAPI.validate_param(name, "Topology", :format, val, "date-time") end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TopologyAssociation.jl b/src/Network/NetworkWatcherClient/src/models/model_TopologyAssociation.jl index 0124f4d..dcdfda3 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TopologyAssociation.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TopologyAssociation.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct TopologyAssociation <: OpenAPI.APIModel associationType::Union{Nothing, String} = nothing function TopologyAssociation(name, resourceId, associationType, ) - OpenAPI.validate_property(TopologyAssociation, Symbol("name"), name) - OpenAPI.validate_property(TopologyAssociation, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(TopologyAssociation, Symbol("associationType"), associationType) - return new(name, resourceId, associationType, ) + o = new(name, resourceId, associationType, ) + OpenAPI.validate_properties(o) + return o end end # type TopologyAssociation const _property_types_TopologyAssociation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("resourceId")=>"String", Symbol("associationType")=>"String", ) OpenAPI.property_type(::Type{ TopologyAssociation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TopologyAssociation[name]))} -function check_required(o::TopologyAssociation) +function OpenAPI.check_required(o::TopologyAssociation) true end +function OpenAPI.validate_properties(o::TopologyAssociation) + OpenAPI.validate_property(TopologyAssociation, Symbol("name"), o.name) + OpenAPI.validate_property(TopologyAssociation, Symbol("resourceId"), o.resourceId) + OpenAPI.validate_property(TopologyAssociation, Symbol("associationType"), o.associationType) +end + function OpenAPI.validate_property(::Type{ TopologyAssociation }, name::Symbol, val) + + + if name === Symbol("associationType") OpenAPI.validate_param(name, "TopologyAssociation", :enum, val, ["Associated", "Contains"]) end + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TopologyParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_TopologyParameters.jl index 4eaface..6837ef5 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TopologyParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TopologyParameters.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct TopologyParameters <: OpenAPI.APIModel targetSubnet = nothing # spec type: Union{ Nothing, SubResource } function TopologyParameters(targetResourceGroupName, targetVirtualNetwork, targetSubnet, ) - OpenAPI.validate_property(TopologyParameters, Symbol("targetResourceGroupName"), targetResourceGroupName) - OpenAPI.validate_property(TopologyParameters, Symbol("targetVirtualNetwork"), targetVirtualNetwork) - OpenAPI.validate_property(TopologyParameters, Symbol("targetSubnet"), targetSubnet) - return new(targetResourceGroupName, targetVirtualNetwork, targetSubnet, ) + o = new(targetResourceGroupName, targetVirtualNetwork, targetSubnet, ) + OpenAPI.validate_properties(o) + return o end end # type TopologyParameters const _property_types_TopologyParameters = Dict{Symbol,String}(Symbol("targetResourceGroupName")=>"String", Symbol("targetVirtualNetwork")=>"SubResource", Symbol("targetSubnet")=>"SubResource", ) OpenAPI.property_type(::Type{ TopologyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TopologyParameters[name]))} -function check_required(o::TopologyParameters) +function OpenAPI.check_required(o::TopologyParameters) true end +function OpenAPI.validate_properties(o::TopologyParameters) + OpenAPI.validate_property(TopologyParameters, Symbol("targetResourceGroupName"), o.targetResourceGroupName) + OpenAPI.validate_property(TopologyParameters, Symbol("targetVirtualNetwork"), o.targetVirtualNetwork) + OpenAPI.validate_property(TopologyParameters, Symbol("targetSubnet"), o.targetSubnet) +end + function OpenAPI.validate_property(::Type{ TopologyParameters }, name::Symbol, val) + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TopologyResource.jl b/src/Network/NetworkWatcherClient/src/models/model_TopologyResource.jl index 05f340c..677eccc 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TopologyResource.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TopologyResource.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct TopologyResource <: OpenAPI.APIModel associations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TopologyAssociation} } function TopologyResource(name, id, location, associations, ) - OpenAPI.validate_property(TopologyResource, Symbol("name"), name) - OpenAPI.validate_property(TopologyResource, Symbol("id"), id) - OpenAPI.validate_property(TopologyResource, Symbol("location"), location) - OpenAPI.validate_property(TopologyResource, Symbol("associations"), associations) - return new(name, id, location, associations, ) + o = new(name, id, location, associations, ) + OpenAPI.validate_properties(o) + return o end end # type TopologyResource const _property_types_TopologyResource = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("id")=>"String", Symbol("location")=>"String", Symbol("associations")=>"Vector{TopologyAssociation}", ) OpenAPI.property_type(::Type{ TopologyResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TopologyResource[name]))} -function check_required(o::TopologyResource) +function OpenAPI.check_required(o::TopologyResource) true end +function OpenAPI.validate_properties(o::TopologyResource) + OpenAPI.validate_property(TopologyResource, Symbol("name"), o.name) + OpenAPI.validate_property(TopologyResource, Symbol("id"), o.id) + OpenAPI.validate_property(TopologyResource, Symbol("location"), o.location) + OpenAPI.validate_property(TopologyResource, Symbol("associations"), o.associations) +end + function OpenAPI.validate_property(::Type{ TopologyResource }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingDetails.jl b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingDetails.jl index 63b7e55..d11564f 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingDetails.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingDetails.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct TroubleshootingDetails <: OpenAPI.APIModel recommendedActions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TroubleshootingRecommendedActions} } function TroubleshootingDetails(id, reasonType, summary, detail, recommendedActions, ) - OpenAPI.validate_property(TroubleshootingDetails, Symbol("id"), id) - OpenAPI.validate_property(TroubleshootingDetails, Symbol("reasonType"), reasonType) - OpenAPI.validate_property(TroubleshootingDetails, Symbol("summary"), summary) - OpenAPI.validate_property(TroubleshootingDetails, Symbol("detail"), detail) - OpenAPI.validate_property(TroubleshootingDetails, Symbol("recommendedActions"), recommendedActions) - return new(id, reasonType, summary, detail, recommendedActions, ) + o = new(id, reasonType, summary, detail, recommendedActions, ) + OpenAPI.validate_properties(o) + return o end end # type TroubleshootingDetails const _property_types_TroubleshootingDetails = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("reasonType")=>"String", Symbol("summary")=>"String", Symbol("detail")=>"String", Symbol("recommendedActions")=>"Vector{TroubleshootingRecommendedActions}", ) OpenAPI.property_type(::Type{ TroubleshootingDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TroubleshootingDetails[name]))} -function check_required(o::TroubleshootingDetails) +function OpenAPI.check_required(o::TroubleshootingDetails) true end +function OpenAPI.validate_properties(o::TroubleshootingDetails) + OpenAPI.validate_property(TroubleshootingDetails, Symbol("id"), o.id) + OpenAPI.validate_property(TroubleshootingDetails, Symbol("reasonType"), o.reasonType) + OpenAPI.validate_property(TroubleshootingDetails, Symbol("summary"), o.summary) + OpenAPI.validate_property(TroubleshootingDetails, Symbol("detail"), o.detail) + OpenAPI.validate_property(TroubleshootingDetails, Symbol("recommendedActions"), o.recommendedActions) +end + function OpenAPI.validate_property(::Type{ TroubleshootingDetails }, name::Symbol, val) + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingParameters.jl index e63f06c..b9ecd1c 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingParameters.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct TroubleshootingParameters <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, TroubleshootingProperties } function TroubleshootingParameters(targetResourceId, properties, ) - OpenAPI.validate_property(TroubleshootingParameters, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(TroubleshootingParameters, Symbol("properties"), properties) - return new(targetResourceId, properties, ) + o = new(targetResourceId, properties, ) + OpenAPI.validate_properties(o) + return o end end # type TroubleshootingParameters const _property_types_TroubleshootingParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("properties")=>"TroubleshootingProperties", ) OpenAPI.property_type(::Type{ TroubleshootingParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TroubleshootingParameters[name]))} -function check_required(o::TroubleshootingParameters) +function OpenAPI.check_required(o::TroubleshootingParameters) o.targetResourceId === nothing && (return false) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::TroubleshootingParameters) + OpenAPI.validate_property(TroubleshootingParameters, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(TroubleshootingParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ TroubleshootingParameters }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingProperties.jl b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingProperties.jl index a35995d..5b6a17a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingProperties.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingProperties.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct TroubleshootingProperties <: OpenAPI.APIModel storagePath::Union{Nothing, String} = nothing function TroubleshootingProperties(storageId, storagePath, ) - OpenAPI.validate_property(TroubleshootingProperties, Symbol("storageId"), storageId) - OpenAPI.validate_property(TroubleshootingProperties, Symbol("storagePath"), storagePath) - return new(storageId, storagePath, ) + o = new(storageId, storagePath, ) + OpenAPI.validate_properties(o) + return o end end # type TroubleshootingProperties const _property_types_TroubleshootingProperties = Dict{Symbol,String}(Symbol("storageId")=>"String", Symbol("storagePath")=>"String", ) OpenAPI.property_type(::Type{ TroubleshootingProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TroubleshootingProperties[name]))} -function check_required(o::TroubleshootingProperties) +function OpenAPI.check_required(o::TroubleshootingProperties) o.storageId === nothing && (return false) o.storagePath === nothing && (return false) true end +function OpenAPI.validate_properties(o::TroubleshootingProperties) + OpenAPI.validate_property(TroubleshootingProperties, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(TroubleshootingProperties, Symbol("storagePath"), o.storagePath) +end + function OpenAPI.validate_property(::Type{ TroubleshootingProperties }, name::Symbol, val) + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingRecommendedActions.jl b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingRecommendedActions.jl index 68d9b93..e2bb712 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingRecommendedActions.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingRecommendedActions.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct TroubleshootingRecommendedActions <: OpenAPI.APIModel actionUriText::Union{Nothing, String} = nothing function TroubleshootingRecommendedActions(actionId, actionText, actionUri, actionUriText, ) - OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionId"), actionId) - OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionText"), actionText) - OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionUri"), actionUri) - OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionUriText"), actionUriText) - return new(actionId, actionText, actionUri, actionUriText, ) + o = new(actionId, actionText, actionUri, actionUriText, ) + OpenAPI.validate_properties(o) + return o end end # type TroubleshootingRecommendedActions const _property_types_TroubleshootingRecommendedActions = Dict{Symbol,String}(Symbol("actionId")=>"String", Symbol("actionText")=>"String", Symbol("actionUri")=>"String", Symbol("actionUriText")=>"String", ) OpenAPI.property_type(::Type{ TroubleshootingRecommendedActions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TroubleshootingRecommendedActions[name]))} -function check_required(o::TroubleshootingRecommendedActions) +function OpenAPI.check_required(o::TroubleshootingRecommendedActions) true end +function OpenAPI.validate_properties(o::TroubleshootingRecommendedActions) + OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionId"), o.actionId) + OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionText"), o.actionText) + OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionUri"), o.actionUri) + OpenAPI.validate_property(TroubleshootingRecommendedActions, Symbol("actionUriText"), o.actionUriText) +end + function OpenAPI.validate_property(::Type{ TroubleshootingRecommendedActions }, name::Symbol, val) + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingResult.jl b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingResult.jl index e39d025..cf5d34a 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_TroubleshootingResult.jl @@ -24,26 +24,35 @@ Base.@kwdef mutable struct TroubleshootingResult <: OpenAPI.APIModel results::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TroubleshootingDetails} } function TroubleshootingResult(startTime, endTime, code, results, ) - OpenAPI.validate_property(TroubleshootingResult, Symbol("startTime"), startTime) - OpenAPI.validate_property(TroubleshootingResult, Symbol("endTime"), endTime) - OpenAPI.validate_property(TroubleshootingResult, Symbol("code"), code) - OpenAPI.validate_property(TroubleshootingResult, Symbol("results"), results) - return new(startTime, endTime, code, results, ) + o = new(startTime, endTime, code, results, ) + OpenAPI.validate_properties(o) + return o end end # type TroubleshootingResult const _property_types_TroubleshootingResult = Dict{Symbol,String}(Symbol("startTime")=>"ZonedDateTime", Symbol("endTime")=>"ZonedDateTime", Symbol("code")=>"String", Symbol("results")=>"Vector{TroubleshootingDetails}", ) OpenAPI.property_type(::Type{ TroubleshootingResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TroubleshootingResult[name]))} -function check_required(o::TroubleshootingResult) +function OpenAPI.check_required(o::TroubleshootingResult) true end +function OpenAPI.validate_properties(o::TroubleshootingResult) + OpenAPI.validate_property(TroubleshootingResult, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(TroubleshootingResult, Symbol("endTime"), o.endTime) + OpenAPI.validate_property(TroubleshootingResult, Symbol("code"), o.code) + OpenAPI.validate_property(TroubleshootingResult, Symbol("results"), o.results) +end + function OpenAPI.validate_property(::Type{ TroubleshootingResult }, name::Symbol, val) + if name === Symbol("startTime") OpenAPI.validate_param(name, "TroubleshootingResult", :format, val, "date-time") end + if name === Symbol("endTime") OpenAPI.validate_param(name, "TroubleshootingResult", :format, val, "date-time") end + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowParameters.jl b/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowParameters.jl index 698638d..6c60a66 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowParameters.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowParameters.jl @@ -36,22 +36,16 @@ Base.@kwdef mutable struct VerificationIPFlowParameters <: OpenAPI.APIModel targetNicResourceId::Union{Nothing, String} = nothing function VerificationIPFlowParameters(targetResourceId, direction, protocol, localPort, remotePort, localIPAddress, remoteIPAddress, targetNicResourceId, ) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("direction"), direction) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("protocol"), protocol) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("localPort"), localPort) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("remotePort"), remotePort) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("localIPAddress"), localIPAddress) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("remoteIPAddress"), remoteIPAddress) - OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("targetNicResourceId"), targetNicResourceId) - return new(targetResourceId, direction, protocol, localPort, remotePort, localIPAddress, remoteIPAddress, targetNicResourceId, ) + o = new(targetResourceId, direction, protocol, localPort, remotePort, localIPAddress, remoteIPAddress, targetNicResourceId, ) + OpenAPI.validate_properties(o) + return o end end # type VerificationIPFlowParameters const _property_types_VerificationIPFlowParameters = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("direction")=>"Direction", Symbol("protocol")=>"String", Symbol("localPort")=>"String", Symbol("remotePort")=>"String", Symbol("localIPAddress")=>"String", Symbol("remoteIPAddress")=>"String", Symbol("targetNicResourceId")=>"String", ) OpenAPI.property_type(::Type{ VerificationIPFlowParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VerificationIPFlowParameters[name]))} -function check_required(o::VerificationIPFlowParameters) +function OpenAPI.check_required(o::VerificationIPFlowParameters) o.targetResourceId === nothing && (return false) o.direction === nothing && (return false) o.protocol === nothing && (return false) @@ -62,8 +56,28 @@ function check_required(o::VerificationIPFlowParameters) true end +function OpenAPI.validate_properties(o::VerificationIPFlowParameters) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("direction"), o.direction) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("localPort"), o.localPort) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("remotePort"), o.remotePort) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("localIPAddress"), o.localIPAddress) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("remoteIPAddress"), o.remoteIPAddress) + OpenAPI.validate_property(VerificationIPFlowParameters, Symbol("targetNicResourceId"), o.targetNicResourceId) +end + function OpenAPI.validate_property(::Type{ VerificationIPFlowParameters }, name::Symbol, val) + + + if name === Symbol("protocol") OpenAPI.validate_param(name, "VerificationIPFlowParameters", :enum, val, ["TCP", "UDP"]) end + + + + + + end diff --git a/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowResult.jl b/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowResult.jl index 274fca6..871687b 100644 --- a/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowResult.jl +++ b/src/Network/NetworkWatcherClient/src/models/model_VerificationIPFlowResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VerificationIPFlowResult <: OpenAPI.APIModel ruleName::Union{Nothing, String} = nothing function VerificationIPFlowResult(access, ruleName, ) - OpenAPI.validate_property(VerificationIPFlowResult, Symbol("access"), access) - OpenAPI.validate_property(VerificationIPFlowResult, Symbol("ruleName"), ruleName) - return new(access, ruleName, ) + o = new(access, ruleName, ) + OpenAPI.validate_properties(o) + return o end end # type VerificationIPFlowResult const _property_types_VerificationIPFlowResult = Dict{Symbol,String}(Symbol("access")=>"Access", Symbol("ruleName")=>"String", ) OpenAPI.property_type(::Type{ VerificationIPFlowResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VerificationIPFlowResult[name]))} -function check_required(o::VerificationIPFlowResult) +function OpenAPI.check_required(o::VerificationIPFlowResult) true end +function OpenAPI.validate_properties(o::VerificationIPFlowResult) + OpenAPI.validate_property(VerificationIPFlowResult, Symbol("access"), o.access) + OpenAPI.validate_property(VerificationIPFlowResult, Symbol("ruleName"), o.ruleName) +end + function OpenAPI.validate_property(::Type{ VerificationIPFlowResult }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/.openapi-generator/FILES b/src/Network/PublicIpAddressClient/.openapi-generator/FILES index 3c66594..466cb95 100644 --- a/src/Network/PublicIpAddressClient/.openapi-generator/FILES +++ b/src/Network/PublicIpAddressClient/.openapi-generator/FILES @@ -3,6 +3,8 @@ README.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md docs/BackendAddressPool.md @@ -13,11 +15,14 @@ docs/CustomDnsConfigPropertiesFormat.md docs/DdosSettings.md docs/DdosSettings2.md docs/Delegation.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfigurationProfile.md @@ -28,8 +33,16 @@ docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md docs/IpTag2.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkInterface.md docs/NetworkInterfaceDnsSettings.md docs/NetworkInterfaceIPConfiguration.md @@ -41,10 +54,18 @@ docs/NetworkInterfaceTapConfigurationPropertiesFormat.md docs/NetworkSecurityGroup.md docs/NetworkSecurityGroupPropertiesFormat.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/ProvisioningState.md docs/PublicIPAddress.md docs/PublicIPAddress2.md @@ -56,9 +77,11 @@ docs/PublicIPAddressPropertiesFormat2.md docs/PublicIPAddressSku.md docs/PublicIPAddressSku2.md docs/PublicIPAddressesApi.md +docs/PublicIpDdosProtectionStatusResult.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -92,6 +115,8 @@ src/modelincludes.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl src/models/model_BackendAddressPool.jl @@ -102,11 +127,14 @@ src/models/model_CustomDnsConfigPropertiesFormat.jl src/models/model_DdosSettings.jl src/models/model_DdosSettings2.jl src/models/model_Delegation.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfigurationProfile.jl @@ -117,8 +145,16 @@ src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl src/models/model_IpTag2.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterfaceDnsSettings.jl src/models/model_NetworkInterfaceIPConfiguration.jl @@ -130,10 +166,18 @@ src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl src/models/model_NetworkSecurityGroup.jl src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_ProvisioningState.jl src/models/model_PublicIPAddress.jl src/models/model_PublicIPAddress2.jl @@ -144,9 +188,11 @@ src/models/model_PublicIPAddressPropertiesFormat.jl src/models/model_PublicIPAddressPropertiesFormat2.jl src/models/model_PublicIPAddressSku.jl src/models/model_PublicIPAddressSku2.jl +src/models/model_PublicIpDdosProtectionStatusResult.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl diff --git a/src/Network/PublicIpAddressClient/.openapi-generator/VERSION b/src/Network/PublicIpAddressClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/PublicIpAddressClient/.openapi-generator/VERSION +++ b/src/Network/PublicIpAddressClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/PublicIpAddressClient/README.md b/src/Network/PublicIpAddressClient/README.md index 18a99d0..84cfeae 100644 --- a/src/Network/PublicIpAddressClient/README.md +++ b/src/Network/PublicIpAddressClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -21,6 +22,7 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- *PublicIPAddressesApi* | [**public_i_p_addresses_create_or_update**](docs/PublicIPAddressesApi.md#public_i_p_addresses_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}
+*PublicIPAddressesApi* | [**public_i_p_addresses_ddos_protection_status**](docs/PublicIPAddressesApi.md#public_i_p_addresses_ddos_protection_status)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus
*PublicIPAddressesApi* | [**public_i_p_addresses_delete**](docs/PublicIPAddressesApi.md#public_i_p_addresses_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}
*PublicIPAddressesApi* | [**public_i_p_addresses_get**](docs/PublicIPAddressesApi.md#public_i_p_addresses_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}
*PublicIPAddressesApi* | [**public_i_p_addresses_list**](docs/PublicIPAddressesApi.md#public_i_p_addresses_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses
@@ -33,6 +35,8 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) - [BackendAddressPool](docs/BackendAddressPool.md) @@ -43,11 +47,14 @@ Class | Method - [DdosSettings](docs/DdosSettings.md) - [DdosSettings2](docs/DdosSettings2.md) - [Delegation](docs/Delegation.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfigurationProfile](docs/IPConfigurationProfile.md) @@ -58,8 +65,16 @@ Class | Method - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) - [IpTag2](docs/IpTag2.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) - [NetworkInterfaceIPConfiguration](docs/NetworkInterfaceIPConfiguration.md) @@ -71,10 +86,18 @@ Class | Method - [NetworkSecurityGroup](docs/NetworkSecurityGroup.md) - [NetworkSecurityGroupPropertiesFormat](docs/NetworkSecurityGroupPropertiesFormat.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [ProvisioningState](docs/ProvisioningState.md) - [PublicIPAddress](docs/PublicIPAddress.md) - [PublicIPAddress2](docs/PublicIPAddress2.md) @@ -85,9 +108,11 @@ Class | Method - [PublicIPAddressPropertiesFormat2](docs/PublicIPAddressPropertiesFormat2.md) - [PublicIPAddressSku](docs/PublicIPAddressSku.md) - [PublicIPAddressSku2](docs/PublicIPAddressSku2.md) + - [PublicIpDdosProtectionStatusResult](docs/PublicIpDdosProtectionStatusResult.md) - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -117,9 +142,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/PublicIpAddressClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/PublicIpAddressClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/PublicIpAddressClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/DdosSettings.md b/src/Network/PublicIpAddressClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/PublicIpAddressClient/docs/DdosSettings.md +++ b/src/Network/PublicIpAddressClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/DdosSettings2.md b/src/Network/PublicIpAddressClient/docs/DdosSettings2.md index 3adf162..d9b6d97 100644 --- a/src/Network/PublicIpAddressClient/docs/DdosSettings2.md +++ b/src/Network/PublicIpAddressClient/docs/DdosSettings2.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/Delegation.md b/src/Network/PublicIpAddressClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/PublicIpAddressClient/docs/Delegation.md +++ b/src/Network/PublicIpAddressClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/ExtendedLocation.md b/src/Network/PublicIpAddressClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/ExtendedLocationType.md b/src/Network/PublicIpAddressClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/FlowLog.md b/src/Network/PublicIpAddressClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/PublicIpAddressClient/docs/FlowLog.md +++ b/src/Network/PublicIpAddressClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/FlowLogFormatParameters.md b/src/Network/PublicIpAddressClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/PublicIpAddressClient/docs/FlowLogFormatParameters.md +++ b/src/Network/PublicIpAddressClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/FlowLogPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/PublicIpAddressClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/FrontendIPConfigurationPropertiesFormat.md index 7ef1b55..40bd750 100644 --- a/src/Network/PublicIpAddressClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress2**](PublicIPAddress2.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/PublicIpAddressClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/PublicIpAddressClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/IpamPoolPrefixAllocation.md b/src/Network/PublicIpAddressClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/PublicIpAddressClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/PublicIpAddressClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/ManagedServiceIdentity.md b/src/Network/PublicIpAddressClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/PublicIpAddressClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/NatGateway.md b/src/Network/PublicIpAddressClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/NatGatewayPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/NatGatewaySku.md b/src/Network/PublicIpAddressClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/NatRulePortMapping.md b/src/Network/PublicIpAddressClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/NetworkInterface.md b/src/Network/PublicIpAddressClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/PublicIpAddressClient/docs/NetworkInterface.md +++ b/src/Network/PublicIpAddressClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index 456a540..6f86074 100644 --- a/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/PublicIpAddressClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/NetworkSecurityGroupPropertiesFormat.md index 84e7b18..d9c105d 100644 --- a/src/Network/PublicIpAddressClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/PrivateEndpoint.md b/src/Network/PublicIpAddressClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/PublicIpAddressClient/docs/PrivateEndpoint.md +++ b/src/Network/PublicIpAddressClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/PrivateEndpointConnection.md b/src/Network/PublicIpAddressClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/PublicIpAddressClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/PublicIpAddressClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/PublicIpAddressClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateEndpointProperties.md b/src/Network/PublicIpAddressClient/docs/PrivateEndpointProperties.md index 40d6bf8..e3fd912 100644 --- a/src/Network/PublicIpAddressClient/docs/PrivateEndpointProperties.md +++ b/src/Network/PublicIpAddressClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/PrivateLinkService.md b/src/Network/PublicIpAddressClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceProperties.md b/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..5c91eab --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddress.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddress.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddress2.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddress2.md index bdbc33c..93fe233 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddress2.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddress2.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku2**](PublicIPAddressSku2.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat2**](PublicIPAddressPropertiesFormat2.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings2.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings2.md index b9cb0e6..83bdfba 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings2.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressDnsSettings2.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat2.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat2.md index 491b4f0..3cf161e 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat2.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressPropertiesFormat2.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress2**](PublicIPAddress2.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress2**](PublicIPAddress2.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku2.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku2.md index de9b345..edb06ae 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku2.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressSku2.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/PublicIPAddressesApi.md b/src/Network/PublicIpAddressClient/docs/PublicIPAddressesApi.md index cbdc69d..9810d8d 100644 --- a/src/Network/PublicIpAddressClient/docs/PublicIPAddressesApi.md +++ b/src/Network/PublicIpAddressClient/docs/PublicIPAddressesApi.md @@ -5,6 +5,7 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**public_i_p_addresses_create_or_update**](PublicIPAddressesApi.md#public_i_p_addresses_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName} | +[**public_i_p_addresses_ddos_protection_status**](PublicIPAddressesApi.md#public_i_p_addresses_ddos_protection_status) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus | [**public_i_p_addresses_delete**](PublicIPAddressesApi.md#public_i_p_addresses_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName} | [**public_i_p_addresses_get**](PublicIPAddressesApi.md#public_i_p_addresses_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName} | [**public_i_p_addresses_list**](PublicIPAddressesApi.md#public_i_p_addresses_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses | @@ -25,11 +26,11 @@ Creates or updates a static or dynamic public IP address. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PublicIPAddressesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**public_ip_address_name** | **String**| The name of the public IP address. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**PublicIPAddress**](PublicIPAddress.md)| Parameters supplied to the create or update public IP address operation. | +**resource_group_name** | **String** | The name of the resource group. | +**public_ip_address_name** | **String** | The name of the public IP address. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**PublicIPAddress**](PublicIPAddress.md) | Parameters supplied to the create or update public IP address operation. | ### Return type @@ -46,6 +47,39 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **public_i_p_addresses_ddos_protection_status** +> public_i_p_addresses_ddos_protection_status(_api::PublicIPAddressesApi, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> PublicIpDdosProtectionStatusResult, OpenAPI.Clients.ApiResponse
+> public_i_p_addresses_ddos_protection_status(_api::PublicIPAddressesApi, response_stream::Channel, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ PublicIpDdosProtectionStatusResult }, OpenAPI.Clients.ApiResponse + + + +Gets the Ddos Protection Status of a Public IP Address + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **PublicIPAddressesApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**public_ip_address_name** | **String** | The name of the public IP address. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**PublicIpDdosProtectionStatusResult**](PublicIpDdosProtectionStatusResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **public_i_p_addresses_delete** > public_i_p_addresses_delete(_api::PublicIPAddressesApi, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
> public_i_p_addresses_delete(_api::PublicIPAddressesApi, response_stream::Channel, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse @@ -59,10 +93,10 @@ Deletes the specified public IP address. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PublicIPAddressesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**public_ip_address_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**public_ip_address_name** | **String** | The name of the public IP address. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,16 +126,16 @@ Gets the specified public IP address in a specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PublicIPAddressesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**public_ip_address_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**public_ip_address_name** | **String** | The name of the public IP address. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -131,9 +165,9 @@ Gets all public IP addresses in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PublicIPAddressesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -163,8 +197,8 @@ Gets all the public IP addresses in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PublicIPAddressesApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +228,11 @@ Updates public IP address tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PublicIPAddressesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**public_ip_address_name** | **String**| The name of the public IP address. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update public IP address tags. | +**resource_group_name** | **String** | The name of the resource group. | +**public_ip_address_name** | **String** | The name of the public IP address. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update public IP address tags. | ### Return type diff --git a/src/Network/PublicIpAddressClient/docs/PublicIpDdosProtectionStatusResult.md b/src/Network/PublicIpAddressClient/docs/PublicIpDdosProtectionStatusResult.md new file mode 100644 index 0000000..6713c17 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/PublicIpDdosProtectionStatusResult.md @@ -0,0 +1,15 @@ +# PublicIpDdosProtectionStatusResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**publicIpAddressId** | **String** | Public IP ARM resource ID | [optional] [default to nothing] +**publicIpAddress** | **String** | IP Address of the Public IP Resource | [optional] [default to nothing] +**isWorkloadProtected** | **String** | Value indicating whether the IP address is DDoS workload protected or not. | [optional] [default to nothing] +**ddosProtectionPlanId** | **String** | DDoS protection plan Resource Id of a if IP address is protected through a plan. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/ResourceSet.md b/src/Network/PublicIpAddressClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/PublicIpAddressClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/PublicIpAddressClient/docs/RetentionPolicyParameters.md b/src/Network/PublicIpAddressClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/PublicIpAddressClient/docs/RetentionPolicyParameters.md +++ b/src/Network/PublicIpAddressClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/PublicIpAddressClient/docs/Route.md b/src/Network/PublicIpAddressClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/PublicIpAddressClient/docs/Route.md +++ b/src/Network/PublicIpAddressClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/RoutePropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/PublicIpAddressClient/docs/RoutePropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/RouteTablePropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/PublicIpAddressClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/SecurityRule.md b/src/Network/PublicIpAddressClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/PublicIpAddressClient/docs/SecurityRule.md +++ b/src/Network/PublicIpAddressClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/SecurityRulePropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/PublicIpAddressClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicy.md b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/PublicIpAddressClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/Subnet.md b/src/Network/PublicIpAddressClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/PublicIpAddressClient/docs/Subnet.md +++ b/src/Network/PublicIpAddressClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/PublicIpAddressClient/docs/SubnetPropertiesFormat.md b/src/Network/PublicIpAddressClient/docs/SubnetPropertiesFormat.md index 5569795..972cda9 100644 --- a/src/Network/PublicIpAddressClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/PublicIpAddressClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/PublicIpAddressClient/src/PublicIpAddressClient.jl b/src/Network/PublicIpAddressClient/src/PublicIpAddressClient.jl index 04b5cb8..0f54f15 100644 --- a/src/Network/PublicIpAddressClient/src/PublicIpAddressClient.jl +++ b/src/Network/PublicIpAddressClient/src/PublicIpAddressClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/PublicIpAddressClient/src/apis/api_PublicIPAddressesApi.jl b/src/Network/PublicIpAddressClient/src/apis/api_PublicIPAddressesApi.jl index 4d89bf6..ef0af7e 100644 --- a/src/Network/PublicIpAddressClient/src/apis/api_PublicIPAddressesApi.jl +++ b/src/Network/PublicIpAddressClient/src/apis/api_PublicIPAddressesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_public_i_p_addresses_create_or_update(_api::PublicIPAddres OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "publicIpAddressName", public_ip_address_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -49,6 +49,43 @@ function public_i_p_addresses_create_or_update(_api::PublicIPAddressesApi, respo return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_public_i_p_addresses_ddos_protection_status_PublicIPAddressesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => PublicIpDdosProtectionStatusResult, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_public_i_p_addresses_ddos_protection_status(_api::PublicIPAddressesApi, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_public_i_p_addresses_ddos_protection_status_PublicIPAddressesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "publicIpAddressName", public_ip_address_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the Ddos Protection Status of a Public IP Address + +Params: +- resource_group_name::String (required) +- public_ip_address_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: PublicIpDdosProtectionStatusResult, OpenAPI.Clients.ApiResponse +""" +function public_i_p_addresses_ddos_protection_status(_api::PublicIPAddressesApi, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_public_i_p_addresses_ddos_protection_status(_api, resource_group_name, public_ip_address_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function public_i_p_addresses_ddos_protection_status(_api::PublicIPAddressesApi, response_stream::Channel, resource_group_name::String, public_ip_address_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_public_i_p_addresses_ddos_protection_status(_api, resource_group_name, public_ip_address_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_public_i_p_addresses_delete_PublicIPAddressesApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, @@ -61,7 +98,7 @@ function _oacinternal_public_i_p_addresses_delete(_api::PublicIPAddressesApi, re OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "publicIpAddressName", public_ip_address_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,8 +134,8 @@ function _oacinternal_public_i_p_addresses_get(_api::PublicIPAddressesApi, resou OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "publicIpAddressName", public_ip_address_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -134,7 +171,7 @@ function _oacinternal_public_i_p_addresses_list(_api::PublicIPAddressesApi, reso _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_public_i_p_addresses_list_PublicIPAddressesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -167,7 +204,7 @@ const _returntypes_public_i_p_addresses_list_all_PublicIPAddressesApi = Dict{Reg function _oacinternal_public_i_p_addresses_list_all(_api::PublicIPAddressesApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_public_i_p_addresses_list_all_PublicIPAddressesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -201,7 +238,7 @@ function _oacinternal_public_i_p_addresses_update_tags(_api::PublicIPAddressesAp OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "publicIpAddressName", public_ip_address_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -229,6 +266,7 @@ function public_i_p_addresses_update_tags(_api::PublicIPAddressesApi, response_s end export public_i_p_addresses_create_or_update +export public_i_p_addresses_ddos_protection_status export public_i_p_addresses_delete export public_i_p_addresses_get export public_i_p_addresses_list diff --git a/src/Network/PublicIpAddressClient/src/modelincludes.jl b/src/Network/PublicIpAddressClient/src/modelincludes.jl index 91531fd..ac60d08 100644 --- a/src/Network/PublicIpAddressClient/src/modelincludes.jl +++ b/src/Network/PublicIpAddressClient/src/modelincludes.jl @@ -4,6 +4,8 @@ include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") include("models/model_BackendAddressPool.jl") @@ -14,11 +16,14 @@ include("models/model_CustomDnsConfigPropertiesFormat.jl") include("models/model_DdosSettings.jl") include("models/model_DdosSettings2.jl") include("models/model_Delegation.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfigurationProfile.jl") @@ -29,8 +34,16 @@ include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") include("models/model_IpTag2.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterfaceDnsSettings.jl") include("models/model_NetworkInterfaceIPConfiguration.jl") @@ -42,10 +55,18 @@ include("models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl") include("models/model_NetworkSecurityGroup.jl") include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_ProvisioningState.jl") include("models/model_PublicIPAddress.jl") include("models/model_PublicIPAddress2.jl") @@ -56,9 +77,11 @@ include("models/model_PublicIPAddressPropertiesFormat.jl") include("models/model_PublicIPAddressPropertiesFormat2.jl") include("models/model_PublicIPAddressSku.jl") include("models/model_PublicIPAddressSku2.jl") +include("models/model_PublicIpDdosProtectionStatusResult.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPool.jl b/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_CloudError.jl b/src/Network/PublicIpAddressClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_CloudError.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_CloudErrorBody.jl b/src/Network/PublicIpAddressClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_DdosSettings.jl b/src/Network/PublicIpAddressClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_DdosSettings.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_DdosSettings2.jl b/src/Network/PublicIpAddressClient/src/models/model_DdosSettings2.jl index 3e1f253..003cc33 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_DdosSettings2.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_DdosSettings2.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings2(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings2 <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings2(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings2, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings2, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings2, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings2(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings2 -const _property_types_DdosSettings2 = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings2 = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings2[name]))} -function check_required(o::DdosSettings2) +function OpenAPI.check_required(o::DdosSettings2) true end +function OpenAPI.validate_properties(o::DdosSettings2) + OpenAPI.validate_property(DdosSettings2, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings2, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings2 }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings2", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings2", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_Delegation.jl b/src/Network/PublicIpAddressClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_Delegation.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ExtendedLocation.jl b/src/Network/PublicIpAddressClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ExtendedLocationType.jl b/src/Network/PublicIpAddressClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_FlowLog.jl b/src/Network/PublicIpAddressClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_FlowLog.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/PublicIpAddressClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/PublicIpAddressClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 006d095..385fb11 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress2 - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress2 } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress2", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress2", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/PublicIpAddressClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IPConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_IPConfiguration.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfile.jl b/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationPropertiesFormat.jl index e0b8576..b38deb2 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress2", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_InboundNatRule.jl b/src/Network/PublicIpAddressClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_InboundNatRule.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IpTag.jl b/src/Network/PublicIpAddressClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_IpTag.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IpTag2.jl b/src/Network/PublicIpAddressClient/src/models/model_IpTag2.jl index 261b749..a064c5c 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_IpTag2.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_IpTag2.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag2 <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag2(ipTagType, tag, ) - OpenAPI.validate_property(IpTag2, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag2, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag2 const _property_types_IpTag2 = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag2[name]))} -function check_required(o::IpTag2) +function OpenAPI.check_required(o::IpTag2) true end +function OpenAPI.validate_properties(o::IpTag2) + OpenAPI.validate_property(IpTag2, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag2, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag2 }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/PublicIpAddressClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/PublicIpAddressClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/PublicIpAddressClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/PublicIpAddressClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NatGateway.jl b/src/Network/PublicIpAddressClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NatGatewaySku.jl b/src/Network/PublicIpAddressClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NatRulePortMapping.jl b/src/Network/PublicIpAddressClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterface.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterface.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 6ed2baf..4700187 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress2", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress2", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0ba83a0..b38ec23 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpoint.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointProperties.jl index c7b43bc..627df0e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkService.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..f0c3f6f --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress2.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress2.jl index cf49430..14d4a9a 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress2.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddress2.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress2(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku2 - properties::PublicIPAddressPropertiesFormat2 - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress2 <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku2 } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat2 } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress2 <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress2(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress2, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress2, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress2, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress2, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress2, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress2, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress2, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress2, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress2, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress2(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress2 -const _property_types_PublicIPAddress2 = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku2", Symbol("properties")=>"PublicIPAddressPropertiesFormat2", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress2 = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku2", Symbol("properties")=>"PublicIPAddressPropertiesFormat2", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress2[name]))} -function check_required(o::PublicIPAddress2) +function OpenAPI.check_required(o::PublicIPAddress2) true end +function OpenAPI.validate_properties(o::PublicIPAddress2) + OpenAPI.validate_property(PublicIPAddress2, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress2, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress2, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress2, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress2, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress2, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress2, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress2, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress2, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress2, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress2 }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings2.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings2.jl index 069775b..b95a598 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings2.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressDnsSettings2.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings2(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings2 <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings2(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings2(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings2 -const _property_types_PublicIPAddressDnsSettings2 = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings2 = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings2[name]))} -function check_required(o::PublicIPAddressDnsSettings2) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings2) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings2) + OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings2, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings2 }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings2", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressListResult.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressListResult.jl index 3944039..536222c 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressListResult.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct PublicIPAddressListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function PublicIPAddressListResult(value, nextLink, ) - OpenAPI.validate_property(PublicIPAddressListResult, Symbol("value"), value) - OpenAPI.validate_property(PublicIPAddressListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressListResult const _property_types_PublicIPAddressListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PublicIPAddress}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressListResult[name]))} -function check_required(o::PublicIPAddressListResult) +function OpenAPI.check_required(o::PublicIPAddressListResult) true end +function OpenAPI.validate_properties(o::PublicIPAddressListResult) + OpenAPI.validate_property(PublicIPAddressListResult, Symbol("value"), o.value) + OpenAPI.validate_property(PublicIPAddressListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressListResult }, name::Symbol, val) + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat2.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat2.jl index c4d0e04..03b89a6 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat2.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressPropertiesFormat2.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress2 + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress2 + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat2 <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat2 <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress2 } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress2 } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat2(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat2(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat2 -const _property_types_PublicIPAddressPropertiesFormat2 = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings2", Symbol("ddosSettings")=>"DdosSettings2", Symbol("ipTags")=>"Vector{IpTag2}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat2 = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings2", Symbol("ddosSettings")=>"DdosSettings2", Symbol("ipTags")=>"Vector{IpTag2}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress2", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress2", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat2[name]))} -function check_required(o::PublicIPAddressPropertiesFormat2) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat2) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat2) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat2, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat2 }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat2", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat2", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat2", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku2.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku2.jl index 6c7485a..4dd3c64 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku2.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIPAddressSku2.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku2(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku2 <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku2(name, ) - OpenAPI.validate_property(PublicIPAddressSku2, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku2(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku2 -const _property_types_PublicIPAddressSku2 = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku2 = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku2[name]))} -function check_required(o::PublicIPAddressSku2) +function OpenAPI.check_required(o::PublicIPAddressSku2) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku2) + OpenAPI.validate_property(PublicIPAddressSku2, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku2, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku2 }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku2", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku2", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku2", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_PublicIpDdosProtectionStatusResult.jl b/src/Network/PublicIpAddressClient/src/models/model_PublicIpDdosProtectionStatusResult.jl new file mode 100644 index 0000000..9491208 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_PublicIpDdosProtectionStatusResult.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PublicIpDdosProtectionStatusResult +Response for GetPublicIpAddressDdosProtectionStatusOperation API service call. + + PublicIpDdosProtectionStatusResult(; + publicIpAddressId=nothing, + publicIpAddress=nothing, + isWorkloadProtected=nothing, + ddosProtectionPlanId=nothing, + ) + + - publicIpAddressId::String : Public IP ARM resource ID + - publicIpAddress::String : IP Address of the Public IP Resource + - isWorkloadProtected::String : Value indicating whether the IP address is DDoS workload protected or not. + - ddosProtectionPlanId::String : DDoS protection plan Resource Id of a if IP address is protected through a plan. +""" +Base.@kwdef mutable struct PublicIpDdosProtectionStatusResult <: OpenAPI.APIModel + publicIpAddressId::Union{Nothing, String} = nothing + publicIpAddress::Union{Nothing, String} = nothing + isWorkloadProtected::Union{Nothing, String} = nothing + ddosProtectionPlanId::Union{Nothing, String} = nothing + + function PublicIpDdosProtectionStatusResult(publicIpAddressId, publicIpAddress, isWorkloadProtected, ddosProtectionPlanId, ) + o = new(publicIpAddressId, publicIpAddress, isWorkloadProtected, ddosProtectionPlanId, ) + OpenAPI.validate_properties(o) + return o + end +end # type PublicIpDdosProtectionStatusResult + +const _property_types_PublicIpDdosProtectionStatusResult = Dict{Symbol,String}(Symbol("publicIpAddressId")=>"String", Symbol("publicIpAddress")=>"String", Symbol("isWorkloadProtected")=>"String", Symbol("ddosProtectionPlanId")=>"String", ) +OpenAPI.property_type(::Type{ PublicIpDdosProtectionStatusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIpDdosProtectionStatusResult[name]))} + +function OpenAPI.check_required(o::PublicIpDdosProtectionStatusResult) + true +end + +function OpenAPI.validate_properties(o::PublicIpDdosProtectionStatusResult) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("publicIpAddressId"), o.publicIpAddressId) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("publicIpAddress"), o.publicIpAddress) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("isWorkloadProtected"), o.isWorkloadProtected) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("ddosProtectionPlanId"), o.ddosProtectionPlanId) +end + +function OpenAPI.validate_property(::Type{ PublicIpDdosProtectionStatusResult }, name::Symbol, val) + + + + if name === Symbol("isWorkloadProtected") + OpenAPI.validate_param(name, "PublicIpDdosProtectionStatusResult", :enum, val, ["False", "True"]) + end + + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_Resource.jl b/src/Network/PublicIpAddressClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_Resource.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLink.jl b/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ResourceSet.jl b/src/Network/PublicIpAddressClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/PublicIpAddressClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/PublicIpAddressClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/PublicIpAddressClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_Route.jl b/src/Network/PublicIpAddressClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_Route.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_RouteTable.jl b/src/Network/PublicIpAddressClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_RouteTable.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_SecurityRule.jl b/src/Network/PublicIpAddressClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_SecurityRule.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLink.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_SubResource.jl b/src/Network/PublicIpAddressClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_SubResource.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_Subnet.jl b/src/Network/PublicIpAddressClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_Subnet.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_SubnetPropertiesFormat.jl index 27b81fb..9a56139 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_TagsObject.jl b/src/Network/PublicIpAddressClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_TagsObject.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTap.jl b/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index b13a962..4588cfe 100644 --- a/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/PublicIpAddressClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/RouteFilterClient/.openapi-generator/FILES b/src/Network/RouteFilterClient/.openapi-generator/FILES index fd1bb2a..a9e7989 100644 --- a/src/Network/RouteFilterClient/.openapi-generator/FILES +++ b/src/Network/RouteFilterClient/.openapi-generator/FILES @@ -1,6 +1,7 @@ .openapi-generator-ignore README.md docs/Access.md +docs/AdvertisedPublicPrefixProperties.md docs/CircuitConnectionStatus.md docs/CloudError.md docs/CloudErrorBody.md @@ -36,6 +37,7 @@ src/apis/api_RouteFilterRulesApi.jl src/apis/api_RouteFiltersApi.jl src/modelincludes.jl src/models/model_Access.jl +src/models/model_AdvertisedPublicPrefixProperties.jl src/models/model_CircuitConnectionStatus.jl src/models/model_CloudError.jl src/models/model_CloudErrorBody.jl diff --git a/src/Network/RouteFilterClient/.openapi-generator/VERSION b/src/Network/RouteFilterClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/RouteFilterClient/.openapi-generator/VERSION +++ b/src/Network/RouteFilterClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/RouteFilterClient/README.md b/src/Network/RouteFilterClient/README.md index 8e31a1e..cd8ca5b 100644 --- a/src/Network/RouteFilterClient/README.md +++ b/src/Network/RouteFilterClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -35,6 +36,7 @@ Class | Method ## Models - [Access](docs/Access.md) + - [AdvertisedPublicPrefixProperties](docs/AdvertisedPublicPrefixProperties.md) - [CircuitConnectionStatus](docs/CircuitConnectionStatus.md) - [CloudError](docs/CloudError.md) - [CloudErrorBody](docs/CloudErrorBody.md) @@ -65,9 +67,12 @@ Class | Method - [TagsObject](docs/TagsObject.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/RouteFilterClient/docs/AdvertisedPublicPrefixProperties.md b/src/Network/RouteFilterClient/docs/AdvertisedPublicPrefixProperties.md new file mode 100644 index 0000000..af4d205 --- /dev/null +++ b/src/Network/RouteFilterClient/docs/AdvertisedPublicPrefixProperties.md @@ -0,0 +1,15 @@ +# AdvertisedPublicPrefixProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefix** | **String** | Advertised Public Prefix. | [optional] [default to nothing] +**validationId** | **String** | Validation string that contains circuit peering info. | [optional] [default to nothing] +**signature** | **String** | Signed string generated by encrypting validationId with a private key. | [optional] [default to nothing] +**validationState** | **String** | Advertised Public Prefix State that denotes if the prefix is validated or not. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteFilterClient/docs/ExpressRouteCircuitPeeringConfig.md b/src/Network/RouteFilterClient/docs/ExpressRouteCircuitPeeringConfig.md index ee84637..89de7c2 100644 --- a/src/Network/RouteFilterClient/docs/ExpressRouteCircuitPeeringConfig.md +++ b/src/Network/RouteFilterClient/docs/ExpressRouteCircuitPeeringConfig.md @@ -10,6 +10,7 @@ Name | Type | Description | Notes **legacyMode** | **Int64** | The legacy mode of the peering. | [optional] [default to nothing] **customerASN** | **Int64** | The CustomerASN of the peering. | [optional] [default to nothing] **routingRegistryName** | **String** | The RoutingRegistryName of the configuration. | [optional] [default to nothing] +**advertisedPublicPrefixInfo** | [**Vector{AdvertisedPublicPrefixProperties}**](AdvertisedPublicPrefixProperties.md) | List of Prefix information required to perform validation. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteFilterClient/docs/RouteFilterRulesApi.md b/src/Network/RouteFilterClient/docs/RouteFilterRulesApi.md index 4d06fe7..81fff38 100644 --- a/src/Network/RouteFilterClient/docs/RouteFilterRulesApi.md +++ b/src/Network/RouteFilterClient/docs/RouteFilterRulesApi.md @@ -23,12 +23,12 @@ Creates or updates a route in the specified route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFilterRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**rule_name** | **String**| The name of the route filter rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**route_filter_rule_parameters** | [**RouteFilterRule**](RouteFilterRule.md)| Parameters supplied to the create or update route filter rule operation. | +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**rule_name** | **String** | The name of the route filter rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**route_filter_rule_parameters** | [**RouteFilterRule**](RouteFilterRule.md) | Parameters supplied to the create or update route filter rule operation. | ### Return type @@ -58,11 +58,11 @@ Deletes the specified rule from a route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFilterRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**rule_name** | **String**| The name of the rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**rule_name** | **String** | The name of the rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,11 +92,11 @@ Gets the specified rule from a route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFilterRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**rule_name** | **String**| The name of the rule. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**rule_name** | **String** | The name of the rule. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +126,10 @@ Gets all RouteFilterRules in a route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFilterRulesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/RouteFilterClient/docs/RouteFiltersApi.md b/src/Network/RouteFilterClient/docs/RouteFiltersApi.md index 8361501..d4c3486 100644 --- a/src/Network/RouteFilterClient/docs/RouteFiltersApi.md +++ b/src/Network/RouteFilterClient/docs/RouteFiltersApi.md @@ -25,11 +25,11 @@ Creates or updates a route filter in a specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFiltersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**route_filter_parameters** | [**RouteFilter**](RouteFilter.md)| Parameters supplied to the create or update route filter operation. | +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**route_filter_parameters** | [**RouteFilter**](RouteFilter.md) | Parameters supplied to the create or update route filter operation. | ### Return type @@ -59,10 +59,10 @@ Deletes the specified route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFiltersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,16 +92,16 @@ Gets the specified route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFiltersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced express route bgp peering resources. | [default to nothing] + **expand** | **String** | Expands referenced express route bgp peering resources. | [default to nothing] ### Return type @@ -131,8 +131,8 @@ Gets all route filters in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFiltersApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -162,9 +162,9 @@ Gets all route filters in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFiltersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Updates tags of a route filter. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteFiltersApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_filter_name** | **String**| The name of the route filter. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update route filter tags. | +**resource_group_name** | **String** | The name of the resource group. | +**route_filter_name** | **String** | The name of the route filter. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update route filter tags. | ### Return type diff --git a/src/Network/RouteFilterClient/src/RouteFilterClient.jl b/src/Network/RouteFilterClient/src/RouteFilterClient.jl index c6d21d0..24bd99d 100644 --- a/src/Network/RouteFilterClient/src/RouteFilterClient.jl +++ b/src/Network/RouteFilterClient/src/RouteFilterClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/RouteFilterClient/src/apis/api_RouteFilterRulesApi.jl b/src/Network/RouteFilterClient/src/apis/api_RouteFilterRulesApi.jl index 2839e9e..7710b2a 100644 --- a/src/Network/RouteFilterClient/src/apis/api_RouteFilterRulesApi.jl +++ b/src/Network/RouteFilterClient/src/apis/api_RouteFilterRulesApi.jl @@ -23,7 +23,7 @@ function _oacinternal_route_filter_rules_create_or_update(_api::RouteFilterRules OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "ruleName", rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -64,7 +64,7 @@ function _oacinternal_route_filter_rules_delete(_api::RouteFilterRulesApi, resou OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "ruleName", rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,7 +102,7 @@ function _oacinternal_route_filter_rules_get(_api::RouteFilterRulesApi, resource OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "ruleName", rule_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -139,7 +139,7 @@ function _oacinternal_route_filter_rules_list_by_route_filter(_api::RouteFilterR OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/RouteFilterClient/src/apis/api_RouteFiltersApi.jl b/src/Network/RouteFilterClient/src/apis/api_RouteFiltersApi.jl index 7b55f7e..0ef7e55 100644 --- a/src/Network/RouteFilterClient/src/apis/api_RouteFiltersApi.jl +++ b/src/Network/RouteFilterClient/src/apis/api_RouteFiltersApi.jl @@ -22,7 +22,7 @@ function _oacinternal_route_filters_create_or_update(_api::RouteFiltersApi, reso OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_route_filters_delete(_api::RouteFiltersApi, resource_group OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,8 +97,8 @@ function _oacinternal_route_filters_get(_api::RouteFiltersApi, resource_group_na OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -133,7 +133,7 @@ const _returntypes_route_filters_list_RouteFiltersApi = Dict{Regex,Type}( function _oacinternal_route_filters_list(_api::RouteFiltersApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_route_filters_list_RouteFiltersApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -166,7 +166,7 @@ function _oacinternal_route_filters_list_by_resource_group(_api::RouteFiltersApi _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_route_filters_list_by_resource_group_RouteFiltersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -201,7 +201,7 @@ function _oacinternal_route_filters_update_tags(_api::RouteFiltersApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeFilterName", route_filter_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/RouteFilterClient/src/modelincludes.jl b/src/Network/RouteFilterClient/src/modelincludes.jl index 14a9583..bbc5560 100644 --- a/src/Network/RouteFilterClient/src/modelincludes.jl +++ b/src/Network/RouteFilterClient/src/modelincludes.jl @@ -2,6 +2,7 @@ # Do not modify this file directly. Modify the OpenAPI specification instead. include("models/model_Access.jl") +include("models/model_AdvertisedPublicPrefixProperties.jl") include("models/model_CircuitConnectionStatus.jl") include("models/model_CloudError.jl") include("models/model_CloudErrorBody.jl") diff --git a/src/Network/RouteFilterClient/src/models/model_AdvertisedPublicPrefixProperties.jl b/src/Network/RouteFilterClient/src/models/model_AdvertisedPublicPrefixProperties.jl new file mode 100644 index 0000000..cd68adc --- /dev/null +++ b/src/Network/RouteFilterClient/src/models/model_AdvertisedPublicPrefixProperties.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AdvertisedPublicPrefixProperties +Prefix properties required to perform validation using openssl signature. + + AdvertisedPublicPrefixProperties(; + prefix=nothing, + validationId=nothing, + signature=nothing, + validationState=nothing, + ) + + - prefix::String : Advertised Public Prefix. + - validationId::String : Validation string that contains circuit peering info. + - signature::String : Signed string generated by encrypting validationId with a private key. + - validationState::String : Advertised Public Prefix State that denotes if the prefix is validated or not. +""" +Base.@kwdef mutable struct AdvertisedPublicPrefixProperties <: OpenAPI.APIModel + prefix::Union{Nothing, String} = nothing + validationId::Union{Nothing, String} = nothing + signature::Union{Nothing, String} = nothing + validationState::Union{Nothing, String} = nothing + + function AdvertisedPublicPrefixProperties(prefix, validationId, signature, validationState, ) + o = new(prefix, validationId, signature, validationState, ) + OpenAPI.validate_properties(o) + return o + end +end # type AdvertisedPublicPrefixProperties + +const _property_types_AdvertisedPublicPrefixProperties = Dict{Symbol,String}(Symbol("prefix")=>"String", Symbol("validationId")=>"String", Symbol("signature")=>"String", Symbol("validationState")=>"String", ) +OpenAPI.property_type(::Type{ AdvertisedPublicPrefixProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AdvertisedPublicPrefixProperties[name]))} + +function OpenAPI.check_required(o::AdvertisedPublicPrefixProperties) + true +end + +function OpenAPI.validate_properties(o::AdvertisedPublicPrefixProperties) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("prefix"), o.prefix) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("validationId"), o.validationId) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("signature"), o.signature) + OpenAPI.validate_property(AdvertisedPublicPrefixProperties, Symbol("validationState"), o.validationState) +end + +function OpenAPI.validate_property(::Type{ AdvertisedPublicPrefixProperties }, name::Symbol, val) + + + + + if name === Symbol("validationState") + OpenAPI.validate_param(name, "AdvertisedPublicPrefixProperties", :enum, val, ["NotConfigured", "Configuring", "Configured", "ValidationNeeded", "ValidationFailed", "ManualValidationNeeded", "AsnValidationFailed", "CertificateMissingInRoutingRegistry", "InvalidSignatureEncoding", "SignatureVerificationFailed"]) + end + +end diff --git a/src/Network/RouteFilterClient/src/models/model_CloudError.jl b/src/Network/RouteFilterClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/RouteFilterClient/src/models/model_CloudError.jl +++ b/src/Network/RouteFilterClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/RouteFilterClient/src/models/model_CloudErrorBody.jl b/src/Network/RouteFilterClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/RouteFilterClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/RouteFilterClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnection.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnection.jl index 09a6578..4e5d83a 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnection.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ExpressRouteCircuitConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteCircuitConnection(properties, name, etag, type, id, ) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("etag"), etag) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitConnection const _property_types_ExpressRouteCircuitConnection = Dict{Symbol,String}(Symbol("properties")=>"ExpressRouteCircuitConnectionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitConnection[name]))} -function check_required(o::ExpressRouteCircuitConnection) +function OpenAPI.check_required(o::ExpressRouteCircuitConnection) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitConnection) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteCircuitConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl index e58f427..15d6a6b 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitConnectionPropertiesFormat.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ExpressRouteCircuitConnectionPropertiesFormat <: Open provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ExpressRouteCircuitConnectionPropertiesFormat(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, authorizationKey, ipv6CircuitConnectionConfig, circuitConnectionStatus, provisioningState, ) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), expressRouteCircuitPeering) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), peerExpressRouteCircuitPeering) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("authorizationKey"), authorizationKey) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("ipv6CircuitConnectionConfig"), ipv6CircuitConnectionConfig) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), circuitConnectionStatus) - OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, authorizationKey, ipv6CircuitConnectionConfig, circuitConnectionStatus, provisioningState, ) + o = new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, authorizationKey, ipv6CircuitConnectionConfig, circuitConnectionStatus, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitConnectionPropertiesFormat const _property_types_ExpressRouteCircuitConnectionPropertiesFormat = Dict{Symbol,String}(Symbol("expressRouteCircuitPeering")=>"SubResource", Symbol("peerExpressRouteCircuitPeering")=>"SubResource", Symbol("addressPrefix")=>"String", Symbol("authorizationKey")=>"String", Symbol("ipv6CircuitConnectionConfig")=>"Ipv6CircuitConnectionConfig", Symbol("circuitConnectionStatus")=>"CircuitConnectionStatus", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitConnectionPropertiesFormat[name]))} -function check_required(o::ExpressRouteCircuitConnectionPropertiesFormat) +function OpenAPI.check_required(o::ExpressRouteCircuitConnectionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitConnectionPropertiesFormat) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), o.expressRouteCircuitPeering) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), o.peerExpressRouteCircuitPeering) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("authorizationKey"), o.authorizationKey) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("ipv6CircuitConnectionConfig"), o.ipv6CircuitConnectionConfig) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), o.circuitConnectionStatus) + OpenAPI.validate_property(ExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeering.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeering.jl index 26681b1..ea24356 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeering.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeering.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeering <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteCircuitPeering(properties, name, etag, type, id, ) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("properties"), properties) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("name"), name) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("etag"), etag) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("type"), type) - OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeering const _property_types_ExpressRouteCircuitPeering = Dict{Symbol,String}(Symbol("properties")=>"ExpressRouteCircuitPeeringPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeering }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeering[name]))} -function check_required(o::ExpressRouteCircuitPeering) +function OpenAPI.check_required(o::ExpressRouteCircuitPeering) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeering) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("properties"), o.properties) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("etag"), o.etag) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("type"), o.type) + OpenAPI.validate_property(ExpressRouteCircuitPeering, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeering }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl index b2fd8e9..df75b24 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringConfig.jl @@ -12,6 +12,7 @@ Specifies the peering configuration. legacyMode=nothing, customerASN=nothing, routingRegistryName=nothing, + advertisedPublicPrefixInfo=nothing, ) - advertisedPublicPrefixes::Vector{String} : The reference to AdvertisedPublicPrefixes. @@ -20,6 +21,7 @@ Specifies the peering configuration. - legacyMode::Int64 : The legacy mode of the peering. - customerASN::Int64 : The CustomerASN of the peering. - routingRegistryName::String : The RoutingRegistryName of the configuration. + - advertisedPublicPrefixInfo::Vector{AdvertisedPublicPrefixProperties} : List of Prefix information required to perform validation. """ Base.@kwdef mutable struct ExpressRouteCircuitPeeringConfig <: OpenAPI.APIModel advertisedPublicPrefixes::Union{Nothing, Vector{String}} = nothing @@ -28,33 +30,48 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeeringConfig <: OpenAPI.APIModel legacyMode::Union{Nothing, Int64} = nothing customerASN::Union{Nothing, Int64} = nothing routingRegistryName::Union{Nothing, String} = nothing + advertisedPublicPrefixInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AdvertisedPublicPrefixProperties} } - function ExpressRouteCircuitPeeringConfig(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, ) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixes"), advertisedPublicPrefixes) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedCommunities"), advertisedCommunities) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixesState"), advertisedPublicPrefixesState) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("legacyMode"), legacyMode) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("customerASN"), customerASN) - OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("routingRegistryName"), routingRegistryName) - return new(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, ) + function ExpressRouteCircuitPeeringConfig(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, advertisedPublicPrefixInfo, ) + o = new(advertisedPublicPrefixes, advertisedCommunities, advertisedPublicPrefixesState, legacyMode, customerASN, routingRegistryName, advertisedPublicPrefixInfo, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeeringConfig -const _property_types_ExpressRouteCircuitPeeringConfig = Dict{Symbol,String}(Symbol("advertisedPublicPrefixes")=>"Vector{String}", Symbol("advertisedCommunities")=>"Vector{String}", Symbol("advertisedPublicPrefixesState")=>"String", Symbol("legacyMode")=>"Int64", Symbol("customerASN")=>"Int64", Symbol("routingRegistryName")=>"String", ) +const _property_types_ExpressRouteCircuitPeeringConfig = Dict{Symbol,String}(Symbol("advertisedPublicPrefixes")=>"Vector{String}", Symbol("advertisedCommunities")=>"Vector{String}", Symbol("advertisedPublicPrefixesState")=>"String", Symbol("legacyMode")=>"Int64", Symbol("customerASN")=>"Int64", Symbol("routingRegistryName")=>"String", Symbol("advertisedPublicPrefixInfo")=>"Vector{AdvertisedPublicPrefixProperties}", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeeringConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeeringConfig[name]))} -function check_required(o::ExpressRouteCircuitPeeringConfig) +function OpenAPI.check_required(o::ExpressRouteCircuitPeeringConfig) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeeringConfig) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixes"), o.advertisedPublicPrefixes) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedCommunities"), o.advertisedCommunities) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixesState"), o.advertisedPublicPrefixesState) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("legacyMode"), o.legacyMode) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("customerASN"), o.customerASN) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("routingRegistryName"), o.routingRegistryName) + OpenAPI.validate_property(ExpressRouteCircuitPeeringConfig, Symbol("advertisedPublicPrefixInfo"), o.advertisedPublicPrefixInfo) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringConfig }, name::Symbol, val) + + + if name === Symbol("advertisedPublicPrefixesState") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringConfig", :enum, val, ["NotConfigured", "Configuring", "Configured", "ValidationNeeded"]) end + + if name === Symbol("legacyMode") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringConfig", :format, val, "int32") end + if name === Symbol("customerASN") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringConfig", :format, val, "int32") end + + end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl index 986c76e..2fd7761 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitPeeringPropertiesFormat.jl @@ -72,41 +72,50 @@ Base.@kwdef mutable struct ExpressRouteCircuitPeeringPropertiesFormat <: OpenAPI peeredConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PeerExpressRouteCircuitConnection} } function ExpressRouteCircuitPeeringPropertiesFormat(peeringType, state, azureASN, peerASN, primaryPeerAddressPrefix, secondaryPeerAddressPrefix, primaryAzurePort, secondaryAzurePort, sharedKey, vlanId, microsoftPeeringConfig, stats, provisioningState, gatewayManagerEtag, lastModifiedBy, routeFilter, ipv6PeeringConfig, expressRouteConnection, connections, peeredConnections, ) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeringType"), peeringType) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("state"), state) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("azureASN"), azureASN) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peerASN"), peerASN) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryPeerAddressPrefix"), primaryPeerAddressPrefix) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryPeerAddressPrefix"), secondaryPeerAddressPrefix) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryAzurePort"), primaryAzurePort) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryAzurePort"), secondaryAzurePort) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("sharedKey"), sharedKey) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("vlanId"), vlanId) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("microsoftPeeringConfig"), microsoftPeeringConfig) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("stats"), stats) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("gatewayManagerEtag"), gatewayManagerEtag) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("lastModifiedBy"), lastModifiedBy) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("routeFilter"), routeFilter) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("ipv6PeeringConfig"), ipv6PeeringConfig) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("expressRouteConnection"), expressRouteConnection) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("connections"), connections) - OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeredConnections"), peeredConnections) - return new(peeringType, state, azureASN, peerASN, primaryPeerAddressPrefix, secondaryPeerAddressPrefix, primaryAzurePort, secondaryAzurePort, sharedKey, vlanId, microsoftPeeringConfig, stats, provisioningState, gatewayManagerEtag, lastModifiedBy, routeFilter, ipv6PeeringConfig, expressRouteConnection, connections, peeredConnections, ) + o = new(peeringType, state, azureASN, peerASN, primaryPeerAddressPrefix, secondaryPeerAddressPrefix, primaryAzurePort, secondaryAzurePort, sharedKey, vlanId, microsoftPeeringConfig, stats, provisioningState, gatewayManagerEtag, lastModifiedBy, routeFilter, ipv6PeeringConfig, expressRouteConnection, connections, peeredConnections, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitPeeringPropertiesFormat const _property_types_ExpressRouteCircuitPeeringPropertiesFormat = Dict{Symbol,String}(Symbol("peeringType")=>"ExpressRoutePeeringType", Symbol("state")=>"ExpressRoutePeeringState", Symbol("azureASN")=>"Int64", Symbol("peerASN")=>"Int64", Symbol("primaryPeerAddressPrefix")=>"String", Symbol("secondaryPeerAddressPrefix")=>"String", Symbol("primaryAzurePort")=>"String", Symbol("secondaryAzurePort")=>"String", Symbol("sharedKey")=>"String", Symbol("vlanId")=>"Int64", Symbol("microsoftPeeringConfig")=>"ExpressRouteCircuitPeeringConfig", Symbol("stats")=>"ExpressRouteCircuitStats", Symbol("provisioningState")=>"ProvisioningState", Symbol("gatewayManagerEtag")=>"String", Symbol("lastModifiedBy")=>"String", Symbol("routeFilter")=>"SubResource", Symbol("ipv6PeeringConfig")=>"Ipv6ExpressRouteCircuitPeeringConfig", Symbol("expressRouteConnection")=>"ExpressRouteConnectionId", Symbol("connections")=>"Vector{ExpressRouteCircuitConnection}", Symbol("peeredConnections")=>"Vector{PeerExpressRouteCircuitConnection}", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitPeeringPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitPeeringPropertiesFormat[name]))} -function check_required(o::ExpressRouteCircuitPeeringPropertiesFormat) +function OpenAPI.check_required(o::ExpressRouteCircuitPeeringPropertiesFormat) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitPeeringPropertiesFormat) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeringType"), o.peeringType) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("state"), o.state) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("azureASN"), o.azureASN) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peerASN"), o.peerASN) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryPeerAddressPrefix"), o.primaryPeerAddressPrefix) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryPeerAddressPrefix"), o.secondaryPeerAddressPrefix) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("primaryAzurePort"), o.primaryAzurePort) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("secondaryAzurePort"), o.secondaryAzurePort) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("sharedKey"), o.sharedKey) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("vlanId"), o.vlanId) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("microsoftPeeringConfig"), o.microsoftPeeringConfig) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("stats"), o.stats) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("gatewayManagerEtag"), o.gatewayManagerEtag) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("routeFilter"), o.routeFilter) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("ipv6PeeringConfig"), o.ipv6PeeringConfig) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("expressRouteConnection"), o.expressRouteConnection) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("connections"), o.connections) + OpenAPI.validate_property(ExpressRouteCircuitPeeringPropertiesFormat, Symbol("peeredConnections"), o.peeredConnections) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringPropertiesFormat }, name::Symbol, val) + + + if name === Symbol("azureASN") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :format, val, "int32") end + if name === Symbol("peerASN") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :format, val, "int64") end @@ -114,7 +123,23 @@ function OpenAPI.validate_property(::Type{ ExpressRouteCircuitPeeringPropertiesF OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :maximum, val, 4294967295, false) OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :minimum, val, 1, false) end + + + + + + if name === Symbol("vlanId") OpenAPI.validate_param(name, "ExpressRouteCircuitPeeringPropertiesFormat", :format, val, "int32") end + + + + + + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitStats.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitStats.jl index 5b9132a..3a3bd82 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitStats.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteCircuitStats.jl @@ -24,31 +24,40 @@ Base.@kwdef mutable struct ExpressRouteCircuitStats <: OpenAPI.APIModel secondarybytesOut::Union{Nothing, Int64} = nothing function ExpressRouteCircuitStats(primarybytesIn, primarybytesOut, secondarybytesIn, secondarybytesOut, ) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesIn"), primarybytesIn) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesOut"), primarybytesOut) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesIn"), secondarybytesIn) - OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesOut"), secondarybytesOut) - return new(primarybytesIn, primarybytesOut, secondarybytesIn, secondarybytesOut, ) + o = new(primarybytesIn, primarybytesOut, secondarybytesIn, secondarybytesOut, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteCircuitStats const _property_types_ExpressRouteCircuitStats = Dict{Symbol,String}(Symbol("primarybytesIn")=>"Int64", Symbol("primarybytesOut")=>"Int64", Symbol("secondarybytesIn")=>"Int64", Symbol("secondarybytesOut")=>"Int64", ) OpenAPI.property_type(::Type{ ExpressRouteCircuitStats }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteCircuitStats[name]))} -function check_required(o::ExpressRouteCircuitStats) +function OpenAPI.check_required(o::ExpressRouteCircuitStats) true end +function OpenAPI.validate_properties(o::ExpressRouteCircuitStats) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesIn"), o.primarybytesIn) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("primarybytesOut"), o.primarybytesOut) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesIn"), o.secondarybytesIn) + OpenAPI.validate_property(ExpressRouteCircuitStats, Symbol("secondarybytesOut"), o.secondarybytesOut) +end + function OpenAPI.validate_property(::Type{ ExpressRouteCircuitStats }, name::Symbol, val) + if name === Symbol("primarybytesIn") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end + if name === Symbol("primarybytesOut") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end + if name === Symbol("secondarybytesIn") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end + if name === Symbol("secondarybytesOut") OpenAPI.validate_param(name, "ExpressRouteCircuitStats", :format, val, "int64") end diff --git a/src/Network/RouteFilterClient/src/models/model_ExpressRouteConnectionId.jl b/src/Network/RouteFilterClient/src/models/model_ExpressRouteConnectionId.jl index e22316c..3ff66ee 100644 --- a/src/Network/RouteFilterClient/src/models/model_ExpressRouteConnectionId.jl +++ b/src/Network/RouteFilterClient/src/models/model_ExpressRouteConnectionId.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ExpressRouteConnectionId <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ExpressRouteConnectionId(id, ) - OpenAPI.validate_property(ExpressRouteConnectionId, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type ExpressRouteConnectionId const _property_types_ExpressRouteConnectionId = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ExpressRouteConnectionId }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteConnectionId[name]))} -function check_required(o::ExpressRouteConnectionId) +function OpenAPI.check_required(o::ExpressRouteConnectionId) true end +function OpenAPI.validate_properties(o::ExpressRouteConnectionId) + OpenAPI.validate_property(ExpressRouteConnectionId, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ExpressRouteConnectionId }, name::Symbol, val) + end diff --git a/src/Network/RouteFilterClient/src/models/model_Ipv6CircuitConnectionConfig.jl b/src/Network/RouteFilterClient/src/models/model_Ipv6CircuitConnectionConfig.jl index 35217bf..a1dd136 100644 --- a/src/Network/RouteFilterClient/src/models/model_Ipv6CircuitConnectionConfig.jl +++ b/src/Network/RouteFilterClient/src/models/model_Ipv6CircuitConnectionConfig.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct Ipv6CircuitConnectionConfig <: OpenAPI.APIModel circuitConnectionStatus = nothing # spec type: Union{ Nothing, CircuitConnectionStatus } function Ipv6CircuitConnectionConfig(addressPrefix, circuitConnectionStatus, ) - OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("circuitConnectionStatus"), circuitConnectionStatus) - return new(addressPrefix, circuitConnectionStatus, ) + o = new(addressPrefix, circuitConnectionStatus, ) + OpenAPI.validate_properties(o) + return o end end # type Ipv6CircuitConnectionConfig const _property_types_Ipv6CircuitConnectionConfig = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("circuitConnectionStatus")=>"CircuitConnectionStatus", ) OpenAPI.property_type(::Type{ Ipv6CircuitConnectionConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Ipv6CircuitConnectionConfig[name]))} -function check_required(o::Ipv6CircuitConnectionConfig) +function OpenAPI.check_required(o::Ipv6CircuitConnectionConfig) true end +function OpenAPI.validate_properties(o::Ipv6CircuitConnectionConfig) + OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(Ipv6CircuitConnectionConfig, Symbol("circuitConnectionStatus"), o.circuitConnectionStatus) +end + function OpenAPI.validate_property(::Type{ Ipv6CircuitConnectionConfig }, name::Symbol, val) + + end diff --git a/src/Network/RouteFilterClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl b/src/Network/RouteFilterClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl index d9ff3f3..f7da829 100644 --- a/src/Network/RouteFilterClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl +++ b/src/Network/RouteFilterClient/src/models/model_Ipv6ExpressRouteCircuitPeeringConfig.jl @@ -27,24 +27,35 @@ Base.@kwdef mutable struct Ipv6ExpressRouteCircuitPeeringConfig <: OpenAPI.APIMo state::Union{Nothing, String} = nothing function Ipv6ExpressRouteCircuitPeeringConfig(primaryPeerAddressPrefix, secondaryPeerAddressPrefix, microsoftPeeringConfig, routeFilter, state, ) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("primaryPeerAddressPrefix"), primaryPeerAddressPrefix) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("secondaryPeerAddressPrefix"), secondaryPeerAddressPrefix) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("microsoftPeeringConfig"), microsoftPeeringConfig) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("routeFilter"), routeFilter) - OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("state"), state) - return new(primaryPeerAddressPrefix, secondaryPeerAddressPrefix, microsoftPeeringConfig, routeFilter, state, ) + o = new(primaryPeerAddressPrefix, secondaryPeerAddressPrefix, microsoftPeeringConfig, routeFilter, state, ) + OpenAPI.validate_properties(o) + return o end end # type Ipv6ExpressRouteCircuitPeeringConfig const _property_types_Ipv6ExpressRouteCircuitPeeringConfig = Dict{Symbol,String}(Symbol("primaryPeerAddressPrefix")=>"String", Symbol("secondaryPeerAddressPrefix")=>"String", Symbol("microsoftPeeringConfig")=>"ExpressRouteCircuitPeeringConfig", Symbol("routeFilter")=>"SubResource", Symbol("state")=>"String", ) OpenAPI.property_type(::Type{ Ipv6ExpressRouteCircuitPeeringConfig }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Ipv6ExpressRouteCircuitPeeringConfig[name]))} -function check_required(o::Ipv6ExpressRouteCircuitPeeringConfig) +function OpenAPI.check_required(o::Ipv6ExpressRouteCircuitPeeringConfig) true end +function OpenAPI.validate_properties(o::Ipv6ExpressRouteCircuitPeeringConfig) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("primaryPeerAddressPrefix"), o.primaryPeerAddressPrefix) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("secondaryPeerAddressPrefix"), o.secondaryPeerAddressPrefix) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("microsoftPeeringConfig"), o.microsoftPeeringConfig) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("routeFilter"), o.routeFilter) + OpenAPI.validate_property(Ipv6ExpressRouteCircuitPeeringConfig, Symbol("state"), o.state) +end + function OpenAPI.validate_property(::Type{ Ipv6ExpressRouteCircuitPeeringConfig }, name::Symbol, val) + + + + + if name === Symbol("state") OpenAPI.validate_param(name, "Ipv6ExpressRouteCircuitPeeringConfig", :enum, val, ["Disabled", "Enabled"]) end + end diff --git a/src/Network/RouteFilterClient/src/models/model_PatchRouteFilter.jl b/src/Network/RouteFilterClient/src/models/model_PatchRouteFilter.jl index 59bd86c..84fd4fc 100644 --- a/src/Network/RouteFilterClient/src/models/model_PatchRouteFilter.jl +++ b/src/Network/RouteFilterClient/src/models/model_PatchRouteFilter.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct PatchRouteFilter <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PatchRouteFilter(properties, name, etag, type, tags, id, ) - OpenAPI.validate_property(PatchRouteFilter, Symbol("properties"), properties) - OpenAPI.validate_property(PatchRouteFilter, Symbol("name"), name) - OpenAPI.validate_property(PatchRouteFilter, Symbol("etag"), etag) - OpenAPI.validate_property(PatchRouteFilter, Symbol("type"), type) - OpenAPI.validate_property(PatchRouteFilter, Symbol("tags"), tags) - OpenAPI.validate_property(PatchRouteFilter, Symbol("id"), id) - return new(properties, name, etag, type, tags, id, ) + o = new(properties, name, etag, type, tags, id, ) + OpenAPI.validate_properties(o) + return o end end # type PatchRouteFilter const _property_types_PatchRouteFilter = Dict{Symbol,String}(Symbol("properties")=>"RouteFilterPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PatchRouteFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PatchRouteFilter[name]))} -function check_required(o::PatchRouteFilter) +function OpenAPI.check_required(o::PatchRouteFilter) true end +function OpenAPI.validate_properties(o::PatchRouteFilter) + OpenAPI.validate_property(PatchRouteFilter, Symbol("properties"), o.properties) + OpenAPI.validate_property(PatchRouteFilter, Symbol("name"), o.name) + OpenAPI.validate_property(PatchRouteFilter, Symbol("etag"), o.etag) + OpenAPI.validate_property(PatchRouteFilter, Symbol("type"), o.type) + OpenAPI.validate_property(PatchRouteFilter, Symbol("tags"), o.tags) + OpenAPI.validate_property(PatchRouteFilter, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PatchRouteFilter }, name::Symbol, val) + + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_PatchRouteFilterRule.jl b/src/Network/RouteFilterClient/src/models/model_PatchRouteFilterRule.jl index c1cc3ee..ee3e8fd 100644 --- a/src/Network/RouteFilterClient/src/models/model_PatchRouteFilterRule.jl +++ b/src/Network/RouteFilterClient/src/models/model_PatchRouteFilterRule.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct PatchRouteFilterRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PatchRouteFilterRule(properties, name, etag, id, ) - OpenAPI.validate_property(PatchRouteFilterRule, Symbol("properties"), properties) - OpenAPI.validate_property(PatchRouteFilterRule, Symbol("name"), name) - OpenAPI.validate_property(PatchRouteFilterRule, Symbol("etag"), etag) - OpenAPI.validate_property(PatchRouteFilterRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PatchRouteFilterRule const _property_types_PatchRouteFilterRule = Dict{Symbol,String}(Symbol("properties")=>"RouteFilterRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PatchRouteFilterRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PatchRouteFilterRule[name]))} -function check_required(o::PatchRouteFilterRule) +function OpenAPI.check_required(o::PatchRouteFilterRule) true end +function OpenAPI.validate_properties(o::PatchRouteFilterRule) + OpenAPI.validate_property(PatchRouteFilterRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(PatchRouteFilterRule, Symbol("name"), o.name) + OpenAPI.validate_property(PatchRouteFilterRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(PatchRouteFilterRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PatchRouteFilterRule }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnection.jl b/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnection.jl index 23e5c74..8822280 100644 --- a/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnection.jl +++ b/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PeerExpressRouteCircuitConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PeerExpressRouteCircuitConnection(properties, name, etag, type, id, ) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("name"), name) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("type"), type) - OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type PeerExpressRouteCircuitConnection const _property_types_PeerExpressRouteCircuitConnection = Dict{Symbol,String}(Symbol("properties")=>"PeerExpressRouteCircuitConnectionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PeerExpressRouteCircuitConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PeerExpressRouteCircuitConnection[name]))} -function check_required(o::PeerExpressRouteCircuitConnection) +function OpenAPI.check_required(o::PeerExpressRouteCircuitConnection) true end +function OpenAPI.validate_properties(o::PeerExpressRouteCircuitConnection) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PeerExpressRouteCircuitConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PeerExpressRouteCircuitConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl b/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl index 8697ce4..deead1d 100644 --- a/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl +++ b/src/Network/RouteFilterClient/src/models/model_PeerExpressRouteCircuitConnectionPropertiesFormat.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct PeerExpressRouteCircuitConnectionPropertiesFormat <: provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function PeerExpressRouteCircuitConnectionPropertiesFormat(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, circuitConnectionStatus, connectionName, authResourceGuid, provisioningState, ) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), expressRouteCircuitPeering) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), peerExpressRouteCircuitPeering) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), circuitConnectionStatus) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("connectionName"), connectionName) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("authResourceGuid"), authResourceGuid) - OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, circuitConnectionStatus, connectionName, authResourceGuid, provisioningState, ) + o = new(expressRouteCircuitPeering, peerExpressRouteCircuitPeering, addressPrefix, circuitConnectionStatus, connectionName, authResourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type PeerExpressRouteCircuitConnectionPropertiesFormat const _property_types_PeerExpressRouteCircuitConnectionPropertiesFormat = Dict{Symbol,String}(Symbol("expressRouteCircuitPeering")=>"SubResource", Symbol("peerExpressRouteCircuitPeering")=>"SubResource", Symbol("addressPrefix")=>"String", Symbol("circuitConnectionStatus")=>"CircuitConnectionStatus", Symbol("connectionName")=>"String", Symbol("authResourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ PeerExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PeerExpressRouteCircuitConnectionPropertiesFormat[name]))} -function check_required(o::PeerExpressRouteCircuitConnectionPropertiesFormat) +function OpenAPI.check_required(o::PeerExpressRouteCircuitConnectionPropertiesFormat) true end +function OpenAPI.validate_properties(o::PeerExpressRouteCircuitConnectionPropertiesFormat) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("expressRouteCircuitPeering"), o.expressRouteCircuitPeering) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("peerExpressRouteCircuitPeering"), o.peerExpressRouteCircuitPeering) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("circuitConnectionStatus"), o.circuitConnectionStatus) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("connectionName"), o.connectionName) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("authResourceGuid"), o.authResourceGuid) + OpenAPI.validate_property(PeerExpressRouteCircuitConnectionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ PeerExpressRouteCircuitConnectionPropertiesFormat }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_Resource.jl b/src/Network/RouteFilterClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/RouteFilterClient/src/models/model_Resource.jl +++ b/src/Network/RouteFilterClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_RouteFilter.jl b/src/Network/RouteFilterClient/src/models/model_RouteFilter.jl index 8b9a555..77602c7 100644 --- a/src/Network/RouteFilterClient/src/models/model_RouteFilter.jl +++ b/src/Network/RouteFilterClient/src/models/model_RouteFilter.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteFilter <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteFilter(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteFilter, Symbol("properties"), properties) - OpenAPI.validate_property(RouteFilter, Symbol("etag"), etag) - OpenAPI.validate_property(RouteFilter, Symbol("id"), id) - OpenAPI.validate_property(RouteFilter, Symbol("name"), name) - OpenAPI.validate_property(RouteFilter, Symbol("type"), type) - OpenAPI.validate_property(RouteFilter, Symbol("location"), location) - OpenAPI.validate_property(RouteFilter, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteFilter const _property_types_RouteFilter = Dict{Symbol,String}(Symbol("properties")=>"RouteFilterPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteFilter[name]))} -function check_required(o::RouteFilter) +function OpenAPI.check_required(o::RouteFilter) true end +function OpenAPI.validate_properties(o::RouteFilter) + OpenAPI.validate_property(RouteFilter, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteFilter, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteFilter, Symbol("id"), o.id) + OpenAPI.validate_property(RouteFilter, Symbol("name"), o.name) + OpenAPI.validate_property(RouteFilter, Symbol("type"), o.type) + OpenAPI.validate_property(RouteFilter, Symbol("location"), o.location) + OpenAPI.validate_property(RouteFilter, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteFilter }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_RouteFilterListResult.jl b/src/Network/RouteFilterClient/src/models/model_RouteFilterListResult.jl index 4e77328..da11d3c 100644 --- a/src/Network/RouteFilterClient/src/models/model_RouteFilterListResult.jl +++ b/src/Network/RouteFilterClient/src/models/model_RouteFilterListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct RouteFilterListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function RouteFilterListResult(value, nextLink, ) - OpenAPI.validate_property(RouteFilterListResult, Symbol("value"), value) - OpenAPI.validate_property(RouteFilterListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type RouteFilterListResult const _property_types_RouteFilterListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{RouteFilter}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ RouteFilterListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteFilterListResult[name]))} -function check_required(o::RouteFilterListResult) +function OpenAPI.check_required(o::RouteFilterListResult) true end +function OpenAPI.validate_properties(o::RouteFilterListResult) + OpenAPI.validate_property(RouteFilterListResult, Symbol("value"), o.value) + OpenAPI.validate_property(RouteFilterListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ RouteFilterListResult }, name::Symbol, val) + + end diff --git a/src/Network/RouteFilterClient/src/models/model_RouteFilterPropertiesFormat.jl b/src/Network/RouteFilterClient/src/models/model_RouteFilterPropertiesFormat.jl index 35c0b23..027369a 100644 --- a/src/Network/RouteFilterClient/src/models/model_RouteFilterPropertiesFormat.jl +++ b/src/Network/RouteFilterClient/src/models/model_RouteFilterPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct RouteFilterPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function RouteFilterPropertiesFormat(rules, peerings, ipv6Peerings, provisioningState, ) - OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("rules"), rules) - OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("peerings"), peerings) - OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("ipv6Peerings"), ipv6Peerings) - OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(rules, peerings, ipv6Peerings, provisioningState, ) + o = new(rules, peerings, ipv6Peerings, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type RouteFilterPropertiesFormat const _property_types_RouteFilterPropertiesFormat = Dict{Symbol,String}(Symbol("rules")=>"Vector{RouteFilterRule}", Symbol("peerings")=>"Vector{ExpressRouteCircuitPeering}", Symbol("ipv6Peerings")=>"Vector{ExpressRouteCircuitPeering}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ RouteFilterPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteFilterPropertiesFormat[name]))} -function check_required(o::RouteFilterPropertiesFormat) +function OpenAPI.check_required(o::RouteFilterPropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteFilterPropertiesFormat) + OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("rules"), o.rules) + OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("peerings"), o.peerings) + OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("ipv6Peerings"), o.ipv6Peerings) + OpenAPI.validate_property(RouteFilterPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ RouteFilterPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_RouteFilterRule.jl b/src/Network/RouteFilterClient/src/models/model_RouteFilterRule.jl index 8e4d90a..5c8651f 100644 --- a/src/Network/RouteFilterClient/src/models/model_RouteFilterRule.jl +++ b/src/Network/RouteFilterClient/src/models/model_RouteFilterRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct RouteFilterRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function RouteFilterRule(properties, name, location, etag, id, ) - OpenAPI.validate_property(RouteFilterRule, Symbol("properties"), properties) - OpenAPI.validate_property(RouteFilterRule, Symbol("name"), name) - OpenAPI.validate_property(RouteFilterRule, Symbol("location"), location) - OpenAPI.validate_property(RouteFilterRule, Symbol("etag"), etag) - OpenAPI.validate_property(RouteFilterRule, Symbol("id"), id) - return new(properties, name, location, etag, id, ) + o = new(properties, name, location, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type RouteFilterRule const _property_types_RouteFilterRule = Dict{Symbol,String}(Symbol("properties")=>"RouteFilterRulePropertiesFormat", Symbol("name")=>"String", Symbol("location")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ RouteFilterRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteFilterRule[name]))} -function check_required(o::RouteFilterRule) +function OpenAPI.check_required(o::RouteFilterRule) true end +function OpenAPI.validate_properties(o::RouteFilterRule) + OpenAPI.validate_property(RouteFilterRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteFilterRule, Symbol("name"), o.name) + OpenAPI.validate_property(RouteFilterRule, Symbol("location"), o.location) + OpenAPI.validate_property(RouteFilterRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteFilterRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ RouteFilterRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_RouteFilterRuleListResult.jl b/src/Network/RouteFilterClient/src/models/model_RouteFilterRuleListResult.jl index ba0f5c4..e2e402a 100644 --- a/src/Network/RouteFilterClient/src/models/model_RouteFilterRuleListResult.jl +++ b/src/Network/RouteFilterClient/src/models/model_RouteFilterRuleListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct RouteFilterRuleListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function RouteFilterRuleListResult(value, nextLink, ) - OpenAPI.validate_property(RouteFilterRuleListResult, Symbol("value"), value) - OpenAPI.validate_property(RouteFilterRuleListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type RouteFilterRuleListResult const _property_types_RouteFilterRuleListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{RouteFilterRule}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ RouteFilterRuleListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteFilterRuleListResult[name]))} -function check_required(o::RouteFilterRuleListResult) +function OpenAPI.check_required(o::RouteFilterRuleListResult) true end +function OpenAPI.validate_properties(o::RouteFilterRuleListResult) + OpenAPI.validate_property(RouteFilterRuleListResult, Symbol("value"), o.value) + OpenAPI.validate_property(RouteFilterRuleListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ RouteFilterRuleListResult }, name::Symbol, val) + + end diff --git a/src/Network/RouteFilterClient/src/models/model_RouteFilterRulePropertiesFormat.jl b/src/Network/RouteFilterClient/src/models/model_RouteFilterRulePropertiesFormat.jl index e34ef48..a7771fc 100644 --- a/src/Network/RouteFilterClient/src/models/model_RouteFilterRulePropertiesFormat.jl +++ b/src/Network/RouteFilterClient/src/models/model_RouteFilterRulePropertiesFormat.jl @@ -24,26 +24,36 @@ Base.@kwdef mutable struct RouteFilterRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function RouteFilterRulePropertiesFormat(access, routeFilterRuleType, communities, provisioningState, ) - OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("routeFilterRuleType"), routeFilterRuleType) - OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("communities"), communities) - OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(access, routeFilterRuleType, communities, provisioningState, ) + o = new(access, routeFilterRuleType, communities, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type RouteFilterRulePropertiesFormat const _property_types_RouteFilterRulePropertiesFormat = Dict{Symbol,String}(Symbol("access")=>"Access", Symbol("routeFilterRuleType")=>"String", Symbol("communities")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ RouteFilterRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteFilterRulePropertiesFormat[name]))} -function check_required(o::RouteFilterRulePropertiesFormat) +function OpenAPI.check_required(o::RouteFilterRulePropertiesFormat) o.access === nothing && (return false) o.routeFilterRuleType === nothing && (return false) o.communities === nothing && (return false) true end +function OpenAPI.validate_properties(o::RouteFilterRulePropertiesFormat) + OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("routeFilterRuleType"), o.routeFilterRuleType) + OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("communities"), o.communities) + OpenAPI.validate_property(RouteFilterRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ RouteFilterRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("routeFilterRuleType") OpenAPI.validate_param(name, "RouteFilterRulePropertiesFormat", :enum, val, ["Community"]) end + + + end diff --git a/src/Network/RouteFilterClient/src/models/model_SubResource.jl b/src/Network/RouteFilterClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/RouteFilterClient/src/models/model_SubResource.jl +++ b/src/Network/RouteFilterClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/RouteFilterClient/src/models/model_TagsObject.jl b/src/Network/RouteFilterClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/RouteFilterClient/src/models/model_TagsObject.jl +++ b/src/Network/RouteFilterClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/RouteTableClient/.openapi-generator/FILES b/src/Network/RouteTableClient/.openapi-generator/FILES index 36ac6b4..b6f5671 100644 --- a/src/Network/RouteTableClient/.openapi-generator/FILES +++ b/src/Network/RouteTableClient/.openapi-generator/FILES @@ -3,6 +3,8 @@ README.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md docs/BackendAddressPool.md @@ -12,11 +14,14 @@ docs/CloudErrorBody.md docs/CustomDnsConfigPropertiesFormat.md docs/DdosSettings.md docs/Delegation.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfigurationProfile.md @@ -26,8 +31,16 @@ docs/IPVersion.md docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkInterface.md docs/NetworkInterfaceDnsSettings.md docs/NetworkInterfaceIPConfiguration.md @@ -39,10 +52,18 @@ docs/NetworkInterfaceTapConfigurationPropertiesFormat.md docs/NetworkSecurityGroup.md docs/NetworkSecurityGroupPropertiesFormat.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/ProvisioningState.md docs/PublicIPAddress.md docs/PublicIPAddressDnsSettings.md @@ -51,6 +72,7 @@ docs/PublicIPAddressSku.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/Route2.md @@ -94,6 +116,8 @@ src/modelincludes.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl src/models/model_BackendAddressPool.jl @@ -103,11 +127,14 @@ src/models/model_CloudErrorBody.jl src/models/model_CustomDnsConfigPropertiesFormat.jl src/models/model_DdosSettings.jl src/models/model_Delegation.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfigurationProfile.jl @@ -117,8 +144,16 @@ src/models/model_IPVersion.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterfaceDnsSettings.jl src/models/model_NetworkInterfaceIPConfiguration.jl @@ -130,10 +165,18 @@ src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl src/models/model_NetworkSecurityGroup.jl src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_ProvisioningState.jl src/models/model_PublicIPAddress.jl src/models/model_PublicIPAddressDnsSettings.jl @@ -142,6 +185,7 @@ src/models/model_PublicIPAddressSku.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_Route2.jl diff --git a/src/Network/RouteTableClient/.openapi-generator/VERSION b/src/Network/RouteTableClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/RouteTableClient/.openapi-generator/VERSION +++ b/src/Network/RouteTableClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/RouteTableClient/README.md b/src/Network/RouteTableClient/README.md index c83a714..2a23c8b 100644 --- a/src/Network/RouteTableClient/README.md +++ b/src/Network/RouteTableClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -37,6 +38,8 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) - [BackendAddressPool](docs/BackendAddressPool.md) @@ -46,11 +49,14 @@ Class | Method - [CustomDnsConfigPropertiesFormat](docs/CustomDnsConfigPropertiesFormat.md) - [DdosSettings](docs/DdosSettings.md) - [Delegation](docs/Delegation.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfigurationProfile](docs/IPConfigurationProfile.md) @@ -60,8 +66,16 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) - [NetworkInterfaceIPConfiguration](docs/NetworkInterfaceIPConfiguration.md) @@ -73,10 +87,18 @@ Class | Method - [NetworkSecurityGroup](docs/NetworkSecurityGroup.md) - [NetworkSecurityGroupPropertiesFormat](docs/NetworkSecurityGroupPropertiesFormat.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [ProvisioningState](docs/ProvisioningState.md) - [PublicIPAddress](docs/PublicIPAddress.md) - [PublicIPAddressDnsSettings](docs/PublicIPAddressDnsSettings.md) @@ -85,6 +107,7 @@ Class | Method - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [Route2](docs/Route2.md) @@ -121,9 +144,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/RouteTableClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/RouteTableClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/RouteTableClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/RouteTableClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/RouteTableClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/RouteTableClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/RouteTableClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/DdosSettings.md b/src/Network/RouteTableClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/RouteTableClient/docs/DdosSettings.md +++ b/src/Network/RouteTableClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/Delegation.md b/src/Network/RouteTableClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/RouteTableClient/docs/Delegation.md +++ b/src/Network/RouteTableClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/ExtendedLocation.md b/src/Network/RouteTableClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/RouteTableClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/ExtendedLocationType.md b/src/Network/RouteTableClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/RouteTableClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/FlowLog.md b/src/Network/RouteTableClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/RouteTableClient/docs/FlowLog.md +++ b/src/Network/RouteTableClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/FlowLogFormatParameters.md b/src/Network/RouteTableClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/RouteTableClient/docs/FlowLogFormatParameters.md +++ b/src/Network/RouteTableClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/FlowLogPropertiesFormat.md b/src/Network/RouteTableClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/RouteTableClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/RouteTableClient/docs/FrontendIPConfigurationPropertiesFormat.md index 537d6d3..b93377b 100644 --- a/src/Network/RouteTableClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/RouteTableClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/RouteTableClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/RouteTableClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/RouteTableClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/IpamPoolPrefixAllocation.md b/src/Network/RouteTableClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/RouteTableClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/RouteTableClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/RouteTableClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/RouteTableClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/RouteTableClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/ManagedServiceIdentity.md b/src/Network/RouteTableClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/RouteTableClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/RouteTableClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/RouteTableClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/NatGateway.md b/src/Network/RouteTableClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/RouteTableClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/NatGatewayPropertiesFormat.md b/src/Network/RouteTableClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/RouteTableClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/NatGatewaySku.md b/src/Network/RouteTableClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/RouteTableClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/NatRulePortMapping.md b/src/Network/RouteTableClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/RouteTableClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/NetworkInterface.md b/src/Network/RouteTableClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/RouteTableClient/docs/NetworkInterface.md +++ b/src/Network/RouteTableClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index ea69054..2f6ff4a 100644 --- a/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/RouteTableClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/RouteTableClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/RouteTableClient/docs/NetworkSecurityGroupPropertiesFormat.md index 84e7b18..d9c105d 100644 --- a/src/Network/RouteTableClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/PrivateEndpoint.md b/src/Network/RouteTableClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/RouteTableClient/docs/PrivateEndpoint.md +++ b/src/Network/RouteTableClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/PrivateEndpointConnection.md b/src/Network/RouteTableClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/RouteTableClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/RouteTableClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/RouteTableClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateEndpointProperties.md b/src/Network/RouteTableClient/docs/PrivateEndpointProperties.md index 40d6bf8..e3fd912 100644 --- a/src/Network/RouteTableClient/docs/PrivateEndpointProperties.md +++ b/src/Network/RouteTableClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/PrivateLinkService.md b/src/Network/RouteTableClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/RouteTableClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/RouteTableClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PrivateLinkServiceProperties.md b/src/Network/RouteTableClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..5c91eab --- /dev/null +++ b/src/Network/RouteTableClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/PublicIPAddress.md b/src/Network/RouteTableClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/RouteTableClient/docs/PublicIPAddress.md +++ b/src/Network/RouteTableClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/PublicIPAddressDnsSettings.md b/src/Network/RouteTableClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/RouteTableClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/RouteTableClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/RouteTableClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/RouteTableClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/PublicIPAddressSku.md b/src/Network/RouteTableClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/RouteTableClient/docs/PublicIPAddressSku.md +++ b/src/Network/RouteTableClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/ResourceSet.md b/src/Network/RouteTableClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/RouteTableClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/RouteTableClient/docs/RetentionPolicyParameters.md b/src/Network/RouteTableClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/RouteTableClient/docs/RetentionPolicyParameters.md +++ b/src/Network/RouteTableClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/RouteTableClient/docs/Route.md b/src/Network/RouteTableClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/RouteTableClient/docs/Route.md +++ b/src/Network/RouteTableClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/Route2.md b/src/Network/RouteTableClient/docs/Route2.md index 3289f4c..267baeb 100644 --- a/src/Network/RouteTableClient/docs/Route2.md +++ b/src/Network/RouteTableClient/docs/Route2.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat2**](RoutePropertiesFormat2.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/RoutePropertiesFormat.md b/src/Network/RouteTableClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/RouteTableClient/docs/RoutePropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/RoutePropertiesFormat2.md b/src/Network/RouteTableClient/docs/RoutePropertiesFormat2.md index 8357272..a6f2bd3 100644 --- a/src/Network/RouteTableClient/docs/RoutePropertiesFormat2.md +++ b/src/Network/RouteTableClient/docs/RoutePropertiesFormat2.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType2**](RouteNextHopType2.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat.md b/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat2.md b/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat2.md index 62ab2c6..a536d60 100644 --- a/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat2.md +++ b/src/Network/RouteTableClient/docs/RouteTablePropertiesFormat2.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/RouteTablesApi.md b/src/Network/RouteTableClient/docs/RouteTablesApi.md index 871d6f6..28874ad 100644 --- a/src/Network/RouteTableClient/docs/RouteTablesApi.md +++ b/src/Network/RouteTableClient/docs/RouteTablesApi.md @@ -25,11 +25,11 @@ Create or updates a route table in a specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteTablesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**RouteTable**](RouteTable.md)| Parameters supplied to the create or update route table operation. | +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**RouteTable**](RouteTable.md) | Parameters supplied to the create or update route table operation. | ### Return type @@ -59,10 +59,10 @@ Deletes the specified route table. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteTablesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,16 +92,16 @@ Gets the specified route table. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteTablesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -131,9 +131,9 @@ Gets all route tables in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteTablesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -163,8 +163,8 @@ Gets all route tables in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteTablesApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Updates a route table tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RouteTablesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update route table tags. | +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update route table tags. | ### Return type diff --git a/src/Network/RouteTableClient/docs/RoutesApi.md b/src/Network/RouteTableClient/docs/RoutesApi.md index da86cc7..3c4149e 100644 --- a/src/Network/RouteTableClient/docs/RoutesApi.md +++ b/src/Network/RouteTableClient/docs/RoutesApi.md @@ -23,12 +23,12 @@ Creates or updates a route in the specified route table. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RoutesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**route_name** | **String**| The name of the route. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**route_parameters** | [**Route**](Route.md)| Parameters supplied to the create or update route operation. | +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**route_name** | **String** | The name of the route. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**route_parameters** | [**Route**](Route.md) | Parameters supplied to the create or update route operation. | ### Return type @@ -58,11 +58,11 @@ Deletes the specified route from a route table. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RoutesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**route_name** | **String**| The name of the route. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**route_name** | **String** | The name of the route. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,11 +92,11 @@ Gets the specified route from a route table. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RoutesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**route_name** | **String**| The name of the route. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**route_name** | **String** | The name of the route. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +126,10 @@ Gets all routes in a route table. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **RoutesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**route_table_name** | **String**| The name of the route table. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**route_table_name** | **String** | The name of the route table. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/RouteTableClient/docs/SecurityRule.md b/src/Network/RouteTableClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/RouteTableClient/docs/SecurityRule.md +++ b/src/Network/RouteTableClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/SecurityRulePropertiesFormat.md b/src/Network/RouteTableClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/RouteTableClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/ServiceEndpointPolicy.md b/src/Network/RouteTableClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/RouteTableClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/RouteTableClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/RouteTableClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/RouteTableClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/RouteTableClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/RouteTableClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/RouteTableClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/RouteTableClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/RouteTableClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/Subnet.md b/src/Network/RouteTableClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/RouteTableClient/docs/Subnet.md +++ b/src/Network/RouteTableClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/RouteTableClient/docs/SubnetPropertiesFormat.md b/src/Network/RouteTableClient/docs/SubnetPropertiesFormat.md index 36bb710..1c9186b 100644 --- a/src/Network/RouteTableClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/RouteTableClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/RouteTableClient/src/RouteTableClient.jl b/src/Network/RouteTableClient/src/RouteTableClient.jl index 705169f..efd45c4 100644 --- a/src/Network/RouteTableClient/src/RouteTableClient.jl +++ b/src/Network/RouteTableClient/src/RouteTableClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/RouteTableClient/src/apis/api_RouteTablesApi.jl b/src/Network/RouteTableClient/src/apis/api_RouteTablesApi.jl index 30d3578..9023346 100644 --- a/src/Network/RouteTableClient/src/apis/api_RouteTablesApi.jl +++ b/src/Network/RouteTableClient/src/apis/api_RouteTablesApi.jl @@ -22,7 +22,7 @@ function _oacinternal_route_tables_create_or_update(_api::RouteTablesApi, resour OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_route_tables_delete(_api::RouteTablesApi, resource_group_n OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,8 +97,8 @@ function _oacinternal_route_tables_get(_api::RouteTablesApi, resource_group_name OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -134,7 +134,7 @@ function _oacinternal_route_tables_list(_api::RouteTablesApi, resource_group_nam _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_route_tables_list_RouteTablesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -167,7 +167,7 @@ const _returntypes_route_tables_list_all_RouteTablesApi = Dict{Regex,Type}( function _oacinternal_route_tables_list_all(_api::RouteTablesApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_route_tables_list_all_RouteTablesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -201,7 +201,7 @@ function _oacinternal_route_tables_update_tags(_api::RouteTablesApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/RouteTableClient/src/apis/api_RoutesApi.jl b/src/Network/RouteTableClient/src/apis/api_RoutesApi.jl index 51de06c..afe35d6 100644 --- a/src/Network/RouteTableClient/src/apis/api_RoutesApi.jl +++ b/src/Network/RouteTableClient/src/apis/api_RoutesApi.jl @@ -23,7 +23,7 @@ function _oacinternal_routes_create_or_update(_api::RoutesApi, resource_group_na OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeName", route_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -64,7 +64,7 @@ function _oacinternal_routes_delete(_api::RoutesApi, resource_group_name::String OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeName", route_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,7 +102,7 @@ function _oacinternal_routes_get(_api::RoutesApi, resource_group_name::String, r OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeName", route_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -139,7 +139,7 @@ function _oacinternal_routes_list(_api::RoutesApi, resource_group_name::String, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "routeTableName", route_table_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/RouteTableClient/src/modelincludes.jl b/src/Network/RouteTableClient/src/modelincludes.jl index 3f89a70..a3c6e45 100644 --- a/src/Network/RouteTableClient/src/modelincludes.jl +++ b/src/Network/RouteTableClient/src/modelincludes.jl @@ -4,6 +4,8 @@ include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") include("models/model_BackendAddressPool.jl") @@ -13,11 +15,14 @@ include("models/model_CloudErrorBody.jl") include("models/model_CustomDnsConfigPropertiesFormat.jl") include("models/model_DdosSettings.jl") include("models/model_Delegation.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfigurationProfile.jl") @@ -27,8 +32,16 @@ include("models/model_IPVersion.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterfaceDnsSettings.jl") include("models/model_NetworkInterfaceIPConfiguration.jl") @@ -40,10 +53,18 @@ include("models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl") include("models/model_NetworkSecurityGroup.jl") include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_ProvisioningState.jl") include("models/model_PublicIPAddress.jl") include("models/model_PublicIPAddressDnsSettings.jl") @@ -52,6 +73,7 @@ include("models/model_PublicIPAddressSku.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_Route2.jl") diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_BackendAddressPool.jl b/src/Network/RouteTableClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/RouteTableClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/RouteTableClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/RouteTableClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/RouteTableClient/src/models/model_CloudError.jl b/src/Network/RouteTableClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/RouteTableClient/src/models/model_CloudError.jl +++ b/src/Network/RouteTableClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/RouteTableClient/src/models/model_CloudErrorBody.jl b/src/Network/RouteTableClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/RouteTableClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/RouteTableClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/RouteTableClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_DdosSettings.jl b/src/Network/RouteTableClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/RouteTableClient/src/models/model_DdosSettings.jl +++ b/src/Network/RouteTableClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/RouteTableClient/src/models/model_Delegation.jl b/src/Network/RouteTableClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/RouteTableClient/src/models/model_Delegation.jl +++ b/src/Network/RouteTableClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ExtendedLocation.jl b/src/Network/RouteTableClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/RouteTableClient/src/models/model_ExtendedLocationType.jl b/src/Network/RouteTableClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/RouteTableClient/src/models/model_FlowLog.jl b/src/Network/RouteTableClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/RouteTableClient/src/models/model_FlowLog.jl +++ b/src/Network/RouteTableClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/RouteTableClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/RouteTableClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/RouteTableClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/RouteTableClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/RouteTableClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/RouteTableClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/RouteTableClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/RouteTableClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 3545ff4..d235f7e 100644 --- a/src/Network/RouteTableClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/RouteTableClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/RouteTableClient/src/models/model_IPConfiguration.jl b/src/Network/RouteTableClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/RouteTableClient/src/models/model_IPConfiguration.jl +++ b/src/Network/RouteTableClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_IPConfigurationProfile.jl b/src/Network/RouteTableClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/RouteTableClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/RouteTableClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/RouteTableClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_IPConfigurationPropertiesFormat.jl index 613e62d..7b5e780 100644 --- a/src/Network/RouteTableClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_InboundNatRule.jl b/src/Network/RouteTableClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/RouteTableClient/src/models/model_InboundNatRule.jl +++ b/src/Network/RouteTableClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/RouteTableClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/RouteTableClient/src/models/model_IpTag.jl b/src/Network/RouteTableClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/RouteTableClient/src/models/model_IpTag.jl +++ b/src/Network/RouteTableClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/RouteTableClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/RouteTableClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/RouteTableClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/RouteTableClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/RouteTableClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/RouteTableClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/RouteTableClient/src/models/model_NatGateway.jl b/src/Network/RouteTableClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_NatGatewaySku.jl b/src/Network/RouteTableClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/RouteTableClient/src/models/model_NatRulePortMapping.jl b/src/Network/RouteTableClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterface.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterface.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 9b701e5..edb3d91 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0ba83a0..b38ec23 100644 --- a/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateEndpoint.jl b/src/Network/RouteTableClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/RouteTableClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/RouteTableClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/RouteTableClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/RouteTableClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/RouteTableClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/RouteTableClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/RouteTableClient/src/models/model_PrivateEndpointProperties.jl index c7b43bc..627df0e 100644 --- a/src/Network/RouteTableClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/RouteTableClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkService.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..f0c3f6f --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/RouteTableClient/src/models/model_PublicIPAddress.jl b/src/Network/RouteTableClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/RouteTableClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/RouteTableClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/RouteTableClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/RouteTableClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/RouteTableClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/RouteTableClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/RouteTableClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/RouteTableClient/src/models/model_PublicIPAddressSku.jl b/src/Network/RouteTableClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/RouteTableClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/RouteTableClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/RouteTableClient/src/models/model_Resource.jl b/src/Network/RouteTableClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/RouteTableClient/src/models/model_Resource.jl +++ b/src/Network/RouteTableClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ResourceNavigationLink.jl b/src/Network/RouteTableClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/RouteTableClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/RouteTableClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/RouteTableClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/RouteTableClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ResourceSet.jl b/src/Network/RouteTableClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/RouteTableClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/RouteTableClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/RouteTableClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/RouteTableClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/RouteTableClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/RouteTableClient/src/models/model_Route.jl b/src/Network/RouteTableClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/RouteTableClient/src/models/model_Route.jl +++ b/src/Network/RouteTableClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_Route2.jl b/src/Network/RouteTableClient/src/models/model_Route2.jl index a1ef64c..03d0ffb 100644 --- a/src/Network/RouteTableClient/src/models/model_Route2.jl +++ b/src/Network/RouteTableClient/src/models/model_Route2.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat2 - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route2 <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat2 } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route2(properties, name, etag, id, ) - OpenAPI.validate_property(Route2, Symbol("properties"), properties) - OpenAPI.validate_property(Route2, Symbol("name"), name) - OpenAPI.validate_property(Route2, Symbol("etag"), etag) - OpenAPI.validate_property(Route2, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route2(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route2 -const _property_types_Route2 = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route2 = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route2[name]))} -function check_required(o::Route2) +function OpenAPI.check_required(o::Route2) true end +function OpenAPI.validate_properties(o::Route2) + OpenAPI.validate_property(Route2, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route2, Symbol("name"), o.name) + OpenAPI.validate_property(Route2, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route2, Symbol("type"), o.type) + OpenAPI.validate_property(Route2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_RouteListResult.jl b/src/Network/RouteTableClient/src/models/model_RouteListResult.jl index 0b45093..51e5151 100644 --- a/src/Network/RouteTableClient/src/models/model_RouteListResult.jl +++ b/src/Network/RouteTableClient/src/models/model_RouteListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct RouteListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function RouteListResult(value, nextLink, ) - OpenAPI.validate_property(RouteListResult, Symbol("value"), value) - OpenAPI.validate_property(RouteListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type RouteListResult const _property_types_RouteListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Route}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ RouteListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteListResult[name]))} -function check_required(o::RouteListResult) +function OpenAPI.check_required(o::RouteListResult) true end +function OpenAPI.validate_properties(o::RouteListResult) + OpenAPI.validate_property(RouteListResult, Symbol("value"), o.value) + OpenAPI.validate_property(RouteListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ RouteListResult }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat2.jl b/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat2.jl index 76881b6..dd5ded7 100644 --- a/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat2.jl +++ b/src/Network/RouteTableClient/src/models/model_RoutePropertiesFormat2.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType2 - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat2 <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType2 } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat2(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat2(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat2 -const _property_types_RoutePropertiesFormat2 = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType2", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat2 = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType2", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat2[name]))} -function check_required(o::RoutePropertiesFormat2) +function OpenAPI.check_required(o::RoutePropertiesFormat2) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat2) + OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat2, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_RouteTable.jl b/src/Network/RouteTableClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/RouteTableClient/src/models/model_RouteTable.jl +++ b/src/Network/RouteTableClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_RouteTable2.jl b/src/Network/RouteTableClient/src/models/model_RouteTable2.jl index 46e3e91..7b3eb2e 100644 --- a/src/Network/RouteTableClient/src/models/model_RouteTable2.jl +++ b/src/Network/RouteTableClient/src/models/model_RouteTable2.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable2 <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable2(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable2, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable2, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable2, Symbol("id"), id) - OpenAPI.validate_property(RouteTable2, Symbol("name"), name) - OpenAPI.validate_property(RouteTable2, Symbol("type"), type) - OpenAPI.validate_property(RouteTable2, Symbol("location"), location) - OpenAPI.validate_property(RouteTable2, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable2 const _property_types_RouteTable2 = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat2", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable2[name]))} -function check_required(o::RouteTable2) +function OpenAPI.check_required(o::RouteTable2) true end +function OpenAPI.validate_properties(o::RouteTable2) + OpenAPI.validate_property(RouteTable2, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable2, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable2, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable2, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable2, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable2, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable2, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable2 }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_RouteTableListResult.jl b/src/Network/RouteTableClient/src/models/model_RouteTableListResult.jl index 812c716..0a3f27c 100644 --- a/src/Network/RouteTableClient/src/models/model_RouteTableListResult.jl +++ b/src/Network/RouteTableClient/src/models/model_RouteTableListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct RouteTableListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function RouteTableListResult(value, nextLink, ) - OpenAPI.validate_property(RouteTableListResult, Symbol("value"), value) - OpenAPI.validate_property(RouteTableListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTableListResult const _property_types_RouteTableListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{RouteTable}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ RouteTableListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTableListResult[name]))} -function check_required(o::RouteTableListResult) +function OpenAPI.check_required(o::RouteTableListResult) true end +function OpenAPI.validate_properties(o::RouteTableListResult) + OpenAPI.validate_property(RouteTableListResult, Symbol("value"), o.value) + OpenAPI.validate_property(RouteTableListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ RouteTableListResult }, name::Symbol, val) + + end diff --git a/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat2.jl b/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat2.jl index ac15012..88c18f6 100644 --- a/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat2.jl +++ b/src/Network/RouteTableClient/src/models/model_RouteTablePropertiesFormat2.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route2} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat2 <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route2} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat2(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat2(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat2 -const _property_types_RouteTablePropertiesFormat2 = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route2}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat2 = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route2}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat2[name]))} -function check_required(o::RouteTablePropertiesFormat2) +function OpenAPI.check_required(o::RouteTablePropertiesFormat2) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat2) + OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat2, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_SecurityRule.jl b/src/Network/RouteTableClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/RouteTableClient/src/models/model_SecurityRule.jl +++ b/src/Network/RouteTableClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/RouteTableClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceAssociationLink.jl b/src/Network/RouteTableClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/RouteTableClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_SubResource.jl b/src/Network/RouteTableClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/RouteTableClient/src/models/model_SubResource.jl +++ b/src/Network/RouteTableClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/RouteTableClient/src/models/model_Subnet.jl b/src/Network/RouteTableClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/RouteTableClient/src/models/model_Subnet.jl +++ b/src/Network/RouteTableClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_SubnetPropertiesFormat.jl index 3116c69..352e049 100644 --- a/src/Network/RouteTableClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable2", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable2", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/RouteTableClient/src/models/model_TagsObject.jl b/src/Network/RouteTableClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/RouteTableClient/src/models/model_TagsObject.jl +++ b/src/Network/RouteTableClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/RouteTableClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/RouteTableClient/src/models/model_VirtualNetworkTap.jl b/src/Network/RouteTableClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/RouteTableClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/RouteTableClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/RouteTableClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/RouteTableClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index b13a962..4588cfe 100644 --- a/src/Network/RouteTableClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/RouteTableClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ServiceCommunityClient/.openapi-generator/VERSION b/src/Network/ServiceCommunityClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/ServiceCommunityClient/.openapi-generator/VERSION +++ b/src/Network/ServiceCommunityClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/ServiceCommunityClient/README.md b/src/Network/ServiceCommunityClient/README.md index 50815cb..1ed9e73 100644 --- a/src/Network/ServiceCommunityClient/README.md +++ b/src/Network/ServiceCommunityClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -34,9 +35,12 @@ Class | Method - [Resource](docs/Resource.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/ServiceCommunityClient/docs/BgpServiceCommunitiesApi.md b/src/Network/ServiceCommunityClient/docs/BgpServiceCommunitiesApi.md index 360b0cf..7d3f626 100644 --- a/src/Network/ServiceCommunityClient/docs/BgpServiceCommunitiesApi.md +++ b/src/Network/ServiceCommunityClient/docs/BgpServiceCommunitiesApi.md @@ -20,8 +20,8 @@ Gets all the available bgp service communities. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **BgpServiceCommunitiesApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/ServiceCommunityClient/src/ServiceCommunityClient.jl b/src/Network/ServiceCommunityClient/src/ServiceCommunityClient.jl index 02dd972..9bdd0f2 100644 --- a/src/Network/ServiceCommunityClient/src/ServiceCommunityClient.jl +++ b/src/Network/ServiceCommunityClient/src/ServiceCommunityClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/ServiceCommunityClient/src/apis/api_BgpServiceCommunitiesApi.jl b/src/Network/ServiceCommunityClient/src/apis/api_BgpServiceCommunitiesApi.jl index 024c0ee..89294b9 100644 --- a/src/Network/ServiceCommunityClient/src/apis/api_BgpServiceCommunitiesApi.jl +++ b/src/Network/ServiceCommunityClient/src/apis/api_BgpServiceCommunitiesApi.jl @@ -19,7 +19,7 @@ const _returntypes_bgp_service_communities_list_BgpServiceCommunitiesApi = Dict{ function _oacinternal_bgp_service_communities_list(_api::BgpServiceCommunitiesApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_bgp_service_communities_list_BgpServiceCommunitiesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/ServiceCommunityClient/src/models/model_BGPCommunity.jl b/src/Network/ServiceCommunityClient/src/models/model_BGPCommunity.jl index 2e54185..d9ea6b9 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_BGPCommunity.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_BGPCommunity.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct BGPCommunity <: OpenAPI.APIModel serviceGroup::Union{Nothing, String} = nothing function BGPCommunity(serviceSupportedRegion, communityName, communityValue, communityPrefixes, isAuthorizedToUse, serviceGroup, ) - OpenAPI.validate_property(BGPCommunity, Symbol("serviceSupportedRegion"), serviceSupportedRegion) - OpenAPI.validate_property(BGPCommunity, Symbol("communityName"), communityName) - OpenAPI.validate_property(BGPCommunity, Symbol("communityValue"), communityValue) - OpenAPI.validate_property(BGPCommunity, Symbol("communityPrefixes"), communityPrefixes) - OpenAPI.validate_property(BGPCommunity, Symbol("isAuthorizedToUse"), isAuthorizedToUse) - OpenAPI.validate_property(BGPCommunity, Symbol("serviceGroup"), serviceGroup) - return new(serviceSupportedRegion, communityName, communityValue, communityPrefixes, isAuthorizedToUse, serviceGroup, ) + o = new(serviceSupportedRegion, communityName, communityValue, communityPrefixes, isAuthorizedToUse, serviceGroup, ) + OpenAPI.validate_properties(o) + return o end end # type BGPCommunity const _property_types_BGPCommunity = Dict{Symbol,String}(Symbol("serviceSupportedRegion")=>"String", Symbol("communityName")=>"String", Symbol("communityValue")=>"String", Symbol("communityPrefixes")=>"Vector{String}", Symbol("isAuthorizedToUse")=>"Bool", Symbol("serviceGroup")=>"String", ) OpenAPI.property_type(::Type{ BGPCommunity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BGPCommunity[name]))} -function check_required(o::BGPCommunity) +function OpenAPI.check_required(o::BGPCommunity) true end +function OpenAPI.validate_properties(o::BGPCommunity) + OpenAPI.validate_property(BGPCommunity, Symbol("serviceSupportedRegion"), o.serviceSupportedRegion) + OpenAPI.validate_property(BGPCommunity, Symbol("communityName"), o.communityName) + OpenAPI.validate_property(BGPCommunity, Symbol("communityValue"), o.communityValue) + OpenAPI.validate_property(BGPCommunity, Symbol("communityPrefixes"), o.communityPrefixes) + OpenAPI.validate_property(BGPCommunity, Symbol("isAuthorizedToUse"), o.isAuthorizedToUse) + OpenAPI.validate_property(BGPCommunity, Symbol("serviceGroup"), o.serviceGroup) +end + function OpenAPI.validate_property(::Type{ BGPCommunity }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunity.jl b/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunity.jl index f109b39..6ee9f78 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunity.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunity.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct BgpServiceCommunity <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function BgpServiceCommunity(properties, id, name, type, location, tags, ) - OpenAPI.validate_property(BgpServiceCommunity, Symbol("properties"), properties) - OpenAPI.validate_property(BgpServiceCommunity, Symbol("id"), id) - OpenAPI.validate_property(BgpServiceCommunity, Symbol("name"), name) - OpenAPI.validate_property(BgpServiceCommunity, Symbol("type"), type) - OpenAPI.validate_property(BgpServiceCommunity, Symbol("location"), location) - OpenAPI.validate_property(BgpServiceCommunity, Symbol("tags"), tags) - return new(properties, id, name, type, location, tags, ) + o = new(properties, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type BgpServiceCommunity const _property_types_BgpServiceCommunity = Dict{Symbol,String}(Symbol("properties")=>"BgpServiceCommunityPropertiesFormat", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ BgpServiceCommunity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BgpServiceCommunity[name]))} -function check_required(o::BgpServiceCommunity) +function OpenAPI.check_required(o::BgpServiceCommunity) true end +function OpenAPI.validate_properties(o::BgpServiceCommunity) + OpenAPI.validate_property(BgpServiceCommunity, Symbol("properties"), o.properties) + OpenAPI.validate_property(BgpServiceCommunity, Symbol("id"), o.id) + OpenAPI.validate_property(BgpServiceCommunity, Symbol("name"), o.name) + OpenAPI.validate_property(BgpServiceCommunity, Symbol("type"), o.type) + OpenAPI.validate_property(BgpServiceCommunity, Symbol("location"), o.location) + OpenAPI.validate_property(BgpServiceCommunity, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ BgpServiceCommunity }, name::Symbol, val) + + + + + + end diff --git a/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityListResult.jl b/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityListResult.jl index 42e9ab8..3d8b1e3 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityListResult.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct BgpServiceCommunityListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function BgpServiceCommunityListResult(value, nextLink, ) - OpenAPI.validate_property(BgpServiceCommunityListResult, Symbol("value"), value) - OpenAPI.validate_property(BgpServiceCommunityListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type BgpServiceCommunityListResult const _property_types_BgpServiceCommunityListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{BgpServiceCommunity}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ BgpServiceCommunityListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BgpServiceCommunityListResult[name]))} -function check_required(o::BgpServiceCommunityListResult) +function OpenAPI.check_required(o::BgpServiceCommunityListResult) true end +function OpenAPI.validate_properties(o::BgpServiceCommunityListResult) + OpenAPI.validate_property(BgpServiceCommunityListResult, Symbol("value"), o.value) + OpenAPI.validate_property(BgpServiceCommunityListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ BgpServiceCommunityListResult }, name::Symbol, val) + + end diff --git a/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityPropertiesFormat.jl b/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityPropertiesFormat.jl index fd0da3c..a6a30ab 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityPropertiesFormat.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_BgpServiceCommunityPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct BgpServiceCommunityPropertiesFormat <: OpenAPI.APIMod bgpCommunities::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BGPCommunity} } function BgpServiceCommunityPropertiesFormat(serviceName, bgpCommunities, ) - OpenAPI.validate_property(BgpServiceCommunityPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(BgpServiceCommunityPropertiesFormat, Symbol("bgpCommunities"), bgpCommunities) - return new(serviceName, bgpCommunities, ) + o = new(serviceName, bgpCommunities, ) + OpenAPI.validate_properties(o) + return o end end # type BgpServiceCommunityPropertiesFormat const _property_types_BgpServiceCommunityPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("bgpCommunities")=>"Vector{BGPCommunity}", ) OpenAPI.property_type(::Type{ BgpServiceCommunityPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BgpServiceCommunityPropertiesFormat[name]))} -function check_required(o::BgpServiceCommunityPropertiesFormat) +function OpenAPI.check_required(o::BgpServiceCommunityPropertiesFormat) true end +function OpenAPI.validate_properties(o::BgpServiceCommunityPropertiesFormat) + OpenAPI.validate_property(BgpServiceCommunityPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(BgpServiceCommunityPropertiesFormat, Symbol("bgpCommunities"), o.bgpCommunities) +end + function OpenAPI.validate_property(::Type{ BgpServiceCommunityPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/ServiceCommunityClient/src/models/model_CloudError.jl b/src/Network/ServiceCommunityClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_CloudError.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/ServiceCommunityClient/src/models/model_CloudErrorBody.jl b/src/Network/ServiceCommunityClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/ServiceCommunityClient/src/models/model_Resource.jl b/src/Network/ServiceCommunityClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/ServiceCommunityClient/src/models/model_Resource.jl +++ b/src/Network/ServiceCommunityClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/UsageClient/.openapi-generator/VERSION b/src/Network/UsageClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/UsageClient/.openapi-generator/VERSION +++ b/src/Network/UsageClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/UsageClient/README.md b/src/Network/UsageClient/README.md index 3148ea7..25db216 100644 --- a/src/Network/UsageClient/README.md +++ b/src/Network/UsageClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -32,9 +33,12 @@ Class | Method - [UsagesListResult](docs/UsagesListResult.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/UsageClient/docs/UsagesApi.md b/src/Network/UsageClient/docs/UsagesApi.md index e8047cf..a060924 100644 --- a/src/Network/UsageClient/docs/UsagesApi.md +++ b/src/Network/UsageClient/docs/UsagesApi.md @@ -20,9 +20,9 @@ List network usages for a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **UsagesApi** | API context | -**location** | **String**| The location where resource usage is queried. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**location** | **String** | The location where resource usage is queried. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/UsageClient/src/UsageClient.jl b/src/Network/UsageClient/src/UsageClient.jl index 4bbf8a9..9d25193 100644 --- a/src/Network/UsageClient/src/UsageClient.jl +++ b/src/Network/UsageClient/src/UsageClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/UsageClient/src/apis/api_UsagesApi.jl b/src/Network/UsageClient/src/apis/api_UsagesApi.jl index f76ea2b..3a3d7c7 100644 --- a/src/Network/UsageClient/src/apis/api_UsagesApi.jl +++ b/src/Network/UsageClient/src/apis/api_UsagesApi.jl @@ -17,11 +17,12 @@ const _returntypes_usages_list_UsagesApi = Dict{Regex,Type}( ) function _oacinternal_usages_list(_api::UsagesApi, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("location", "usages_list", :pattern, location, r"^[-\w\._ ]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_usages_list_UsagesApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/UsageClient/src/models/model_CloudError.jl b/src/Network/UsageClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/UsageClient/src/models/model_CloudError.jl +++ b/src/Network/UsageClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/UsageClient/src/models/model_CloudErrorBody.jl b/src/Network/UsageClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/UsageClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/UsageClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/UsageClient/src/models/model_Usage.jl b/src/Network/UsageClient/src/models/model_Usage.jl index 68d6920..bac2bff 100644 --- a/src/Network/UsageClient/src/models/model_Usage.jl +++ b/src/Network/UsageClient/src/models/model_Usage.jl @@ -27,19 +27,16 @@ Base.@kwdef mutable struct Usage <: OpenAPI.APIModel name = nothing # spec type: Union{ Nothing, UsageName } function Usage(id, unit, currentValue, limit, name, ) - OpenAPI.validate_property(Usage, Symbol("id"), id) - OpenAPI.validate_property(Usage, Symbol("unit"), unit) - OpenAPI.validate_property(Usage, Symbol("currentValue"), currentValue) - OpenAPI.validate_property(Usage, Symbol("limit"), limit) - OpenAPI.validate_property(Usage, Symbol("name"), name) - return new(id, unit, currentValue, limit, name, ) + o = new(id, unit, currentValue, limit, name, ) + OpenAPI.validate_properties(o) + return o end end # type Usage const _property_types_Usage = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("unit")=>"String", Symbol("currentValue")=>"Int64", Symbol("limit")=>"Int64", Symbol("name")=>"UsageName", ) OpenAPI.property_type(::Type{ Usage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Usage[name]))} -function check_required(o::Usage) +function OpenAPI.check_required(o::Usage) o.unit === nothing && (return false) o.currentValue === nothing && (return false) o.limit === nothing && (return false) @@ -47,14 +44,28 @@ function check_required(o::Usage) true end +function OpenAPI.validate_properties(o::Usage) + OpenAPI.validate_property(Usage, Symbol("id"), o.id) + OpenAPI.validate_property(Usage, Symbol("unit"), o.unit) + OpenAPI.validate_property(Usage, Symbol("currentValue"), o.currentValue) + OpenAPI.validate_property(Usage, Symbol("limit"), o.limit) + OpenAPI.validate_property(Usage, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ Usage }, name::Symbol, val) + + if name === Symbol("unit") OpenAPI.validate_param(name, "Usage", :enum, val, ["Count"]) end + + if name === Symbol("currentValue") OpenAPI.validate_param(name, "Usage", :format, val, "int64") end + if name === Symbol("limit") OpenAPI.validate_param(name, "Usage", :format, val, "int64") end + end diff --git a/src/Network/UsageClient/src/models/model_UsageName.jl b/src/Network/UsageClient/src/models/model_UsageName.jl index 6ad8e7b..75d19f3 100644 --- a/src/Network/UsageClient/src/models/model_UsageName.jl +++ b/src/Network/UsageClient/src/models/model_UsageName.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UsageName <: OpenAPI.APIModel localizedValue::Union{Nothing, String} = nothing function UsageName(value, localizedValue, ) - OpenAPI.validate_property(UsageName, Symbol("value"), value) - OpenAPI.validate_property(UsageName, Symbol("localizedValue"), localizedValue) - return new(value, localizedValue, ) + o = new(value, localizedValue, ) + OpenAPI.validate_properties(o) + return o end end # type UsageName const _property_types_UsageName = Dict{Symbol,String}(Symbol("value")=>"String", Symbol("localizedValue")=>"String", ) OpenAPI.property_type(::Type{ UsageName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageName[name]))} -function check_required(o::UsageName) +function OpenAPI.check_required(o::UsageName) true end +function OpenAPI.validate_properties(o::UsageName) + OpenAPI.validate_property(UsageName, Symbol("value"), o.value) + OpenAPI.validate_property(UsageName, Symbol("localizedValue"), o.localizedValue) +end + function OpenAPI.validate_property(::Type{ UsageName }, name::Symbol, val) + + end diff --git a/src/Network/UsageClient/src/models/model_UsagesListResult.jl b/src/Network/UsageClient/src/models/model_UsagesListResult.jl index 8e45205..a7fa456 100644 --- a/src/Network/UsageClient/src/models/model_UsagesListResult.jl +++ b/src/Network/UsageClient/src/models/model_UsagesListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UsagesListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function UsagesListResult(value, nextLink, ) - OpenAPI.validate_property(UsagesListResult, Symbol("value"), value) - OpenAPI.validate_property(UsagesListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type UsagesListResult const _property_types_UsagesListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Usage}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ UsagesListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsagesListResult[name]))} -function check_required(o::UsagesListResult) +function OpenAPI.check_required(o::UsagesListResult) true end +function OpenAPI.validate_properties(o::UsagesListResult) + OpenAPI.validate_property(UsagesListResult, Symbol("value"), o.value) + OpenAPI.validate_property(UsagesListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ UsagesListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/.openapi-generator/FILES b/src/Network/VirtualNetworkClient/.openapi-generator/FILES index d16be2b..2b7301c 100644 --- a/src/Network/VirtualNetworkClient/.openapi-generator/FILES +++ b/src/Network/VirtualNetworkClient/.openapi-generator/FILES @@ -4,6 +4,8 @@ docs/AddressSpace.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md docs/BackendAddressPool.md @@ -16,11 +18,14 @@ docs/DefaultApi.md docs/Delegation.md docs/Delegation2.md docs/DhcpOptions.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md docs/IPAddressAvailabilityResult.md docs/IPAllocationMethod.md docs/IPConfiguration.md @@ -31,8 +36,17 @@ docs/IPVersion.md docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocation2.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkIntentPolicy.md docs/NetworkIntentPolicyConfiguration.md docs/NetworkInterface.md @@ -47,21 +61,32 @@ docs/NetworkSecurityGroup.md docs/NetworkSecurityGroupPropertiesFormat.md docs/PrepareNetworkPoliciesRequest.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateEndpointVNetPolicies.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/ProvisioningState.md docs/PublicIPAddress.md docs/PublicIPAddressDnsSettings.md docs/PublicIPAddressPropertiesFormat.md docs/PublicIPAddressSku.md +docs/PublicIpDdosProtectionStatusResult.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLink2.md docs/ResourceNavigationLinkFormat.md docs/ResourceNavigationLinkFormat2.md docs/ResourceNavigationLinksListResult.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -99,6 +124,8 @@ docs/TransportProtocol.md docs/UnprepareNetworkPoliciesRequest.md docs/VirtualNetwork.md docs/VirtualNetworkBgpCommunities.md +docs/VirtualNetworkDdosProtectionStatusResult.md +docs/VirtualNetworkEncryption.md docs/VirtualNetworkListResult.md docs/VirtualNetworkListUsageResult.md docs/VirtualNetworkPeering.md @@ -121,6 +148,8 @@ src/models/model_AddressSpace.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl src/models/model_BackendAddressPool.jl @@ -132,11 +161,14 @@ src/models/model_DdosSettings.jl src/models/model_Delegation.jl src/models/model_Delegation2.jl src/models/model_DhcpOptions.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl src/models/model_IPAddressAvailabilityResult.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl @@ -147,8 +179,17 @@ src/models/model_IPVersion.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocation2.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkIntentPolicy.jl src/models/model_NetworkIntentPolicyConfiguration.jl src/models/model_NetworkInterface.jl @@ -163,21 +204,32 @@ src/models/model_NetworkSecurityGroup.jl src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_PrepareNetworkPoliciesRequest.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateEndpointVNetPolicies.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_ProvisioningState.jl src/models/model_PublicIPAddress.jl src/models/model_PublicIPAddressDnsSettings.jl src/models/model_PublicIPAddressPropertiesFormat.jl src/models/model_PublicIPAddressSku.jl +src/models/model_PublicIpDdosProtectionStatusResult.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLink2.jl src/models/model_ResourceNavigationLinkFormat.jl src/models/model_ResourceNavigationLinkFormat2.jl src/models/model_ResourceNavigationLinksListResult.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl @@ -214,6 +266,8 @@ src/models/model_TransportProtocol.jl src/models/model_UnprepareNetworkPoliciesRequest.jl src/models/model_VirtualNetwork.jl src/models/model_VirtualNetworkBgpCommunities.jl +src/models/model_VirtualNetworkDdosProtectionStatusResult.jl +src/models/model_VirtualNetworkEncryption.jl src/models/model_VirtualNetworkListResult.jl src/models/model_VirtualNetworkListUsageResult.jl src/models/model_VirtualNetworkPeering.jl diff --git a/src/Network/VirtualNetworkClient/.openapi-generator/VERSION b/src/Network/VirtualNetworkClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/VirtualNetworkClient/.openapi-generator/VERSION +++ b/src/Network/VirtualNetworkClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/VirtualNetworkClient/README.md b/src/Network/VirtualNetworkClient/README.md index 18553df..3ea002d 100644 --- a/src/Network/VirtualNetworkClient/README.md +++ b/src/Network/VirtualNetworkClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -25,6 +26,7 @@ Class | Method *DefaultApi* | [**subnets_prepare_network_policies**](docs/DefaultApi.md#subnets_prepare_network_policies)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies
*DefaultApi* | [**subnets_unprepare_network_policies**](docs/DefaultApi.md#subnets_unprepare_network_policies)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies
*DefaultApi* | [**virtual_networks_check_i_p_address_availability**](docs/DefaultApi.md#virtual_networks_check_i_p_address_availability)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability
+*DefaultApi* | [**virtual_networks_list_ddos_protection_status**](docs/DefaultApi.md#virtual_networks_list_ddos_protection_status)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus
*DefaultApi* | [**virtual_networks_list_usage**](docs/DefaultApi.md#virtual_networks_list_usage)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages
*SubnetsApi* | [**subnets_create_or_update**](docs/SubnetsApi.md#subnets_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
*SubnetsApi* | [**subnets_delete**](docs/SubnetsApi.md#subnets_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}
@@ -48,6 +50,8 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) - [BackendAddressPool](docs/BackendAddressPool.md) @@ -59,11 +63,14 @@ Class | Method - [Delegation](docs/Delegation.md) - [Delegation2](docs/Delegation2.md) - [DhcpOptions](docs/DhcpOptions.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) - [IPAddressAvailabilityResult](docs/IPAddressAvailabilityResult.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) @@ -74,8 +81,17 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocation2](docs/IpamPoolPrefixAllocation2.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkIntentPolicy](docs/NetworkIntentPolicy.md) - [NetworkIntentPolicyConfiguration](docs/NetworkIntentPolicyConfiguration.md) - [NetworkInterface](docs/NetworkInterface.md) @@ -90,21 +106,32 @@ Class | Method - [NetworkSecurityGroupPropertiesFormat](docs/NetworkSecurityGroupPropertiesFormat.md) - [PrepareNetworkPoliciesRequest](docs/PrepareNetworkPoliciesRequest.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateEndpointVNetPolicies](docs/PrivateEndpointVNetPolicies.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [ProvisioningState](docs/ProvisioningState.md) - [PublicIPAddress](docs/PublicIPAddress.md) - [PublicIPAddressDnsSettings](docs/PublicIPAddressDnsSettings.md) - [PublicIPAddressPropertiesFormat](docs/PublicIPAddressPropertiesFormat.md) - [PublicIPAddressSku](docs/PublicIPAddressSku.md) + - [PublicIpDdosProtectionStatusResult](docs/PublicIpDdosProtectionStatusResult.md) - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLink2](docs/ResourceNavigationLink2.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) - [ResourceNavigationLinkFormat2](docs/ResourceNavigationLinkFormat2.md) - [ResourceNavigationLinksListResult](docs/ResourceNavigationLinksListResult.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -141,6 +168,8 @@ Class | Method - [UnprepareNetworkPoliciesRequest](docs/UnprepareNetworkPoliciesRequest.md) - [VirtualNetwork](docs/VirtualNetwork.md) - [VirtualNetworkBgpCommunities](docs/VirtualNetworkBgpCommunities.md) + - [VirtualNetworkDdosProtectionStatusResult](docs/VirtualNetworkDdosProtectionStatusResult.md) + - [VirtualNetworkEncryption](docs/VirtualNetworkEncryption.md) - [VirtualNetworkListResult](docs/VirtualNetworkListResult.md) - [VirtualNetworkListUsageResult](docs/VirtualNetworkListUsageResult.md) - [VirtualNetworkPeering](docs/VirtualNetworkPeering.md) @@ -153,9 +182,12 @@ Class | Method - [VirtualNetworkUsageName](docs/VirtualNetworkUsageName.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/VirtualNetworkClient/docs/AddressSpace.md b/src/Network/VirtualNetworkClient/docs/AddressSpace.md index b4e1684..c802e95 100644 --- a/src/Network/VirtualNetworkClient/docs/AddressSpace.md +++ b/src/Network/VirtualNetworkClient/docs/AddressSpace.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **addressPrefixes** | **Vector{String}** | A list of address blocks reserved for this virtual network in CIDR notation. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/VirtualNetworkClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/VirtualNetworkClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/DdosSettings.md b/src/Network/VirtualNetworkClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/VirtualNetworkClient/docs/DdosSettings.md +++ b/src/Network/VirtualNetworkClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/DefaultApi.md b/src/Network/VirtualNetworkClient/docs/DefaultApi.md index 7845df5..382f7bb 100644 --- a/src/Network/VirtualNetworkClient/docs/DefaultApi.md +++ b/src/Network/VirtualNetworkClient/docs/DefaultApi.md @@ -9,6 +9,7 @@ Method | HTTP request | Description [**subnets_prepare_network_policies**](DefaultApi.md#subnets_prepare_network_policies) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/PrepareNetworkPolicies | [**subnets_unprepare_network_policies**](DefaultApi.md#subnets_unprepare_network_policies) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/UnprepareNetworkPolicies | [**virtual_networks_check_i_p_address_availability**](DefaultApi.md#virtual_networks_check_i_p_address_availability) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/CheckIPAddressAvailability | +[**virtual_networks_list_ddos_protection_status**](DefaultApi.md#virtual_networks_list_ddos_protection_status) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus | [**virtual_networks_list_usage**](DefaultApi.md#virtual_networks_list_usage) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/usages | @@ -25,11 +26,11 @@ Gets a list of resource navigation links for a subnet. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -59,11 +60,11 @@ Gets a list of service association links for a subnet. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -93,12 +94,12 @@ Prepares a subnet by applying network intent policies. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**prepare_network_policies_request_parameters** | [**PrepareNetworkPoliciesRequest**](PrepareNetworkPoliciesRequest.md)| Parameters supplied to prepare subnet by applying network intent policies. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**prepare_network_policies_request_parameters** | [**PrepareNetworkPoliciesRequest**](PrepareNetworkPoliciesRequest.md) | Parameters supplied to prepare subnet by applying network intent policies. | ### Return type @@ -128,12 +129,12 @@ Unprepares a subnet by removing network intent policies. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**unprepare_network_policies_request_parameters** | [**UnprepareNetworkPoliciesRequest**](UnprepareNetworkPoliciesRequest.md)| Parameters supplied to unprepare subnet to remove network intent policies. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**unprepare_network_policies_request_parameters** | [**UnprepareNetworkPoliciesRequest**](UnprepareNetworkPoliciesRequest.md) | Parameters supplied to unprepare subnet to remove network intent policies. | ### Return type @@ -163,11 +164,11 @@ Checks whether a private IP address is available for use. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**ip_address** | **String**| The private IP address to be verified. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**ip_address** | **String** | The private IP address to be verified. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -184,6 +185,46 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_networks_list_ddos_protection_status** +> virtual_networks_list_ddos_protection_status(_api::DefaultApi, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; top=nothing, skip_token=nothing, _mediaType=nothing) -> VirtualNetworkDdosProtectionStatusResult, OpenAPI.Clients.ApiResponse
+> virtual_networks_list_ddos_protection_status(_api::DefaultApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; top=nothing, skip_token=nothing, _mediaType=nothing) -> Channel{ VirtualNetworkDdosProtectionStatusResult }, OpenAPI.Clients.ApiResponse + + + +Gets the Ddos Protection Status of all IP Addresses under the Virtual Network + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **top** | **Int64** | The max number of ip addresses to return. | [default to nothing] + **skip_token** | **String** | The skipToken that is given with nextLink. | [default to nothing] + +### Return type + +[**VirtualNetworkDdosProtectionStatusResult**](VirtualNetworkDdosProtectionStatusResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_networks_list_usage** > virtual_networks_list_usage(_api::DefaultApi, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> VirtualNetworkListUsageResult, OpenAPI.Clients.ApiResponse
> virtual_networks_list_usage(_api::DefaultApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ VirtualNetworkListUsageResult }, OpenAPI.Clients.ApiResponse @@ -197,10 +238,10 @@ Lists usage stats. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **DefaultApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/VirtualNetworkClient/docs/Delegation.md b/src/Network/VirtualNetworkClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/VirtualNetworkClient/docs/Delegation.md +++ b/src/Network/VirtualNetworkClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/Delegation2.md b/src/Network/VirtualNetworkClient/docs/Delegation2.md index e0f13a3..4404484 100644 --- a/src/Network/VirtualNetworkClient/docs/Delegation2.md +++ b/src/Network/VirtualNetworkClient/docs/Delegation2.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat2**](ServiceDelegationPropertiesFormat2.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/ExtendedLocation.md b/src/Network/VirtualNetworkClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/ExtendedLocationType.md b/src/Network/VirtualNetworkClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/FlowLog.md b/src/Network/VirtualNetworkClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/VirtualNetworkClient/docs/FlowLog.md +++ b/src/Network/VirtualNetworkClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/FlowLogFormatParameters.md b/src/Network/VirtualNetworkClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/VirtualNetworkClient/docs/FlowLogFormatParameters.md +++ b/src/Network/VirtualNetworkClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/FlowLogPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/VirtualNetworkClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/FrontendIPConfigurationPropertiesFormat.md index b6fecef..ad8bb05 100644 --- a/src/Network/VirtualNetworkClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet2**](Subnet2.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/VirtualNetworkClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/IPAddressAvailabilityResult.md b/src/Network/VirtualNetworkClient/docs/IPAddressAvailabilityResult.md index 59739f4..cdcd867 100644 --- a/src/Network/VirtualNetworkClient/docs/IPAddressAvailabilityResult.md +++ b/src/Network/VirtualNetworkClient/docs/IPAddressAvailabilityResult.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **available** | **Bool** | Private IP address availability. | [optional] [default to nothing] **availableIPAddresses** | **Vector{String}** | Contains other available private IP addresses if the asked for address is taken. | [optional] [default to nothing] +**isPlatformReserved** | **Bool** | Private IP address platform reserved. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/VirtualNetworkClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocation.md b/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocation2.md b/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocation2.md new file mode 100644 index 0000000..e625e9b --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocation2.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/VirtualNetworkClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/ManagedServiceIdentity.md b/src/Network/VirtualNetworkClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/VirtualNetworkClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/NatGateway.md b/src/Network/VirtualNetworkClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/NatGatewayPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/NatGatewaySku.md b/src/Network/VirtualNetworkClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/NatRulePortMapping.md b/src/Network/VirtualNetworkClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/NetworkInterface.md b/src/Network/VirtualNetworkClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/VirtualNetworkClient/docs/NetworkInterface.md +++ b/src/Network/VirtualNetworkClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index 655f044..b009cd6 100644 --- a/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet2**](Subnet2.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/VirtualNetworkClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/NetworkSecurityGroupPropertiesFormat.md index 1917a5d..68e67b6 100644 --- a/src/Network/VirtualNetworkClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpoint.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/VirtualNetworkClient/docs/PrivateEndpoint.md +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpointConnection.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpointProperties.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpointProperties.md index 3f107d9..e152576 100644 --- a/src/Network/VirtualNetworkClient/docs/PrivateEndpointProperties.md +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/PrivateEndpointVNetPolicies.md b/src/Network/VirtualNetworkClient/docs/PrivateEndpointVNetPolicies.md new file mode 100644 index 0000000..276fd7e --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateEndpointVNetPolicies.md @@ -0,0 +1,11 @@ +# PrivateEndpointVNetPolicies + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateLinkService.md b/src/Network/VirtualNetworkClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..6589ae2 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet2**](Subnet2.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceProperties.md b/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..5c91eab --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/PublicIPAddress.md b/src/Network/VirtualNetworkClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/VirtualNetworkClient/docs/PublicIPAddress.md +++ b/src/Network/VirtualNetworkClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/PublicIPAddressDnsSettings.md b/src/Network/VirtualNetworkClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/VirtualNetworkClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/VirtualNetworkClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/VirtualNetworkClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/PublicIPAddressSku.md b/src/Network/VirtualNetworkClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/VirtualNetworkClient/docs/PublicIPAddressSku.md +++ b/src/Network/VirtualNetworkClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/PublicIpDdosProtectionStatusResult.md b/src/Network/VirtualNetworkClient/docs/PublicIpDdosProtectionStatusResult.md new file mode 100644 index 0000000..6713c17 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/PublicIpDdosProtectionStatusResult.md @@ -0,0 +1,15 @@ +# PublicIpDdosProtectionStatusResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**publicIpAddressId** | **String** | Public IP ARM resource ID | [optional] [default to nothing] +**publicIpAddress** | **String** | IP Address of the Public IP Resource | [optional] [default to nothing] +**isWorkloadProtected** | **String** | Value indicating whether the IP address is DDoS workload protected or not. | [optional] [default to nothing] +**ddosProtectionPlanId** | **String** | DDoS protection plan Resource Id of a if IP address is protected through a plan. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/ResourceSet.md b/src/Network/VirtualNetworkClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/RetentionPolicyParameters.md b/src/Network/VirtualNetworkClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/VirtualNetworkClient/docs/RetentionPolicyParameters.md +++ b/src/Network/VirtualNetworkClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/VirtualNetworkClient/docs/Route.md b/src/Network/VirtualNetworkClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/VirtualNetworkClient/docs/Route.md +++ b/src/Network/VirtualNetworkClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/RoutePropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/VirtualNetworkClient/docs/RoutePropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/RouteTablePropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/RouteTablePropertiesFormat.md index 6e0e277..73d5732 100644 --- a/src/Network/VirtualNetworkClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet2}**](Subnet2.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/SecurityRule.md b/src/Network/VirtualNetworkClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/VirtualNetworkClient/docs/SecurityRule.md +++ b/src/Network/VirtualNetworkClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/SecurityRulePropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/VirtualNetworkClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicy.md b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyPropertiesFormat.md index ab415ae..c15beaf 100644 --- a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet2}**](Subnet2.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat2.md b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat2.md index d505f0f..4c4dfab 100644 --- a/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat2.md +++ b/src/Network/VirtualNetworkClient/docs/ServiceEndpointPropertiesFormat2.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/Subnet.md b/src/Network/VirtualNetworkClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/VirtualNetworkClient/docs/Subnet.md +++ b/src/Network/VirtualNetworkClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/Subnet2.md b/src/Network/VirtualNetworkClient/docs/Subnet2.md index 95c9535..f41782e 100644 --- a/src/Network/VirtualNetworkClient/docs/Subnet2.md +++ b/src/Network/VirtualNetworkClient/docs/Subnet2.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat2**](SubnetPropertiesFormat2.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat.md index 5569795..972cda9 100644 --- a/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat2.md b/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat2.md index 560d4eb..5c71d3e 100644 --- a/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat2.md +++ b/src/Network/VirtualNetworkClient/docs/SubnetPropertiesFormat2.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation2}**](Delegation2.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation2}**](IpamPoolPrefixAllocation2.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/SubnetsApi.md b/src/Network/VirtualNetworkClient/docs/SubnetsApi.md index 17f3b75..086b5e8 100644 --- a/src/Network/VirtualNetworkClient/docs/SubnetsApi.md +++ b/src/Network/VirtualNetworkClient/docs/SubnetsApi.md @@ -23,12 +23,12 @@ Creates or updates a subnet in the specified virtual network. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubnetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**subnet_parameters** | [**Subnet**](Subnet.md)| Parameters supplied to the create or update subnet operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**subnet_parameters** | [**Subnet**](Subnet.md) | Parameters supplied to the create or update subnet operation. | ### Return type @@ -58,11 +58,11 @@ Deletes the specified subnet. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubnetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,17 +92,17 @@ Gets the specified subnet by virtual network and resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubnetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**subnet_name** | **String**| The name of the subnet. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**subnet_name** | **String** | The name of the subnet. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -132,10 +132,10 @@ Gets all subnets in a virtual network. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubnetsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetwork.md b/src/Network/VirtualNetworkClient/docs/VirtualNetwork.md index 771768f..31a3c29 100644 --- a/src/Network/VirtualNetworkClient/docs/VirtualNetwork.md +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetwork.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***VirtualNetworkPropertiesFormat**](VirtualNetworkPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworkDdosProtectionStatusResult.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworkDdosProtectionStatusResult.md new file mode 100644 index 0000000..c7b3317 --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworkDdosProtectionStatusResult.md @@ -0,0 +1,13 @@ +# VirtualNetworkDdosProtectionStatusResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{PublicIpDdosProtectionStatusResult}**](PublicIpDdosProtectionStatusResult.md) | The Ddos Protection Status Result for each public ip under a virtual network. | [optional] [default to nothing] +**nextLink** | **String** | The URL to get the next set of results. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworkEncryption.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworkEncryption.md new file mode 100644 index 0000000..2aa550b --- /dev/null +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworkEncryption.md @@ -0,0 +1,13 @@ +# VirtualNetworkEncryption + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Bool** | Indicates if encryption is enabled on the virtual network. | [default to nothing] +**enforcement** | **String** | If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeering.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeering.md index 2bbe3f4..9ed5aa6 100644 --- a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeering.md +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeering.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***VirtualNetworkPeeringPropertiesFormat**](VirtualNetworkPeeringPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringPropertiesFormat.md index c397e8b..c0a0c1a 100644 --- a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringPropertiesFormat.md @@ -9,9 +9,21 @@ Name | Type | Description | Notes **allowGatewayTransit** | **Bool** | If gateway links can be used in remote virtual networking to link to this virtual network. | [optional] [default to nothing] **useRemoteGateways** | **Bool** | If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. | [optional] [default to nothing] **remoteVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**localAddressSpace** | [***AddressSpace**](AddressSpace.md) | | [optional] [default to nothing] +**localVirtualNetworkAddressSpace** | [***AddressSpace**](AddressSpace.md) | | [optional] [default to nothing] **remoteAddressSpace** | [***AddressSpace**](AddressSpace.md) | | [optional] [default to nothing] +**remoteVirtualNetworkAddressSpace** | [***AddressSpace**](AddressSpace.md) | | [optional] [default to nothing] +**remoteBgpCommunities** | [***VirtualNetworkBgpCommunities**](VirtualNetworkBgpCommunities.md) | | [optional] [default to nothing] +**remoteVirtualNetworkEncryption** | [***VirtualNetworkEncryption**](VirtualNetworkEncryption.md) | | [optional] [default to nothing] **peeringState** | **String** | The status of the virtual network peering. | [optional] [default to nothing] +**peeringSyncLevel** | **String** | The peering sync status of the virtual network peering. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**doNotVerifyRemoteGateways** | **Bool** | If we need to verify the provisioning state of the remote gateway. | [optional] [default to nothing] +**resourceGuid** | **String** | The resourceGuid property of the Virtual Network peering resource. | [optional] [readonly] [default to nothing] +**peerCompleteVnets** | **Bool** | Whether complete virtual network address space is peered. | [optional] [default to nothing] +**enableOnlyIPv6Peering** | **Bool** | Whether only Ipv6 address space is peered for subnet peering. | [optional] [default to nothing] +**localSubnetNames** | **Vector{String}** | List of local subnet names that are subnet peered with remote virtual network. | [optional] [default to nothing] +**remoteSubnetNames** | **Vector{String}** | List of remote subnet names from remote virtual network that are subnet peered. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringsApi.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringsApi.md index f225048..c7a1b5d 100644 --- a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringsApi.md +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPeeringsApi.md @@ -11,8 +11,8 @@ Method | HTTP request | Description # **virtual_network_peerings_create_or_update** -> virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; _mediaType=nothing) -> VirtualNetworkPeering, OpenAPI.Clients.ApiResponse
-> virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; _mediaType=nothing) -> Channel{ VirtualNetworkPeering }, OpenAPI.Clients.ApiResponse +> virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; sync_remote_address_space=nothing, _mediaType=nothing) -> VirtualNetworkPeering, OpenAPI.Clients.ApiResponse
+> virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; sync_remote_address_space=nothing, _mediaType=nothing) -> Channel{ VirtualNetworkPeering }, OpenAPI.Clients.ApiResponse @@ -23,12 +23,18 @@ Creates or updates a peering in the specified virtual network. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**virtual_network_peering_name** | **String**| The name of the peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**virtual_network_peering_parameters** | [**VirtualNetworkPeering**](VirtualNetworkPeering.md)| Parameters supplied to the create or update virtual network peering operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**virtual_network_peering_name** | **String** | The name of the peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**virtual_network_peering_parameters** | [**VirtualNetworkPeering**](VirtualNetworkPeering.md) | Parameters supplied to the create or update virtual network peering operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **sync_remote_address_space** | **String** | Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated. | [default to nothing] ### Return type @@ -58,11 +64,11 @@ Deletes the specified virtual network peering. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**virtual_network_peering_name** | **String**| The name of the virtual network peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**virtual_network_peering_name** | **String** | The name of the virtual network peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,11 +98,11 @@ Gets the specified virtual network peering. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**virtual_network_peering_name** | **String**| The name of the virtual network peering. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**virtual_network_peering_name** | **String** | The name of the virtual network peering. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -126,10 +132,10 @@ Gets all virtual network peerings in a virtual network. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkPeeringsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPropertiesFormat.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPropertiesFormat.md index 5a315bc..1c47611 100644 --- a/src/Network/VirtualNetworkClient/docs/VirtualNetworkPropertiesFormat.md +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworkPropertiesFormat.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **addressSpace** | [***AddressSpace**](AddressSpace.md) | | [optional] [default to nothing] **dhcpOptions** | [***DhcpOptions**](DhcpOptions.md) | | [optional] [default to nothing] +**flowTimeoutInMinutes** | **Int64** | The FlowTimeout value (in minutes) for the Virtual Network | [optional] [default to nothing] **subnets** | [**Vector{Subnet}**](Subnet.md) | A list of subnets in a Virtual Network. | [optional] [default to nothing] **virtualNetworkPeerings** | [**Vector{VirtualNetworkPeering}**](VirtualNetworkPeering.md) | A list of peerings in a Virtual Network. | [optional] [default to nothing] **resourceGuid** | **String** | The resourceGuid property of the Virtual Network resource. | [optional] [readonly] [default to nothing] @@ -14,7 +15,11 @@ Name | Type | Description | Notes **enableVmProtection** | **Bool** | Indicates if VM protection is enabled for all the subnets in the virtual network. | [optional] [default to false] **ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **bgpCommunities** | [***VirtualNetworkBgpCommunities**](VirtualNetworkBgpCommunities.md) | | [optional] [default to nothing] +**encryption** | [***VirtualNetworkEncryption**](VirtualNetworkEncryption.md) | | [optional] [default to nothing] **ipAllocations** | [**Vector{SubResource}**](SubResource.md) | Array of IpAllocation which reference this VNET. | [optional] [default to nothing] +**flowLogs** | [**Vector{FlowLog}**](FlowLog.md) | A collection of references to flow log resources. | [optional] [readonly] [default to nothing] +**privateEndpointVNetPolicies** | [***PrivateEndpointVNetPolicies**](PrivateEndpointVNetPolicies.md) | | [optional] [default to nothing] +**defaultPublicNatGateway** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkClient/docs/VirtualNetworksApi.md b/src/Network/VirtualNetworkClient/docs/VirtualNetworksApi.md index 1c7b321..ae0b4d0 100644 --- a/src/Network/VirtualNetworkClient/docs/VirtualNetworksApi.md +++ b/src/Network/VirtualNetworkClient/docs/VirtualNetworksApi.md @@ -25,11 +25,11 @@ Creates or updates a virtual network in the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworksApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualNetwork**](VirtualNetwork.md)| Parameters supplied to the create or update virtual network operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualNetwork**](VirtualNetwork.md) | Parameters supplied to the create or update virtual network operation. | ### Return type @@ -59,10 +59,10 @@ Deletes the specified virtual network. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworksApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -92,16 +92,16 @@ Gets the specified virtual network by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworksApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -131,9 +131,9 @@ Gets all virtual networks in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworksApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -163,8 +163,8 @@ Gets all virtual networks in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworksApi** | API context | -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -194,11 +194,11 @@ Updates a virtual network tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworksApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_name** | **String**| The name of the virtual network. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update virtual network tags. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_name** | **String** | The name of the virtual network. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update virtual network tags. | ### Return type diff --git a/src/Network/VirtualNetworkClient/src/VirtualNetworkClient.jl b/src/Network/VirtualNetworkClient/src/VirtualNetworkClient.jl index af65e5e..057f0ef 100644 --- a/src/Network/VirtualNetworkClient/src/VirtualNetworkClient.jl +++ b/src/Network/VirtualNetworkClient/src/VirtualNetworkClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") diff --git a/src/Network/VirtualNetworkClient/src/apis/api_DefaultApi.jl b/src/Network/VirtualNetworkClient/src/apis/api_DefaultApi.jl index c3bcfc6..a594e17 100644 --- a/src/Network/VirtualNetworkClient/src/apis/api_DefaultApi.jl +++ b/src/Network/VirtualNetworkClient/src/apis/api_DefaultApi.jl @@ -22,7 +22,7 @@ function _oacinternal_resource_navigation_links_list(_api::DefaultApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -60,7 +60,7 @@ function _oacinternal_service_association_links_list(_api::DefaultApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -99,7 +99,7 @@ function _oacinternal_subnets_prepare_network_policies(_api::DefaultApi, resourc OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -139,7 +139,7 @@ function _oacinternal_subnets_unprepare_network_policies(_api::DefaultApi, resou OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -177,8 +177,8 @@ function _oacinternal_virtual_networks_check_i_p_address_availability(_api::Defa OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "ipAddress", ip_address) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "ipAddress", ip_address; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -205,6 +205,47 @@ function virtual_networks_check_i_p_address_availability(_api::DefaultApi, respo return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_networks_list_ddos_protection_status_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualNetworkDdosProtectionStatusResult, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_networks_list_ddos_protection_status(_api::DefaultApi, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; top=nothing, skip_token=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_networks_list_ddos_protection_status_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "skipToken", skip_token; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the Ddos Protection Status of all IP Addresses under the Virtual Network + +Params: +- resource_group_name::String (required) +- virtual_network_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- top::Int64 +- skip_token::String + +Return: VirtualNetworkDdosProtectionStatusResult, OpenAPI.Clients.ApiResponse +""" +function virtual_networks_list_ddos_protection_status(_api::DefaultApi, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; top=nothing, skip_token=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_networks_list_ddos_protection_status(_api, resource_group_name, virtual_network_name, api_version, subscription_id; top=top, skip_token=skip_token, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_networks_list_ddos_protection_status(_api::DefaultApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, api_version::String, subscription_id::String; top=nothing, skip_token=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_networks_list_ddos_protection_status(_api, resource_group_name, virtual_network_name, api_version, subscription_id; top=top, skip_token=skip_token, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_networks_list_usage_DefaultApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => VirtualNetworkListUsageResult, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, @@ -215,7 +256,7 @@ function _oacinternal_virtual_networks_list_usage(_api::DefaultApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -246,4 +287,5 @@ export service_association_links_list export subnets_prepare_network_policies export subnets_unprepare_network_policies export virtual_networks_check_i_p_address_availability +export virtual_networks_list_ddos_protection_status export virtual_networks_list_usage diff --git a/src/Network/VirtualNetworkClient/src/apis/api_SubnetsApi.jl b/src/Network/VirtualNetworkClient/src/apis/api_SubnetsApi.jl index 906ef8a..5366401 100644 --- a/src/Network/VirtualNetworkClient/src/apis/api_SubnetsApi.jl +++ b/src/Network/VirtualNetworkClient/src/apis/api_SubnetsApi.jl @@ -23,7 +23,7 @@ function _oacinternal_subnets_create_or_update(_api::SubnetsApi, resource_group_ OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -64,7 +64,7 @@ function _oacinternal_subnets_delete(_api::SubnetsApi, resource_group_name::Stri OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,8 +102,8 @@ function _oacinternal_subnets_get(_api::SubnetsApi, resource_group_name::String, OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subnetName", subnet_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -141,7 +141,7 @@ function _oacinternal_subnets_list(_api::SubnetsApi, resource_group_name::String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworkPeeringsApi.jl b/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworkPeeringsApi.jl index 982cca8..652dc4d 100644 --- a/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworkPeeringsApi.jl +++ b/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworkPeeringsApi.jl @@ -17,13 +17,14 @@ const _returntypes_virtual_network_peerings_create_or_update_VirtualNetworkPeeri Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; _mediaType=nothing) +function _oacinternal_virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; sync_remote_address_space=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_network_peerings_create_or_update_VirtualNetworkPeeringsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}", ["azure_auth", ], virtual_network_peering_parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkPeeringName", virtual_network_peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "syncRemoteAddressSpace", sync_remote_address_space; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -38,16 +39,17 @@ Params: - api_version::String (required) - subscription_id::String (required) - virtual_network_peering_parameters::VirtualNetworkPeering (required) +- sync_remote_address_space::String Return: VirtualNetworkPeering, OpenAPI.Clients.ApiResponse """ -function virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; _mediaType=nothing) - _ctx = _oacinternal_virtual_network_peerings_create_or_update(_api, resource_group_name, virtual_network_name, virtual_network_peering_name, api_version, subscription_id, virtual_network_peering_parameters; _mediaType=_mediaType) +function virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; sync_remote_address_space=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_network_peerings_create_or_update(_api, resource_group_name, virtual_network_name, virtual_network_peering_name, api_version, subscription_id, virtual_network_peering_parameters; sync_remote_address_space=sync_remote_address_space, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; _mediaType=nothing) - _ctx = _oacinternal_virtual_network_peerings_create_or_update(_api, resource_group_name, virtual_network_name, virtual_network_peering_name, api_version, subscription_id, virtual_network_peering_parameters; _mediaType=_mediaType) +function virtual_network_peerings_create_or_update(_api::VirtualNetworkPeeringsApi, response_stream::Channel, resource_group_name::String, virtual_network_name::String, virtual_network_peering_name::String, api_version::String, subscription_id::String, virtual_network_peering_parameters::VirtualNetworkPeering; sync_remote_address_space=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_network_peerings_create_or_update(_api, resource_group_name, virtual_network_name, virtual_network_peering_name, api_version, subscription_id, virtual_network_peering_parameters; sync_remote_address_space=sync_remote_address_space, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -64,7 +66,7 @@ function _oacinternal_virtual_network_peerings_delete(_api::VirtualNetworkPeerin OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkPeeringName", virtual_network_peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,7 +104,7 @@ function _oacinternal_virtual_network_peerings_get(_api::VirtualNetworkPeeringsA OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkPeeringName", virtual_network_peering_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -139,7 +141,7 @@ function _oacinternal_virtual_network_peerings_list(_api::VirtualNetworkPeerings OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworksApi.jl b/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworksApi.jl index 865e753..b379f78 100644 --- a/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworksApi.jl +++ b/src/Network/VirtualNetworkClient/src/apis/api_VirtualNetworksApi.jl @@ -22,7 +22,7 @@ function _oacinternal_virtual_networks_create_or_update(_api::VirtualNetworksApi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_virtual_networks_delete(_api::VirtualNetworksApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,8 +97,8 @@ function _oacinternal_virtual_networks_get(_api::VirtualNetworksApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -134,7 +134,7 @@ function _oacinternal_virtual_networks_list(_api::VirtualNetworksApi, resource_g _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_networks_list_VirtualNetworksApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -167,7 +167,7 @@ const _returntypes_virtual_networks_list_all_VirtualNetworksApi = Dict{Regex,Typ function _oacinternal_virtual_networks_list_all(_api::VirtualNetworksApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_networks_list_all_VirtualNetworksApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -201,7 +201,7 @@ function _oacinternal_virtual_networks_update_tags(_api::VirtualNetworksApi, res OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkName", virtual_network_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/VirtualNetworkClient/src/modelincludes.jl b/src/Network/VirtualNetworkClient/src/modelincludes.jl index 1733c20..978c910 100644 --- a/src/Network/VirtualNetworkClient/src/modelincludes.jl +++ b/src/Network/VirtualNetworkClient/src/modelincludes.jl @@ -5,6 +5,8 @@ include("models/model_AddressSpace.jl") include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") include("models/model_BackendAddressPool.jl") @@ -16,11 +18,14 @@ include("models/model_DdosSettings.jl") include("models/model_Delegation.jl") include("models/model_Delegation2.jl") include("models/model_DhcpOptions.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") include("models/model_IPAddressAvailabilityResult.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") @@ -31,8 +36,17 @@ include("models/model_IPVersion.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocation2.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkIntentPolicy.jl") include("models/model_NetworkIntentPolicyConfiguration.jl") include("models/model_NetworkInterface.jl") @@ -47,21 +61,32 @@ include("models/model_NetworkSecurityGroup.jl") include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_PrepareNetworkPoliciesRequest.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateEndpointVNetPolicies.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_ProvisioningState.jl") include("models/model_PublicIPAddress.jl") include("models/model_PublicIPAddressDnsSettings.jl") include("models/model_PublicIPAddressPropertiesFormat.jl") include("models/model_PublicIPAddressSku.jl") +include("models/model_PublicIpDdosProtectionStatusResult.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLink2.jl") include("models/model_ResourceNavigationLinkFormat.jl") include("models/model_ResourceNavigationLinkFormat2.jl") include("models/model_ResourceNavigationLinksListResult.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") @@ -98,6 +123,8 @@ include("models/model_TransportProtocol.jl") include("models/model_UnprepareNetworkPoliciesRequest.jl") include("models/model_VirtualNetwork.jl") include("models/model_VirtualNetworkBgpCommunities.jl") +include("models/model_VirtualNetworkDdosProtectionStatusResult.jl") +include("models/model_VirtualNetworkEncryption.jl") include("models/model_VirtualNetworkListResult.jl") include("models/model_VirtualNetworkListUsageResult.jl") include("models/model_VirtualNetworkPeering.jl") diff --git a/src/Network/VirtualNetworkClient/src/models/model_AddressSpace.jl b/src/Network/VirtualNetworkClient/src/models/model_AddressSpace.jl index d721cff..e123d02 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_AddressSpace.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_AddressSpace.jl @@ -7,25 +7,36 @@ AddressSpace contains an array of IP address ranges that can be used by subnets AddressSpace(; addressPrefixes=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefixes::Vector{String} : A list of address blocks reserved for this virtual network in CIDR notation. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools allocating IP address prefixes. """ Base.@kwdef mutable struct AddressSpace <: OpenAPI.APIModel addressPrefixes::Union{Nothing, Vector{String}} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } - function AddressSpace(addressPrefixes, ) - OpenAPI.validate_property(AddressSpace, Symbol("addressPrefixes"), addressPrefixes) - return new(addressPrefixes, ) + function AddressSpace(addressPrefixes, ipamPoolPrefixAllocations, ) + o = new(addressPrefixes, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type AddressSpace -const _property_types_AddressSpace = Dict{Symbol,String}(Symbol("addressPrefixes")=>"Vector{String}", ) +const _property_types_AddressSpace = Dict{Symbol,String}(Symbol("addressPrefixes")=>"Vector{String}", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ AddressSpace }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AddressSpace[name]))} -function check_required(o::AddressSpace) +function OpenAPI.check_required(o::AddressSpace) true end +function OpenAPI.validate_properties(o::AddressSpace) + OpenAPI.validate_property(AddressSpace, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(AddressSpace, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ AddressSpace }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPool.jl b/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_CloudError.jl b/src/Network/VirtualNetworkClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_CloudError.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_CloudErrorBody.jl b/src/Network/VirtualNetworkClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_DdosSettings.jl b/src/Network/VirtualNetworkClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_DdosSettings.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_Delegation.jl b/src/Network/VirtualNetworkClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_Delegation.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_Delegation2.jl b/src/Network/VirtualNetworkClient/src/models/model_Delegation2.jl index 87cdc8e..dd5bc07 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_Delegation2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_Delegation2.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat2 - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation2 <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat2 } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation2(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation2, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation2, Symbol("name"), name) - OpenAPI.validate_property(Delegation2, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation2, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation2(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation2 -const _property_types_Delegation2 = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation2 = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation2[name]))} -function check_required(o::Delegation2) +function OpenAPI.check_required(o::Delegation2) true end +function OpenAPI.validate_properties(o::Delegation2) + OpenAPI.validate_property(Delegation2, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation2, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation2, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation2, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_DhcpOptions.jl b/src/Network/VirtualNetworkClient/src/models/model_DhcpOptions.jl index 96d9116..8ed78fa 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_DhcpOptions.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_DhcpOptions.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct DhcpOptions <: OpenAPI.APIModel dnsServers::Union{Nothing, Vector{String}} = nothing function DhcpOptions(dnsServers, ) - OpenAPI.validate_property(DhcpOptions, Symbol("dnsServers"), dnsServers) - return new(dnsServers, ) + o = new(dnsServers, ) + OpenAPI.validate_properties(o) + return o end end # type DhcpOptions const _property_types_DhcpOptions = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", ) OpenAPI.property_type(::Type{ DhcpOptions }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DhcpOptions[name]))} -function check_required(o::DhcpOptions) +function OpenAPI.check_required(o::DhcpOptions) true end +function OpenAPI.validate_properties(o::DhcpOptions) + OpenAPI.validate_property(DhcpOptions, Symbol("dnsServers"), o.dnsServers) +end + function OpenAPI.validate_property(::Type{ DhcpOptions }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ExtendedLocation.jl b/src/Network/VirtualNetworkClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ExtendedLocationType.jl b/src/Network/VirtualNetworkClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_FlowLog.jl b/src/Network/VirtualNetworkClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_FlowLog.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/VirtualNetworkClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/VirtualNetworkClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 2385c38..103fb56 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet2 - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet2 } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet2", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet2", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/VirtualNetworkClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IPAddressAvailabilityResult.jl b/src/Network/VirtualNetworkClient/src/models/model_IPAddressAvailabilityResult.jl index f281ebe..1f2f116 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_IPAddressAvailabilityResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_IPAddressAvailabilityResult.jl @@ -8,28 +8,40 @@ Response for CheckIPAddressAvailability API service call. IPAddressAvailabilityResult(; available=nothing, availableIPAddresses=nothing, + isPlatformReserved=nothing, ) - available::Bool : Private IP address availability. - availableIPAddresses::Vector{String} : Contains other available private IP addresses if the asked for address is taken. + - isPlatformReserved::Bool : Private IP address platform reserved. """ Base.@kwdef mutable struct IPAddressAvailabilityResult <: OpenAPI.APIModel available::Union{Nothing, Bool} = nothing availableIPAddresses::Union{Nothing, Vector{String}} = nothing + isPlatformReserved::Union{Nothing, Bool} = nothing - function IPAddressAvailabilityResult(available, availableIPAddresses, ) - OpenAPI.validate_property(IPAddressAvailabilityResult, Symbol("available"), available) - OpenAPI.validate_property(IPAddressAvailabilityResult, Symbol("availableIPAddresses"), availableIPAddresses) - return new(available, availableIPAddresses, ) + function IPAddressAvailabilityResult(available, availableIPAddresses, isPlatformReserved, ) + o = new(available, availableIPAddresses, isPlatformReserved, ) + OpenAPI.validate_properties(o) + return o end end # type IPAddressAvailabilityResult -const _property_types_IPAddressAvailabilityResult = Dict{Symbol,String}(Symbol("available")=>"Bool", Symbol("availableIPAddresses")=>"Vector{String}", ) +const _property_types_IPAddressAvailabilityResult = Dict{Symbol,String}(Symbol("available")=>"Bool", Symbol("availableIPAddresses")=>"Vector{String}", Symbol("isPlatformReserved")=>"Bool", ) OpenAPI.property_type(::Type{ IPAddressAvailabilityResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPAddressAvailabilityResult[name]))} -function check_required(o::IPAddressAvailabilityResult) +function OpenAPI.check_required(o::IPAddressAvailabilityResult) true end +function OpenAPI.validate_properties(o::IPAddressAvailabilityResult) + OpenAPI.validate_property(IPAddressAvailabilityResult, Symbol("available"), o.available) + OpenAPI.validate_property(IPAddressAvailabilityResult, Symbol("availableIPAddresses"), o.availableIPAddresses) + OpenAPI.validate_property(IPAddressAvailabilityResult, Symbol("isPlatformReserved"), o.isPlatformReserved) +end + function OpenAPI.validate_property(::Type{ IPAddressAvailabilityResult }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IPConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_IPConfiguration.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfile.jl b/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index 9f83bd6..f50eae5 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet2", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationPropertiesFormat.jl index 9641e2d..4a7e4a1 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet2", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_InboundNatRule.jl b/src/Network/VirtualNetworkClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_InboundNatRule.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IpTag.jl b/src/Network/VirtualNetworkClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_IpTag.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocation2.jl b/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocation2.jl new file mode 100644 index 0000000..b0a9005 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocation2.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_2 +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation2(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation2 <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation2(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation2 + +const _property_types_IpamPoolPrefixAllocation2 = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation2[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation2) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation2) + OpenAPI.validate_property(IpamPoolPrefixAllocation2, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation2, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation2, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation2 }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/VirtualNetworkClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/VirtualNetworkClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NatGateway.jl b/src/Network/VirtualNetworkClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NatGatewaySku.jl b/src/Network/VirtualNetworkClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NatRulePortMapping.jl b/src/Network/VirtualNetworkClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicy.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicy.jl index e5c4557..468416c 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicy.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicy.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct NetworkIntentPolicy <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkIntentPolicy(etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkIntentPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkIntentPolicy, Symbol("id"), id) - OpenAPI.validate_property(NetworkIntentPolicy, Symbol("name"), name) - OpenAPI.validate_property(NetworkIntentPolicy, Symbol("type"), type) - OpenAPI.validate_property(NetworkIntentPolicy, Symbol("location"), location) - OpenAPI.validate_property(NetworkIntentPolicy, Symbol("tags"), tags) - return new(etag, id, name, type, location, tags, ) + o = new(etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkIntentPolicy const _property_types_NetworkIntentPolicy = Dict{Symbol,String}(Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkIntentPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkIntentPolicy[name]))} -function check_required(o::NetworkIntentPolicy) +function OpenAPI.check_required(o::NetworkIntentPolicy) true end +function OpenAPI.validate_properties(o::NetworkIntentPolicy) + OpenAPI.validate_property(NetworkIntentPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkIntentPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkIntentPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkIntentPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkIntentPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkIntentPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkIntentPolicy }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicyConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicyConfiguration.jl index 6cded1d..5f974bf 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicyConfiguration.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkIntentPolicyConfiguration.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkIntentPolicyConfiguration <: OpenAPI.APIModel sourceNetworkIntentPolicy = nothing # spec type: Union{ Nothing, NetworkIntentPolicy } function NetworkIntentPolicyConfiguration(networkIntentPolicyName, sourceNetworkIntentPolicy, ) - OpenAPI.validate_property(NetworkIntentPolicyConfiguration, Symbol("networkIntentPolicyName"), networkIntentPolicyName) - OpenAPI.validate_property(NetworkIntentPolicyConfiguration, Symbol("sourceNetworkIntentPolicy"), sourceNetworkIntentPolicy) - return new(networkIntentPolicyName, sourceNetworkIntentPolicy, ) + o = new(networkIntentPolicyName, sourceNetworkIntentPolicy, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkIntentPolicyConfiguration const _property_types_NetworkIntentPolicyConfiguration = Dict{Symbol,String}(Symbol("networkIntentPolicyName")=>"String", Symbol("sourceNetworkIntentPolicy")=>"NetworkIntentPolicy", ) OpenAPI.property_type(::Type{ NetworkIntentPolicyConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkIntentPolicyConfiguration[name]))} -function check_required(o::NetworkIntentPolicyConfiguration) +function OpenAPI.check_required(o::NetworkIntentPolicyConfiguration) true end +function OpenAPI.validate_properties(o::NetworkIntentPolicyConfiguration) + OpenAPI.validate_property(NetworkIntentPolicyConfiguration, Symbol("networkIntentPolicyName"), o.networkIntentPolicyName) + OpenAPI.validate_property(NetworkIntentPolicyConfiguration, Symbol("sourceNetworkIntentPolicy"), o.sourceNetworkIntentPolicy) +end + function OpenAPI.validate_property(::Type{ NetworkIntentPolicyConfiguration }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterface.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterface.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 0909a13..10bae79 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet2 @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet2 } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet2", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet2", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0610e7a..4a7546e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet2}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet2}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrepareNetworkPoliciesRequest.jl b/src/Network/VirtualNetworkClient/src/models/model_PrepareNetworkPoliciesRequest.jl index 1b42346..890fe30 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PrepareNetworkPoliciesRequest.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PrepareNetworkPoliciesRequest.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct PrepareNetworkPoliciesRequest <: OpenAPI.APIModel networkIntentPolicyConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkIntentPolicyConfiguration} } function PrepareNetworkPoliciesRequest(serviceName, networkIntentPolicyConfigurations, ) - OpenAPI.validate_property(PrepareNetworkPoliciesRequest, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(PrepareNetworkPoliciesRequest, Symbol("networkIntentPolicyConfigurations"), networkIntentPolicyConfigurations) - return new(serviceName, networkIntentPolicyConfigurations, ) + o = new(serviceName, networkIntentPolicyConfigurations, ) + OpenAPI.validate_properties(o) + return o end end # type PrepareNetworkPoliciesRequest const _property_types_PrepareNetworkPoliciesRequest = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("networkIntentPolicyConfigurations")=>"Vector{NetworkIntentPolicyConfiguration}", ) OpenAPI.property_type(::Type{ PrepareNetworkPoliciesRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrepareNetworkPoliciesRequest[name]))} -function check_required(o::PrepareNetworkPoliciesRequest) +function OpenAPI.check_required(o::PrepareNetworkPoliciesRequest) true end +function OpenAPI.validate_properties(o::PrepareNetworkPoliciesRequest) + OpenAPI.validate_property(PrepareNetworkPoliciesRequest, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(PrepareNetworkPoliciesRequest, Symbol("networkIntentPolicyConfigurations"), o.networkIntentPolicyConfigurations) +end + function OpenAPI.validate_property(::Type{ PrepareNetworkPoliciesRequest }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpoint.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointProperties.jl index 737d419..3629aef 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet2 @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet2 } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet2", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet2", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointVNetPolicies.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointVNetPolicies.jl new file mode 100644 index 0000000..80a064d --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateEndpointVNetPolicies.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :PrivateEndpointVNetPolicies) + const PrivateEndpointVNetPolicies = String +else + @warn("Skipping redefinition of PrivateEndpointVNetPolicies to String") +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkService.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..4151c50 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet2 + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet2 } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet2", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..f0c3f6f --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddress.jl b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressSku.jl b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_PublicIpDdosProtectionStatusResult.jl b/src/Network/VirtualNetworkClient/src/models/model_PublicIpDdosProtectionStatusResult.jl new file mode 100644 index 0000000..9491208 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_PublicIpDdosProtectionStatusResult.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PublicIpDdosProtectionStatusResult +Response for GetPublicIpAddressDdosProtectionStatusOperation API service call. + + PublicIpDdosProtectionStatusResult(; + publicIpAddressId=nothing, + publicIpAddress=nothing, + isWorkloadProtected=nothing, + ddosProtectionPlanId=nothing, + ) + + - publicIpAddressId::String : Public IP ARM resource ID + - publicIpAddress::String : IP Address of the Public IP Resource + - isWorkloadProtected::String : Value indicating whether the IP address is DDoS workload protected or not. + - ddosProtectionPlanId::String : DDoS protection plan Resource Id of a if IP address is protected through a plan. +""" +Base.@kwdef mutable struct PublicIpDdosProtectionStatusResult <: OpenAPI.APIModel + publicIpAddressId::Union{Nothing, String} = nothing + publicIpAddress::Union{Nothing, String} = nothing + isWorkloadProtected::Union{Nothing, String} = nothing + ddosProtectionPlanId::Union{Nothing, String} = nothing + + function PublicIpDdosProtectionStatusResult(publicIpAddressId, publicIpAddress, isWorkloadProtected, ddosProtectionPlanId, ) + o = new(publicIpAddressId, publicIpAddress, isWorkloadProtected, ddosProtectionPlanId, ) + OpenAPI.validate_properties(o) + return o + end +end # type PublicIpDdosProtectionStatusResult + +const _property_types_PublicIpDdosProtectionStatusResult = Dict{Symbol,String}(Symbol("publicIpAddressId")=>"String", Symbol("publicIpAddress")=>"String", Symbol("isWorkloadProtected")=>"String", Symbol("ddosProtectionPlanId")=>"String", ) +OpenAPI.property_type(::Type{ PublicIpDdosProtectionStatusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIpDdosProtectionStatusResult[name]))} + +function OpenAPI.check_required(o::PublicIpDdosProtectionStatusResult) + true +end + +function OpenAPI.validate_properties(o::PublicIpDdosProtectionStatusResult) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("publicIpAddressId"), o.publicIpAddressId) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("publicIpAddress"), o.publicIpAddress) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("isWorkloadProtected"), o.isWorkloadProtected) + OpenAPI.validate_property(PublicIpDdosProtectionStatusResult, Symbol("ddosProtectionPlanId"), o.ddosProtectionPlanId) +end + +function OpenAPI.validate_property(::Type{ PublicIpDdosProtectionStatusResult }, name::Symbol, val) + + + + if name === Symbol("isWorkloadProtected") + OpenAPI.validate_param(name, "PublicIpDdosProtectionStatusResult", :enum, val, ["False", "True"]) + end + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_Resource.jl b/src/Network/VirtualNetworkClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_Resource.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink.jl b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink2.jl b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink2.jl index 1524bc2..98ba3bf 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLink2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink2 <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink2(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink2, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink2, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink2, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink2, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink2, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink2 const _property_types_ResourceNavigationLink2 = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat2", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink2[name]))} -function check_required(o::ResourceNavigationLink2) +function OpenAPI.check_required(o::ResourceNavigationLink2) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink2) + OpenAPI.validate_property(ResourceNavigationLink2, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink2, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink2, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink2, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink2, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat2.jl b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat2.jl index bf2acd0..3f7a17f 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinkFormat2.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat2 <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat2(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat2, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat2, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat2, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat2 const _property_types_ResourceNavigationLinkFormat2 = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat2[name]))} -function check_required(o::ResourceNavigationLinkFormat2) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat2) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat2) + OpenAPI.validate_property(ResourceNavigationLinkFormat2, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat2, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat2 }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinksListResult.jl b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinksListResult.jl index 2869568..184a636 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinksListResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ResourceNavigationLinksListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ResourceNavigationLinksListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ResourceNavigationLinksListResult(value, nextLink, ) - OpenAPI.validate_property(ResourceNavigationLinksListResult, Symbol("value"), value) - OpenAPI.validate_property(ResourceNavigationLinksListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinksListResult const _property_types_ResourceNavigationLinksListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ResourceNavigationLink}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLinksListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinksListResult[name]))} -function check_required(o::ResourceNavigationLinksListResult) +function OpenAPI.check_required(o::ResourceNavigationLinksListResult) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinksListResult) + OpenAPI.validate_property(ResourceNavigationLinksListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ResourceNavigationLinksListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinksListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ResourceSet.jl b/src/Network/VirtualNetworkClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/VirtualNetworkClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_Route.jl b/src/Network/VirtualNetworkClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_Route.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_RouteTable.jl b/src/Network/VirtualNetworkClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_RouteTable.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_RouteTablePropertiesFormat.jl index 6b6df24..3c7251e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet2} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet2} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet2}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet2}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_SecurityRule.jl b/src/Network/VirtualNetworkClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_SecurityRule.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink2.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink2.jl index ba6eeb0..33de53a 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLink2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink2 <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink2(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink2, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink2, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink2, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink2, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink2, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink2 const _property_types_ServiceAssociationLink2 = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink2[name]))} -function check_required(o::ServiceAssociationLink2) +function OpenAPI.check_required(o::ServiceAssociationLink2) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink2) + OpenAPI.validate_property(ServiceAssociationLink2, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink2, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink2, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink2, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat2.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat2.jl index c2dca7a..bae2cb5 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinkPropertiesFormat2.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat2 <: OpenAPI.AP locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat2(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat2 const _property_types_ServiceAssociationLinkPropertiesFormat2 = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat2[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat2) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat2) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat2) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat2, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinksListResult.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinksListResult.jl index d711a9b..0d3d2cd 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinksListResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceAssociationLinksListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ServiceAssociationLinksListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ServiceAssociationLinksListResult(value, nextLink, ) - OpenAPI.validate_property(ServiceAssociationLinksListResult, Symbol("value"), value) - OpenAPI.validate_property(ServiceAssociationLinksListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinksListResult const _property_types_ServiceAssociationLinksListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ServiceAssociationLink}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLinksListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinksListResult[name]))} -function check_required(o::ServiceAssociationLinksListResult) +function OpenAPI.check_required(o::ServiceAssociationLinksListResult) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinksListResult) + OpenAPI.validate_property(ServiceAssociationLinksListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ServiceAssociationLinksListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinksListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat2.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat2.jl index e7ed1c9..c31a4d4 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceDelegationPropertiesFormat2.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat2 <: OpenAPI.APIMode provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat2(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat2, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat2, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat2 const _property_types_ServiceDelegationPropertiesFormat2 = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat2[name]))} -function check_required(o::ServiceDelegationPropertiesFormat2) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat2) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat2) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat2, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat2, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat2 }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 8a4991d..a85041f 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet2} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet2} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet2}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet2}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat2.jl b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat2.jl index ea2e8bc..378e638 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_ServiceEndpointPropertiesFormat2.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat2(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat2 <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat2(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat2(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat2 -const _property_types_ServiceEndpointPropertiesFormat2 = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat2 = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat2[name]))} -function check_required(o::ServiceEndpointPropertiesFormat2) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat2) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat2) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat2 }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_SubResource.jl b/src/Network/VirtualNetworkClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_SubResource.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_Subnet.jl b/src/Network/VirtualNetworkClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_Subnet.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_Subnet2.jl b/src/Network/VirtualNetworkClient/src/models/model_Subnet2.jl index 6e91454..fdcbeea 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_Subnet2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_Subnet2.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat2 - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet2 <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat2 } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet2(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet2, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet2, Symbol("name"), name) - OpenAPI.validate_property(Subnet2, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet2, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet2(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet2 -const _property_types_Subnet2 = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet2 = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat2", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet2[name]))} -function check_required(o::Subnet2) +function OpenAPI.check_required(o::Subnet2) true end +function OpenAPI.validate_properties(o::Subnet2) + OpenAPI.validate_property(Subnet2, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet2, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet2, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet2, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet2, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet2 }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_SubnetListResult.jl b/src/Network/VirtualNetworkClient/src/models/model_SubnetListResult.jl index ef04d06..ac3e7f4 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_SubnetListResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_SubnetListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct SubnetListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function SubnetListResult(value, nextLink, ) - OpenAPI.validate_property(SubnetListResult, Symbol("value"), value) - OpenAPI.validate_property(SubnetListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetListResult const _property_types_SubnetListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Subnet}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ SubnetListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetListResult[name]))} -function check_required(o::SubnetListResult) +function OpenAPI.check_required(o::SubnetListResult) true end +function OpenAPI.validate_properties(o::SubnetListResult) + OpenAPI.validate_property(SubnetListResult, Symbol("value"), o.value) + OpenAPI.validate_property(SubnetListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ SubnetListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat.jl index 27b81fb..9a56139 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat2.jl b/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat2.jl index d55db6c..8242b41 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat2.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_SubnetPropertiesFormat2.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation2} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat2 <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat2 <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation2} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat2(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation2} } + + function SubnetPropertiesFormat2(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat2 -const _property_types_SubnetPropertiesFormat2 = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat2}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink2}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink2}", Symbol("delegations")=>"Vector{Delegation2}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat2 = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat2}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink2}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink2}", Symbol("delegations")=>"Vector{Delegation2}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation2}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat2[name]))} -function check_required(o::SubnetPropertiesFormat2) +function OpenAPI.check_required(o::SubnetPropertiesFormat2) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat2) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat2, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat2 }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat2", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat2", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat2", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_TagsObject.jl b/src/Network/VirtualNetworkClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_TagsObject.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_UnprepareNetworkPoliciesRequest.jl b/src/Network/VirtualNetworkClient/src/models/model_UnprepareNetworkPoliciesRequest.jl index b790f96..9c63a03 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_UnprepareNetworkPoliciesRequest.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_UnprepareNetworkPoliciesRequest.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UnprepareNetworkPoliciesRequest <: OpenAPI.APIModel serviceName::Union{Nothing, String} = nothing function UnprepareNetworkPoliciesRequest(serviceName, ) - OpenAPI.validate_property(UnprepareNetworkPoliciesRequest, Symbol("serviceName"), serviceName) - return new(serviceName, ) + o = new(serviceName, ) + OpenAPI.validate_properties(o) + return o end end # type UnprepareNetworkPoliciesRequest const _property_types_UnprepareNetworkPoliciesRequest = Dict{Symbol,String}(Symbol("serviceName")=>"String", ) OpenAPI.property_type(::Type{ UnprepareNetworkPoliciesRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UnprepareNetworkPoliciesRequest[name]))} -function check_required(o::UnprepareNetworkPoliciesRequest) +function OpenAPI.check_required(o::UnprepareNetworkPoliciesRequest) true end +function OpenAPI.validate_properties(o::UnprepareNetworkPoliciesRequest) + OpenAPI.validate_property(UnprepareNetworkPoliciesRequest, Symbol("serviceName"), o.serviceName) +end + function OpenAPI.validate_property(::Type{ UnprepareNetworkPoliciesRequest }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetwork.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetwork.jl index 92fb8b1..42c8420 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetwork.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetwork.jl @@ -6,6 +6,7 @@ Virtual Network resource. VirtualNetwork(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Virtual Network resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::VirtualNetworkPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Virtual Network resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct VirtualNetwork <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, VirtualNetworkPropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct VirtualNetwork <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function VirtualNetwork(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetwork, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetwork, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetwork, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetwork, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetwork, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetwork, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetwork, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function VirtualNetwork(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetwork -const _property_types_VirtualNetwork = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_VirtualNetwork = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"VirtualNetworkPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetwork }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetwork[name]))} -function check_required(o::VirtualNetwork) +function OpenAPI.check_required(o::VirtualNetwork) true end +function OpenAPI.validate_properties(o::VirtualNetwork) + OpenAPI.validate_property(VirtualNetwork, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(VirtualNetwork, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetwork, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetwork, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetwork, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetwork, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetwork, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetwork, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetwork }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkBgpCommunities.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkBgpCommunities.jl index 09c08db..c398e82 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkBgpCommunities.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkBgpCommunities.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VirtualNetworkBgpCommunities <: OpenAPI.APIModel regionalCommunity::Union{Nothing, String} = nothing function VirtualNetworkBgpCommunities(virtualNetworkCommunity, regionalCommunity, ) - OpenAPI.validate_property(VirtualNetworkBgpCommunities, Symbol("virtualNetworkCommunity"), virtualNetworkCommunity) - OpenAPI.validate_property(VirtualNetworkBgpCommunities, Symbol("regionalCommunity"), regionalCommunity) - return new(virtualNetworkCommunity, regionalCommunity, ) + o = new(virtualNetworkCommunity, regionalCommunity, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkBgpCommunities const _property_types_VirtualNetworkBgpCommunities = Dict{Symbol,String}(Symbol("virtualNetworkCommunity")=>"String", Symbol("regionalCommunity")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkBgpCommunities }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkBgpCommunities[name]))} -function check_required(o::VirtualNetworkBgpCommunities) +function OpenAPI.check_required(o::VirtualNetworkBgpCommunities) o.virtualNetworkCommunity === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkBgpCommunities) + OpenAPI.validate_property(VirtualNetworkBgpCommunities, Symbol("virtualNetworkCommunity"), o.virtualNetworkCommunity) + OpenAPI.validate_property(VirtualNetworkBgpCommunities, Symbol("regionalCommunity"), o.regionalCommunity) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkBgpCommunities }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkDdosProtectionStatusResult.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkDdosProtectionStatusResult.jl new file mode 100644 index 0000000..57ebbe6 --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkDdosProtectionStatusResult.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkDdosProtectionStatusResult +Response for GetVirtualNetworkDdosProtectionStatusOperation. + + VirtualNetworkDdosProtectionStatusResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{PublicIpDdosProtectionStatusResult} : The Ddos Protection Status Result for each public ip under a virtual network. + - nextLink::String : The URL to get the next set of results. +""" +Base.@kwdef mutable struct VirtualNetworkDdosProtectionStatusResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PublicIpDdosProtectionStatusResult} } + nextLink::Union{Nothing, String} = nothing + + function VirtualNetworkDdosProtectionStatusResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkDdosProtectionStatusResult + +const _property_types_VirtualNetworkDdosProtectionStatusResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PublicIpDdosProtectionStatusResult}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkDdosProtectionStatusResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkDdosProtectionStatusResult[name]))} + +function OpenAPI.check_required(o::VirtualNetworkDdosProtectionStatusResult) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkDdosProtectionStatusResult) + OpenAPI.validate_property(VirtualNetworkDdosProtectionStatusResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkDdosProtectionStatusResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkDdosProtectionStatusResult }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkEncryption.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkEncryption.jl new file mode 100644 index 0000000..868ddfc --- /dev/null +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkEncryption.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkEncryption +Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet. + + VirtualNetworkEncryption(; + enabled=nothing, + enforcement=nothing, + ) + + - enabled::Bool : Indicates if encryption is enabled on the virtual network. + - enforcement::String : If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability. +""" +Base.@kwdef mutable struct VirtualNetworkEncryption <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + enforcement::Union{Nothing, String} = nothing + + function VirtualNetworkEncryption(enabled, enforcement, ) + o = new(enabled, enforcement, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkEncryption + +const _property_types_VirtualNetworkEncryption = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("enforcement")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkEncryption }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkEncryption[name]))} + +function OpenAPI.check_required(o::VirtualNetworkEncryption) + o.enabled === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkEncryption) + OpenAPI.validate_property(VirtualNetworkEncryption, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(VirtualNetworkEncryption, Symbol("enforcement"), o.enforcement) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkEncryption }, name::Symbol, val) + + + if name === Symbol("enforcement") + OpenAPI.validate_param(name, "VirtualNetworkEncryption", :enum, val, ["DropUnencrypted", "AllowUnencrypted"]) + end + +end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListResult.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListResult.jl index fb49580..658647a 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualNetworkListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkListResult const _property_types_VirtualNetworkListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetwork}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkListResult[name]))} -function check_required(o::VirtualNetworkListResult) +function OpenAPI.check_required(o::VirtualNetworkListResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkListResult) + OpenAPI.validate_property(VirtualNetworkListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListUsageResult.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListUsageResult.jl index 366ec11..0497acf 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListUsageResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkListUsageResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkListUsageResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualNetworkListUsageResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkListUsageResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkListUsageResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkListUsageResult const _property_types_VirtualNetworkListUsageResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkUsage}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkListUsageResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkListUsageResult[name]))} -function check_required(o::VirtualNetworkListUsageResult) +function OpenAPI.check_required(o::VirtualNetworkListUsageResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkListUsageResult) + OpenAPI.validate_property(VirtualNetworkListUsageResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkListUsageResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkListUsageResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeering.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeering.jl index ba08751..2528495 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeering.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeering.jl @@ -9,35 +9,49 @@ Peerings in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::VirtualNetworkPeeringPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct VirtualNetworkPeering <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, VirtualNetworkPeeringPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function VirtualNetworkPeering(properties, name, etag, id, ) - OpenAPI.validate_property(VirtualNetworkPeering, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkPeering, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkPeering, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkPeering, Symbol("id"), id) - return new(properties, name, etag, id, ) + function VirtualNetworkPeering(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkPeering -const _property_types_VirtualNetworkPeering = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkPeeringPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_VirtualNetworkPeering = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkPeeringPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkPeering }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkPeering[name]))} -function check_required(o::VirtualNetworkPeering) +function OpenAPI.check_required(o::VirtualNetworkPeering) true end +function OpenAPI.validate_properties(o::VirtualNetworkPeering) + OpenAPI.validate_property(VirtualNetworkPeering, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkPeering, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkPeering, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkPeering, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkPeering, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkPeering }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringListResult.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringListResult.jl index 95036a4..be04b80 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringListResult.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkPeeringListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualNetworkPeeringListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkPeeringListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkPeeringListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkPeeringListResult const _property_types_VirtualNetworkPeeringListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkPeering}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkPeeringListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkPeeringListResult[name]))} -function check_required(o::VirtualNetworkPeeringListResult) +function OpenAPI.check_required(o::VirtualNetworkPeeringListResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkPeeringListResult) + OpenAPI.validate_property(VirtualNetworkPeeringListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkPeeringListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkPeeringListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringPropertiesFormat.jl index 323fa7a..cda3404 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPeeringPropertiesFormat.jl @@ -11,9 +11,21 @@ Properties of the virtual network peering. allowGatewayTransit=nothing, useRemoteGateways=nothing, remoteVirtualNetwork=nothing, + localAddressSpace=nothing, + localVirtualNetworkAddressSpace=nothing, remoteAddressSpace=nothing, + remoteVirtualNetworkAddressSpace=nothing, + remoteBgpCommunities=nothing, + remoteVirtualNetworkEncryption=nothing, peeringState=nothing, + peeringSyncLevel=nothing, provisioningState=nothing, + doNotVerifyRemoteGateways=nothing, + resourceGuid=nothing, + peerCompleteVnets=nothing, + enableOnlyIPv6Peering=nothing, + localSubnetNames=nothing, + remoteSubnetNames=nothing, ) - allowVirtualNetworkAccess::Bool : Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. @@ -21,9 +33,21 @@ Properties of the virtual network peering. - allowGatewayTransit::Bool : If gateway links can be used in remote virtual networking to link to this virtual network. - useRemoteGateways::Bool : If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway. - remoteVirtualNetwork::SubResource + - localAddressSpace::AddressSpace + - localVirtualNetworkAddressSpace::AddressSpace - remoteAddressSpace::AddressSpace + - remoteVirtualNetworkAddressSpace::AddressSpace + - remoteBgpCommunities::VirtualNetworkBgpCommunities + - remoteVirtualNetworkEncryption::VirtualNetworkEncryption - peeringState::String : The status of the virtual network peering. + - peeringSyncLevel::String : The peering sync status of the virtual network peering. - provisioningState::ProvisioningState + - doNotVerifyRemoteGateways::Bool : If we need to verify the provisioning state of the remote gateway. + - resourceGuid::String : The resourceGuid property of the Virtual Network peering resource. + - peerCompleteVnets::Bool : Whether complete virtual network address space is peered. + - enableOnlyIPv6Peering::Bool : Whether only Ipv6 address space is peered for subnet peering. + - localSubnetNames::Vector{String} : List of local subnet names that are subnet peered with remote virtual network. + - remoteSubnetNames::Vector{String} : List of remote subnet names from remote virtual network that are subnet peered. """ Base.@kwdef mutable struct VirtualNetworkPeeringPropertiesFormat <: OpenAPI.APIModel allowVirtualNetworkAccess::Union{Nothing, Bool} = nothing @@ -31,32 +55,86 @@ Base.@kwdef mutable struct VirtualNetworkPeeringPropertiesFormat <: OpenAPI.APIM allowGatewayTransit::Union{Nothing, Bool} = nothing useRemoteGateways::Union{Nothing, Bool} = nothing remoteVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + localAddressSpace = nothing # spec type: Union{ Nothing, AddressSpace } + localVirtualNetworkAddressSpace = nothing # spec type: Union{ Nothing, AddressSpace } remoteAddressSpace = nothing # spec type: Union{ Nothing, AddressSpace } + remoteVirtualNetworkAddressSpace = nothing # spec type: Union{ Nothing, AddressSpace } + remoteBgpCommunities = nothing # spec type: Union{ Nothing, VirtualNetworkBgpCommunities } + remoteVirtualNetworkEncryption = nothing # spec type: Union{ Nothing, VirtualNetworkEncryption } peeringState::Union{Nothing, String} = nothing + peeringSyncLevel::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + doNotVerifyRemoteGateways::Union{Nothing, Bool} = nothing + resourceGuid::Union{Nothing, String} = nothing + peerCompleteVnets::Union{Nothing, Bool} = nothing + enableOnlyIPv6Peering::Union{Nothing, Bool} = nothing + localSubnetNames::Union{Nothing, Vector{String}} = nothing + remoteSubnetNames::Union{Nothing, Vector{String}} = nothing - function VirtualNetworkPeeringPropertiesFormat(allowVirtualNetworkAccess, allowForwardedTraffic, allowGatewayTransit, useRemoteGateways, remoteVirtualNetwork, remoteAddressSpace, peeringState, provisioningState, ) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("allowVirtualNetworkAccess"), allowVirtualNetworkAccess) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("allowForwardedTraffic"), allowForwardedTraffic) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("allowGatewayTransit"), allowGatewayTransit) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("useRemoteGateways"), useRemoteGateways) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteVirtualNetwork"), remoteVirtualNetwork) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteAddressSpace"), remoteAddressSpace) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("peeringState"), peeringState) - OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(allowVirtualNetworkAccess, allowForwardedTraffic, allowGatewayTransit, useRemoteGateways, remoteVirtualNetwork, remoteAddressSpace, peeringState, provisioningState, ) + function VirtualNetworkPeeringPropertiesFormat(allowVirtualNetworkAccess, allowForwardedTraffic, allowGatewayTransit, useRemoteGateways, remoteVirtualNetwork, localAddressSpace, localVirtualNetworkAddressSpace, remoteAddressSpace, remoteVirtualNetworkAddressSpace, remoteBgpCommunities, remoteVirtualNetworkEncryption, peeringState, peeringSyncLevel, provisioningState, doNotVerifyRemoteGateways, resourceGuid, peerCompleteVnets, enableOnlyIPv6Peering, localSubnetNames, remoteSubnetNames, ) + o = new(allowVirtualNetworkAccess, allowForwardedTraffic, allowGatewayTransit, useRemoteGateways, remoteVirtualNetwork, localAddressSpace, localVirtualNetworkAddressSpace, remoteAddressSpace, remoteVirtualNetworkAddressSpace, remoteBgpCommunities, remoteVirtualNetworkEncryption, peeringState, peeringSyncLevel, provisioningState, doNotVerifyRemoteGateways, resourceGuid, peerCompleteVnets, enableOnlyIPv6Peering, localSubnetNames, remoteSubnetNames, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkPeeringPropertiesFormat -const _property_types_VirtualNetworkPeeringPropertiesFormat = Dict{Symbol,String}(Symbol("allowVirtualNetworkAccess")=>"Bool", Symbol("allowForwardedTraffic")=>"Bool", Symbol("allowGatewayTransit")=>"Bool", Symbol("useRemoteGateways")=>"Bool", Symbol("remoteVirtualNetwork")=>"SubResource", Symbol("remoteAddressSpace")=>"AddressSpace", Symbol("peeringState")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_VirtualNetworkPeeringPropertiesFormat = Dict{Symbol,String}(Symbol("allowVirtualNetworkAccess")=>"Bool", Symbol("allowForwardedTraffic")=>"Bool", Symbol("allowGatewayTransit")=>"Bool", Symbol("useRemoteGateways")=>"Bool", Symbol("remoteVirtualNetwork")=>"SubResource", Symbol("localAddressSpace")=>"AddressSpace", Symbol("localVirtualNetworkAddressSpace")=>"AddressSpace", Symbol("remoteAddressSpace")=>"AddressSpace", Symbol("remoteVirtualNetworkAddressSpace")=>"AddressSpace", Symbol("remoteBgpCommunities")=>"VirtualNetworkBgpCommunities", Symbol("remoteVirtualNetworkEncryption")=>"VirtualNetworkEncryption", Symbol("peeringState")=>"String", Symbol("peeringSyncLevel")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("doNotVerifyRemoteGateways")=>"Bool", Symbol("resourceGuid")=>"String", Symbol("peerCompleteVnets")=>"Bool", Symbol("enableOnlyIPv6Peering")=>"Bool", Symbol("localSubnetNames")=>"Vector{String}", Symbol("remoteSubnetNames")=>"Vector{String}", ) OpenAPI.property_type(::Type{ VirtualNetworkPeeringPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkPeeringPropertiesFormat[name]))} -function check_required(o::VirtualNetworkPeeringPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkPeeringPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkPeeringPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("allowVirtualNetworkAccess"), o.allowVirtualNetworkAccess) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("allowForwardedTraffic"), o.allowForwardedTraffic) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("allowGatewayTransit"), o.allowGatewayTransit) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("useRemoteGateways"), o.useRemoteGateways) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteVirtualNetwork"), o.remoteVirtualNetwork) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("localAddressSpace"), o.localAddressSpace) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("localVirtualNetworkAddressSpace"), o.localVirtualNetworkAddressSpace) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteAddressSpace"), o.remoteAddressSpace) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteVirtualNetworkAddressSpace"), o.remoteVirtualNetworkAddressSpace) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteBgpCommunities"), o.remoteBgpCommunities) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteVirtualNetworkEncryption"), o.remoteVirtualNetworkEncryption) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("peeringState"), o.peeringState) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("peeringSyncLevel"), o.peeringSyncLevel) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("doNotVerifyRemoteGateways"), o.doNotVerifyRemoteGateways) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("peerCompleteVnets"), o.peerCompleteVnets) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("enableOnlyIPv6Peering"), o.enableOnlyIPv6Peering) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("localSubnetNames"), o.localSubnetNames) + OpenAPI.validate_property(VirtualNetworkPeeringPropertiesFormat, Symbol("remoteSubnetNames"), o.remoteSubnetNames) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkPeeringPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + if name === Symbol("peeringState") OpenAPI.validate_param(name, "VirtualNetworkPeeringPropertiesFormat", :enum, val, ["Initiated", "Connected", "Disconnected"]) end + + + if name === Symbol("peeringSyncLevel") + OpenAPI.validate_param(name, "VirtualNetworkPeeringPropertiesFormat", :enum, val, ["FullyInSync", "RemoteNotInSync", "LocalNotInSync", "LocalAndRemoteNotInSync"]) + end + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPropertiesFormat.jl index 2b4f01f..36cd4da 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkPropertiesFormat.jl @@ -8,6 +8,7 @@ Properties of the virtual network. VirtualNetworkPropertiesFormat(; addressSpace=nothing, dhcpOptions=nothing, + flowTimeoutInMinutes=nothing, subnets=nothing, virtualNetworkPeerings=nothing, resourceGuid=nothing, @@ -16,11 +17,16 @@ Properties of the virtual network. enableVmProtection=false, ddosProtectionPlan=nothing, bgpCommunities=nothing, + encryption=nothing, ipAllocations=nothing, + flowLogs=nothing, + privateEndpointVNetPolicies=nothing, + defaultPublicNatGateway=nothing, ) - addressSpace::AddressSpace - dhcpOptions::DhcpOptions + - flowTimeoutInMinutes::Int64 : The FlowTimeout value (in minutes) for the Virtual Network - subnets::Vector{Subnet} : A list of subnets in a Virtual Network. - virtualNetworkPeerings::Vector{VirtualNetworkPeering} : A list of peerings in a Virtual Network. - resourceGuid::String : The resourceGuid property of the Virtual Network resource. @@ -29,11 +35,16 @@ Properties of the virtual network. - enableVmProtection::Bool : Indicates if VM protection is enabled for all the subnets in the virtual network. - ddosProtectionPlan::SubResource - bgpCommunities::VirtualNetworkBgpCommunities + - encryption::VirtualNetworkEncryption - ipAllocations::Vector{SubResource} : Array of IpAllocation which reference this VNET. + - flowLogs::Vector{FlowLog} : A collection of references to flow log resources. + - privateEndpointVNetPolicies::PrivateEndpointVNetPolicies + - defaultPublicNatGateway::SubResource """ Base.@kwdef mutable struct VirtualNetworkPropertiesFormat <: OpenAPI.APIModel addressSpace = nothing # spec type: Union{ Nothing, AddressSpace } dhcpOptions = nothing # spec type: Union{ Nothing, DhcpOptions } + flowTimeoutInMinutes::Union{Nothing, Int64} = nothing subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } virtualNetworkPeerings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkPeering} } resourceGuid::Union{Nothing, String} = nothing @@ -42,30 +53,63 @@ Base.@kwdef mutable struct VirtualNetworkPropertiesFormat <: OpenAPI.APIModel enableVmProtection::Union{Nothing, Bool} = false ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } bgpCommunities = nothing # spec type: Union{ Nothing, VirtualNetworkBgpCommunities } + encryption = nothing # spec type: Union{ Nothing, VirtualNetworkEncryption } ipAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + flowLogs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FlowLog} } + privateEndpointVNetPolicies = nothing # spec type: Union{ Nothing, PrivateEndpointVNetPolicies } + defaultPublicNatGateway = nothing # spec type: Union{ Nothing, SubResource } - function VirtualNetworkPropertiesFormat(addressSpace, dhcpOptions, subnets, virtualNetworkPeerings, resourceGuid, provisioningState, enableDdosProtection, enableVmProtection, ddosProtectionPlan, bgpCommunities, ipAllocations, ) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("addressSpace"), addressSpace) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("dhcpOptions"), dhcpOptions) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("virtualNetworkPeerings"), virtualNetworkPeerings) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("enableDdosProtection"), enableDdosProtection) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("enableVmProtection"), enableVmProtection) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("ddosProtectionPlan"), ddosProtectionPlan) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("bgpCommunities"), bgpCommunities) - OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - return new(addressSpace, dhcpOptions, subnets, virtualNetworkPeerings, resourceGuid, provisioningState, enableDdosProtection, enableVmProtection, ddosProtectionPlan, bgpCommunities, ipAllocations, ) + function VirtualNetworkPropertiesFormat(addressSpace, dhcpOptions, flowTimeoutInMinutes, subnets, virtualNetworkPeerings, resourceGuid, provisioningState, enableDdosProtection, enableVmProtection, ddosProtectionPlan, bgpCommunities, encryption, ipAllocations, flowLogs, privateEndpointVNetPolicies, defaultPublicNatGateway, ) + o = new(addressSpace, dhcpOptions, flowTimeoutInMinutes, subnets, virtualNetworkPeerings, resourceGuid, provisioningState, enableDdosProtection, enableVmProtection, ddosProtectionPlan, bgpCommunities, encryption, ipAllocations, flowLogs, privateEndpointVNetPolicies, defaultPublicNatGateway, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkPropertiesFormat -const _property_types_VirtualNetworkPropertiesFormat = Dict{Symbol,String}(Symbol("addressSpace")=>"AddressSpace", Symbol("dhcpOptions")=>"DhcpOptions", Symbol("subnets")=>"Vector{Subnet}", Symbol("virtualNetworkPeerings")=>"Vector{VirtualNetworkPeering}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("enableDdosProtection")=>"Bool", Symbol("enableVmProtection")=>"Bool", Symbol("ddosProtectionPlan")=>"SubResource", Symbol("bgpCommunities")=>"VirtualNetworkBgpCommunities", Symbol("ipAllocations")=>"Vector{SubResource}", ) +const _property_types_VirtualNetworkPropertiesFormat = Dict{Symbol,String}(Symbol("addressSpace")=>"AddressSpace", Symbol("dhcpOptions")=>"DhcpOptions", Symbol("flowTimeoutInMinutes")=>"Int64", Symbol("subnets")=>"Vector{Subnet}", Symbol("virtualNetworkPeerings")=>"Vector{VirtualNetworkPeering}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("enableDdosProtection")=>"Bool", Symbol("enableVmProtection")=>"Bool", Symbol("ddosProtectionPlan")=>"SubResource", Symbol("bgpCommunities")=>"VirtualNetworkBgpCommunities", Symbol("encryption")=>"VirtualNetworkEncryption", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("privateEndpointVNetPolicies")=>"PrivateEndpointVNetPolicies", Symbol("defaultPublicNatGateway")=>"SubResource", ) OpenAPI.property_type(::Type{ VirtualNetworkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkPropertiesFormat[name]))} -function check_required(o::VirtualNetworkPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("addressSpace"), o.addressSpace) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("dhcpOptions"), o.dhcpOptions) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("flowTimeoutInMinutes"), o.flowTimeoutInMinutes) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("virtualNetworkPeerings"), o.virtualNetworkPeerings) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("enableDdosProtection"), o.enableDdosProtection) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("enableVmProtection"), o.enableVmProtection) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("bgpCommunities"), o.bgpCommunities) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("encryption"), o.encryption) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("privateEndpointVNetPolicies"), o.privateEndpointVNetPolicies) + OpenAPI.validate_property(VirtualNetworkPropertiesFormat, Symbol("defaultPublicNatGateway"), o.defaultPublicNatGateway) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkPropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("flowTimeoutInMinutes") + OpenAPI.validate_param(name, "VirtualNetworkPropertiesFormat", :format, val, "int32") + end + + + + + + + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTap.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index b13a962..4588cfe 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsage.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsage.jl index 95d792e..f294ac5 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsage.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsage.jl @@ -27,27 +27,37 @@ Base.@kwdef mutable struct VirtualNetworkUsage <: OpenAPI.APIModel unit::Union{Nothing, String} = nothing function VirtualNetworkUsage(currentValue, id, limit, name, unit, ) - OpenAPI.validate_property(VirtualNetworkUsage, Symbol("currentValue"), currentValue) - OpenAPI.validate_property(VirtualNetworkUsage, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkUsage, Symbol("limit"), limit) - OpenAPI.validate_property(VirtualNetworkUsage, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkUsage, Symbol("unit"), unit) - return new(currentValue, id, limit, name, unit, ) + o = new(currentValue, id, limit, name, unit, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkUsage const _property_types_VirtualNetworkUsage = Dict{Symbol,String}(Symbol("currentValue")=>"Float64", Symbol("id")=>"String", Symbol("limit")=>"Float64", Symbol("name")=>"VirtualNetworkUsageName", Symbol("unit")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkUsage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkUsage[name]))} -function check_required(o::VirtualNetworkUsage) +function OpenAPI.check_required(o::VirtualNetworkUsage) true end +function OpenAPI.validate_properties(o::VirtualNetworkUsage) + OpenAPI.validate_property(VirtualNetworkUsage, Symbol("currentValue"), o.currentValue) + OpenAPI.validate_property(VirtualNetworkUsage, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkUsage, Symbol("limit"), o.limit) + OpenAPI.validate_property(VirtualNetworkUsage, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkUsage, Symbol("unit"), o.unit) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkUsage }, name::Symbol, val) + if name === Symbol("currentValue") OpenAPI.validate_param(name, "VirtualNetworkUsage", :format, val, "double") end + + if name === Symbol("limit") OpenAPI.validate_param(name, "VirtualNetworkUsage", :format, val, "double") end + + end diff --git a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsageName.jl b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsageName.jl index f8b08f2..7ffabb6 100644 --- a/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsageName.jl +++ b/src/Network/VirtualNetworkClient/src/models/model_VirtualNetworkUsageName.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkUsageName <: OpenAPI.APIModel value::Union{Nothing, String} = nothing function VirtualNetworkUsageName(localizedValue, value, ) - OpenAPI.validate_property(VirtualNetworkUsageName, Symbol("localizedValue"), localizedValue) - OpenAPI.validate_property(VirtualNetworkUsageName, Symbol("value"), value) - return new(localizedValue, value, ) + o = new(localizedValue, value, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkUsageName const _property_types_VirtualNetworkUsageName = Dict{Symbol,String}(Symbol("localizedValue")=>"String", Symbol("value")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkUsageName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkUsageName[name]))} -function check_required(o::VirtualNetworkUsageName) +function OpenAPI.check_required(o::VirtualNetworkUsageName) true end +function OpenAPI.validate_properties(o::VirtualNetworkUsageName) + OpenAPI.validate_property(VirtualNetworkUsageName, Symbol("localizedValue"), o.localizedValue) + OpenAPI.validate_property(VirtualNetworkUsageName, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkUsageName }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/.openapi-generator/FILES b/src/Network/VirtualNetworkGatewayClient/.openapi-generator/FILES index e951deb..97fdb88 100644 --- a/src/Network/VirtualNetworkGatewayClient/.openapi-generator/FILES +++ b/src/Network/VirtualNetworkGatewayClient/.openapi-generator/FILES @@ -5,53 +5,91 @@ docs/AuthenticationMethod.md docs/BgpPeerStatus.md docs/BgpPeerStatusListResult.md docs/BgpSettings.md +docs/CircuitMetadataMap.md docs/CloudError.md docs/CloudErrorBody.md docs/ConnectionProtocol.md docs/ConnectionResetSharedKey.md docs/ConnectionSharedKey.md +docs/DefaultApi.md docs/DhGroup.md docs/Error.md docs/ErrorDetails.md +docs/ErrorResponse.md +docs/ExpressRouteFailoverCircuitResourceDetails.md +docs/ExpressRouteFailoverConnectionResourceDetails.md +docs/ExpressRouteFailoverRedundantRoute.md +docs/ExpressRouteFailoverSingleTestDetails.md +docs/ExpressRouteFailoverStopApiParameters.md +docs/ExpressRouteFailoverTestDetails.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md +docs/FailoverConnectionDetails.md +docs/GatewayCustomBgpIpAddressIpConfiguration.md +docs/GatewayResiliencyInformation.md +docs/GatewayResiliencyRecommendation.md docs/GatewayRoute.md docs/GatewayRouteListResult.md +docs/GatewayRouteSet.md +docs/GatewayRouteSetsInformation.md docs/IPAllocationMethod.md docs/IPConfigurationBgpPeeringAddress.md docs/IkeEncryption.md docs/IkeIntegrity.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/IpsecEncryption.md docs/IpsecIntegrity.md docs/IpsecPolicy.md +docs/ListVirtualNetworkGatewayNatRulesResult.md docs/LocalNetworkGateway.md docs/LocalNetworkGatewayListResult.md docs/LocalNetworkGatewayPropertiesFormat.md docs/LocalNetworkGatewaysApi.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md docs/P2SVpnConnectionRequest.md docs/PfsGroup.md docs/ProvisioningState.md docs/RadiusServer.md +docs/ResiliencyRecommendationComponents.md docs/Resource.md +docs/RouteSourceDetails.md docs/SubResource.md docs/TagsObject.md docs/TrafficSelectorPolicy.md docs/TunnelConnectionHealth.md docs/VirtualNetworkConnectionGatewayReference.md docs/VirtualNetworkGateway.md +docs/VirtualNetworkGatewayAutoScaleBounds.md +docs/VirtualNetworkGatewayAutoScaleConfiguration.md docs/VirtualNetworkGatewayConnection.md docs/VirtualNetworkGatewayConnectionListEntity.md docs/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.md docs/VirtualNetworkGatewayConnectionListResult.md +docs/VirtualNetworkGatewayConnectionMode.md docs/VirtualNetworkGatewayConnectionPropertiesFormat.md docs/VirtualNetworkGatewayConnectionStatus.md +docs/VirtualNetworkGatewayConnectionTunnelProperties.md docs/VirtualNetworkGatewayConnectionType.md docs/VirtualNetworkGatewayConnectionsApi.md docs/VirtualNetworkGatewayIPConfiguration.md docs/VirtualNetworkGatewayIPConfigurationPropertiesFormat.md docs/VirtualNetworkGatewayListConnectionsResult.md docs/VirtualNetworkGatewayListResult.md +docs/VirtualNetworkGatewayMigrationParameters.md +docs/VirtualNetworkGatewayMigrationStatus.md +docs/VirtualNetworkGatewayMigrationType.md +docs/VirtualNetworkGatewayNatRule.md +docs/VirtualNetworkGatewayNatRuleProperties.md +docs/VirtualNetworkGatewayPolicyGroup.md +docs/VirtualNetworkGatewayPolicyGroupMember.md +docs/VirtualNetworkGatewayPolicyGroupProperties.md docs/VirtualNetworkGatewayPropertiesFormat.md docs/VirtualNetworkGatewaySku.md docs/VirtualNetworkGatewaysApi.md +docs/VngClientConnectionConfiguration.md +docs/VngClientConnectionConfigurationProperties.md docs/VpnClientConfiguration.md docs/VpnClientConnectionHealthDetail.md docs/VpnClientConnectionHealthDetailListResult.md @@ -62,9 +100,11 @@ docs/VpnClientRevokedCertificatePropertiesFormat.md docs/VpnClientRootCertificate.md docs/VpnClientRootCertificatePropertiesFormat.md docs/VpnDeviceScriptParameters.md +docs/VpnNatRuleMapping.md docs/VpnPacketCaptureStartParameters.md docs/VpnPacketCaptureStopParameters.md src/VirtualNetworkGatewayClient.jl +src/apis/api_DefaultApi.jl src/apis/api_LocalNetworkGatewaysApi.jl src/apis/api_VirtualNetworkGatewayConnectionsApi.jl src/apis/api_VirtualNetworkGatewaysApi.jl @@ -74,6 +114,7 @@ src/models/model_AuthenticationMethod.jl src/models/model_BgpPeerStatus.jl src/models/model_BgpPeerStatusListResult.jl src/models/model_BgpSettings.jl +src/models/model_CircuitMetadataMap.jl src/models/model_CloudError.jl src/models/model_CloudErrorBody.jl src/models/model_ConnectionProtocol.jl @@ -82,42 +123,78 @@ src/models/model_ConnectionSharedKey.jl src/models/model_DhGroup.jl src/models/model_Error.jl src/models/model_ErrorDetails.jl +src/models/model_ErrorResponse.jl +src/models/model_ExpressRouteFailoverCircuitResourceDetails.jl +src/models/model_ExpressRouteFailoverConnectionResourceDetails.jl +src/models/model_ExpressRouteFailoverRedundantRoute.jl +src/models/model_ExpressRouteFailoverSingleTestDetails.jl +src/models/model_ExpressRouteFailoverStopApiParameters.jl +src/models/model_ExpressRouteFailoverTestDetails.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl +src/models/model_FailoverConnectionDetails.jl +src/models/model_GatewayCustomBgpIpAddressIpConfiguration.jl +src/models/model_GatewayResiliencyInformation.jl +src/models/model_GatewayResiliencyRecommendation.jl src/models/model_GatewayRoute.jl src/models/model_GatewayRouteListResult.jl +src/models/model_GatewayRouteSet.jl +src/models/model_GatewayRouteSetsInformation.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfigurationBgpPeeringAddress.jl src/models/model_IkeEncryption.jl src/models/model_IkeIntegrity.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_IpsecEncryption.jl src/models/model_IpsecIntegrity.jl src/models/model_IpsecPolicy.jl +src/models/model_ListVirtualNetworkGatewayNatRulesResult.jl src/models/model_LocalNetworkGateway.jl src/models/model_LocalNetworkGatewayListResult.jl src/models/model_LocalNetworkGatewayPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl src/models/model_P2SVpnConnectionRequest.jl src/models/model_PfsGroup.jl src/models/model_ProvisioningState.jl src/models/model_RadiusServer.jl +src/models/model_ResiliencyRecommendationComponents.jl src/models/model_Resource.jl +src/models/model_RouteSourceDetails.jl src/models/model_SubResource.jl src/models/model_TagsObject.jl src/models/model_TrafficSelectorPolicy.jl src/models/model_TunnelConnectionHealth.jl src/models/model_VirtualNetworkConnectionGatewayReference.jl src/models/model_VirtualNetworkGateway.jl +src/models/model_VirtualNetworkGatewayAutoScaleBounds.jl +src/models/model_VirtualNetworkGatewayAutoScaleConfiguration.jl src/models/model_VirtualNetworkGatewayConnection.jl src/models/model_VirtualNetworkGatewayConnectionListEntity.jl src/models/model_VirtualNetworkGatewayConnectionListEntityPropertiesFormat.jl src/models/model_VirtualNetworkGatewayConnectionListResult.jl +src/models/model_VirtualNetworkGatewayConnectionMode.jl src/models/model_VirtualNetworkGatewayConnectionPropertiesFormat.jl src/models/model_VirtualNetworkGatewayConnectionStatus.jl +src/models/model_VirtualNetworkGatewayConnectionTunnelProperties.jl src/models/model_VirtualNetworkGatewayConnectionType.jl src/models/model_VirtualNetworkGatewayIPConfiguration.jl src/models/model_VirtualNetworkGatewayIPConfigurationPropertiesFormat.jl src/models/model_VirtualNetworkGatewayListConnectionsResult.jl src/models/model_VirtualNetworkGatewayListResult.jl +src/models/model_VirtualNetworkGatewayMigrationParameters.jl +src/models/model_VirtualNetworkGatewayMigrationStatus.jl +src/models/model_VirtualNetworkGatewayMigrationType.jl +src/models/model_VirtualNetworkGatewayNatRule.jl +src/models/model_VirtualNetworkGatewayNatRuleProperties.jl +src/models/model_VirtualNetworkGatewayPolicyGroup.jl +src/models/model_VirtualNetworkGatewayPolicyGroupMember.jl +src/models/model_VirtualNetworkGatewayPolicyGroupProperties.jl src/models/model_VirtualNetworkGatewayPropertiesFormat.jl src/models/model_VirtualNetworkGatewaySku.jl +src/models/model_VngClientConnectionConfiguration.jl +src/models/model_VngClientConnectionConfigurationProperties.jl src/models/model_VpnClientConfiguration.jl src/models/model_VpnClientConnectionHealthDetail.jl src/models/model_VpnClientConnectionHealthDetailListResult.jl @@ -128,5 +205,6 @@ src/models/model_VpnClientRevokedCertificatePropertiesFormat.jl src/models/model_VpnClientRootCertificate.jl src/models/model_VpnClientRootCertificatePropertiesFormat.jl src/models/model_VpnDeviceScriptParameters.jl +src/models/model_VpnNatRuleMapping.jl src/models/model_VpnPacketCaptureStartParameters.jl src/models/model_VpnPacketCaptureStopParameters.jl diff --git a/src/Network/VirtualNetworkGatewayClient/.openapi-generator/VERSION b/src/Network/VirtualNetworkGatewayClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/VirtualNetworkGatewayClient/.openapi-generator/VERSION +++ b/src/Network/VirtualNetworkGatewayClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/VirtualNetworkGatewayClient/README.md b/src/Network/VirtualNetworkGatewayClient/README.md index d835463..fd4f349 100644 --- a/src/Network/VirtualNetworkGatewayClient/README.md +++ b/src/Network/VirtualNetworkGatewayClient/README.md @@ -5,7 +5,8 @@ The Microsoft Azure Network management API provides a RESTful set of web service ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-05-01 +- API version: 2024-07-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -20,6 +21,14 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- +*DefaultApi* | [**virtual_network_gateway_nat_rules_create_or_update**](docs/DefaultApi.md#virtual_network_gateway_nat_rules_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}
+*DefaultApi* | [**virtual_network_gateway_nat_rules_delete**](docs/DefaultApi.md#virtual_network_gateway_nat_rules_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}
+*DefaultApi* | [**virtual_network_gateway_nat_rules_get**](docs/DefaultApi.md#virtual_network_gateway_nat_rules_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}
+*DefaultApi* | [**virtual_network_gateway_nat_rules_list_by_virtual_network_gateway**](docs/DefaultApi.md#virtual_network_gateway_nat_rules_list_by_virtual_network_gateway)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules
+*DefaultApi* | [**virtual_network_gateways_invoke_abort_migration**](docs/DefaultApi.md#virtual_network_gateways_invoke_abort_migration)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration
+*DefaultApi* | [**virtual_network_gateways_invoke_commit_migration**](docs/DefaultApi.md#virtual_network_gateways_invoke_commit_migration)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration
+*DefaultApi* | [**virtual_network_gateways_invoke_execute_migration**](docs/DefaultApi.md#virtual_network_gateways_invoke_execute_migration)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/executeMigration
+*DefaultApi* | [**virtual_network_gateways_invoke_prepare_migration**](docs/DefaultApi.md#virtual_network_gateways_invoke_prepare_migration)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/prepareMigration
*LocalNetworkGatewaysApi* | [**local_network_gateways_create_or_update**](docs/LocalNetworkGatewaysApi.md#local_network_gateways_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}
*LocalNetworkGatewaysApi* | [**local_network_gateways_delete**](docs/LocalNetworkGatewaysApi.md#local_network_gateways_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}
*LocalNetworkGatewaysApi* | [**local_network_gateways_get**](docs/LocalNetworkGatewaysApi.md#local_network_gateways_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}
@@ -28,8 +37,10 @@ Class | Method *VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_create_or_update**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_delete**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_get**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}
+*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_get_ike_sas**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_get_ike_sas)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_get_shared_key**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_get_shared_key)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_list**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections
+*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_reset_connection**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_reset_connection)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_reset_shared_key**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_reset_shared_key)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_set_shared_key**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_set_shared_key)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey
*VirtualNetworkGatewayConnectionsApi* | [**virtual_network_gateway_connections_start_packet_capture**](docs/VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_start_packet_capture)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture
@@ -43,7 +54,11 @@ Class | Method *VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_advertised_routes**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_advertised_routes)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_bgp_peer_status**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_bgp_peer_status)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus
+*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_failover_all_test_details**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_failover_all_test_details)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverAllTestsDetails
+*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_failover_single_test_details**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_failover_single_test_details)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_learned_routes**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_learned_routes)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes
+*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_resiliency_information**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_resiliency_information)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getResiliencyInformation
+*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_routes_information**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_routes_information)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getRoutesInformation
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_vpn_profile_package_url**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_vpn_profile_package_url)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_vpnclient_connection_health**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_vpnclient_connection_health)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_get_vpnclient_ipsec_parameters**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_vpnclient_ipsec_parameters)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters
@@ -52,7 +67,9 @@ Class | Method *VirtualNetworkGatewaysApi* | [**virtual_network_gateways_reset**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_reset)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_reset_vpn_client_shared_key**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_reset_vpn_client_shared_key)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_set_vpnclient_ipsec_parameters**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_set_vpnclient_ipsec_parameters)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters
+*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_start_express_route_site_failover_simulation**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_start_express_route_site_failover_simulation)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startSiteFailoverTest
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_start_packet_capture**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_start_packet_capture)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture
+*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_stop_express_route_site_failover_simulation**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_stop_express_route_site_failover_simulation)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_stop_packet_capture**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_stop_packet_capture)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_supported_vpn_devices**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_supported_vpn_devices)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices
*VirtualNetworkGatewaysApi* | [**virtual_network_gateways_update_tags**](docs/VirtualNetworkGatewaysApi.md#virtual_network_gateways_update_tags)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
@@ -66,6 +83,7 @@ Class | Method - [BgpPeerStatus](docs/BgpPeerStatus.md) - [BgpPeerStatusListResult](docs/BgpPeerStatusListResult.md) - [BgpSettings](docs/BgpSettings.md) + - [CircuitMetadataMap](docs/CircuitMetadataMap.md) - [CloudError](docs/CloudError.md) - [CloudErrorBody](docs/CloudErrorBody.md) - [ConnectionProtocol](docs/ConnectionProtocol.md) @@ -74,42 +92,78 @@ Class | Method - [DhGroup](docs/DhGroup.md) - [Error](docs/Error.md) - [ErrorDetails](docs/ErrorDetails.md) + - [ErrorResponse](docs/ErrorResponse.md) + - [ExpressRouteFailoverCircuitResourceDetails](docs/ExpressRouteFailoverCircuitResourceDetails.md) + - [ExpressRouteFailoverConnectionResourceDetails](docs/ExpressRouteFailoverConnectionResourceDetails.md) + - [ExpressRouteFailoverRedundantRoute](docs/ExpressRouteFailoverRedundantRoute.md) + - [ExpressRouteFailoverSingleTestDetails](docs/ExpressRouteFailoverSingleTestDetails.md) + - [ExpressRouteFailoverStopApiParameters](docs/ExpressRouteFailoverStopApiParameters.md) + - [ExpressRouteFailoverTestDetails](docs/ExpressRouteFailoverTestDetails.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) + - [FailoverConnectionDetails](docs/FailoverConnectionDetails.md) + - [GatewayCustomBgpIpAddressIpConfiguration](docs/GatewayCustomBgpIpAddressIpConfiguration.md) + - [GatewayResiliencyInformation](docs/GatewayResiliencyInformation.md) + - [GatewayResiliencyRecommendation](docs/GatewayResiliencyRecommendation.md) - [GatewayRoute](docs/GatewayRoute.md) - [GatewayRouteListResult](docs/GatewayRouteListResult.md) + - [GatewayRouteSet](docs/GatewayRouteSet.md) + - [GatewayRouteSetsInformation](docs/GatewayRouteSetsInformation.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfigurationBgpPeeringAddress](docs/IPConfigurationBgpPeeringAddress.md) - [IkeEncryption](docs/IkeEncryption.md) - [IkeIntegrity](docs/IkeIntegrity.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [IpsecEncryption](docs/IpsecEncryption.md) - [IpsecIntegrity](docs/IpsecIntegrity.md) - [IpsecPolicy](docs/IpsecPolicy.md) + - [ListVirtualNetworkGatewayNatRulesResult](docs/ListVirtualNetworkGatewayNatRulesResult.md) - [LocalNetworkGateway](docs/LocalNetworkGateway.md) - [LocalNetworkGatewayListResult](docs/LocalNetworkGatewayListResult.md) - [LocalNetworkGatewayPropertiesFormat](docs/LocalNetworkGatewayPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) - [P2SVpnConnectionRequest](docs/P2SVpnConnectionRequest.md) - [PfsGroup](docs/PfsGroup.md) - [ProvisioningState](docs/ProvisioningState.md) - [RadiusServer](docs/RadiusServer.md) + - [ResiliencyRecommendationComponents](docs/ResiliencyRecommendationComponents.md) - [Resource](docs/Resource.md) + - [RouteSourceDetails](docs/RouteSourceDetails.md) - [SubResource](docs/SubResource.md) - [TagsObject](docs/TagsObject.md) - [TrafficSelectorPolicy](docs/TrafficSelectorPolicy.md) - [TunnelConnectionHealth](docs/TunnelConnectionHealth.md) - [VirtualNetworkConnectionGatewayReference](docs/VirtualNetworkConnectionGatewayReference.md) - [VirtualNetworkGateway](docs/VirtualNetworkGateway.md) + - [VirtualNetworkGatewayAutoScaleBounds](docs/VirtualNetworkGatewayAutoScaleBounds.md) + - [VirtualNetworkGatewayAutoScaleConfiguration](docs/VirtualNetworkGatewayAutoScaleConfiguration.md) - [VirtualNetworkGatewayConnection](docs/VirtualNetworkGatewayConnection.md) - [VirtualNetworkGatewayConnectionListEntity](docs/VirtualNetworkGatewayConnectionListEntity.md) - [VirtualNetworkGatewayConnectionListEntityPropertiesFormat](docs/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.md) - [VirtualNetworkGatewayConnectionListResult](docs/VirtualNetworkGatewayConnectionListResult.md) + - [VirtualNetworkGatewayConnectionMode](docs/VirtualNetworkGatewayConnectionMode.md) - [VirtualNetworkGatewayConnectionPropertiesFormat](docs/VirtualNetworkGatewayConnectionPropertiesFormat.md) - [VirtualNetworkGatewayConnectionStatus](docs/VirtualNetworkGatewayConnectionStatus.md) + - [VirtualNetworkGatewayConnectionTunnelProperties](docs/VirtualNetworkGatewayConnectionTunnelProperties.md) - [VirtualNetworkGatewayConnectionType](docs/VirtualNetworkGatewayConnectionType.md) - [VirtualNetworkGatewayIPConfiguration](docs/VirtualNetworkGatewayIPConfiguration.md) - [VirtualNetworkGatewayIPConfigurationPropertiesFormat](docs/VirtualNetworkGatewayIPConfigurationPropertiesFormat.md) - [VirtualNetworkGatewayListConnectionsResult](docs/VirtualNetworkGatewayListConnectionsResult.md) - [VirtualNetworkGatewayListResult](docs/VirtualNetworkGatewayListResult.md) + - [VirtualNetworkGatewayMigrationParameters](docs/VirtualNetworkGatewayMigrationParameters.md) + - [VirtualNetworkGatewayMigrationStatus](docs/VirtualNetworkGatewayMigrationStatus.md) + - [VirtualNetworkGatewayMigrationType](docs/VirtualNetworkGatewayMigrationType.md) + - [VirtualNetworkGatewayNatRule](docs/VirtualNetworkGatewayNatRule.md) + - [VirtualNetworkGatewayNatRuleProperties](docs/VirtualNetworkGatewayNatRuleProperties.md) + - [VirtualNetworkGatewayPolicyGroup](docs/VirtualNetworkGatewayPolicyGroup.md) + - [VirtualNetworkGatewayPolicyGroupMember](docs/VirtualNetworkGatewayPolicyGroupMember.md) + - [VirtualNetworkGatewayPolicyGroupProperties](docs/VirtualNetworkGatewayPolicyGroupProperties.md) - [VirtualNetworkGatewayPropertiesFormat](docs/VirtualNetworkGatewayPropertiesFormat.md) - [VirtualNetworkGatewaySku](docs/VirtualNetworkGatewaySku.md) + - [VngClientConnectionConfiguration](docs/VngClientConnectionConfiguration.md) + - [VngClientConnectionConfigurationProperties](docs/VngClientConnectionConfigurationProperties.md) - [VpnClientConfiguration](docs/VpnClientConfiguration.md) - [VpnClientConnectionHealthDetail](docs/VpnClientConnectionHealthDetail.md) - [VpnClientConnectionHealthDetailListResult](docs/VpnClientConnectionHealthDetailListResult.md) @@ -120,13 +174,17 @@ Class | Method - [VpnClientRootCertificate](docs/VpnClientRootCertificate.md) - [VpnClientRootCertificatePropertiesFormat](docs/VpnClientRootCertificatePropertiesFormat.md) - [VpnDeviceScriptParameters](docs/VpnDeviceScriptParameters.md) + - [VpnNatRuleMapping](docs/VpnNatRuleMapping.md) - [VpnPacketCaptureStartParameters](docs/VpnPacketCaptureStartParameters.md) - [VpnPacketCaptureStopParameters](docs/VpnPacketCaptureStopParameters.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/VirtualNetworkGatewayClient/docs/AddressSpace.md b/src/Network/VirtualNetworkGatewayClient/docs/AddressSpace.md index b4e1684..c802e95 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/AddressSpace.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/AddressSpace.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **addressPrefixes** | **Vector{String}** | A list of address blocks reserved for this virtual network in CIDR notation. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkGatewayClient/docs/CircuitMetadataMap.md b/src/Network/VirtualNetworkGatewayClient/docs/CircuitMetadataMap.md new file mode 100644 index 0000000..f1aacbe --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/CircuitMetadataMap.md @@ -0,0 +1,14 @@ +# CircuitMetadataMap + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Express Route Circuit Name | [optional] [default to nothing] +**link** | **String** | Link to the Express Route circuit | [optional] [default to nothing] +**location** | **String** | Peering location of the Express Route Circuit | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/DefaultApi.md b/src/Network/VirtualNetworkGatewayClient/docs/DefaultApi.md new file mode 100644 index 0000000..35d451d --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/DefaultApi.md @@ -0,0 +1,285 @@ +# DefaultApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**virtual_network_gateway_nat_rules_create_or_update**](DefaultApi.md#virtual_network_gateway_nat_rules_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName} | +[**virtual_network_gateway_nat_rules_delete**](DefaultApi.md#virtual_network_gateway_nat_rules_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName} | +[**virtual_network_gateway_nat_rules_get**](DefaultApi.md#virtual_network_gateway_nat_rules_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName} | +[**virtual_network_gateway_nat_rules_list_by_virtual_network_gateway**](DefaultApi.md#virtual_network_gateway_nat_rules_list_by_virtual_network_gateway) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules | +[**virtual_network_gateways_invoke_abort_migration**](DefaultApi.md#virtual_network_gateways_invoke_abort_migration) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration | +[**virtual_network_gateways_invoke_commit_migration**](DefaultApi.md#virtual_network_gateways_invoke_commit_migration) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration | +[**virtual_network_gateways_invoke_execute_migration**](DefaultApi.md#virtual_network_gateways_invoke_execute_migration) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/executeMigration | +[**virtual_network_gateways_invoke_prepare_migration**](DefaultApi.md#virtual_network_gateways_invoke_prepare_migration) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/prepareMigration | + + +# **virtual_network_gateway_nat_rules_create_or_update** +> virtual_network_gateway_nat_rules_create_or_update(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String, nat_rule_parameters::VirtualNetworkGatewayNatRule; _mediaType=nothing) -> VirtualNetworkGatewayNatRule, OpenAPI.Clients.ApiResponse
+> virtual_network_gateway_nat_rules_create_or_update(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String, nat_rule_parameters::VirtualNetworkGatewayNatRule; _mediaType=nothing) -> Channel{ VirtualNetworkGatewayNatRule }, OpenAPI.Clients.ApiResponse + + + +Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the Virtual Network Gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**nat_rule_name** | **String** | The name of the nat rule. | +**api_version** | **String** | Client API version. | +**nat_rule_parameters** | [**VirtualNetworkGatewayNatRule**](VirtualNetworkGatewayNatRule.md) | Parameters supplied to create or Update a Nat Rule. | + +### Return type + +[**VirtualNetworkGatewayNatRule**](VirtualNetworkGatewayNatRule.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateway_nat_rules_delete** +> virtual_network_gateway_nat_rules_delete(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_network_gateway_nat_rules_delete(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Deletes a nat rule. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the Virtual Network Gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**nat_rule_name** | **String** | The name of the nat rule. | +**api_version** | **String** | Client API version. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateway_nat_rules_get** +> virtual_network_gateway_nat_rules_get(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) -> VirtualNetworkGatewayNatRule, OpenAPI.Clients.ApiResponse
+> virtual_network_gateway_nat_rules_get(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) -> Channel{ VirtualNetworkGatewayNatRule }, OpenAPI.Clients.ApiResponse + + + +Retrieves the details of a nat rule. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the Virtual Network Gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**nat_rule_name** | **String** | The name of the nat rule. | +**api_version** | **String** | Client API version. | + +### Return type + +[**VirtualNetworkGatewayNatRule**](VirtualNetworkGatewayNatRule.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateway_nat_rules_list_by_virtual_network_gateway** +> virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> ListVirtualNetworkGatewayNatRulesResult, OpenAPI.Clients.ApiResponse
+> virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Channel{ ListVirtualNetworkGatewayNatRulesResult }, OpenAPI.Clients.ApiResponse + + + +Retrieves all nat rules for a particular virtual network gateway. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the virtual network gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**api_version** | **String** | Client API version. | + +### Return type + +[**ListVirtualNetworkGatewayNatRulesResult**](ListVirtualNetworkGatewayNatRulesResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_invoke_abort_migration** +> virtual_network_gateways_invoke_abort_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_invoke_abort_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Trigger abort migration for the virtual network gateway. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the virtual network gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**api_version** | **String** | Client API version. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_invoke_commit_migration** +> virtual_network_gateways_invoke_commit_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_invoke_commit_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Trigger commit migration for the virtual network gateway. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the virtual network gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**api_version** | **String** | Client API version. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_invoke_execute_migration** +> virtual_network_gateways_invoke_execute_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_invoke_execute_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Trigger execute migration for the virtual network gateway. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the virtual network gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**api_version** | **String** | Client API version. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_invoke_prepare_migration** +> virtual_network_gateways_invoke_prepare_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, migration_params::VirtualNetworkGatewayMigrationParameters; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_invoke_prepare_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, migration_params::VirtualNetworkGatewayMigrationParameters; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Trigger prepare migration for the virtual network gateway. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DefaultApi** | API context | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The resource group name of the virtual network gateway. | +**virtual_network_gateway_name** | **String** | The name of the gateway. | +**api_version** | **String** | Client API version. | +**migration_params** | [**VirtualNetworkGatewayMigrationParameters**](VirtualNetworkGatewayMigrationParameters.md) | Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network resource provider. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ErrorResponse.md b/src/Network/VirtualNetworkGatewayClient/docs/ErrorResponse.md new file mode 100644 index 0000000..daa54f5 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ErrorResponse.md @@ -0,0 +1,12 @@ +# ErrorResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***ErrorDetails**](ErrorDetails.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverCircuitResourceDetails.md b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverCircuitResourceDetails.md new file mode 100644 index 0000000..bace771 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverCircuitResourceDetails.md @@ -0,0 +1,14 @@ +# ExpressRouteFailoverCircuitResourceDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nrpResourceUri** | **String** | NRP Resource URI of the circuit | [optional] [default to nothing] +**name** | **String** | Circuit Name | [optional] [default to nothing] +**connectionName** | **String** | Connection name associated with the circuit | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverConnectionResourceDetails.md b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverConnectionResourceDetails.md new file mode 100644 index 0000000..a645df1 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverConnectionResourceDetails.md @@ -0,0 +1,15 @@ +# ExpressRouteFailoverConnectionResourceDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**nrpResourceUri** | **String** | NRP Resource URI of the connection | [optional] [default to nothing] +**name** | **String** | Connection Name | [optional] [default to nothing] +**status** | **String** | The current status of the connection | [optional] [default to nothing] +**lastUpdatedTime** | **String** | Time when the connection was last updated | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverRedundantRoute.md b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverRedundantRoute.md new file mode 100644 index 0000000..53307cc --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverRedundantRoute.md @@ -0,0 +1,13 @@ +# ExpressRouteFailoverRedundantRoute + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**peeringLocations** | **Vector{String}** | A list of all the peering locations for the redundant routes | [optional] [default to nothing] +**routes** | **Vector{String}** | A list of all the redundant routes in the peering locations | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverSingleTestDetails.md b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverSingleTestDetails.md new file mode 100644 index 0000000..d6e2134 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverSingleTestDetails.md @@ -0,0 +1,19 @@ +# ExpressRouteFailoverSingleTestDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**peeringLocation** | **String** | Peering location of the test | [optional] [default to nothing] +**status** | **String** | The current status of the test | [optional] [default to nothing] +**startTimeUtc** | **String** | Time when the test was started | [optional] [default to nothing] +**endTimeUtc** | **String** | Time when the test was completed | [optional] [default to nothing] +**redundantRoutes** | [**Vector{ExpressRouteFailoverRedundantRoute}**](ExpressRouteFailoverRedundantRoute.md) | List of routes received from this peering as well as some other peering location | [optional] [default to nothing] +**nonRedundantRoutes** | **Vector{String}** | List of al the routes that were received only from this peering location | [optional] [default to nothing] +**wasSimulationSuccessful** | **Bool** | Whether the failover simulation was successful or not | [optional] [default to nothing] +**failoverConnectionDetails** | [**Vector{FailoverConnectionDetails}**](FailoverConnectionDetails.md) | List of all the failover connections for this peering location | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverStopApiParameters.md b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverStopApiParameters.md new file mode 100644 index 0000000..1459ec7 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverStopApiParameters.md @@ -0,0 +1,14 @@ +# ExpressRouteFailoverStopApiParameters + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**peeringLocation** | **String** | Peering location of the test | [optional] [default to nothing] +**wasSimulationSuccessful** | **Bool** | Whether the failover simulation was successful or not | [optional] [default to nothing] +**details** | [**Vector{FailoverConnectionDetails}**](FailoverConnectionDetails.md) | List of all the failover connections for this peering location | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverTestDetails.md b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverTestDetails.md new file mode 100644 index 0000000..4e9007e --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExpressRouteFailoverTestDetails.md @@ -0,0 +1,20 @@ +# ExpressRouteFailoverTestDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**peeringLocation** | **String** | Peering location of the test | [optional] [default to nothing] +**circuits** | [**Vector{ExpressRouteFailoverCircuitResourceDetails}**](ExpressRouteFailoverCircuitResourceDetails.md) | All circuits in the peering location | [optional] [default to nothing] +**status** | **String** | The current status of the test | [optional] [default to nothing] +**startTime** | **String** | Time when the test was started | [optional] [default to nothing] +**endTime** | **String** | Time when the test was completed | [optional] [default to nothing] +**connections** | [**Vector{ExpressRouteFailoverConnectionResourceDetails}**](ExpressRouteFailoverConnectionResourceDetails.md) | All connections to the circuits in the peering location | [optional] [default to nothing] +**testGuid** | **String** | The unique GUID associated with the test | [optional] [default to nothing] +**testType** | **String** | The type of failover test | [optional] [default to nothing] +**issues** | **Vector{String}** | A list of all issues with the test | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExtendedLocation.md b/src/Network/VirtualNetworkGatewayClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ExtendedLocationType.md b/src/Network/VirtualNetworkGatewayClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/FailoverConnectionDetails.md b/src/Network/VirtualNetworkGatewayClient/docs/FailoverConnectionDetails.md new file mode 100644 index 0000000..991e9ee --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/FailoverConnectionDetails.md @@ -0,0 +1,14 @@ +# FailoverConnectionDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**failoverConnectionName** | **String** | Name of the failover connection | [optional] [default to nothing] +**failoverLocation** | **String** | Location of the failover connection | [optional] [default to nothing] +**isVerified** | **Bool** | Whether the customer was able to establish connectivity through this failover connection or not | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/GatewayCustomBgpIpAddressIpConfiguration.md b/src/Network/VirtualNetworkGatewayClient/docs/GatewayCustomBgpIpAddressIpConfiguration.md new file mode 100644 index 0000000..0463a9b --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/GatewayCustomBgpIpAddressIpConfiguration.md @@ -0,0 +1,13 @@ +# GatewayCustomBgpIpAddressIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**ipConfigurationId** | **String** | The IpconfigurationId of ipconfiguration which belongs to gateway. | [default to nothing] +**customBgpIpAddress** | **String** | The custom BgpPeeringAddress which belongs to IpconfigurationId. | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/GatewayResiliencyInformation.md b/src/Network/VirtualNetworkGatewayClient/docs/GatewayResiliencyInformation.md new file mode 100644 index 0000000..6113050 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/GatewayResiliencyInformation.md @@ -0,0 +1,18 @@ +# GatewayResiliencyInformation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**overallScore** | **String** | Current Resiliency Score for the gateway | [optional] [default to nothing] +**scoreChange** | **String** | Update in the Resiliency Score for the gateway from the last computed score | [optional] [default to nothing] +**minScoreFromRecommendations** | **String** | Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway | [optional] [default to nothing] +**maxScoreFromRecommendations** | **String** | Maximum increase expected in the score if all of the recommendations are applied for the gateway | [optional] [default to nothing] +**lastComputedTime** | **ZonedDateTime** | Timestamp denoting the last time when the resiliency score was computed for the gateway | [optional] [default to nothing] +**nextEligibleComputeTime** | **ZonedDateTime** | Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway | [optional] [default to nothing] +**components** | [**Vector{ResiliencyRecommendationComponents}**](ResiliencyRecommendationComponents.md) | List of Resiliency based Recommendation Components for the gateway | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/GatewayResiliencyRecommendation.md b/src/Network/VirtualNetworkGatewayClient/docs/GatewayResiliencyRecommendation.md new file mode 100644 index 0000000..aee848a --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/GatewayResiliencyRecommendation.md @@ -0,0 +1,17 @@ +# GatewayResiliencyRecommendation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**recommendationTitle** | **String** | Recommendation Title | [optional] [default to nothing] +**recommendationId** | **String** | Recommendation Id | [optional] [default to nothing] +**severity** | **String** | Impact associated with the recommendation | [optional] [default to nothing] +**recommendationText** | **String** | Recommendation details | [optional] [default to nothing] +**callToActionText** | **String** | Acton items to apply the recommendation | [optional] [default to nothing] +**callToActionLink** | **String** | Link to the public documentation for the associated recommendation | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/GatewayRouteSet.md b/src/Network/VirtualNetworkGatewayClient/docs/GatewayRouteSet.md new file mode 100644 index 0000000..c3228cc --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/GatewayRouteSet.md @@ -0,0 +1,14 @@ +# GatewayRouteSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Route Set name | [optional] [default to nothing] +**locations** | **Vector{String}** | List of different locations from where the routes are learned | [optional] [default to nothing] +**details** | **Dict{String, Vector{RouteSourceDetails}}** | List of different Route Sources | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/GatewayRouteSetsInformation.md b/src/Network/VirtualNetworkGatewayClient/docs/GatewayRouteSetsInformation.md new file mode 100644 index 0000000..94c7503 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/GatewayRouteSetsInformation.md @@ -0,0 +1,16 @@ +# GatewayRouteSetsInformation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastComputedTime** | **ZonedDateTime** | Timestamp denoting the last time when the route sets were computed for the gateway | [optional] [default to nothing] +**nextEligibleComputeTime** | **ZonedDateTime** | Timestamp denoting the next eligible time to re-compute the route sets for the gateway | [optional] [default to nothing] +**routeSetVersion** | **String** | Version for the route set | [optional] [default to nothing] +**routeSets** | [**Vector{GatewayRouteSet}**](GatewayRouteSet.md) | List of Gateway Route Sets | [optional] [default to nothing] +**circuitsMetadataMap** | [**Dict{String, CircuitMetadataMap}**](CircuitMetadataMap.md) | Dictionary containing map of the circuit id and circuit details | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/IpamPoolPrefixAllocation.md b/src/Network/VirtualNetworkGatewayClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/VirtualNetworkGatewayClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ListVirtualNetworkGatewayNatRulesResult.md b/src/Network/VirtualNetworkGatewayClient/docs/ListVirtualNetworkGatewayNatRulesResult.md new file mode 100644 index 0000000..c19f476 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ListVirtualNetworkGatewayNatRulesResult.md @@ -0,0 +1,13 @@ +# ListVirtualNetworkGatewayNatRulesResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{VirtualNetworkGatewayNatRule}**](VirtualNetworkGatewayNatRule.md) | List of Nat Rules. | [optional] [default to nothing] +**nextLink** | **String** | URL to get the next set of operation list results if there are any. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/LocalNetworkGatewaysApi.md b/src/Network/VirtualNetworkGatewayClient/docs/LocalNetworkGatewaysApi.md index 4507cd8..4e9339a 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/LocalNetworkGatewaysApi.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/LocalNetworkGatewaysApi.md @@ -24,11 +24,11 @@ Creates or updates a local network gateway in the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocalNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**local_network_gateway_name** | **String**| The name of the local network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**LocalNetworkGateway**](LocalNetworkGateway.md)| Parameters supplied to the create or update local network gateway operation. | +**resource_group_name** | **String** | The name of the resource group. | +**local_network_gateway_name** | **String** | The name of the local network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**LocalNetworkGateway**](LocalNetworkGateway.md) | Parameters supplied to the create or update local network gateway operation. | ### Return type @@ -58,10 +58,10 @@ Deletes the specified local network gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocalNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**local_network_gateway_name** | **String**| The name of the local network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**local_network_gateway_name** | **String** | The name of the local network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -91,10 +91,10 @@ Gets the specified local network gateway in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocalNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**local_network_gateway_name** | **String**| The name of the local network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**local_network_gateway_name** | **String** | The name of the local network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -124,9 +124,9 @@ Gets all the local network gateways in a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocalNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -156,11 +156,11 @@ Updates a local network gateway tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocalNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**local_network_gateway_name** | **String**| The name of the local network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update local network gateway tags. | +**resource_group_name** | **String** | The name of the resource group. | +**local_network_gateway_name** | **String** | The name of the local network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update local network gateway tags. | ### Return type diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ManagedServiceIdentity.md b/src/Network/VirtualNetworkGatewayClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/VirtualNetworkGatewayClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/ResiliencyRecommendationComponents.md b/src/Network/VirtualNetworkGatewayClient/docs/ResiliencyRecommendationComponents.md new file mode 100644 index 0000000..c398ec9 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/ResiliencyRecommendationComponents.md @@ -0,0 +1,15 @@ +# ResiliencyRecommendationComponents + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of the Resiliency based Recommendation Component | [optional] [default to nothing] +**currentScore** | **String** | Current Score of the gateway | [optional] [default to nothing] +**maxScore** | **String** | Max score that the gateway can achieve if the specified recommendation is applied | [optional] [default to nothing] +**recommendations** | [**Vector{GatewayResiliencyRecommendation}**](GatewayResiliencyRecommendation.md) | List of Gateway Resiliency based Recommendations | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/RouteSourceDetails.md b/src/Network/VirtualNetworkGatewayClient/docs/RouteSourceDetails.md new file mode 100644 index 0000000..38d66b1 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/RouteSourceDetails.md @@ -0,0 +1,14 @@ +# RouteSourceDetails + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**circuit** | **String** | Express Route Circuit identifier | [optional] [default to nothing] +**pri** | **String** | Flag to indicate if the route learned from the primary device is active or passive | [optional] [default to nothing] +**sec** | **String** | Flag to indicate if the route learned from the secondary device is active or passive | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGateway.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGateway.md index 77fb702..b4a987e 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGateway.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGateway.md @@ -5,7 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***VirtualNetworkGatewayPropertiesFormat**](VirtualNetworkGatewayPropertiesFormat.md) | | [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayAutoScaleBounds.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayAutoScaleBounds.md new file mode 100644 index 0000000..6a91bcf --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayAutoScaleBounds.md @@ -0,0 +1,13 @@ +# VirtualNetworkGatewayAutoScaleBounds + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**min** | **Int64** | Minimum scale Units for Autoscale configuration | [optional] [default to nothing] +**max** | **Int64** | Maximum Scale Units for Autoscale configuration | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayAutoScaleConfiguration.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayAutoScaleConfiguration.md new file mode 100644 index 0000000..08336de --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayAutoScaleConfiguration.md @@ -0,0 +1,12 @@ +# VirtualNetworkGatewayAutoScaleConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**bounds** | [***VirtualNetworkGatewayAutoScaleBounds**](VirtualNetworkGatewayAutoScaleBounds.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.md index 3b4cf31..c3ce696 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionListEntityPropertiesFormat.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **connectionType** | [***VirtualNetworkGatewayConnectionType**](VirtualNetworkGatewayConnectionType.md) | | [default to nothing] **connectionProtocol** | [***ConnectionProtocol**](ConnectionProtocol.md) | | [optional] [default to nothing] **routingWeight** | **Int64** | The routing weight. | [optional] [default to nothing] +**connectionMode** | [***VirtualNetworkGatewayConnectionMode**](VirtualNetworkGatewayConnectionMode.md) | | [optional] [default to nothing] **sharedKey** | **String** | The IPSec shared key. | [optional] [default to nothing] **connectionStatus** | [***VirtualNetworkGatewayConnectionStatus**](VirtualNetworkGatewayConnectionStatus.md) | | [optional] [default to nothing] **tunnelConnectionStatus** | [**Vector{TunnelConnectionHealth}**](TunnelConnectionHealth.md) | Collection of all tunnels' connection health status. | [optional] [readonly] [default to nothing] @@ -18,12 +19,14 @@ Name | Type | Description | Notes **ingressBytesTransferred** | **Int64** | The ingress bytes transferred in this connection. | [optional] [readonly] [default to nothing] **peer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **enableBgp** | **Bool** | EnableBgp flag. | [optional] [default to nothing] +**gatewayCustomBgpIpAddresses** | [**Vector{GatewayCustomBgpIpAddressIpConfiguration}**](GatewayCustomBgpIpAddressIpConfiguration.md) | GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. | [optional] [default to nothing] **usePolicyBasedTrafficSelectors** | **Bool** | Enable policy-based traffic selectors. | [optional] [default to nothing] **ipsecPolicies** | [**Vector{IpsecPolicy}**](IpsecPolicy.md) | The IPSec Policies to be considered by this connection. | [optional] [default to nothing] **trafficSelectorPolicies** | [**Vector{TrafficSelectorPolicy}**](TrafficSelectorPolicy.md) | The Traffic Selector Policies to be considered by this connection. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the virtual network gateway connection resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **expressRouteGatewayBypass** | **Bool** | Bypass ExpressRoute Gateway for data forwarding. | [optional] [default to nothing] +**enablePrivateLinkFastPath** | **Bool** | Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionMode.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionMode.md new file mode 100644 index 0000000..248aa52 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionMode.md @@ -0,0 +1,11 @@ +# VirtualNetworkGatewayConnectionMode + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionPropertiesFormat.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionPropertiesFormat.md index 0b51537..a551117 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionPropertiesFormat.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionPropertiesFormat.md @@ -8,10 +8,14 @@ Name | Type | Description | Notes **virtualNetworkGateway1** | [***VirtualNetworkGateway**](VirtualNetworkGateway.md) | | [default to nothing] **virtualNetworkGateway2** | [***VirtualNetworkGateway**](VirtualNetworkGateway.md) | | [optional] [default to nothing] **localNetworkGateway2** | [***LocalNetworkGateway**](LocalNetworkGateway.md) | | [optional] [default to nothing] +**ingressNatRules** | [**Vector{SubResource}**](SubResource.md) | List of ingress NatRules. | [optional] [default to nothing] +**egressNatRules** | [**Vector{SubResource}**](SubResource.md) | List of egress NatRules. | [optional] [default to nothing] **connectionType** | [***VirtualNetworkGatewayConnectionType**](VirtualNetworkGatewayConnectionType.md) | | [default to nothing] **connectionProtocol** | [***ConnectionProtocol**](ConnectionProtocol.md) | | [optional] [default to nothing] **routingWeight** | **Int64** | The routing weight. | [optional] [default to nothing] **dpdTimeoutSeconds** | **Int64** | The dead peer detection timeout of this connection in seconds. | [optional] [default to nothing] +**connectionMode** | [***VirtualNetworkGatewayConnectionMode**](VirtualNetworkGatewayConnectionMode.md) | | [optional] [default to nothing] +**tunnelProperties** | [**Vector{VirtualNetworkGatewayConnectionTunnelProperties}**](VirtualNetworkGatewayConnectionTunnelProperties.md) | Tunnel properties for virtual network gateway connection | [optional] [default to nothing] **sharedKey** | **String** | The IPSec shared key. | [optional] [default to nothing] **connectionStatus** | [***VirtualNetworkGatewayConnectionStatus**](VirtualNetworkGatewayConnectionStatus.md) | | [optional] [default to nothing] **tunnelConnectionStatus** | [**Vector{TunnelConnectionHealth}**](TunnelConnectionHealth.md) | Collection of all tunnels' connection health status. | [optional] [readonly] [default to nothing] @@ -19,6 +23,7 @@ Name | Type | Description | Notes **ingressBytesTransferred** | **Int64** | The ingress bytes transferred in this connection. | [optional] [readonly] [default to nothing] **peer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **enableBgp** | **Bool** | EnableBgp flag. | [optional] [default to nothing] +**gatewayCustomBgpIpAddresses** | [**Vector{GatewayCustomBgpIpAddressIpConfiguration}**](GatewayCustomBgpIpAddressIpConfiguration.md) | GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. | [optional] [default to nothing] **useLocalAzureIpAddress** | **Bool** | Use private local Azure IP for the connection. | [optional] [default to nothing] **usePolicyBasedTrafficSelectors** | **Bool** | Enable policy-based traffic selectors. | [optional] [default to nothing] **ipsecPolicies** | [**Vector{IpsecPolicy}**](IpsecPolicy.md) | The IPSec Policies to be considered by this connection. | [optional] [default to nothing] @@ -26,6 +31,7 @@ Name | Type | Description | Notes **resourceGuid** | **String** | The resource GUID property of the virtual network gateway connection resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **expressRouteGatewayBypass** | **Bool** | Bypass ExpressRoute Gateway for data forwarding. | [optional] [default to nothing] +**enablePrivateLinkFastPath** | **Bool** | Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionTunnelProperties.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionTunnelProperties.md new file mode 100644 index 0000000..59c64e0 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionTunnelProperties.md @@ -0,0 +1,13 @@ +# VirtualNetworkGatewayConnectionTunnelProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tunnelIpAddress** | **String** | Tunnel remote IP address | [optional] [default to nothing] +**bgpPeeringAddress** | **String** | Tunnel BGP peering address | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionsApi.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionsApi.md index 325aed4..78caa7f 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionsApi.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayConnectionsApi.md @@ -7,8 +7,10 @@ Method | HTTP request | Description [**virtual_network_gateway_connections_create_or_update**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName} | [**virtual_network_gateway_connections_delete**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName} | [**virtual_network_gateway_connections_get**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName} | +[**virtual_network_gateway_connections_get_ike_sas**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_get_ike_sas) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas | [**virtual_network_gateway_connections_get_shared_key**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_get_shared_key) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey | [**virtual_network_gateway_connections_list**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections | +[**virtual_network_gateway_connections_reset_connection**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_reset_connection) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection | [**virtual_network_gateway_connections_reset_shared_key**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_reset_shared_key) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset | [**virtual_network_gateway_connections_set_shared_key**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_set_shared_key) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey | [**virtual_network_gateway_connections_start_packet_capture**](VirtualNetworkGatewayConnectionsApi.md#virtual_network_gateway_connections_start_packet_capture) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture | @@ -29,11 +31,11 @@ Creates or updates a virtual network gateway connection in the specified resourc Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualNetworkGatewayConnection**](VirtualNetworkGatewayConnection.md)| Parameters supplied to the create or update virtual network gateway connection operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualNetworkGatewayConnection**](VirtualNetworkGatewayConnection.md) | Parameters supplied to the create or update virtual network gateway connection operation. | ### Return type @@ -63,10 +65,10 @@ Deletes the specified virtual network Gateway connection. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -96,10 +98,10 @@ Gets the specified virtual network gateway connection by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -116,6 +118,39 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_network_gateway_connections_get_ike_sas** +> virtual_network_gateway_connections_get_ike_sas(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> String, OpenAPI.Clients.ApiResponse
+> virtual_network_gateway_connections_get_ike_sas(_api::VirtualNetworkGatewayConnectionsApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ String }, OpenAPI.Clients.ApiResponse + + + +Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway Connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +**String** + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_network_gateway_connections_get_shared_key** > virtual_network_gateway_connections_get_shared_key(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> ConnectionSharedKey, OpenAPI.Clients.ApiResponse
> virtual_network_gateway_connections_get_shared_key(_api::VirtualNetworkGatewayConnectionsApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ ConnectionSharedKey }, OpenAPI.Clients.ApiResponse @@ -129,10 +164,10 @@ The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The virtual network gateway connection shared key name. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The virtual network gateway connection shared key name. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -162,9 +197,9 @@ The List VirtualNetworkGatewayConnections operation retrieves all the virtual ne Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -181,6 +216,39 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_network_gateway_connections_reset_connection** +> virtual_network_gateway_connections_reset_connection(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> virtual_network_gateway_connections_reset_connection(_api::VirtualNetworkGatewayConnectionsApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Resets the virtual network gateway connection specified. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway Connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_network_gateway_connections_reset_shared_key** > virtual_network_gateway_connections_reset_shared_key(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String, parameters::ConnectionResetSharedKey; _mediaType=nothing) -> ConnectionResetSharedKey, OpenAPI.Clients.ApiResponse
> virtual_network_gateway_connections_reset_shared_key(_api::VirtualNetworkGatewayConnectionsApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String, parameters::ConnectionResetSharedKey; _mediaType=nothing) -> Channel{ ConnectionResetSharedKey }, OpenAPI.Clients.ApiResponse @@ -194,11 +262,11 @@ The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual n Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The virtual network gateway connection reset shared key Name. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ConnectionResetSharedKey**](ConnectionResetSharedKey.md)| Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The virtual network gateway connection reset shared key Name. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ConnectionResetSharedKey**](ConnectionResetSharedKey.md) | Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider. | ### Return type @@ -228,11 +296,11 @@ The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual netw Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The virtual network gateway connection name. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**ConnectionSharedKey**](ConnectionSharedKey.md)| Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The virtual network gateway connection name. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**ConnectionSharedKey**](ConnectionSharedKey.md) | Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider. | ### Return type @@ -262,16 +330,16 @@ Starts packet capture on virtual network gateway connection in the specified res Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **parameters** | [**VpnPacketCaptureStartParameters**](VpnPacketCaptureStartParameters.md)| Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection. | + **parameters** | [**VpnPacketCaptureStartParameters**](VpnPacketCaptureStartParameters.md) | Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection. | ### Return type @@ -301,11 +369,11 @@ Stops packet capture on virtual network gateway connection in the specified reso Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway Connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VpnPacketCaptureStopParameters**](VpnPacketCaptureStopParameters.md)| Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway Connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VpnPacketCaptureStopParameters**](VpnPacketCaptureStopParameters.md) | Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection. | ### Return type @@ -335,11 +403,11 @@ Updates a virtual network gateway connection tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewayConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway connection. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update virtual network gateway connection tags. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway connection. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update virtual network gateway connection tags. | ### Return type diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationParameters.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationParameters.md new file mode 100644 index 0000000..3ed308b --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationParameters.md @@ -0,0 +1,13 @@ +# VirtualNetworkGatewayMigrationParameters + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**migrationType** | [***VirtualNetworkGatewayMigrationType**](VirtualNetworkGatewayMigrationType.md) | | [default to nothing] +**resourceUrl** | **String** | Resource url that needs to be passed in to migration. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationStatus.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationStatus.md new file mode 100644 index 0000000..6729880 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationStatus.md @@ -0,0 +1,14 @@ +# VirtualNetworkGatewayMigrationStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**state** | **String** | Represent the current state of gateway migration. | [optional] [default to nothing] +**phase** | **String** | Represent the current migration phase of gateway. | [optional] [default to nothing] +**errorMessage** | **String** | Error if any occurs during migration. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationType.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationType.md new file mode 100644 index 0000000..b6bc6a2 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayMigrationType.md @@ -0,0 +1,11 @@ +# VirtualNetworkGatewayMigrationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayNatRule.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayNatRule.md new file mode 100644 index 0000000..538413d --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayNatRule.md @@ -0,0 +1,16 @@ +# VirtualNetworkGatewayNatRule + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***VirtualNetworkGatewayNatRuleProperties**](VirtualNetworkGatewayNatRuleProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayNatRuleProperties.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayNatRuleProperties.md new file mode 100644 index 0000000..d035cdd --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayNatRuleProperties.md @@ -0,0 +1,17 @@ +# VirtualNetworkGatewayNatRuleProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**type** | **String** | The type of NAT rule for VPN NAT. | [optional] [default to nothing] +**mode** | **String** | The Source NAT direction of a VPN NAT. | [optional] [default to nothing] +**internalMappings** | [**Vector{VpnNatRuleMapping}**](VpnNatRuleMapping.md) | The private IP address internal mapping for NAT. | [optional] [default to nothing] +**externalMappings** | [**Vector{VpnNatRuleMapping}**](VpnNatRuleMapping.md) | The private IP address external mapping for NAT. | [optional] [default to nothing] +**ipConfigurationId** | **String** | The IP Configuration ID this NAT rule applies to. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroup.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroup.md new file mode 100644 index 0000000..d57d7e7 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroup.md @@ -0,0 +1,15 @@ +# VirtualNetworkGatewayPolicyGroup + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***VirtualNetworkGatewayPolicyGroupProperties**](VirtualNetworkGatewayPolicyGroupProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroupMember.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroupMember.md new file mode 100644 index 0000000..a625490 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroupMember.md @@ -0,0 +1,14 @@ +# VirtualNetworkGatewayPolicyGroupMember + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of the VirtualNetworkGatewayPolicyGroupMember. | [optional] [default to nothing] +**attributeType** | **String** | The Vpn Policy member attribute type. | [optional] [default to nothing] +**attributeValue** | **String** | The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroupProperties.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroupProperties.md new file mode 100644 index 0000000..d032ab2 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPolicyGroupProperties.md @@ -0,0 +1,16 @@ +# VirtualNetworkGatewayPolicyGroupProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isDefault** | **Bool** | Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not. | [default to nothing] +**priority** | **Int64** | Priority for VirtualNetworkGatewayPolicyGroup. | [default to nothing] +**policyMembers** | [**Vector{VirtualNetworkGatewayPolicyGroupMember}**](VirtualNetworkGatewayPolicyGroupMember.md) | Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup. | [default to nothing] +**vngClientConnectionConfigurations** | [**Vector{SubResource}**](SubResource.md) | List of references to vngClientConnectionConfigurations. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPropertiesFormat.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPropertiesFormat.md index 80a798b..cbb3dcb 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPropertiesFormat.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewayPropertiesFormat.md @@ -4,22 +4,34 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**autoScaleConfiguration** | [***VirtualNetworkGatewayAutoScaleConfiguration**](VirtualNetworkGatewayAutoScaleConfiguration.md) | | [optional] [default to nothing] **ipConfigurations** | [**Vector{VirtualNetworkGatewayIPConfiguration}**](VirtualNetworkGatewayIPConfiguration.md) | IP configurations for virtual network gateway. | [optional] [default to nothing] **gatewayType** | **String** | The type of this virtual network gateway. | [optional] [default to nothing] **vpnType** | **String** | The type of this virtual network gateway. | [optional] [default to nothing] **vpnGatewayGeneration** | **String** | The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. | [optional] [default to nothing] **enableBgp** | **Bool** | Whether BGP is enabled for this virtual network gateway or not. | [optional] [default to nothing] **enablePrivateIpAddress** | **Bool** | Whether private IP needs to be enabled on this gateway for connections or not. | [optional] [default to nothing] +**virtualNetworkGatewayMigrationStatus** | [***VirtualNetworkGatewayMigrationStatus**](VirtualNetworkGatewayMigrationStatus.md) | | [optional] [default to nothing] **activeActive** | **Bool** | ActiveActive flag. | [optional] [default to nothing] +**enableHighBandwidthVpnGateway** | **Bool** | To enable Advanced Connectivity feature for VPN gateway | [optional] [default to nothing] +**disableIPSecReplayProtection** | **Bool** | disableIPSecReplayProtection flag. | [optional] [default to nothing] **gatewayDefaultSite** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **sku** | [***VirtualNetworkGatewaySku**](VirtualNetworkGatewaySku.md) | | [optional] [default to nothing] **vpnClientConfiguration** | [***VpnClientConfiguration**](VpnClientConfiguration.md) | | [optional] [default to nothing] +**virtualNetworkGatewayPolicyGroups** | [**Vector{VirtualNetworkGatewayPolicyGroup}**](VirtualNetworkGatewayPolicyGroup.md) | The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway. | [optional] [default to nothing] **bgpSettings** | [***BgpSettings**](BgpSettings.md) | | [optional] [default to nothing] **customRoutes** | [***AddressSpace**](AddressSpace.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the virtual network gateway resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] **enableDnsForwarding** | **Bool** | Whether dns forwarding is enabled or not. | [optional] [default to nothing] **inboundDnsForwardingEndpoint** | **String** | The IP address allocated by the gateway to which dns requests can be sent. | [optional] [readonly] [default to nothing] +**vNetExtendedLocationResourceId** | **String** | Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. | [optional] [default to nothing] +**natRules** | [**Vector{VirtualNetworkGatewayNatRule}**](VirtualNetworkGatewayNatRule.md) | NatRules for virtual network gateway. | [optional] [default to nothing] +**enableBgpRouteTranslationForNat** | **Bool** | EnableBgpRouteTranslationForNat flag. | [optional] [default to nothing] +**allowVirtualWanTraffic** | **Bool** | Configures this gateway to accept traffic from remote Virtual WAN networks. | [optional] [default to nothing] +**allowRemoteVnetTraffic** | **Bool** | Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN. | [optional] [default to nothing] +**adminState** | **String** | Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet | [optional] [default to nothing] +**resiliencyModel** | **String** | Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewaysApi.md b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewaysApi.md index 25e5ff8..7c99421 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewaysApi.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VirtualNetworkGatewaysApi.md @@ -12,7 +12,11 @@ Method | HTTP request | Description [**virtual_network_gateways_get**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName} | [**virtual_network_gateways_get_advertised_routes**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_advertised_routes) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes | [**virtual_network_gateways_get_bgp_peer_status**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_bgp_peer_status) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus | +[**virtual_network_gateways_get_failover_all_test_details**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_failover_all_test_details) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverAllTestsDetails | +[**virtual_network_gateways_get_failover_single_test_details**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_failover_single_test_details) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails | [**virtual_network_gateways_get_learned_routes**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_learned_routes) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes | +[**virtual_network_gateways_get_resiliency_information**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_resiliency_information) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getResiliencyInformation | +[**virtual_network_gateways_get_routes_information**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_routes_information) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getRoutesInformation | [**virtual_network_gateways_get_vpn_profile_package_url**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_vpn_profile_package_url) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl | [**virtual_network_gateways_get_vpnclient_connection_health**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_vpnclient_connection_health) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth | [**virtual_network_gateways_get_vpnclient_ipsec_parameters**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_get_vpnclient_ipsec_parameters) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters | @@ -21,7 +25,9 @@ Method | HTTP request | Description [**virtual_network_gateways_reset**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_reset) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset | [**virtual_network_gateways_reset_vpn_client_shared_key**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_reset_vpn_client_shared_key) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey | [**virtual_network_gateways_set_vpnclient_ipsec_parameters**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_set_vpnclient_ipsec_parameters) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters | +[**virtual_network_gateways_start_express_route_site_failover_simulation**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_start_express_route_site_failover_simulation) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startSiteFailoverTest | [**virtual_network_gateways_start_packet_capture**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_start_packet_capture) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture | +[**virtual_network_gateways_stop_express_route_site_failover_simulation**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_stop_express_route_site_failover_simulation) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest | [**virtual_network_gateways_stop_packet_capture**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_stop_packet_capture) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture | [**virtual_network_gateways_supported_vpn_devices**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_supported_vpn_devices) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices | [**virtual_network_gateways_update_tags**](VirtualNetworkGatewaysApi.md#virtual_network_gateways_update_tags) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName} | @@ -41,11 +47,11 @@ Creates or updates a virtual network gateway in the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VirtualNetworkGateway**](VirtualNetworkGateway.md)| Parameters supplied to create or update virtual network gateway operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VirtualNetworkGateway**](VirtualNetworkGateway.md) | Parameters supplied to create or update virtual network gateway operation. | ### Return type @@ -75,10 +81,10 @@ Deletes the specified virtual network gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -108,11 +114,11 @@ Disconnect vpn connections of virtual network gateway in the specified resource Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**request** | [**P2SVpnConnectionRequest**](P2SVpnConnectionRequest.md)| The parameters are supplied to disconnect vpn connections. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**request** | [**P2SVpnConnectionRequest**](P2SVpnConnectionRequest.md) | The parameters are supplied to disconnect vpn connections. | ### Return type @@ -142,11 +148,11 @@ Generates VPN profile for P2S client of the virtual network gateway in the speci Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VpnClientParameters**](VpnClientParameters.md)| Parameters supplied to the generate virtual network gateway VPN client package operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VpnClientParameters**](VpnClientParameters.md) | Parameters supplied to the generate virtual network gateway VPN client package operation. | ### Return type @@ -176,11 +182,11 @@ Generates VPN client package for P2S client of the virtual network gateway in th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VpnClientParameters**](VpnClientParameters.md)| Parameters supplied to the generate virtual network gateway VPN client package operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VpnClientParameters**](VpnClientParameters.md) | Parameters supplied to the generate virtual network gateway VPN client package operation. | ### Return type @@ -210,10 +216,10 @@ Gets the specified virtual network gateway by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -243,11 +249,11 @@ This operation retrieves a list of routes the virtual network gateway is adverti Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**peer** | **String**| The IP address of the peer. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**peer** | **String** | The IP address of the peer. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -277,16 +283,16 @@ The GetBgpPeerStatus operation retrieves the status of all BGP peers. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **peer** | **String**| The IP address of the peer to retrieve the status of. | [default to nothing] + **peer** | **String** | The IP address of the peer to retrieve the status of. | [default to nothing] ### Return type @@ -303,6 +309,76 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_network_gateways_get_failover_all_test_details** +> virtual_network_gateways_get_failover_all_test_details(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, type::String, fetch_latest::Bool, api_version::String, subscription_id::String; _mediaType=nothing) -> Vector{ExpressRouteFailoverTestDetails}, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_get_failover_all_test_details(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, type::String, fetch_latest::Bool, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Vector{ExpressRouteFailoverTestDetails} }, OpenAPI.Clients.ApiResponse + + + +This operation retrieves the details of all the failover tests performed on the gateway for different peering locations + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewaysApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**type** | **String** | The type of failover test | +**fetch_latest** | **Bool** | Fetch only the latest tests for each peering location | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**Vector{ExpressRouteFailoverTestDetails}**](ExpressRouteFailoverTestDetails.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_get_failover_single_test_details** +> virtual_network_gateways_get_failover_single_test_details(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, failover_test_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Vector{ExpressRouteFailoverSingleTestDetails}, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_get_failover_single_test_details(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, failover_test_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Vector{ExpressRouteFailoverSingleTestDetails} }, OpenAPI.Clients.ApiResponse + + + +This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewaysApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**peering_location** | **String** | Peering location of the test | +**failover_test_id** | **String** | The unique Guid value which identifies the test | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +[**Vector{ExpressRouteFailoverSingleTestDetails}**](ExpressRouteFailoverSingleTestDetails.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_network_gateways_get_learned_routes** > virtual_network_gateways_get_learned_routes(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> GatewayRouteListResult, OpenAPI.Clients.ApiResponse
> virtual_network_gateways_get_learned_routes(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ GatewayRouteListResult }, OpenAPI.Clients.ApiResponse @@ -316,10 +392,10 @@ This operation retrieves a list of routes the virtual network gateway has learne Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -336,6 +412,84 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_network_gateways_get_resiliency_information** +> virtual_network_gateways_get_resiliency_information(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) -> GatewayResiliencyInformation, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_get_resiliency_information(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) -> Channel{ GatewayResiliencyInformation }, OpenAPI.Clients.ApiResponse + + + +This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current resiliency score and recommendations to further improve the score + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewaysApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **attempt_refresh** | **Bool** | Attempt to recalculate the Resiliency Information for the gateway | [default to nothing] + +### Return type + +[**GatewayResiliencyInformation**](GatewayResiliencyInformation.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_get_routes_information** +> virtual_network_gateways_get_routes_information(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) -> GatewayRouteSetsInformation, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_get_routes_information(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) -> Channel{ GatewayRouteSetsInformation }, OpenAPI.Clients.ApiResponse + + + +This operation retrieves the route set information for an Express Route Gateway based on their resiliency + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewaysApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **attempt_refresh** | **Bool** | Attempt to recalculate the Route Sets Information for the gateway | [default to nothing] + +### Return type + +[**GatewayRouteSetsInformation**](GatewayRouteSetsInformation.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_network_gateways_get_vpn_profile_package_url** > virtual_network_gateways_get_vpn_profile_package_url(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> String, OpenAPI.Clients.ApiResponse
> virtual_network_gateways_get_vpn_profile_package_url(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ String }, OpenAPI.Clients.ApiResponse @@ -349,10 +503,10 @@ Gets pre-generated VPN profile for P2S client of the virtual network gateway in Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -382,10 +536,10 @@ Get VPN client connection health detail per P2S client connection of the virtual Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -415,10 +569,10 @@ The Get VpnclientIpsecParameters operation retrieves information about the vpncl Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The virtual network gateway name. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The virtual network gateway name. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -448,9 +602,9 @@ Gets all virtual network gateways by resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -480,10 +634,10 @@ Gets all the connections in a virtual network gateway. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -513,16 +667,16 @@ Resets the primary of the virtual network gateway in the specified resource grou Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **gateway_vip** | **String**| Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway. | [default to nothing] + **gateway_vip** | **String** | Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway. | [default to nothing] ### Return type @@ -552,10 +706,10 @@ Resets the VPN client shared key of the virtual network gateway in the specified Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -585,11 +739,11 @@ The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**vpnclient_ipsec_params** | [**VpnClientIPsecParameters**](VpnClientIPsecParameters.md)| Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**vpnclient_ipsec_params** | [**VpnClientIPsecParameters**](VpnClientIPsecParameters.md) | Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider. | ### Return type @@ -606,6 +760,40 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **virtual_network_gateways_start_express_route_site_failover_simulation** +> virtual_network_gateways_start_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> String, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_start_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ String }, OpenAPI.Clients.ApiResponse + + + +This operation starts failover simulation on the gateway for the specified peering location + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewaysApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**peering_location** | **String** | Peering location of the test | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | + +### Return type + +**String** + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **virtual_network_gateways_start_packet_capture** > virtual_network_gateways_start_packet_capture(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) -> String, OpenAPI.Clients.ApiResponse
> virtual_network_gateways_start_packet_capture(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; parameters=nothing, _mediaType=nothing) -> Channel{ String }, OpenAPI.Clients.ApiResponse @@ -619,16 +807,50 @@ Starts packet capture on virtual network gateway in the specified resource group Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **parameters** | [**VpnPacketCaptureStartParameters**](VpnPacketCaptureStartParameters.md)| Virtual network gateway packet capture parameters supplied to start packet capture on gateway. | + **parameters** | [**VpnPacketCaptureStartParameters**](VpnPacketCaptureStartParameters.md) | Virtual network gateway packet capture parameters supplied to start packet capture on gateway. | + +### Return type + +**String** + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **virtual_network_gateways_stop_express_route_site_failover_simulation** +> virtual_network_gateways_stop_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String, stop_parameters::ExpressRouteFailoverStopApiParameters; _mediaType=nothing) -> String, OpenAPI.Clients.ApiResponse
+> virtual_network_gateways_stop_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String, stop_parameters::ExpressRouteFailoverStopApiParameters; _mediaType=nothing) -> Channel{ String }, OpenAPI.Clients.ApiResponse + + + +This operation stops failover simulation on the gateway for the specified peering location + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **VirtualNetworkGatewaysApi** | API context | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**stop_parameters** | [**ExpressRouteFailoverStopApiParameters**](ExpressRouteFailoverStopApiParameters.md) | Virtual network gateway stop simulation parameters supplied to stop failover simulation on gateway. | ### Return type @@ -658,11 +880,11 @@ Stops packet capture on virtual network gateway in the specified resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VpnPacketCaptureStopParameters**](VpnPacketCaptureStopParameters.md)| Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VpnPacketCaptureStopParameters**](VpnPacketCaptureStopParameters.md) | Virtual network gateway packet capture parameters supplied to stop packet capture on gateway. | ### Return type @@ -692,10 +914,10 @@ Gets a xml format representation for supported vpn devices. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -725,11 +947,11 @@ Updates a virtual network gateway tags. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_name** | **String**| The name of the virtual network gateway. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**TagsObject**](TagsObject.md)| Parameters supplied to update virtual network gateway tags. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_name** | **String** | The name of the virtual network gateway. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**TagsObject**](TagsObject.md) | Parameters supplied to update virtual network gateway tags. | ### Return type @@ -759,11 +981,11 @@ Gets a xml format representation for vpn device configuration script. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **VirtualNetworkGatewaysApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_network_gateway_connection_name** | **String**| The name of the virtual network gateway connection for which the configuration script is generated. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] -**parameters** | [**VpnDeviceScriptParameters**](VpnDeviceScriptParameters.md)| Parameters supplied to the generate vpn device script operation. | +**resource_group_name** | **String** | The name of the resource group. | +**virtual_network_gateway_connection_name** | **String** | The name of the virtual network gateway connection for which the configuration script is generated. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | +**parameters** | [**VpnDeviceScriptParameters**](VpnDeviceScriptParameters.md) | Parameters supplied to the generate vpn device script operation. | ### Return type diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VngClientConnectionConfiguration.md b/src/Network/VirtualNetworkGatewayClient/docs/VngClientConnectionConfiguration.md new file mode 100644 index 0000000..7594865 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VngClientConnectionConfiguration.md @@ -0,0 +1,15 @@ +# VngClientConnectionConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***VngClientConnectionConfigurationProperties**](VngClientConnectionConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VngClientConnectionConfigurationProperties.md b/src/Network/VirtualNetworkGatewayClient/docs/VngClientConnectionConfigurationProperties.md new file mode 100644 index 0000000..051207d --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VngClientConnectionConfigurationProperties.md @@ -0,0 +1,14 @@ +# VngClientConnectionConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**vpnClientAddressPool** | [***AddressSpace**](AddressSpace.md) | | [default to nothing] +**virtualNetworkGatewayPolicyGroups** | [**Vector{SubResource}**](SubResource.md) | List of references to virtualNetworkGatewayPolicyGroups | [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VpnClientConfiguration.md b/src/Network/VirtualNetworkGatewayClient/docs/VpnClientConfiguration.md index d23e40d..b72e889 100644 --- a/src/Network/VirtualNetworkGatewayClient/docs/VpnClientConfiguration.md +++ b/src/Network/VirtualNetworkGatewayClient/docs/VpnClientConfiguration.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **vpnClientRootCertificates** | [**Vector{VpnClientRootCertificate}**](VpnClientRootCertificate.md) | VpnClientRootCertificate for virtual network gateway. | [optional] [default to nothing] **vpnClientRevokedCertificates** | [**Vector{VpnClientRevokedCertificate}**](VpnClientRevokedCertificate.md) | VpnClientRevokedCertificate for Virtual network gateway. | [optional] [default to nothing] **vpnClientProtocols** | **Vector{String}** | VpnClientProtocols for Virtual network gateway. | [optional] [default to nothing] +**vpnAuthenticationTypes** | **Vector{String}** | VPN authentication types for the virtual network gateway.. | [optional] [default to nothing] **vpnClientIpsecPolicies** | [**Vector{IpsecPolicy}**](IpsecPolicy.md) | VpnClientIpsecPolicies for virtual network gateway P2S client. | [optional] [default to nothing] **radiusServerAddress** | **String** | The radius server address property of the VirtualNetworkGateway resource for vpn client connection. | [optional] [default to nothing] **radiusServerSecret** | **String** | The radius secret property of the VirtualNetworkGateway resource for vpn client connection. | [optional] [default to nothing] @@ -15,6 +16,7 @@ Name | Type | Description | Notes **aadTenant** | **String** | The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. | [optional] [default to nothing] **aadAudience** | **String** | The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. | [optional] [default to nothing] **aadIssuer** | **String** | The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. | [optional] [default to nothing] +**vngClientConnectionConfigurations** | [**Vector{VngClientConnectionConfiguration}**](VngClientConnectionConfiguration.md) | per ip address pool connection policy for virtual network gateway P2S client. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VirtualNetworkGatewayClient/docs/VpnNatRuleMapping.md b/src/Network/VirtualNetworkGatewayClient/docs/VpnNatRuleMapping.md new file mode 100644 index 0000000..1322a79 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/docs/VpnNatRuleMapping.md @@ -0,0 +1,13 @@ +# VpnNatRuleMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**addressSpace** | **String** | Address space for Vpn NatRule mapping. | [optional] [default to nothing] +**portRange** | **String** | Port range for Vpn NatRule mapping. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VirtualNetworkGatewayClient/src/VirtualNetworkGatewayClient.jl b/src/Network/VirtualNetworkGatewayClient/src/VirtualNetworkGatewayClient.jl index f7add5d..1a30236 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/VirtualNetworkGatewayClient.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/VirtualNetworkGatewayClient.jl @@ -7,10 +7,11 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-05-01" +const API_VERSION = "2024-07-01" include("modelincludes.jl") +include("apis/api_DefaultApi.jl") include("apis/api_LocalNetworkGatewaysApi.jl") include("apis/api_VirtualNetworkGatewayConnectionsApi.jl") include("apis/api_VirtualNetworkGatewaysApi.jl") diff --git a/src/Network/VirtualNetworkGatewayClient/src/apis/api_DefaultApi.jl b/src/Network/VirtualNetworkGatewayClient/src/apis/api_DefaultApi.jl new file mode 100644 index 0000000..ad5840d --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/apis/api_DefaultApi.jl @@ -0,0 +1,320 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct DefaultApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `DefaultApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ DefaultApi }) = "https://management.azure.com" + +const _returntypes_virtual_network_gateway_nat_rules_create_or_update_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualNetworkGatewayNatRule, + Regex("^" * replace("201", "x"=>".") * "\$") => VirtualNetworkGatewayNatRule, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateway_nat_rules_create_or_update(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String, nat_rule_parameters::VirtualNetworkGatewayNatRule; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_virtual_network_gateway_nat_rules_create_or_update_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", ["azure_auth", ], nat_rule_parameters) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "natRuleName", nat_rule_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- nat_rule_name::String (required) +- api_version::String (required) +- nat_rule_parameters::VirtualNetworkGatewayNatRule (required) + +Return: VirtualNetworkGatewayNatRule, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateway_nat_rules_create_or_update(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String, nat_rule_parameters::VirtualNetworkGatewayNatRule; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_create_or_update(_api, subscription_id, resource_group_name, virtual_network_gateway_name, nat_rule_name, api_version, nat_rule_parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateway_nat_rules_create_or_update(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String, nat_rule_parameters::VirtualNetworkGatewayNatRule; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_create_or_update(_api, subscription_id, resource_group_name, virtual_network_gateway_name, nat_rule_name, api_version, nat_rule_parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateway_nat_rules_delete_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateway_nat_rules_delete(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_virtual_network_gateway_nat_rules_delete_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "natRuleName", nat_rule_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Deletes a nat rule. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- nat_rule_name::String (required) +- api_version::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateway_nat_rules_delete(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_delete(_api, subscription_id, resource_group_name, virtual_network_gateway_name, nat_rule_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateway_nat_rules_delete(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_delete(_api, subscription_id, resource_group_name, virtual_network_gateway_name, nat_rule_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateway_nat_rules_get_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => VirtualNetworkGatewayNatRule, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateway_nat_rules_get(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_network_gateway_nat_rules_get_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "natRuleName", nat_rule_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Retrieves the details of a nat rule. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- nat_rule_name::String (required) +- api_version::String (required) + +Return: VirtualNetworkGatewayNatRule, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateway_nat_rules_get(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_get(_api, subscription_id, resource_group_name, virtual_network_gateway_name, nat_rule_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateway_nat_rules_get(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, nat_rule_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_get(_api, subscription_id, resource_group_name, virtual_network_gateway_name, nat_rule_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateway_nat_rules_list_by_virtual_network_gateway_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ListVirtualNetworkGatewayNatRulesResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_network_gateway_nat_rules_list_by_virtual_network_gateway_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Retrieves all nat rules for a particular virtual network gateway. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) + +Return: ListVirtualNetworkGatewayNatRulesResult, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_nat_rules_list_by_virtual_network_gateway(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateways_invoke_abort_migration_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_invoke_abort_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_invoke_abort_migration_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Trigger abort migration for the virtual network gateway. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_invoke_abort_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_abort_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_invoke_abort_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_abort_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateways_invoke_commit_migration_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_invoke_commit_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_invoke_commit_migration_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Trigger commit migration for the virtual network gateway. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_invoke_commit_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_commit_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_invoke_commit_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_commit_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateways_invoke_execute_migration_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_invoke_execute_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_invoke_execute_migration_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/executeMigration", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Trigger execute migration for the virtual network gateway. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_invoke_execute_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_execute_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_invoke_execute_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_execute_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateways_invoke_prepare_migration_DefaultApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_invoke_prepare_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, migration_params::VirtualNetworkGatewayMigrationParameters; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_invoke_prepare_migration_DefaultApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/prepareMigration", ["azure_auth", ], migration_params) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Trigger prepare migration for the virtual network gateway. + +Params: +- subscription_id::String (required) +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) +- migration_params::VirtualNetworkGatewayMigrationParameters (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_invoke_prepare_migration(_api::DefaultApi, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, migration_params::VirtualNetworkGatewayMigrationParameters; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_prepare_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version, migration_params; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_invoke_prepare_migration(_api::DefaultApi, response_stream::Channel, subscription_id::String, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, migration_params::VirtualNetworkGatewayMigrationParameters; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_invoke_prepare_migration(_api, subscription_id, resource_group_name, virtual_network_gateway_name, api_version, migration_params; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export virtual_network_gateway_nat_rules_create_or_update +export virtual_network_gateway_nat_rules_delete +export virtual_network_gateway_nat_rules_get +export virtual_network_gateway_nat_rules_list_by_virtual_network_gateway +export virtual_network_gateways_invoke_abort_migration +export virtual_network_gateways_invoke_commit_migration +export virtual_network_gateways_invoke_execute_migration +export virtual_network_gateways_invoke_prepare_migration diff --git a/src/Network/VirtualNetworkGatewayClient/src/apis/api_LocalNetworkGatewaysApi.jl b/src/Network/VirtualNetworkGatewayClient/src/apis/api_LocalNetworkGatewaysApi.jl index 41ce616..ad5bdde 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/apis/api_LocalNetworkGatewaysApi.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/apis/api_LocalNetworkGatewaysApi.jl @@ -24,7 +24,7 @@ function _oacinternal_local_network_gateways_create_or_update(_api::LocalNetwork OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "localNetworkGatewayName", local_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -65,7 +65,7 @@ function _oacinternal_local_network_gateways_delete(_api::LocalNetworkGatewaysAp OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "localNetworkGatewayName", local_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -103,7 +103,7 @@ function _oacinternal_local_network_gateways_get(_api::LocalNetworkGatewaysApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "localNetworkGatewayName", local_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -138,7 +138,7 @@ function _oacinternal_local_network_gateways_list(_api::LocalNetworkGatewaysApi, _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_local_network_gateways_list_LocalNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -175,7 +175,7 @@ function _oacinternal_local_network_gateways_update_tags(_api::LocalNetworkGatew OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "localNetworkGatewayName", local_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewayConnectionsApi.jl b/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewayConnectionsApi.jl index 9e3e143..54a852f 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewayConnectionsApi.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewayConnectionsApi.jl @@ -22,7 +22,7 @@ function _oacinternal_virtual_network_gateway_connections_create_or_update(_api: OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_virtual_network_gateway_connections_delete(_api::VirtualNe OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -97,7 +97,7 @@ function _oacinternal_virtual_network_gateway_connections_get(_api::VirtualNetwo OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -123,6 +123,43 @@ function virtual_network_gateway_connections_get(_api::VirtualNetworkGatewayConn return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_network_gateway_connections_get_ike_sas_VirtualNetworkGatewayConnectionsApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_virtual_network_gateway_connections_get_ike_sas(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateway_connections_get_ike_sas_VirtualNetworkGatewayConnectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Lists IKE Security Associations for the virtual network gateway connection in the specified resource group. + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_connection_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: String, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateway_connections_get_ike_sas(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_connections_get_ike_sas(_api, resource_group_name, virtual_network_gateway_connection_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateway_connections_get_ike_sas(_api::VirtualNetworkGatewayConnectionsApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_connections_get_ike_sas(_api, resource_group_name, virtual_network_gateway_connection_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_network_gateway_connections_get_shared_key_VirtualNetworkGatewayConnectionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ConnectionSharedKey, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, @@ -133,7 +170,7 @@ function _oacinternal_virtual_network_gateway_connections_get_shared_key(_api::V OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -168,7 +205,7 @@ function _oacinternal_virtual_network_gateway_connections_list(_api::VirtualNetw _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_network_gateway_connections_list_VirtualNetworkGatewayConnectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -193,6 +230,42 @@ function virtual_network_gateway_connections_list(_api::VirtualNetworkGatewayCon return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_network_gateway_connections_reset_connection_VirtualNetworkGatewayConnectionsApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_virtual_network_gateway_connections_reset_connection(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateway_connections_reset_connection_VirtualNetworkGatewayConnectionsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Resets the virtual network gateway connection specified. + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_connection_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateway_connections_reset_connection(_api::VirtualNetworkGatewayConnectionsApi, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_connections_reset_connection(_api, resource_group_name, virtual_network_gateway_connection_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateway_connections_reset_connection(_api::VirtualNetworkGatewayConnectionsApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_connection_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateway_connections_reset_connection(_api, resource_group_name, virtual_network_gateway_connection_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_network_gateway_connections_reset_shared_key_VirtualNetworkGatewayConnectionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => ConnectionResetSharedKey, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, @@ -204,7 +277,7 @@ function _oacinternal_virtual_network_gateway_connections_reset_shared_key(_api: OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -242,7 +315,7 @@ function _oacinternal_virtual_network_gateway_connections_set_shared_key(_api::V OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -280,7 +353,7 @@ function _oacinternal_virtual_network_gateway_connections_start_packet_capture(_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -318,7 +391,7 @@ function _oacinternal_virtual_network_gateway_connections_stop_packet_capture(_a OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -356,7 +429,7 @@ function _oacinternal_virtual_network_gateway_connections_update_tags(_api::Virt OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -386,8 +459,10 @@ end export virtual_network_gateway_connections_create_or_update export virtual_network_gateway_connections_delete export virtual_network_gateway_connections_get +export virtual_network_gateway_connections_get_ike_sas export virtual_network_gateway_connections_get_shared_key export virtual_network_gateway_connections_list +export virtual_network_gateway_connections_reset_connection export virtual_network_gateway_connections_reset_shared_key export virtual_network_gateway_connections_set_shared_key export virtual_network_gateway_connections_start_packet_capture diff --git a/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewaysApi.jl b/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewaysApi.jl index 711b132..d617b14 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewaysApi.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/apis/api_VirtualNetworkGatewaysApi.jl @@ -22,7 +22,7 @@ function _oacinternal_virtual_network_gateways_create_or_update(_api::VirtualNet OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -61,7 +61,7 @@ function _oacinternal_virtual_network_gateways_delete(_api::VirtualNetworkGatewa OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -98,7 +98,7 @@ function _oacinternal_virtual_network_gateways_disconnect_virtual_network_gatewa OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -136,7 +136,7 @@ function _oacinternal_virtual_network_gateways_generate_vpn_profile(_api::Virtua OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -174,7 +174,7 @@ function _oacinternal_virtual_network_gateways_generatevpnclientpackage(_api::Vi OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -211,7 +211,7 @@ function _oacinternal_virtual_network_gateways_get(_api::VirtualNetworkGatewaysA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -248,8 +248,8 @@ function _oacinternal_virtual_network_gateways_get_advertised_routes(_api::Virtu OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "peer", peer) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "peer", peer; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -287,8 +287,8 @@ function _oacinternal_virtual_network_gateways_get_bgp_peer_status(_api::Virtual OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "peer", peer) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "peer", peer; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -315,6 +315,88 @@ function virtual_network_gateways_get_bgp_peer_status(_api::VirtualNetworkGatewa return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_network_gateways_get_failover_all_test_details_VirtualNetworkGatewaysApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Vector{ExpressRouteFailoverTestDetails}, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_get_failover_all_test_details(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, type::String, fetch_latest::Bool, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_get_failover_all_test_details_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverAllTestsDetails", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "type", type; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "fetchLatest", fetch_latest; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""This operation retrieves the details of all the failover tests performed on the gateway for different peering locations + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- type::String (required) +- fetch_latest::Bool (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Vector{ExpressRouteFailoverTestDetails}, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_get_failover_all_test_details(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, type::String, fetch_latest::Bool, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_failover_all_test_details(_api, resource_group_name, virtual_network_gateway_name, type, fetch_latest, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_get_failover_all_test_details(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, type::String, fetch_latest::Bool, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_failover_all_test_details(_api, resource_group_name, virtual_network_gateway_name, type, fetch_latest, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateways_get_failover_single_test_details_VirtualNetworkGatewaysApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Vector{ExpressRouteFailoverSingleTestDetails}, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_get_failover_single_test_details(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, failover_test_id::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_get_failover_single_test_details_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "peeringLocation", peering_location; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "failoverTestId", failover_test_id; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- peering_location::String (required) +- failover_test_id::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Vector{ExpressRouteFailoverSingleTestDetails}, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_get_failover_single_test_details(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, failover_test_id::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_failover_single_test_details(_api, resource_group_name, virtual_network_gateway_name, peering_location, failover_test_id, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_get_failover_single_test_details(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, failover_test_id::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_failover_single_test_details(_api, resource_group_name, virtual_network_gateway_name, peering_location, failover_test_id, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_network_gateways_get_learned_routes_VirtualNetworkGatewaysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => GatewayRouteListResult, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, @@ -326,7 +408,7 @@ function _oacinternal_virtual_network_gateways_get_learned_routes(_api::VirtualN OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -352,6 +434,84 @@ function virtual_network_gateways_get_learned_routes(_api::VirtualNetworkGateway return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_network_gateways_get_resiliency_information_VirtualNetworkGatewaysApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => GatewayResiliencyInformation, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_get_resiliency_information(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_get_resiliency_information_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getResiliencyInformation", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "attemptRefresh", attempt_refresh; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current resiliency score and recommendations to further improve the score + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- attempt_refresh::Bool + +Return: GatewayResiliencyInformation, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_get_resiliency_information(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_resiliency_information(_api, resource_group_name, virtual_network_gateway_name, api_version, subscription_id; attempt_refresh=attempt_refresh, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_get_resiliency_information(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_resiliency_information(_api, resource_group_name, virtual_network_gateway_name, api_version, subscription_id; attempt_refresh=attempt_refresh, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_virtual_network_gateways_get_routes_information_VirtualNetworkGatewaysApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => GatewayRouteSetsInformation, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_get_routes_information(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_get_routes_information_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getRoutesInformation", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "attemptRefresh", attempt_refresh; style="", is_explode=false) # type Bool + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""This operation retrieves the route set information for an Express Route Gateway based on their resiliency + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- attempt_refresh::Bool + +Return: GatewayRouteSetsInformation, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_get_routes_information(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_routes_information(_api, resource_group_name, virtual_network_gateway_name, api_version, subscription_id; attempt_refresh=attempt_refresh, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_get_routes_information(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String; attempt_refresh=nothing, _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_get_routes_information(_api, resource_group_name, virtual_network_gateway_name, api_version, subscription_id; attempt_refresh=attempt_refresh, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_network_gateways_get_vpn_profile_package_url_VirtualNetworkGatewaysApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => String, Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, @@ -363,7 +523,7 @@ function _oacinternal_virtual_network_gateways_get_vpn_profile_package_url(_api: OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -400,7 +560,7 @@ function _oacinternal_virtual_network_gateways_get_vpnclient_connection_health(_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -436,7 +596,7 @@ function _oacinternal_virtual_network_gateways_get_vpnclient_ipsec_parameters(_a OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -471,7 +631,7 @@ function _oacinternal_virtual_network_gateways_list(_api::VirtualNetworkGateways _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_virtual_network_gateways_list_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -506,7 +666,7 @@ function _oacinternal_virtual_network_gateways_list_connections(_api::VirtualNet OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -543,8 +703,8 @@ function _oacinternal_virtual_network_gateways_reset(_api::VirtualNetworkGateway OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "gatewayVip", gateway_vip) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "gatewayVip", gateway_vip; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -582,7 +742,7 @@ function _oacinternal_virtual_network_gateways_reset_vpn_client_shared_key(_api: OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -619,7 +779,7 @@ function _oacinternal_virtual_network_gateways_set_vpnclient_ipsec_parameters(_a OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -646,6 +806,45 @@ function virtual_network_gateways_set_vpnclient_ipsec_parameters(_api::VirtualNe return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_network_gateways_start_express_route_site_failover_simulation_VirtualNetworkGatewaysApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_start_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_start_express_route_site_failover_simulation_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startSiteFailoverTest", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "peeringLocation", peering_location; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""This operation starts failover simulation on the gateway for the specified peering location + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- peering_location::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: String, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_start_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_start_express_route_site_failover_simulation(_api, resource_group_name, virtual_network_gateway_name, peering_location, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_start_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, peering_location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_start_express_route_site_failover_simulation(_api, resource_group_name, virtual_network_gateway_name, peering_location, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_network_gateways_start_packet_capture_VirtualNetworkGatewaysApi = Dict{Regex,Type}( Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("200", "x"=>".") * "\$") => String, @@ -657,7 +856,7 @@ function _oacinternal_virtual_network_gateways_start_packet_capture(_api::Virtua OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -684,6 +883,44 @@ function virtual_network_gateways_start_packet_capture(_api::VirtualNetworkGatew return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_virtual_network_gateways_stop_express_route_site_failover_simulation_VirtualNetworkGatewaysApi = Dict{Regex,Type}( + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("200", "x"=>".") * "\$") => String, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_virtual_network_gateways_stop_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String, stop_parameters::ExpressRouteFailoverStopApiParameters; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_virtual_network_gateways_stop_express_route_site_failover_simulation_VirtualNetworkGatewaysApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest", ["azure_auth", ], stop_parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""This operation stops failover simulation on the gateway for the specified peering location + +Params: +- resource_group_name::String (required) +- virtual_network_gateway_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- stop_parameters::ExpressRouteFailoverStopApiParameters (required) + +Return: String, OpenAPI.Clients.ApiResponse +""" +function virtual_network_gateways_stop_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String, stop_parameters::ExpressRouteFailoverStopApiParameters; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_stop_express_route_site_failover_simulation(_api, resource_group_name, virtual_network_gateway_name, api_version, subscription_id, stop_parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function virtual_network_gateways_stop_express_route_site_failover_simulation(_api::VirtualNetworkGatewaysApi, response_stream::Channel, resource_group_name::String, virtual_network_gateway_name::String, api_version::String, subscription_id::String, stop_parameters::ExpressRouteFailoverStopApiParameters; _mediaType=nothing) + _ctx = _oacinternal_virtual_network_gateways_stop_express_route_site_failover_simulation(_api, resource_group_name, virtual_network_gateway_name, api_version, subscription_id, stop_parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_virtual_network_gateways_stop_packet_capture_VirtualNetworkGatewaysApi = Dict{Regex,Type}( Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("200", "x"=>".") * "\$") => String, @@ -695,7 +932,7 @@ function _oacinternal_virtual_network_gateways_stop_packet_capture(_api::Virtual OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -732,7 +969,7 @@ function _oacinternal_virtual_network_gateways_supported_vpn_devices(_api::Virtu OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -769,7 +1006,7 @@ function _oacinternal_virtual_network_gateways_update_tags(_api::VirtualNetworkG OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayName", virtual_network_gateway_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -806,7 +1043,7 @@ function _oacinternal_virtual_network_gateways_vpn_device_configuration_script(_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualNetworkGatewayConnectionName", virtual_network_gateway_connection_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -841,7 +1078,11 @@ export virtual_network_gateways_generatevpnclientpackage export virtual_network_gateways_get export virtual_network_gateways_get_advertised_routes export virtual_network_gateways_get_bgp_peer_status +export virtual_network_gateways_get_failover_all_test_details +export virtual_network_gateways_get_failover_single_test_details export virtual_network_gateways_get_learned_routes +export virtual_network_gateways_get_resiliency_information +export virtual_network_gateways_get_routes_information export virtual_network_gateways_get_vpn_profile_package_url export virtual_network_gateways_get_vpnclient_connection_health export virtual_network_gateways_get_vpnclient_ipsec_parameters @@ -850,7 +1091,9 @@ export virtual_network_gateways_list_connections export virtual_network_gateways_reset export virtual_network_gateways_reset_vpn_client_shared_key export virtual_network_gateways_set_vpnclient_ipsec_parameters +export virtual_network_gateways_start_express_route_site_failover_simulation export virtual_network_gateways_start_packet_capture +export virtual_network_gateways_stop_express_route_site_failover_simulation export virtual_network_gateways_stop_packet_capture export virtual_network_gateways_supported_vpn_devices export virtual_network_gateways_update_tags diff --git a/src/Network/VirtualNetworkGatewayClient/src/modelincludes.jl b/src/Network/VirtualNetworkGatewayClient/src/modelincludes.jl index 5e1b89c..c9218d5 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/modelincludes.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/modelincludes.jl @@ -6,6 +6,7 @@ include("models/model_AuthenticationMethod.jl") include("models/model_BgpPeerStatus.jl") include("models/model_BgpPeerStatusListResult.jl") include("models/model_BgpSettings.jl") +include("models/model_CircuitMetadataMap.jl") include("models/model_CloudError.jl") include("models/model_CloudErrorBody.jl") include("models/model_ConnectionProtocol.jl") @@ -14,22 +15,44 @@ include("models/model_ConnectionSharedKey.jl") include("models/model_DhGroup.jl") include("models/model_Error.jl") include("models/model_ErrorDetails.jl") +include("models/model_ErrorResponse.jl") +include("models/model_ExpressRouteFailoverCircuitResourceDetails.jl") +include("models/model_ExpressRouteFailoverConnectionResourceDetails.jl") +include("models/model_ExpressRouteFailoverRedundantRoute.jl") +include("models/model_ExpressRouteFailoverSingleTestDetails.jl") +include("models/model_ExpressRouteFailoverStopApiParameters.jl") +include("models/model_ExpressRouteFailoverTestDetails.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") +include("models/model_FailoverConnectionDetails.jl") +include("models/model_GatewayCustomBgpIpAddressIpConfiguration.jl") +include("models/model_GatewayResiliencyInformation.jl") +include("models/model_GatewayResiliencyRecommendation.jl") include("models/model_GatewayRoute.jl") include("models/model_GatewayRouteListResult.jl") +include("models/model_RouteSourceDetails.jl") +include("models/model_GatewayRouteSet.jl") +include("models/model_GatewayRouteSetsInformation.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfigurationBgpPeeringAddress.jl") include("models/model_IkeEncryption.jl") include("models/model_IkeIntegrity.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_IpsecEncryption.jl") include("models/model_IpsecIntegrity.jl") include("models/model_IpsecPolicy.jl") +include("models/model_ListVirtualNetworkGatewayNatRulesResult.jl") include("models/model_LocalNetworkGateway.jl") include("models/model_LocalNetworkGatewayListResult.jl") include("models/model_LocalNetworkGatewayPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") include("models/model_P2SVpnConnectionRequest.jl") include("models/model_PfsGroup.jl") include("models/model_ProvisioningState.jl") include("models/model_RadiusServer.jl") +include("models/model_ResiliencyRecommendationComponents.jl") include("models/model_Resource.jl") include("models/model_SubResource.jl") include("models/model_TagsObject.jl") @@ -37,19 +60,33 @@ include("models/model_TrafficSelectorPolicy.jl") include("models/model_TunnelConnectionHealth.jl") include("models/model_VirtualNetworkConnectionGatewayReference.jl") include("models/model_VirtualNetworkGateway.jl") +include("models/model_VirtualNetworkGatewayAutoScaleBounds.jl") +include("models/model_VirtualNetworkGatewayAutoScaleConfiguration.jl") include("models/model_VirtualNetworkGatewayConnection.jl") include("models/model_VirtualNetworkGatewayConnectionListEntity.jl") include("models/model_VirtualNetworkGatewayConnectionListEntityPropertiesFormat.jl") include("models/model_VirtualNetworkGatewayConnectionListResult.jl") +include("models/model_VirtualNetworkGatewayConnectionMode.jl") include("models/model_VirtualNetworkGatewayConnectionPropertiesFormat.jl") include("models/model_VirtualNetworkGatewayConnectionStatus.jl") +include("models/model_VirtualNetworkGatewayConnectionTunnelProperties.jl") include("models/model_VirtualNetworkGatewayConnectionType.jl") include("models/model_VirtualNetworkGatewayIPConfiguration.jl") include("models/model_VirtualNetworkGatewayIPConfigurationPropertiesFormat.jl") include("models/model_VirtualNetworkGatewayListConnectionsResult.jl") include("models/model_VirtualNetworkGatewayListResult.jl") +include("models/model_VirtualNetworkGatewayMigrationParameters.jl") +include("models/model_VirtualNetworkGatewayMigrationStatus.jl") +include("models/model_VirtualNetworkGatewayMigrationType.jl") +include("models/model_VirtualNetworkGatewayNatRule.jl") +include("models/model_VirtualNetworkGatewayNatRuleProperties.jl") +include("models/model_VirtualNetworkGatewayPolicyGroup.jl") +include("models/model_VirtualNetworkGatewayPolicyGroupMember.jl") +include("models/model_VirtualNetworkGatewayPolicyGroupProperties.jl") include("models/model_VirtualNetworkGatewayPropertiesFormat.jl") include("models/model_VirtualNetworkGatewaySku.jl") +include("models/model_VngClientConnectionConfiguration.jl") +include("models/model_VngClientConnectionConfigurationProperties.jl") include("models/model_VpnClientConfiguration.jl") include("models/model_VpnClientConnectionHealthDetail.jl") include("models/model_VpnClientConnectionHealthDetailListResult.jl") @@ -60,5 +97,6 @@ include("models/model_VpnClientRevokedCertificatePropertiesFormat.jl") include("models/model_VpnClientRootCertificate.jl") include("models/model_VpnClientRootCertificatePropertiesFormat.jl") include("models/model_VpnDeviceScriptParameters.jl") +include("models/model_VpnNatRuleMapping.jl") include("models/model_VpnPacketCaptureStartParameters.jl") include("models/model_VpnPacketCaptureStopParameters.jl") diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_AddressSpace.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_AddressSpace.jl index d721cff..e123d02 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_AddressSpace.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_AddressSpace.jl @@ -7,25 +7,36 @@ AddressSpace contains an array of IP address ranges that can be used by subnets AddressSpace(; addressPrefixes=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefixes::Vector{String} : A list of address blocks reserved for this virtual network in CIDR notation. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools allocating IP address prefixes. """ Base.@kwdef mutable struct AddressSpace <: OpenAPI.APIModel addressPrefixes::Union{Nothing, Vector{String}} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } - function AddressSpace(addressPrefixes, ) - OpenAPI.validate_property(AddressSpace, Symbol("addressPrefixes"), addressPrefixes) - return new(addressPrefixes, ) + function AddressSpace(addressPrefixes, ipamPoolPrefixAllocations, ) + o = new(addressPrefixes, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type AddressSpace -const _property_types_AddressSpace = Dict{Symbol,String}(Symbol("addressPrefixes")=>"Vector{String}", ) +const _property_types_AddressSpace = Dict{Symbol,String}(Symbol("addressPrefixes")=>"Vector{String}", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ AddressSpace }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AddressSpace[name]))} -function check_required(o::AddressSpace) +function OpenAPI.check_required(o::AddressSpace) true end +function OpenAPI.validate_properties(o::AddressSpace) + OpenAPI.validate_property(AddressSpace, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(AddressSpace, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ AddressSpace }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatus.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatus.jl index cef52e1..42fa764 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatus.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatus.jl @@ -36,26 +36,34 @@ Base.@kwdef mutable struct BgpPeerStatus <: OpenAPI.APIModel messagesReceived::Union{Nothing, Int64} = nothing function BgpPeerStatus(localAddress, neighbor, asn, state, connectedDuration, routesReceived, messagesSent, messagesReceived, ) - OpenAPI.validate_property(BgpPeerStatus, Symbol("localAddress"), localAddress) - OpenAPI.validate_property(BgpPeerStatus, Symbol("neighbor"), neighbor) - OpenAPI.validate_property(BgpPeerStatus, Symbol("asn"), asn) - OpenAPI.validate_property(BgpPeerStatus, Symbol("state"), state) - OpenAPI.validate_property(BgpPeerStatus, Symbol("connectedDuration"), connectedDuration) - OpenAPI.validate_property(BgpPeerStatus, Symbol("routesReceived"), routesReceived) - OpenAPI.validate_property(BgpPeerStatus, Symbol("messagesSent"), messagesSent) - OpenAPI.validate_property(BgpPeerStatus, Symbol("messagesReceived"), messagesReceived) - return new(localAddress, neighbor, asn, state, connectedDuration, routesReceived, messagesSent, messagesReceived, ) + o = new(localAddress, neighbor, asn, state, connectedDuration, routesReceived, messagesSent, messagesReceived, ) + OpenAPI.validate_properties(o) + return o end end # type BgpPeerStatus const _property_types_BgpPeerStatus = Dict{Symbol,String}(Symbol("localAddress")=>"String", Symbol("neighbor")=>"String", Symbol("asn")=>"Int64", Symbol("state")=>"String", Symbol("connectedDuration")=>"String", Symbol("routesReceived")=>"Int64", Symbol("messagesSent")=>"Int64", Symbol("messagesReceived")=>"Int64", ) OpenAPI.property_type(::Type{ BgpPeerStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BgpPeerStatus[name]))} -function check_required(o::BgpPeerStatus) +function OpenAPI.check_required(o::BgpPeerStatus) true end +function OpenAPI.validate_properties(o::BgpPeerStatus) + OpenAPI.validate_property(BgpPeerStatus, Symbol("localAddress"), o.localAddress) + OpenAPI.validate_property(BgpPeerStatus, Symbol("neighbor"), o.neighbor) + OpenAPI.validate_property(BgpPeerStatus, Symbol("asn"), o.asn) + OpenAPI.validate_property(BgpPeerStatus, Symbol("state"), o.state) + OpenAPI.validate_property(BgpPeerStatus, Symbol("connectedDuration"), o.connectedDuration) + OpenAPI.validate_property(BgpPeerStatus, Symbol("routesReceived"), o.routesReceived) + OpenAPI.validate_property(BgpPeerStatus, Symbol("messagesSent"), o.messagesSent) + OpenAPI.validate_property(BgpPeerStatus, Symbol("messagesReceived"), o.messagesReceived) +end + function OpenAPI.validate_property(::Type{ BgpPeerStatus }, name::Symbol, val) + + + if name === Symbol("asn") OpenAPI.validate_param(name, "BgpPeerStatus", :format, val, "int64") end @@ -63,15 +71,21 @@ function OpenAPI.validate_property(::Type{ BgpPeerStatus }, name::Symbol, val) OpenAPI.validate_param(name, "BgpPeerStatus", :maximum, val, 4294967295, false) OpenAPI.validate_param(name, "BgpPeerStatus", :minimum, val, 0, false) end + if name === Symbol("state") OpenAPI.validate_param(name, "BgpPeerStatus", :enum, val, ["Unknown", "Stopped", "Idle", "Connecting", "Connected"]) end + + + if name === Symbol("routesReceived") OpenAPI.validate_param(name, "BgpPeerStatus", :format, val, "int64") end + if name === Symbol("messagesSent") OpenAPI.validate_param(name, "BgpPeerStatus", :format, val, "int64") end + if name === Symbol("messagesReceived") OpenAPI.validate_param(name, "BgpPeerStatus", :format, val, "int64") end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatusListResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatusListResult.jl index c9f6c9a..126b5c1 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatusListResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpPeerStatusListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct BgpPeerStatusListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BgpPeerStatus} } function BgpPeerStatusListResult(value, ) - OpenAPI.validate_property(BgpPeerStatusListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type BgpPeerStatusListResult const _property_types_BgpPeerStatusListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{BgpPeerStatus}", ) OpenAPI.property_type(::Type{ BgpPeerStatusListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BgpPeerStatusListResult[name]))} -function check_required(o::BgpPeerStatusListResult) +function OpenAPI.check_required(o::BgpPeerStatusListResult) true end +function OpenAPI.validate_properties(o::BgpPeerStatusListResult) + OpenAPI.validate_property(BgpPeerStatusListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ BgpPeerStatusListResult }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpSettings.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpSettings.jl index 65e845a..cec5b67 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpSettings.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_BgpSettings.jl @@ -24,22 +24,28 @@ Base.@kwdef mutable struct BgpSettings <: OpenAPI.APIModel bgpPeeringAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IPConfigurationBgpPeeringAddress} } function BgpSettings(asn, bgpPeeringAddress, peerWeight, bgpPeeringAddresses, ) - OpenAPI.validate_property(BgpSettings, Symbol("asn"), asn) - OpenAPI.validate_property(BgpSettings, Symbol("bgpPeeringAddress"), bgpPeeringAddress) - OpenAPI.validate_property(BgpSettings, Symbol("peerWeight"), peerWeight) - OpenAPI.validate_property(BgpSettings, Symbol("bgpPeeringAddresses"), bgpPeeringAddresses) - return new(asn, bgpPeeringAddress, peerWeight, bgpPeeringAddresses, ) + o = new(asn, bgpPeeringAddress, peerWeight, bgpPeeringAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type BgpSettings const _property_types_BgpSettings = Dict{Symbol,String}(Symbol("asn")=>"Int64", Symbol("bgpPeeringAddress")=>"String", Symbol("peerWeight")=>"Int64", Symbol("bgpPeeringAddresses")=>"Vector{IPConfigurationBgpPeeringAddress}", ) OpenAPI.property_type(::Type{ BgpSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BgpSettings[name]))} -function check_required(o::BgpSettings) +function OpenAPI.check_required(o::BgpSettings) true end +function OpenAPI.validate_properties(o::BgpSettings) + OpenAPI.validate_property(BgpSettings, Symbol("asn"), o.asn) + OpenAPI.validate_property(BgpSettings, Symbol("bgpPeeringAddress"), o.bgpPeeringAddress) + OpenAPI.validate_property(BgpSettings, Symbol("peerWeight"), o.peerWeight) + OpenAPI.validate_property(BgpSettings, Symbol("bgpPeeringAddresses"), o.bgpPeeringAddresses) +end + function OpenAPI.validate_property(::Type{ BgpSettings }, name::Symbol, val) + if name === Symbol("asn") OpenAPI.validate_param(name, "BgpSettings", :format, val, "int64") end @@ -47,7 +53,10 @@ function OpenAPI.validate_property(::Type{ BgpSettings }, name::Symbol, val) OpenAPI.validate_param(name, "BgpSettings", :maximum, val, 4294967295, false) OpenAPI.validate_param(name, "BgpSettings", :minimum, val, 0, false) end + + if name === Symbol("peerWeight") OpenAPI.validate_param(name, "BgpSettings", :format, val, "int32") end + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_CircuitMetadataMap.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_CircuitMetadataMap.jl new file mode 100644 index 0000000..b11c53f --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_CircuitMetadataMap.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CircuitMetadataMap + + CircuitMetadataMap(; + name=nothing, + link=nothing, + location=nothing, + ) + + - name::String : Express Route Circuit Name + - link::String : Link to the Express Route circuit + - location::String : Peering location of the Express Route Circuit +""" +Base.@kwdef mutable struct CircuitMetadataMap <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + link::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + + function CircuitMetadataMap(name, link, location, ) + o = new(name, link, location, ) + OpenAPI.validate_properties(o) + return o + end +end # type CircuitMetadataMap + +const _property_types_CircuitMetadataMap = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("link")=>"String", Symbol("location")=>"String", ) +OpenAPI.property_type(::Type{ CircuitMetadataMap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CircuitMetadataMap[name]))} + +function OpenAPI.check_required(o::CircuitMetadataMap) + true +end + +function OpenAPI.validate_properties(o::CircuitMetadataMap) + OpenAPI.validate_property(CircuitMetadataMap, Symbol("name"), o.name) + OpenAPI.validate_property(CircuitMetadataMap, Symbol("link"), o.link) + OpenAPI.validate_property(CircuitMetadataMap, Symbol("location"), o.location) +end + +function OpenAPI.validate_property(::Type{ CircuitMetadataMap }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudError.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudError.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudErrorBody.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionResetSharedKey.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionResetSharedKey.jl index 14d2914..473b6db 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionResetSharedKey.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionResetSharedKey.jl @@ -15,20 +15,26 @@ Base.@kwdef mutable struct ConnectionResetSharedKey <: OpenAPI.APIModel keyLength::Union{Nothing, Int64} = nothing function ConnectionResetSharedKey(keyLength, ) - OpenAPI.validate_property(ConnectionResetSharedKey, Symbol("keyLength"), keyLength) - return new(keyLength, ) + o = new(keyLength, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionResetSharedKey const _property_types_ConnectionResetSharedKey = Dict{Symbol,String}(Symbol("keyLength")=>"Int64", ) OpenAPI.property_type(::Type{ ConnectionResetSharedKey }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionResetSharedKey[name]))} -function check_required(o::ConnectionResetSharedKey) +function OpenAPI.check_required(o::ConnectionResetSharedKey) o.keyLength === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectionResetSharedKey) + OpenAPI.validate_property(ConnectionResetSharedKey, Symbol("keyLength"), o.keyLength) +end + function OpenAPI.validate_property(::Type{ ConnectionResetSharedKey }, name::Symbol, val) + if name === Symbol("keyLength") OpenAPI.validate_param(name, "ConnectionResetSharedKey", :format, val, "int32") end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionSharedKey.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionSharedKey.jl index a861681..0ffd4ca 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionSharedKey.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ConnectionSharedKey.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ConnectionSharedKey <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ConnectionSharedKey(value, id, ) - OpenAPI.validate_property(ConnectionSharedKey, Symbol("value"), value) - OpenAPI.validate_property(ConnectionSharedKey, Symbol("id"), id) - return new(value, id, ) + o = new(value, id, ) + OpenAPI.validate_properties(o) + return o end end # type ConnectionSharedKey const _property_types_ConnectionSharedKey = Dict{Symbol,String}(Symbol("value")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ConnectionSharedKey }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ConnectionSharedKey[name]))} -function check_required(o::ConnectionSharedKey) +function OpenAPI.check_required(o::ConnectionSharedKey) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::ConnectionSharedKey) + OpenAPI.validate_property(ConnectionSharedKey, Symbol("value"), o.value) + OpenAPI.validate_property(ConnectionSharedKey, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ConnectionSharedKey }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_Error.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_Error.jl index aa5ee45..9838e72 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_Error.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_Error.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Error <: OpenAPI.APIModel innerError::Union{Nothing, String} = nothing function Error(code, message, target, details, innerError, ) - OpenAPI.validate_property(Error, Symbol("code"), code) - OpenAPI.validate_property(Error, Symbol("message"), message) - OpenAPI.validate_property(Error, Symbol("target"), target) - OpenAPI.validate_property(Error, Symbol("details"), details) - OpenAPI.validate_property(Error, Symbol("innerError"), innerError) - return new(code, message, target, details, innerError, ) + o = new(code, message, target, details, innerError, ) + OpenAPI.validate_properties(o) + return o end end # type Error const _property_types_Error = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetails}", Symbol("innerError")=>"String", ) OpenAPI.property_type(::Type{ Error }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Error[name]))} -function check_required(o::Error) +function OpenAPI.check_required(o::Error) true end +function OpenAPI.validate_properties(o::Error) + OpenAPI.validate_property(Error, Symbol("code"), o.code) + OpenAPI.validate_property(Error, Symbol("message"), o.message) + OpenAPI.validate_property(Error, Symbol("target"), o.target) + OpenAPI.validate_property(Error, Symbol("details"), o.details) + OpenAPI.validate_property(Error, Symbol("innerError"), o.innerError) +end + function OpenAPI.validate_property(::Type{ Error }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorDetails.jl index 446e801..2667170 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorDetails.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorDetails.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ErrorDetails <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function ErrorDetails(code, target, message, ) - OpenAPI.validate_property(ErrorDetails, Symbol("code"), code) - OpenAPI.validate_property(ErrorDetails, Symbol("target"), target) - OpenAPI.validate_property(ErrorDetails, Symbol("message"), message) - return new(code, target, message, ) + o = new(code, target, message, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorDetails const _property_types_ErrorDetails = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("target")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ ErrorDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetails[name]))} -function check_required(o::ErrorDetails) +function OpenAPI.check_required(o::ErrorDetails) true end +function OpenAPI.validate_properties(o::ErrorDetails) + OpenAPI.validate_property(ErrorDetails, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetails, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetails, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ ErrorDetails }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorResponse.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorResponse.jl new file mode 100644 index 0000000..6fbd2da --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ErrorResponse.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorResponse +The error object. + + ErrorResponse(; + error=nothing, + ) + + - error::ErrorDetails +""" +Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, ErrorDetails } + + function ErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorResponse + +const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorDetails", ) +OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} + +function OpenAPI.check_required(o::ErrorResponse) + true +end + +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverCircuitResourceDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverCircuitResourceDetails.jl new file mode 100644 index 0000000..12a73a0 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverCircuitResourceDetails.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExpressRouteFailoverCircuitResourceDetails + + ExpressRouteFailoverCircuitResourceDetails(; + nrpResourceUri=nothing, + name=nothing, + connectionName=nothing, + ) + + - nrpResourceUri::String : NRP Resource URI of the circuit + - name::String : Circuit Name + - connectionName::String : Connection name associated with the circuit +""" +Base.@kwdef mutable struct ExpressRouteFailoverCircuitResourceDetails <: OpenAPI.APIModel + nrpResourceUri::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + connectionName::Union{Nothing, String} = nothing + + function ExpressRouteFailoverCircuitResourceDetails(nrpResourceUri, name, connectionName, ) + o = new(nrpResourceUri, name, connectionName, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExpressRouteFailoverCircuitResourceDetails + +const _property_types_ExpressRouteFailoverCircuitResourceDetails = Dict{Symbol,String}(Symbol("nrpResourceUri")=>"String", Symbol("name")=>"String", Symbol("connectionName")=>"String", ) +OpenAPI.property_type(::Type{ ExpressRouteFailoverCircuitResourceDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteFailoverCircuitResourceDetails[name]))} + +function OpenAPI.check_required(o::ExpressRouteFailoverCircuitResourceDetails) + true +end + +function OpenAPI.validate_properties(o::ExpressRouteFailoverCircuitResourceDetails) + OpenAPI.validate_property(ExpressRouteFailoverCircuitResourceDetails, Symbol("nrpResourceUri"), o.nrpResourceUri) + OpenAPI.validate_property(ExpressRouteFailoverCircuitResourceDetails, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteFailoverCircuitResourceDetails, Symbol("connectionName"), o.connectionName) +end + +function OpenAPI.validate_property(::Type{ ExpressRouteFailoverCircuitResourceDetails }, name::Symbol, val) + + if name === Symbol("nrpResourceUri") + OpenAPI.validate_param(name, "ExpressRouteFailoverCircuitResourceDetails", :format, val, "arm-id") + end + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverConnectionResourceDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverConnectionResourceDetails.jl new file mode 100644 index 0000000..309e1fb --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverConnectionResourceDetails.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExpressRouteFailoverConnectionResourceDetails + + ExpressRouteFailoverConnectionResourceDetails(; + nrpResourceUri=nothing, + name=nothing, + status=nothing, + lastUpdatedTime=nothing, + ) + + - nrpResourceUri::String : NRP Resource URI of the connection + - name::String : Connection Name + - status::String : The current status of the connection + - lastUpdatedTime::String : Time when the connection was last updated +""" +Base.@kwdef mutable struct ExpressRouteFailoverConnectionResourceDetails <: OpenAPI.APIModel + nrpResourceUri::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + lastUpdatedTime::Union{Nothing, String} = nothing + + function ExpressRouteFailoverConnectionResourceDetails(nrpResourceUri, name, status, lastUpdatedTime, ) + o = new(nrpResourceUri, name, status, lastUpdatedTime, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExpressRouteFailoverConnectionResourceDetails + +const _property_types_ExpressRouteFailoverConnectionResourceDetails = Dict{Symbol,String}(Symbol("nrpResourceUri")=>"String", Symbol("name")=>"String", Symbol("status")=>"String", Symbol("lastUpdatedTime")=>"String", ) +OpenAPI.property_type(::Type{ ExpressRouteFailoverConnectionResourceDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteFailoverConnectionResourceDetails[name]))} + +function OpenAPI.check_required(o::ExpressRouteFailoverConnectionResourceDetails) + true +end + +function OpenAPI.validate_properties(o::ExpressRouteFailoverConnectionResourceDetails) + OpenAPI.validate_property(ExpressRouteFailoverConnectionResourceDetails, Symbol("nrpResourceUri"), o.nrpResourceUri) + OpenAPI.validate_property(ExpressRouteFailoverConnectionResourceDetails, Symbol("name"), o.name) + OpenAPI.validate_property(ExpressRouteFailoverConnectionResourceDetails, Symbol("status"), o.status) + OpenAPI.validate_property(ExpressRouteFailoverConnectionResourceDetails, Symbol("lastUpdatedTime"), o.lastUpdatedTime) +end + +function OpenAPI.validate_property(::Type{ ExpressRouteFailoverConnectionResourceDetails }, name::Symbol, val) + + if name === Symbol("nrpResourceUri") + OpenAPI.validate_param(name, "ExpressRouteFailoverConnectionResourceDetails", :format, val, "arm-id") + end + + + if name === Symbol("status") + OpenAPI.validate_param(name, "ExpressRouteFailoverConnectionResourceDetails", :enum, val, ["Connected", "Disconnected"]) + end + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverRedundantRoute.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverRedundantRoute.jl new file mode 100644 index 0000000..064bbb7 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverRedundantRoute.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExpressRouteFailoverRedundantRoute + + ExpressRouteFailoverRedundantRoute(; + peeringLocations=nothing, + routes=nothing, + ) + + - peeringLocations::Vector{String} : A list of all the peering locations for the redundant routes + - routes::Vector{String} : A list of all the redundant routes in the peering locations +""" +Base.@kwdef mutable struct ExpressRouteFailoverRedundantRoute <: OpenAPI.APIModel + peeringLocations::Union{Nothing, Vector{String}} = nothing + routes::Union{Nothing, Vector{String}} = nothing + + function ExpressRouteFailoverRedundantRoute(peeringLocations, routes, ) + o = new(peeringLocations, routes, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExpressRouteFailoverRedundantRoute + +const _property_types_ExpressRouteFailoverRedundantRoute = Dict{Symbol,String}(Symbol("peeringLocations")=>"Vector{String}", Symbol("routes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ExpressRouteFailoverRedundantRoute }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteFailoverRedundantRoute[name]))} + +function OpenAPI.check_required(o::ExpressRouteFailoverRedundantRoute) + true +end + +function OpenAPI.validate_properties(o::ExpressRouteFailoverRedundantRoute) + OpenAPI.validate_property(ExpressRouteFailoverRedundantRoute, Symbol("peeringLocations"), o.peeringLocations) + OpenAPI.validate_property(ExpressRouteFailoverRedundantRoute, Symbol("routes"), o.routes) +end + +function OpenAPI.validate_property(::Type{ ExpressRouteFailoverRedundantRoute }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverSingleTestDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverSingleTestDetails.jl new file mode 100644 index 0000000..4f04a48 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverSingleTestDetails.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExpressRouteFailoverSingleTestDetails +ExpressRoute failover single test details + + ExpressRouteFailoverSingleTestDetails(; + peeringLocation=nothing, + status=nothing, + startTimeUtc=nothing, + endTimeUtc=nothing, + redundantRoutes=nothing, + nonRedundantRoutes=nothing, + wasSimulationSuccessful=nothing, + failoverConnectionDetails=nothing, + ) + + - peeringLocation::String : Peering location of the test + - status::String : The current status of the test + - startTimeUtc::String : Time when the test was started + - endTimeUtc::String : Time when the test was completed + - redundantRoutes::Vector{ExpressRouteFailoverRedundantRoute} : List of routes received from this peering as well as some other peering location + - nonRedundantRoutes::Vector{String} : List of al the routes that were received only from this peering location + - wasSimulationSuccessful::Bool : Whether the failover simulation was successful or not + - failoverConnectionDetails::Vector{FailoverConnectionDetails} : List of all the failover connections for this peering location +""" +Base.@kwdef mutable struct ExpressRouteFailoverSingleTestDetails <: OpenAPI.APIModel + peeringLocation::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + startTimeUtc::Union{Nothing, String} = nothing + endTimeUtc::Union{Nothing, String} = nothing + redundantRoutes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ExpressRouteFailoverRedundantRoute} } + nonRedundantRoutes::Union{Nothing, Vector{String}} = nothing + wasSimulationSuccessful::Union{Nothing, Bool} = nothing + failoverConnectionDetails::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FailoverConnectionDetails} } + + function ExpressRouteFailoverSingleTestDetails(peeringLocation, status, startTimeUtc, endTimeUtc, redundantRoutes, nonRedundantRoutes, wasSimulationSuccessful, failoverConnectionDetails, ) + o = new(peeringLocation, status, startTimeUtc, endTimeUtc, redundantRoutes, nonRedundantRoutes, wasSimulationSuccessful, failoverConnectionDetails, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExpressRouteFailoverSingleTestDetails + +const _property_types_ExpressRouteFailoverSingleTestDetails = Dict{Symbol,String}(Symbol("peeringLocation")=>"String", Symbol("status")=>"String", Symbol("startTimeUtc")=>"String", Symbol("endTimeUtc")=>"String", Symbol("redundantRoutes")=>"Vector{ExpressRouteFailoverRedundantRoute}", Symbol("nonRedundantRoutes")=>"Vector{String}", Symbol("wasSimulationSuccessful")=>"Bool", Symbol("failoverConnectionDetails")=>"Vector{FailoverConnectionDetails}", ) +OpenAPI.property_type(::Type{ ExpressRouteFailoverSingleTestDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteFailoverSingleTestDetails[name]))} + +function OpenAPI.check_required(o::ExpressRouteFailoverSingleTestDetails) + true +end + +function OpenAPI.validate_properties(o::ExpressRouteFailoverSingleTestDetails) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("peeringLocation"), o.peeringLocation) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("status"), o.status) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("startTimeUtc"), o.startTimeUtc) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("endTimeUtc"), o.endTimeUtc) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("redundantRoutes"), o.redundantRoutes) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("nonRedundantRoutes"), o.nonRedundantRoutes) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("wasSimulationSuccessful"), o.wasSimulationSuccessful) + OpenAPI.validate_property(ExpressRouteFailoverSingleTestDetails, Symbol("failoverConnectionDetails"), o.failoverConnectionDetails) +end + +function OpenAPI.validate_property(::Type{ ExpressRouteFailoverSingleTestDetails }, name::Symbol, val) + + + if name === Symbol("status") + OpenAPI.validate_param(name, "ExpressRouteFailoverSingleTestDetails", :enum, val, ["NotStarted", "Starting", "Running", "StartFailed", "Stopping", "Completed", "StopFailed", "Invalid", "Expired"]) + end + + + + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverStopApiParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverStopApiParameters.jl new file mode 100644 index 0000000..76eb688 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverStopApiParameters.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExpressRouteFailoverStopApiParameters +Start packet capture parameters on virtual network gateway. + + ExpressRouteFailoverStopApiParameters(; + peeringLocation=nothing, + wasSimulationSuccessful=nothing, + details=nothing, + ) + + - peeringLocation::String : Peering location of the test + - wasSimulationSuccessful::Bool : Whether the failover simulation was successful or not + - details::Vector{FailoverConnectionDetails} : List of all the failover connections for this peering location +""" +Base.@kwdef mutable struct ExpressRouteFailoverStopApiParameters <: OpenAPI.APIModel + peeringLocation::Union{Nothing, String} = nothing + wasSimulationSuccessful::Union{Nothing, Bool} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FailoverConnectionDetails} } + + function ExpressRouteFailoverStopApiParameters(peeringLocation, wasSimulationSuccessful, details, ) + o = new(peeringLocation, wasSimulationSuccessful, details, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExpressRouteFailoverStopApiParameters + +const _property_types_ExpressRouteFailoverStopApiParameters = Dict{Symbol,String}(Symbol("peeringLocation")=>"String", Symbol("wasSimulationSuccessful")=>"Bool", Symbol("details")=>"Vector{FailoverConnectionDetails}", ) +OpenAPI.property_type(::Type{ ExpressRouteFailoverStopApiParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteFailoverStopApiParameters[name]))} + +function OpenAPI.check_required(o::ExpressRouteFailoverStopApiParameters) + true +end + +function OpenAPI.validate_properties(o::ExpressRouteFailoverStopApiParameters) + OpenAPI.validate_property(ExpressRouteFailoverStopApiParameters, Symbol("peeringLocation"), o.peeringLocation) + OpenAPI.validate_property(ExpressRouteFailoverStopApiParameters, Symbol("wasSimulationSuccessful"), o.wasSimulationSuccessful) + OpenAPI.validate_property(ExpressRouteFailoverStopApiParameters, Symbol("details"), o.details) +end + +function OpenAPI.validate_property(::Type{ ExpressRouteFailoverStopApiParameters }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverTestDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverTestDetails.jl new file mode 100644 index 0000000..68cfd4f --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExpressRouteFailoverTestDetails.jl @@ -0,0 +1,85 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExpressRouteFailoverTestDetails +ExpressRoute failover test details + + ExpressRouteFailoverTestDetails(; + peeringLocation=nothing, + circuits=nothing, + status=nothing, + startTime=nothing, + endTime=nothing, + connections=nothing, + testGuid=nothing, + testType=nothing, + issues=nothing, + ) + + - peeringLocation::String : Peering location of the test + - circuits::Vector{ExpressRouteFailoverCircuitResourceDetails} : All circuits in the peering location + - status::String : The current status of the test + - startTime::String : Time when the test was started + - endTime::String : Time when the test was completed + - connections::Vector{ExpressRouteFailoverConnectionResourceDetails} : All connections to the circuits in the peering location + - testGuid::String : The unique GUID associated with the test + - testType::String : The type of failover test + - issues::Vector{String} : A list of all issues with the test +""" +Base.@kwdef mutable struct ExpressRouteFailoverTestDetails <: OpenAPI.APIModel + peeringLocation::Union{Nothing, String} = nothing + circuits::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ExpressRouteFailoverCircuitResourceDetails} } + status::Union{Nothing, String} = nothing + startTime::Union{Nothing, String} = nothing + endTime::Union{Nothing, String} = nothing + connections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ExpressRouteFailoverConnectionResourceDetails} } + testGuid::Union{Nothing, String} = nothing + testType::Union{Nothing, String} = nothing + issues::Union{Nothing, Vector{String}} = nothing + + function ExpressRouteFailoverTestDetails(peeringLocation, circuits, status, startTime, endTime, connections, testGuid, testType, issues, ) + o = new(peeringLocation, circuits, status, startTime, endTime, connections, testGuid, testType, issues, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExpressRouteFailoverTestDetails + +const _property_types_ExpressRouteFailoverTestDetails = Dict{Symbol,String}(Symbol("peeringLocation")=>"String", Symbol("circuits")=>"Vector{ExpressRouteFailoverCircuitResourceDetails}", Symbol("status")=>"String", Symbol("startTime")=>"String", Symbol("endTime")=>"String", Symbol("connections")=>"Vector{ExpressRouteFailoverConnectionResourceDetails}", Symbol("testGuid")=>"String", Symbol("testType")=>"String", Symbol("issues")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ExpressRouteFailoverTestDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExpressRouteFailoverTestDetails[name]))} + +function OpenAPI.check_required(o::ExpressRouteFailoverTestDetails) + true +end + +function OpenAPI.validate_properties(o::ExpressRouteFailoverTestDetails) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("peeringLocation"), o.peeringLocation) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("circuits"), o.circuits) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("status"), o.status) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("endTime"), o.endTime) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("connections"), o.connections) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("testGuid"), o.testGuid) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("testType"), o.testType) + OpenAPI.validate_property(ExpressRouteFailoverTestDetails, Symbol("issues"), o.issues) +end + +function OpenAPI.validate_property(::Type{ ExpressRouteFailoverTestDetails }, name::Symbol, val) + + + + if name === Symbol("status") + OpenAPI.validate_param(name, "ExpressRouteFailoverTestDetails", :enum, val, ["NotStarted", "Starting", "Running", "StartFailed", "Stopping", "Completed", "StopFailed", "Invalid", "Expired"]) + end + + + + + + + if name === Symbol("testType") + OpenAPI.validate_param(name, "ExpressRouteFailoverTestDetails", :enum, val, ["SingleSiteFailover", "MultiSiteFailover", "All"]) + end + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExtendedLocation.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ExtendedLocationType.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_FailoverConnectionDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_FailoverConnectionDetails.jl new file mode 100644 index 0000000..7b0f4ae --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_FailoverConnectionDetails.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""FailoverConnectionDetails + + FailoverConnectionDetails(; + failoverConnectionName=nothing, + failoverLocation=nothing, + isVerified=nothing, + ) + + - failoverConnectionName::String : Name of the failover connection + - failoverLocation::String : Location of the failover connection + - isVerified::Bool : Whether the customer was able to establish connectivity through this failover connection or not +""" +Base.@kwdef mutable struct FailoverConnectionDetails <: OpenAPI.APIModel + failoverConnectionName::Union{Nothing, String} = nothing + failoverLocation::Union{Nothing, String} = nothing + isVerified::Union{Nothing, Bool} = nothing + + function FailoverConnectionDetails(failoverConnectionName, failoverLocation, isVerified, ) + o = new(failoverConnectionName, failoverLocation, isVerified, ) + OpenAPI.validate_properties(o) + return o + end +end # type FailoverConnectionDetails + +const _property_types_FailoverConnectionDetails = Dict{Symbol,String}(Symbol("failoverConnectionName")=>"String", Symbol("failoverLocation")=>"String", Symbol("isVerified")=>"Bool", ) +OpenAPI.property_type(::Type{ FailoverConnectionDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FailoverConnectionDetails[name]))} + +function OpenAPI.check_required(o::FailoverConnectionDetails) + true +end + +function OpenAPI.validate_properties(o::FailoverConnectionDetails) + OpenAPI.validate_property(FailoverConnectionDetails, Symbol("failoverConnectionName"), o.failoverConnectionName) + OpenAPI.validate_property(FailoverConnectionDetails, Symbol("failoverLocation"), o.failoverLocation) + OpenAPI.validate_property(FailoverConnectionDetails, Symbol("isVerified"), o.isVerified) +end + +function OpenAPI.validate_property(::Type{ FailoverConnectionDetails }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayCustomBgpIpAddressIpConfiguration.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayCustomBgpIpAddressIpConfiguration.jl new file mode 100644 index 0000000..74eefe1 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayCustomBgpIpAddressIpConfiguration.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayCustomBgpIpAddressIpConfiguration +GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection. + + GatewayCustomBgpIpAddressIpConfiguration(; + ipConfigurationId=nothing, + customBgpIpAddress=nothing, + ) + + - ipConfigurationId::String : The IpconfigurationId of ipconfiguration which belongs to gateway. + - customBgpIpAddress::String : The custom BgpPeeringAddress which belongs to IpconfigurationId. +""" +Base.@kwdef mutable struct GatewayCustomBgpIpAddressIpConfiguration <: OpenAPI.APIModel + ipConfigurationId::Union{Nothing, String} = nothing + customBgpIpAddress::Union{Nothing, String} = nothing + + function GatewayCustomBgpIpAddressIpConfiguration(ipConfigurationId, customBgpIpAddress, ) + o = new(ipConfigurationId, customBgpIpAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayCustomBgpIpAddressIpConfiguration + +const _property_types_GatewayCustomBgpIpAddressIpConfiguration = Dict{Symbol,String}(Symbol("ipConfigurationId")=>"String", Symbol("customBgpIpAddress")=>"String", ) +OpenAPI.property_type(::Type{ GatewayCustomBgpIpAddressIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayCustomBgpIpAddressIpConfiguration[name]))} + +function OpenAPI.check_required(o::GatewayCustomBgpIpAddressIpConfiguration) + o.ipConfigurationId === nothing && (return false) + o.customBgpIpAddress === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::GatewayCustomBgpIpAddressIpConfiguration) + OpenAPI.validate_property(GatewayCustomBgpIpAddressIpConfiguration, Symbol("ipConfigurationId"), o.ipConfigurationId) + OpenAPI.validate_property(GatewayCustomBgpIpAddressIpConfiguration, Symbol("customBgpIpAddress"), o.customBgpIpAddress) +end + +function OpenAPI.validate_property(::Type{ GatewayCustomBgpIpAddressIpConfiguration }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayResiliencyInformation.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayResiliencyInformation.jl new file mode 100644 index 0000000..a95d87c --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayResiliencyInformation.jl @@ -0,0 +1,73 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayResiliencyInformation +Gateway Resiliency Information + + GatewayResiliencyInformation(; + overallScore=nothing, + scoreChange=nothing, + minScoreFromRecommendations=nothing, + maxScoreFromRecommendations=nothing, + lastComputedTime=nothing, + nextEligibleComputeTime=nothing, + components=nothing, + ) + + - overallScore::String : Current Resiliency Score for the gateway + - scoreChange::String : Update in the Resiliency Score for the gateway from the last computed score + - minScoreFromRecommendations::String : Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway + - maxScoreFromRecommendations::String : Maximum increase expected in the score if all of the recommendations are applied for the gateway + - lastComputedTime::ZonedDateTime : Timestamp denoting the last time when the resiliency score was computed for the gateway + - nextEligibleComputeTime::ZonedDateTime : Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway + - components::Vector{ResiliencyRecommendationComponents} : List of Resiliency based Recommendation Components for the gateway +""" +Base.@kwdef mutable struct GatewayResiliencyInformation <: OpenAPI.APIModel + overallScore::Union{Nothing, String} = nothing + scoreChange::Union{Nothing, String} = nothing + minScoreFromRecommendations::Union{Nothing, String} = nothing + maxScoreFromRecommendations::Union{Nothing, String} = nothing + lastComputedTime::Union{Nothing, ZonedDateTime} = nothing + nextEligibleComputeTime::Union{Nothing, ZonedDateTime} = nothing + components::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ResiliencyRecommendationComponents} } + + function GatewayResiliencyInformation(overallScore, scoreChange, minScoreFromRecommendations, maxScoreFromRecommendations, lastComputedTime, nextEligibleComputeTime, components, ) + o = new(overallScore, scoreChange, minScoreFromRecommendations, maxScoreFromRecommendations, lastComputedTime, nextEligibleComputeTime, components, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayResiliencyInformation + +const _property_types_GatewayResiliencyInformation = Dict{Symbol,String}(Symbol("overallScore")=>"String", Symbol("scoreChange")=>"String", Symbol("minScoreFromRecommendations")=>"String", Symbol("maxScoreFromRecommendations")=>"String", Symbol("lastComputedTime")=>"ZonedDateTime", Symbol("nextEligibleComputeTime")=>"ZonedDateTime", Symbol("components")=>"Vector{ResiliencyRecommendationComponents}", ) +OpenAPI.property_type(::Type{ GatewayResiliencyInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayResiliencyInformation[name]))} + +function OpenAPI.check_required(o::GatewayResiliencyInformation) + true +end + +function OpenAPI.validate_properties(o::GatewayResiliencyInformation) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("overallScore"), o.overallScore) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("scoreChange"), o.scoreChange) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("minScoreFromRecommendations"), o.minScoreFromRecommendations) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("maxScoreFromRecommendations"), o.maxScoreFromRecommendations) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("lastComputedTime"), o.lastComputedTime) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("nextEligibleComputeTime"), o.nextEligibleComputeTime) + OpenAPI.validate_property(GatewayResiliencyInformation, Symbol("components"), o.components) +end + +function OpenAPI.validate_property(::Type{ GatewayResiliencyInformation }, name::Symbol, val) + + + + + + if name === Symbol("lastComputedTime") + OpenAPI.validate_param(name, "GatewayResiliencyInformation", :format, val, "date-time") + end + + if name === Symbol("nextEligibleComputeTime") + OpenAPI.validate_param(name, "GatewayResiliencyInformation", :format, val, "date-time") + end + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayResiliencyRecommendation.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayResiliencyRecommendation.jl new file mode 100644 index 0000000..b660ed6 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayResiliencyRecommendation.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayResiliencyRecommendation +Resiliency Recommendation details + + GatewayResiliencyRecommendation(; + recommendationTitle=nothing, + recommendationId=nothing, + severity=nothing, + recommendationText=nothing, + callToActionText=nothing, + callToActionLink=nothing, + ) + + - recommendationTitle::String : Recommendation Title + - recommendationId::String : Recommendation Id + - severity::String : Impact associated with the recommendation + - recommendationText::String : Recommendation details + - callToActionText::String : Acton items to apply the recommendation + - callToActionLink::String : Link to the public documentation for the associated recommendation +""" +Base.@kwdef mutable struct GatewayResiliencyRecommendation <: OpenAPI.APIModel + recommendationTitle::Union{Nothing, String} = nothing + recommendationId::Union{Nothing, String} = nothing + severity::Union{Nothing, String} = nothing + recommendationText::Union{Nothing, String} = nothing + callToActionText::Union{Nothing, String} = nothing + callToActionLink::Union{Nothing, String} = nothing + + function GatewayResiliencyRecommendation(recommendationTitle, recommendationId, severity, recommendationText, callToActionText, callToActionLink, ) + o = new(recommendationTitle, recommendationId, severity, recommendationText, callToActionText, callToActionLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayResiliencyRecommendation + +const _property_types_GatewayResiliencyRecommendation = Dict{Symbol,String}(Symbol("recommendationTitle")=>"String", Symbol("recommendationId")=>"String", Symbol("severity")=>"String", Symbol("recommendationText")=>"String", Symbol("callToActionText")=>"String", Symbol("callToActionLink")=>"String", ) +OpenAPI.property_type(::Type{ GatewayResiliencyRecommendation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayResiliencyRecommendation[name]))} + +function OpenAPI.check_required(o::GatewayResiliencyRecommendation) + true +end + +function OpenAPI.validate_properties(o::GatewayResiliencyRecommendation) + OpenAPI.validate_property(GatewayResiliencyRecommendation, Symbol("recommendationTitle"), o.recommendationTitle) + OpenAPI.validate_property(GatewayResiliencyRecommendation, Symbol("recommendationId"), o.recommendationId) + OpenAPI.validate_property(GatewayResiliencyRecommendation, Symbol("severity"), o.severity) + OpenAPI.validate_property(GatewayResiliencyRecommendation, Symbol("recommendationText"), o.recommendationText) + OpenAPI.validate_property(GatewayResiliencyRecommendation, Symbol("callToActionText"), o.callToActionText) + OpenAPI.validate_property(GatewayResiliencyRecommendation, Symbol("callToActionLink"), o.callToActionLink) +end + +function OpenAPI.validate_property(::Type{ GatewayResiliencyRecommendation }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRoute.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRoute.jl index 46e9f1d..c74fb3a 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRoute.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRoute.jl @@ -33,25 +33,37 @@ Base.@kwdef mutable struct GatewayRoute <: OpenAPI.APIModel weight::Union{Nothing, Int64} = nothing function GatewayRoute(localAddress, network, nextHop, sourcePeer, origin, asPath, weight, ) - OpenAPI.validate_property(GatewayRoute, Symbol("localAddress"), localAddress) - OpenAPI.validate_property(GatewayRoute, Symbol("network"), network) - OpenAPI.validate_property(GatewayRoute, Symbol("nextHop"), nextHop) - OpenAPI.validate_property(GatewayRoute, Symbol("sourcePeer"), sourcePeer) - OpenAPI.validate_property(GatewayRoute, Symbol("origin"), origin) - OpenAPI.validate_property(GatewayRoute, Symbol("asPath"), asPath) - OpenAPI.validate_property(GatewayRoute, Symbol("weight"), weight) - return new(localAddress, network, nextHop, sourcePeer, origin, asPath, weight, ) + o = new(localAddress, network, nextHop, sourcePeer, origin, asPath, weight, ) + OpenAPI.validate_properties(o) + return o end end # type GatewayRoute const _property_types_GatewayRoute = Dict{Symbol,String}(Symbol("localAddress")=>"String", Symbol("network")=>"String", Symbol("nextHop")=>"String", Symbol("sourcePeer")=>"String", Symbol("origin")=>"String", Symbol("asPath")=>"String", Symbol("weight")=>"Int64", ) OpenAPI.property_type(::Type{ GatewayRoute }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayRoute[name]))} -function check_required(o::GatewayRoute) +function OpenAPI.check_required(o::GatewayRoute) true end +function OpenAPI.validate_properties(o::GatewayRoute) + OpenAPI.validate_property(GatewayRoute, Symbol("localAddress"), o.localAddress) + OpenAPI.validate_property(GatewayRoute, Symbol("network"), o.network) + OpenAPI.validate_property(GatewayRoute, Symbol("nextHop"), o.nextHop) + OpenAPI.validate_property(GatewayRoute, Symbol("sourcePeer"), o.sourcePeer) + OpenAPI.validate_property(GatewayRoute, Symbol("origin"), o.origin) + OpenAPI.validate_property(GatewayRoute, Symbol("asPath"), o.asPath) + OpenAPI.validate_property(GatewayRoute, Symbol("weight"), o.weight) +end + function OpenAPI.validate_property(::Type{ GatewayRoute }, name::Symbol, val) + + + + + + + if name === Symbol("weight") OpenAPI.validate_param(name, "GatewayRoute", :format, val, "int32") end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteListResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteListResult.jl index 5bb1481..dee4aa7 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteListResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct GatewayRouteListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayRoute} } function GatewayRouteListResult(value, ) - OpenAPI.validate_property(GatewayRouteListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type GatewayRouteListResult const _property_types_GatewayRouteListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{GatewayRoute}", ) OpenAPI.property_type(::Type{ GatewayRouteListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayRouteListResult[name]))} -function check_required(o::GatewayRouteListResult) +function OpenAPI.check_required(o::GatewayRouteListResult) true end +function OpenAPI.validate_properties(o::GatewayRouteListResult) + OpenAPI.validate_property(GatewayRouteListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ GatewayRouteListResult }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteSet.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteSet.jl new file mode 100644 index 0000000..4037339 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteSet.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayRouteSet + + GatewayRouteSet(; + name=nothing, + locations=nothing, + details=nothing, + ) + + - name::String : Route Set name + - locations::Vector{String} : List of different locations from where the routes are learned + - details::Dict{String, Vector{RouteSourceDetails}} : List of different Route Sources +""" +Base.@kwdef mutable struct GatewayRouteSet <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + locations::Union{Nothing, Vector{String}} = nothing + details::Union{Nothing, Dict{String, Vector{RouteSourceDetails}}} = nothing + + function GatewayRouteSet(name, locations, details, ) + o = new(name, locations, details, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayRouteSet + +const _property_types_GatewayRouteSet = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("locations")=>"Vector{String}", Symbol("details")=>"Dict{String, Vector{RouteSourceDetails}}", ) +OpenAPI.property_type(::Type{ GatewayRouteSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayRouteSet[name]))} + +function OpenAPI.check_required(o::GatewayRouteSet) + true +end + +function OpenAPI.validate_properties(o::GatewayRouteSet) + OpenAPI.validate_property(GatewayRouteSet, Symbol("name"), o.name) + OpenAPI.validate_property(GatewayRouteSet, Symbol("locations"), o.locations) + OpenAPI.validate_property(GatewayRouteSet, Symbol("details"), o.details) +end + +function OpenAPI.validate_property(::Type{ GatewayRouteSet }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteSetsInformation.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteSetsInformation.jl new file mode 100644 index 0000000..086b06f --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_GatewayRouteSetsInformation.jl @@ -0,0 +1,63 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayRouteSetsInformation +Gateway Route Sets Information + + GatewayRouteSetsInformation(; + lastComputedTime=nothing, + nextEligibleComputeTime=nothing, + routeSetVersion=nothing, + routeSets=nothing, + circuitsMetadataMap=nothing, + ) + + - lastComputedTime::ZonedDateTime : Timestamp denoting the last time when the route sets were computed for the gateway + - nextEligibleComputeTime::ZonedDateTime : Timestamp denoting the next eligible time to re-compute the route sets for the gateway + - routeSetVersion::String : Version for the route set + - routeSets::Vector{GatewayRouteSet} : List of Gateway Route Sets + - circuitsMetadataMap::Dict{String, CircuitMetadataMap} : Dictionary containing map of the circuit id and circuit details +""" +Base.@kwdef mutable struct GatewayRouteSetsInformation <: OpenAPI.APIModel + lastComputedTime::Union{Nothing, ZonedDateTime} = nothing + nextEligibleComputeTime::Union{Nothing, ZonedDateTime} = nothing + routeSetVersion::Union{Nothing, String} = nothing + routeSets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayRouteSet} } + circuitsMetadataMap::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, CircuitMetadataMap} } + + function GatewayRouteSetsInformation(lastComputedTime, nextEligibleComputeTime, routeSetVersion, routeSets, circuitsMetadataMap, ) + o = new(lastComputedTime, nextEligibleComputeTime, routeSetVersion, routeSets, circuitsMetadataMap, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayRouteSetsInformation + +const _property_types_GatewayRouteSetsInformation = Dict{Symbol,String}(Symbol("lastComputedTime")=>"ZonedDateTime", Symbol("nextEligibleComputeTime")=>"ZonedDateTime", Symbol("routeSetVersion")=>"String", Symbol("routeSets")=>"Vector{GatewayRouteSet}", Symbol("circuitsMetadataMap")=>"Dict{String, CircuitMetadataMap}", ) +OpenAPI.property_type(::Type{ GatewayRouteSetsInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayRouteSetsInformation[name]))} + +function OpenAPI.check_required(o::GatewayRouteSetsInformation) + true +end + +function OpenAPI.validate_properties(o::GatewayRouteSetsInformation) + OpenAPI.validate_property(GatewayRouteSetsInformation, Symbol("lastComputedTime"), o.lastComputedTime) + OpenAPI.validate_property(GatewayRouteSetsInformation, Symbol("nextEligibleComputeTime"), o.nextEligibleComputeTime) + OpenAPI.validate_property(GatewayRouteSetsInformation, Symbol("routeSetVersion"), o.routeSetVersion) + OpenAPI.validate_property(GatewayRouteSetsInformation, Symbol("routeSets"), o.routeSets) + OpenAPI.validate_property(GatewayRouteSetsInformation, Symbol("circuitsMetadataMap"), o.circuitsMetadataMap) +end + +function OpenAPI.validate_property(::Type{ GatewayRouteSetsInformation }, name::Symbol, val) + + if name === Symbol("lastComputedTime") + OpenAPI.validate_param(name, "GatewayRouteSetsInformation", :format, val, "date-time") + end + + if name === Symbol("nextEligibleComputeTime") + OpenAPI.validate_param(name, "GatewayRouteSetsInformation", :format, val, "date-time") + end + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_IPConfigurationBgpPeeringAddress.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_IPConfigurationBgpPeeringAddress.jl index 04c9ee9..1d0b7e4 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_IPConfigurationBgpPeeringAddress.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_IPConfigurationBgpPeeringAddress.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfigurationBgpPeeringAddress <: OpenAPI.APIModel tunnelIpAddresses::Union{Nothing, Vector{String}} = nothing function IPConfigurationBgpPeeringAddress(ipconfigurationId, defaultBgpIpAddresses, customBgpIpAddresses, tunnelIpAddresses, ) - OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("ipconfigurationId"), ipconfigurationId) - OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("defaultBgpIpAddresses"), defaultBgpIpAddresses) - OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("customBgpIpAddresses"), customBgpIpAddresses) - OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("tunnelIpAddresses"), tunnelIpAddresses) - return new(ipconfigurationId, defaultBgpIpAddresses, customBgpIpAddresses, tunnelIpAddresses, ) + o = new(ipconfigurationId, defaultBgpIpAddresses, customBgpIpAddresses, tunnelIpAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationBgpPeeringAddress const _property_types_IPConfigurationBgpPeeringAddress = Dict{Symbol,String}(Symbol("ipconfigurationId")=>"String", Symbol("defaultBgpIpAddresses")=>"Vector{String}", Symbol("customBgpIpAddresses")=>"Vector{String}", Symbol("tunnelIpAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ IPConfigurationBgpPeeringAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationBgpPeeringAddress[name]))} -function check_required(o::IPConfigurationBgpPeeringAddress) +function OpenAPI.check_required(o::IPConfigurationBgpPeeringAddress) true end +function OpenAPI.validate_properties(o::IPConfigurationBgpPeeringAddress) + OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("ipconfigurationId"), o.ipconfigurationId) + OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("defaultBgpIpAddresses"), o.defaultBgpIpAddresses) + OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("customBgpIpAddresses"), o.customBgpIpAddresses) + OpenAPI.validate_property(IPConfigurationBgpPeeringAddress, Symbol("tunnelIpAddresses"), o.tunnelIpAddresses) +end + function OpenAPI.validate_property(::Type{ IPConfigurationBgpPeeringAddress }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_IpsecPolicy.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_IpsecPolicy.jl index ad8e7d9..1714d9d 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_IpsecPolicy.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_IpsecPolicy.jl @@ -36,22 +36,16 @@ Base.@kwdef mutable struct IpsecPolicy <: OpenAPI.APIModel pfsGroup = nothing # spec type: Union{ Nothing, PfsGroup } function IpsecPolicy(saLifeTimeSeconds, saDataSizeKilobytes, ipsecEncryption, ipsecIntegrity, ikeEncryption, ikeIntegrity, dhGroup, pfsGroup, ) - OpenAPI.validate_property(IpsecPolicy, Symbol("saLifeTimeSeconds"), saLifeTimeSeconds) - OpenAPI.validate_property(IpsecPolicy, Symbol("saDataSizeKilobytes"), saDataSizeKilobytes) - OpenAPI.validate_property(IpsecPolicy, Symbol("ipsecEncryption"), ipsecEncryption) - OpenAPI.validate_property(IpsecPolicy, Symbol("ipsecIntegrity"), ipsecIntegrity) - OpenAPI.validate_property(IpsecPolicy, Symbol("ikeEncryption"), ikeEncryption) - OpenAPI.validate_property(IpsecPolicy, Symbol("ikeIntegrity"), ikeIntegrity) - OpenAPI.validate_property(IpsecPolicy, Symbol("dhGroup"), dhGroup) - OpenAPI.validate_property(IpsecPolicy, Symbol("pfsGroup"), pfsGroup) - return new(saLifeTimeSeconds, saDataSizeKilobytes, ipsecEncryption, ipsecIntegrity, ikeEncryption, ikeIntegrity, dhGroup, pfsGroup, ) + o = new(saLifeTimeSeconds, saDataSizeKilobytes, ipsecEncryption, ipsecIntegrity, ikeEncryption, ikeIntegrity, dhGroup, pfsGroup, ) + OpenAPI.validate_properties(o) + return o end end # type IpsecPolicy const _property_types_IpsecPolicy = Dict{Symbol,String}(Symbol("saLifeTimeSeconds")=>"Int64", Symbol("saDataSizeKilobytes")=>"Int64", Symbol("ipsecEncryption")=>"IpsecEncryption", Symbol("ipsecIntegrity")=>"IpsecIntegrity", Symbol("ikeEncryption")=>"IkeEncryption", Symbol("ikeIntegrity")=>"IkeIntegrity", Symbol("dhGroup")=>"DhGroup", Symbol("pfsGroup")=>"PfsGroup", ) OpenAPI.property_type(::Type{ IpsecPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpsecPolicy[name]))} -function check_required(o::IpsecPolicy) +function OpenAPI.check_required(o::IpsecPolicy) o.saLifeTimeSeconds === nothing && (return false) o.saDataSizeKilobytes === nothing && (return false) o.ipsecEncryption === nothing && (return false) @@ -63,11 +57,30 @@ function check_required(o::IpsecPolicy) true end +function OpenAPI.validate_properties(o::IpsecPolicy) + OpenAPI.validate_property(IpsecPolicy, Symbol("saLifeTimeSeconds"), o.saLifeTimeSeconds) + OpenAPI.validate_property(IpsecPolicy, Symbol("saDataSizeKilobytes"), o.saDataSizeKilobytes) + OpenAPI.validate_property(IpsecPolicy, Symbol("ipsecEncryption"), o.ipsecEncryption) + OpenAPI.validate_property(IpsecPolicy, Symbol("ipsecIntegrity"), o.ipsecIntegrity) + OpenAPI.validate_property(IpsecPolicy, Symbol("ikeEncryption"), o.ikeEncryption) + OpenAPI.validate_property(IpsecPolicy, Symbol("ikeIntegrity"), o.ikeIntegrity) + OpenAPI.validate_property(IpsecPolicy, Symbol("dhGroup"), o.dhGroup) + OpenAPI.validate_property(IpsecPolicy, Symbol("pfsGroup"), o.pfsGroup) +end + function OpenAPI.validate_property(::Type{ IpsecPolicy }, name::Symbol, val) + if name === Symbol("saLifeTimeSeconds") OpenAPI.validate_param(name, "IpsecPolicy", :format, val, "int32") end + if name === Symbol("saDataSizeKilobytes") OpenAPI.validate_param(name, "IpsecPolicy", :format, val, "int32") end + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ListVirtualNetworkGatewayNatRulesResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ListVirtualNetworkGatewayNatRulesResult.jl new file mode 100644 index 0000000..e9fc5e8 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ListVirtualNetworkGatewayNatRulesResult.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ListVirtualNetworkGatewayNatRulesResult +Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results. + + ListVirtualNetworkGatewayNatRulesResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{VirtualNetworkGatewayNatRule} : List of Nat Rules. + - nextLink::String : URL to get the next set of operation list results if there are any. +""" +Base.@kwdef mutable struct ListVirtualNetworkGatewayNatRulesResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkGatewayNatRule} } + nextLink::Union{Nothing, String} = nothing + + function ListVirtualNetworkGatewayNatRulesResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type ListVirtualNetworkGatewayNatRulesResult + +const _property_types_ListVirtualNetworkGatewayNatRulesResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkGatewayNatRule}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ ListVirtualNetworkGatewayNatRulesResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ListVirtualNetworkGatewayNatRulesResult[name]))} + +function OpenAPI.check_required(o::ListVirtualNetworkGatewayNatRulesResult) + true +end + +function OpenAPI.validate_properties(o::ListVirtualNetworkGatewayNatRulesResult) + OpenAPI.validate_property(ListVirtualNetworkGatewayNatRulesResult, Symbol("value"), o.value) + OpenAPI.validate_property(ListVirtualNetworkGatewayNatRulesResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ ListVirtualNetworkGatewayNatRulesResult }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGateway.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGateway.jl index 595627c..d65c77b 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGateway.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGateway.jl @@ -33,24 +33,36 @@ Base.@kwdef mutable struct LocalNetworkGateway <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function LocalNetworkGateway(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("properties"), properties) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("etag"), etag) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("id"), id) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("name"), name) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("type"), type) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("location"), location) - OpenAPI.validate_property(LocalNetworkGateway, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type LocalNetworkGateway const _property_types_LocalNetworkGateway = Dict{Symbol,String}(Symbol("properties")=>"LocalNetworkGatewayPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ LocalNetworkGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalNetworkGateway[name]))} -function check_required(o::LocalNetworkGateway) +function OpenAPI.check_required(o::LocalNetworkGateway) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::LocalNetworkGateway) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("id"), o.id) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("name"), o.name) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("type"), o.type) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("location"), o.location) + OpenAPI.validate_property(LocalNetworkGateway, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ LocalNetworkGateway }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayListResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayListResult.jl index 7b602fa..bef573a 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayListResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LocalNetworkGatewayListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function LocalNetworkGatewayListResult(value, nextLink, ) - OpenAPI.validate_property(LocalNetworkGatewayListResult, Symbol("value"), value) - OpenAPI.validate_property(LocalNetworkGatewayListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type LocalNetworkGatewayListResult const _property_types_LocalNetworkGatewayListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{LocalNetworkGateway}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ LocalNetworkGatewayListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalNetworkGatewayListResult[name]))} -function check_required(o::LocalNetworkGatewayListResult) +function OpenAPI.check_required(o::LocalNetworkGatewayListResult) true end +function OpenAPI.validate_properties(o::LocalNetworkGatewayListResult) + OpenAPI.validate_property(LocalNetworkGatewayListResult, Symbol("value"), o.value) + OpenAPI.validate_property(LocalNetworkGatewayListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ LocalNetworkGatewayListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayPropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayPropertiesFormat.jl index ad8e67c..5a193c8 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayPropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_LocalNetworkGatewayPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct LocalNetworkGatewayPropertiesFormat <: OpenAPI.APIMod provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function LocalNetworkGatewayPropertiesFormat(localNetworkAddressSpace, gatewayIpAddress, fqdn, bgpSettings, resourceGuid, provisioningState, ) - OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("localNetworkAddressSpace"), localNetworkAddressSpace) - OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("gatewayIpAddress"), gatewayIpAddress) - OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("bgpSettings"), bgpSettings) - OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(localNetworkAddressSpace, gatewayIpAddress, fqdn, bgpSettings, resourceGuid, provisioningState, ) + o = new(localNetworkAddressSpace, gatewayIpAddress, fqdn, bgpSettings, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type LocalNetworkGatewayPropertiesFormat const _property_types_LocalNetworkGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("localNetworkAddressSpace")=>"AddressSpace", Symbol("gatewayIpAddress")=>"String", Symbol("fqdn")=>"String", Symbol("bgpSettings")=>"BgpSettings", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ LocalNetworkGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalNetworkGatewayPropertiesFormat[name]))} -function check_required(o::LocalNetworkGatewayPropertiesFormat) +function OpenAPI.check_required(o::LocalNetworkGatewayPropertiesFormat) true end +function OpenAPI.validate_properties(o::LocalNetworkGatewayPropertiesFormat) + OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("localNetworkAddressSpace"), o.localNetworkAddressSpace) + OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("gatewayIpAddress"), o.gatewayIpAddress) + OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("bgpSettings"), o.bgpSettings) + OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(LocalNetworkGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ LocalNetworkGatewayPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_P2SVpnConnectionRequest.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_P2SVpnConnectionRequest.jl index 8516f10..85bce57 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_P2SVpnConnectionRequest.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_P2SVpnConnectionRequest.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct P2SVpnConnectionRequest <: OpenAPI.APIModel vpnConnectionIds::Union{Nothing, Vector{String}} = nothing function P2SVpnConnectionRequest(vpnConnectionIds, ) - OpenAPI.validate_property(P2SVpnConnectionRequest, Symbol("vpnConnectionIds"), vpnConnectionIds) - return new(vpnConnectionIds, ) + o = new(vpnConnectionIds, ) + OpenAPI.validate_properties(o) + return o end end # type P2SVpnConnectionRequest const _property_types_P2SVpnConnectionRequest = Dict{Symbol,String}(Symbol("vpnConnectionIds")=>"Vector{String}", ) OpenAPI.property_type(::Type{ P2SVpnConnectionRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_P2SVpnConnectionRequest[name]))} -function check_required(o::P2SVpnConnectionRequest) +function OpenAPI.check_required(o::P2SVpnConnectionRequest) true end +function OpenAPI.validate_properties(o::P2SVpnConnectionRequest) + OpenAPI.validate_property(P2SVpnConnectionRequest, Symbol("vpnConnectionIds"), o.vpnConnectionIds) +end + function OpenAPI.validate_property(::Type{ P2SVpnConnectionRequest }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_RadiusServer.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_RadiusServer.jl index 1cd7914..2517369 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_RadiusServer.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_RadiusServer.jl @@ -21,23 +21,31 @@ Base.@kwdef mutable struct RadiusServer <: OpenAPI.APIModel radiusServerSecret::Union{Nothing, String} = nothing function RadiusServer(radiusServerAddress, radiusServerScore, radiusServerSecret, ) - OpenAPI.validate_property(RadiusServer, Symbol("radiusServerAddress"), radiusServerAddress) - OpenAPI.validate_property(RadiusServer, Symbol("radiusServerScore"), radiusServerScore) - OpenAPI.validate_property(RadiusServer, Symbol("radiusServerSecret"), radiusServerSecret) - return new(radiusServerAddress, radiusServerScore, radiusServerSecret, ) + o = new(radiusServerAddress, radiusServerScore, radiusServerSecret, ) + OpenAPI.validate_properties(o) + return o end end # type RadiusServer const _property_types_RadiusServer = Dict{Symbol,String}(Symbol("radiusServerAddress")=>"String", Symbol("radiusServerScore")=>"Int64", Symbol("radiusServerSecret")=>"String", ) OpenAPI.property_type(::Type{ RadiusServer }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RadiusServer[name]))} -function check_required(o::RadiusServer) +function OpenAPI.check_required(o::RadiusServer) o.radiusServerAddress === nothing && (return false) true end +function OpenAPI.validate_properties(o::RadiusServer) + OpenAPI.validate_property(RadiusServer, Symbol("radiusServerAddress"), o.radiusServerAddress) + OpenAPI.validate_property(RadiusServer, Symbol("radiusServerScore"), o.radiusServerScore) + OpenAPI.validate_property(RadiusServer, Symbol("radiusServerSecret"), o.radiusServerSecret) +end + function OpenAPI.validate_property(::Type{ RadiusServer }, name::Symbol, val) + + if name === Symbol("radiusServerScore") OpenAPI.validate_param(name, "RadiusServer", :format, val, "int64") end + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_ResiliencyRecommendationComponents.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_ResiliencyRecommendationComponents.jl new file mode 100644 index 0000000..cbacce5 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_ResiliencyRecommendationComponents.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResiliencyRecommendationComponents +Gateway Resiliency based Recommendations + + ResiliencyRecommendationComponents(; + name=nothing, + currentScore=nothing, + maxScore=nothing, + recommendations=nothing, + ) + + - name::String : Name of the Resiliency based Recommendation Component + - currentScore::String : Current Score of the gateway + - maxScore::String : Max score that the gateway can achieve if the specified recommendation is applied + - recommendations::Vector{GatewayResiliencyRecommendation} : List of Gateway Resiliency based Recommendations +""" +Base.@kwdef mutable struct ResiliencyRecommendationComponents <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + currentScore::Union{Nothing, String} = nothing + maxScore::Union{Nothing, String} = nothing + recommendations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayResiliencyRecommendation} } + + function ResiliencyRecommendationComponents(name, currentScore, maxScore, recommendations, ) + o = new(name, currentScore, maxScore, recommendations, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResiliencyRecommendationComponents + +const _property_types_ResiliencyRecommendationComponents = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("currentScore")=>"String", Symbol("maxScore")=>"String", Symbol("recommendations")=>"Vector{GatewayResiliencyRecommendation}", ) +OpenAPI.property_type(::Type{ ResiliencyRecommendationComponents }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResiliencyRecommendationComponents[name]))} + +function OpenAPI.check_required(o::ResiliencyRecommendationComponents) + true +end + +function OpenAPI.validate_properties(o::ResiliencyRecommendationComponents) + OpenAPI.validate_property(ResiliencyRecommendationComponents, Symbol("name"), o.name) + OpenAPI.validate_property(ResiliencyRecommendationComponents, Symbol("currentScore"), o.currentScore) + OpenAPI.validate_property(ResiliencyRecommendationComponents, Symbol("maxScore"), o.maxScore) + OpenAPI.validate_property(ResiliencyRecommendationComponents, Symbol("recommendations"), o.recommendations) +end + +function OpenAPI.validate_property(::Type{ ResiliencyRecommendationComponents }, name::Symbol, val) + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_Resource.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_Resource.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_RouteSourceDetails.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_RouteSourceDetails.jl new file mode 100644 index 0000000..89787f7 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_RouteSourceDetails.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RouteSourceDetails + + RouteSourceDetails(; + circuit=nothing, + pri=nothing, + sec=nothing, + ) + + - circuit::String : Express Route Circuit identifier + - pri::String : Flag to indicate if the route learned from the primary device is active or passive + - sec::String : Flag to indicate if the route learned from the secondary device is active or passive +""" +Base.@kwdef mutable struct RouteSourceDetails <: OpenAPI.APIModel + circuit::Union{Nothing, String} = nothing + pri::Union{Nothing, String} = nothing + sec::Union{Nothing, String} = nothing + + function RouteSourceDetails(circuit, pri, sec, ) + o = new(circuit, pri, sec, ) + OpenAPI.validate_properties(o) + return o + end +end # type RouteSourceDetails + +const _property_types_RouteSourceDetails = Dict{Symbol,String}(Symbol("circuit")=>"String", Symbol("pri")=>"String", Symbol("sec")=>"String", ) +OpenAPI.property_type(::Type{ RouteSourceDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteSourceDetails[name]))} + +function OpenAPI.check_required(o::RouteSourceDetails) + true +end + +function OpenAPI.validate_properties(o::RouteSourceDetails) + OpenAPI.validate_property(RouteSourceDetails, Symbol("circuit"), o.circuit) + OpenAPI.validate_property(RouteSourceDetails, Symbol("pri"), o.pri) + OpenAPI.validate_property(RouteSourceDetails, Symbol("sec"), o.sec) +end + +function OpenAPI.validate_property(::Type{ RouteSourceDetails }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_SubResource.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_SubResource.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_TagsObject.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_TagsObject.jl index dc1f4f3..0a63442 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_TagsObject.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_TagsObject.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TagsObject <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function TagsObject(tags, ) - OpenAPI.validate_property(TagsObject, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type TagsObject const _property_types_TagsObject = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ TagsObject }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsObject[name]))} -function check_required(o::TagsObject) +function OpenAPI.check_required(o::TagsObject) true end +function OpenAPI.validate_properties(o::TagsObject) + OpenAPI.validate_property(TagsObject, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ TagsObject }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_TrafficSelectorPolicy.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_TrafficSelectorPolicy.jl index fde9e64..0742173 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_TrafficSelectorPolicy.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_TrafficSelectorPolicy.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct TrafficSelectorPolicy <: OpenAPI.APIModel remoteAddressRanges::Union{Nothing, Vector{String}} = nothing function TrafficSelectorPolicy(localAddressRanges, remoteAddressRanges, ) - OpenAPI.validate_property(TrafficSelectorPolicy, Symbol("localAddressRanges"), localAddressRanges) - OpenAPI.validate_property(TrafficSelectorPolicy, Symbol("remoteAddressRanges"), remoteAddressRanges) - return new(localAddressRanges, remoteAddressRanges, ) + o = new(localAddressRanges, remoteAddressRanges, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficSelectorPolicy const _property_types_TrafficSelectorPolicy = Dict{Symbol,String}(Symbol("localAddressRanges")=>"Vector{String}", Symbol("remoteAddressRanges")=>"Vector{String}", ) OpenAPI.property_type(::Type{ TrafficSelectorPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficSelectorPolicy[name]))} -function check_required(o::TrafficSelectorPolicy) +function OpenAPI.check_required(o::TrafficSelectorPolicy) o.localAddressRanges === nothing && (return false) o.remoteAddressRanges === nothing && (return false) true end +function OpenAPI.validate_properties(o::TrafficSelectorPolicy) + OpenAPI.validate_property(TrafficSelectorPolicy, Symbol("localAddressRanges"), o.localAddressRanges) + OpenAPI.validate_property(TrafficSelectorPolicy, Symbol("remoteAddressRanges"), o.remoteAddressRanges) +end + function OpenAPI.validate_property(::Type{ TrafficSelectorPolicy }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_TunnelConnectionHealth.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_TunnelConnectionHealth.jl index e62cb01..82a9018 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_TunnelConnectionHealth.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_TunnelConnectionHealth.jl @@ -27,27 +27,37 @@ Base.@kwdef mutable struct TunnelConnectionHealth <: OpenAPI.APIModel lastConnectionEstablishedUtcTime::Union{Nothing, String} = nothing function TunnelConnectionHealth(tunnel, connectionStatus, ingressBytesTransferred, egressBytesTransferred, lastConnectionEstablishedUtcTime, ) - OpenAPI.validate_property(TunnelConnectionHealth, Symbol("tunnel"), tunnel) - OpenAPI.validate_property(TunnelConnectionHealth, Symbol("connectionStatus"), connectionStatus) - OpenAPI.validate_property(TunnelConnectionHealth, Symbol("ingressBytesTransferred"), ingressBytesTransferred) - OpenAPI.validate_property(TunnelConnectionHealth, Symbol("egressBytesTransferred"), egressBytesTransferred) - OpenAPI.validate_property(TunnelConnectionHealth, Symbol("lastConnectionEstablishedUtcTime"), lastConnectionEstablishedUtcTime) - return new(tunnel, connectionStatus, ingressBytesTransferred, egressBytesTransferred, lastConnectionEstablishedUtcTime, ) + o = new(tunnel, connectionStatus, ingressBytesTransferred, egressBytesTransferred, lastConnectionEstablishedUtcTime, ) + OpenAPI.validate_properties(o) + return o end end # type TunnelConnectionHealth const _property_types_TunnelConnectionHealth = Dict{Symbol,String}(Symbol("tunnel")=>"String", Symbol("connectionStatus")=>"VirtualNetworkGatewayConnectionStatus", Symbol("ingressBytesTransferred")=>"Int64", Symbol("egressBytesTransferred")=>"Int64", Symbol("lastConnectionEstablishedUtcTime")=>"String", ) OpenAPI.property_type(::Type{ TunnelConnectionHealth }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TunnelConnectionHealth[name]))} -function check_required(o::TunnelConnectionHealth) +function OpenAPI.check_required(o::TunnelConnectionHealth) true end +function OpenAPI.validate_properties(o::TunnelConnectionHealth) + OpenAPI.validate_property(TunnelConnectionHealth, Symbol("tunnel"), o.tunnel) + OpenAPI.validate_property(TunnelConnectionHealth, Symbol("connectionStatus"), o.connectionStatus) + OpenAPI.validate_property(TunnelConnectionHealth, Symbol("ingressBytesTransferred"), o.ingressBytesTransferred) + OpenAPI.validate_property(TunnelConnectionHealth, Symbol("egressBytesTransferred"), o.egressBytesTransferred) + OpenAPI.validate_property(TunnelConnectionHealth, Symbol("lastConnectionEstablishedUtcTime"), o.lastConnectionEstablishedUtcTime) +end + function OpenAPI.validate_property(::Type{ TunnelConnectionHealth }, name::Symbol, val) + + + if name === Symbol("ingressBytesTransferred") OpenAPI.validate_param(name, "TunnelConnectionHealth", :format, val, "int64") end + if name === Symbol("egressBytesTransferred") OpenAPI.validate_param(name, "TunnelConnectionHealth", :format, val, "int64") end + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkConnectionGatewayReference.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkConnectionGatewayReference.jl index fb0246d..0d47620 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkConnectionGatewayReference.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkConnectionGatewayReference.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct VirtualNetworkConnectionGatewayReference <: OpenAPI.A id::Union{Nothing, String} = nothing function VirtualNetworkConnectionGatewayReference(id, ) - OpenAPI.validate_property(VirtualNetworkConnectionGatewayReference, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkConnectionGatewayReference const _property_types_VirtualNetworkConnectionGatewayReference = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkConnectionGatewayReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkConnectionGatewayReference[name]))} -function check_required(o::VirtualNetworkConnectionGatewayReference) +function OpenAPI.check_required(o::VirtualNetworkConnectionGatewayReference) o.id === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkConnectionGatewayReference) + OpenAPI.validate_property(VirtualNetworkConnectionGatewayReference, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkConnectionGatewayReference }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGateway.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGateway.jl index f478e8b..0c89ef9 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGateway.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGateway.jl @@ -7,7 +7,9 @@ A common class for general resource information. VirtualNetworkGateway(; properties=nothing, + extendedLocation=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -16,7 +18,9 @@ A common class for general resource information. ) - properties::VirtualNetworkGatewayPropertiesFormat + - extendedLocation::ExtendedLocation - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -25,32 +29,50 @@ A common class for general resource information. """ Base.@kwdef mutable struct VirtualNetworkGateway <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayPropertiesFormat } + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function VirtualNetworkGateway(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkGateway, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function VirtualNetworkGateway(properties, extendedLocation, etag, identity, id, name, type, location, tags, ) + o = new(properties, extendedLocation, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGateway -const _property_types_VirtualNetworkGateway = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_VirtualNetworkGateway = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayPropertiesFormat", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGateway[name]))} -function check_required(o::VirtualNetworkGateway) +function OpenAPI.check_required(o::VirtualNetworkGateway) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkGateway) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("identity"), o.identity) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkGateway, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGateway }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayAutoScaleBounds.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayAutoScaleBounds.jl new file mode 100644 index 0000000..6044ccc --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayAutoScaleBounds.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayAutoScaleBounds + + VirtualNetworkGatewayAutoScaleBounds(; + min=nothing, + max=nothing, + ) + + - min::Int64 : Minimum scale Units for Autoscale configuration + - max::Int64 : Maximum Scale Units for Autoscale configuration +""" +Base.@kwdef mutable struct VirtualNetworkGatewayAutoScaleBounds <: OpenAPI.APIModel + min::Union{Nothing, Int64} = nothing + max::Union{Nothing, Int64} = nothing + + function VirtualNetworkGatewayAutoScaleBounds(min, max, ) + o = new(min, max, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayAutoScaleBounds + +const _property_types_VirtualNetworkGatewayAutoScaleBounds = Dict{Symbol,String}(Symbol("min")=>"Int64", Symbol("max")=>"Int64", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayAutoScaleBounds }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayAutoScaleBounds[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayAutoScaleBounds) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayAutoScaleBounds) + OpenAPI.validate_property(VirtualNetworkGatewayAutoScaleBounds, Symbol("min"), o.min) + OpenAPI.validate_property(VirtualNetworkGatewayAutoScaleBounds, Symbol("max"), o.max) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayAutoScaleBounds }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayAutoScaleConfiguration.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayAutoScaleConfiguration.jl new file mode 100644 index 0000000..05e6328 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayAutoScaleConfiguration.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayAutoScaleConfiguration +Virtual Network Gateway Autoscale Configuration details + + VirtualNetworkGatewayAutoScaleConfiguration(; + bounds=nothing, + ) + + - bounds::VirtualNetworkGatewayAutoScaleBounds +""" +Base.@kwdef mutable struct VirtualNetworkGatewayAutoScaleConfiguration <: OpenAPI.APIModel + bounds = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayAutoScaleBounds } + + function VirtualNetworkGatewayAutoScaleConfiguration(bounds, ) + o = new(bounds, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayAutoScaleConfiguration + +const _property_types_VirtualNetworkGatewayAutoScaleConfiguration = Dict{Symbol,String}(Symbol("bounds")=>"VirtualNetworkGatewayAutoScaleBounds", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayAutoScaleConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayAutoScaleConfiguration[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayAutoScaleConfiguration) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayAutoScaleConfiguration) + OpenAPI.validate_property(VirtualNetworkGatewayAutoScaleConfiguration, Symbol("bounds"), o.bounds) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayAutoScaleConfiguration }, name::Symbol, val) + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnection.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnection.jl index 963cc29..ce09ef5 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnection.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnection.jl @@ -33,24 +33,36 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnection <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkGatewayConnection(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayConnection const _property_types_VirtualNetworkGatewayConnection = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayConnectionPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayConnection[name]))} -function check_required(o::VirtualNetworkGatewayConnection) +function OpenAPI.check_required(o::VirtualNetworkGatewayConnection) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayConnection) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkGatewayConnection, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayConnection }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntity.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntity.jl index 7d17443..26f882f 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntity.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntity.jl @@ -33,24 +33,36 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionListEntity <: OpenAPI. tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkGatewayConnectionListEntity(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayConnectionListEntity const _property_types_VirtualNetworkGatewayConnectionListEntity = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayConnectionListEntityPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayConnectionListEntity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayConnectionListEntity[name]))} -function check_required(o::VirtualNetworkGatewayConnectionListEntity) +function OpenAPI.check_required(o::VirtualNetworkGatewayConnectionListEntity) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayConnectionListEntity) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntity, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayConnectionListEntity }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntityPropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntityPropertiesFormat.jl index 0ecb732..46db179 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntityPropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListEntityPropertiesFormat.jl @@ -13,6 +13,7 @@ VirtualNetworkGatewayConnection properties. connectionType=nothing, connectionProtocol=nothing, routingWeight=nothing, + connectionMode=nothing, sharedKey=nothing, connectionStatus=nothing, tunnelConnectionStatus=nothing, @@ -20,12 +21,14 @@ VirtualNetworkGatewayConnection properties. ingressBytesTransferred=nothing, peer=nothing, enableBgp=nothing, + gatewayCustomBgpIpAddresses=nothing, usePolicyBasedTrafficSelectors=nothing, ipsecPolicies=nothing, trafficSelectorPolicies=nothing, resourceGuid=nothing, provisioningState=nothing, expressRouteGatewayBypass=nothing, + enablePrivateLinkFastPath=nothing, ) - authorizationKey::String : The authorizationKey. @@ -35,6 +38,7 @@ VirtualNetworkGatewayConnection properties. - connectionType::VirtualNetworkGatewayConnectionType - connectionProtocol::ConnectionProtocol - routingWeight::Int64 : The routing weight. + - connectionMode::VirtualNetworkGatewayConnectionMode - sharedKey::String : The IPSec shared key. - connectionStatus::VirtualNetworkGatewayConnectionStatus - tunnelConnectionStatus::Vector{TunnelConnectionHealth} : Collection of all tunnels' connection health status. @@ -42,12 +46,14 @@ VirtualNetworkGatewayConnection properties. - ingressBytesTransferred::Int64 : The ingress bytes transferred in this connection. - peer::SubResource - enableBgp::Bool : EnableBgp flag. + - gatewayCustomBgpIpAddresses::Vector{GatewayCustomBgpIpAddressIpConfiguration} : GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. - usePolicyBasedTrafficSelectors::Bool : Enable policy-based traffic selectors. - ipsecPolicies::Vector{IpsecPolicy} : The IPSec Policies to be considered by this connection. - trafficSelectorPolicies::Vector{TrafficSelectorPolicy} : The Traffic Selector Policies to be considered by this connection. - resourceGuid::String : The resource GUID property of the virtual network gateway connection resource. - provisioningState::ProvisioningState - expressRouteGatewayBypass::Bool : Bypass ExpressRoute Gateway for data forwarding. + - enablePrivateLinkFastPath::Bool : Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. """ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionListEntityPropertiesFormat <: OpenAPI.APIModel authorizationKey::Union{Nothing, String} = nothing @@ -57,6 +63,7 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionListEntityPropertiesFo connectionType = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayConnectionType } connectionProtocol = nothing # spec type: Union{ Nothing, ConnectionProtocol } routingWeight::Union{Nothing, Int64} = nothing + connectionMode = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayConnectionMode } sharedKey::Union{Nothing, String} = nothing connectionStatus = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayConnectionStatus } tunnelConnectionStatus::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TunnelConnectionHealth} } @@ -64,55 +71,88 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionListEntityPropertiesFo ingressBytesTransferred::Union{Nothing, Int64} = nothing peer = nothing # spec type: Union{ Nothing, SubResource } enableBgp::Union{Nothing, Bool} = nothing + gatewayCustomBgpIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayCustomBgpIpAddressIpConfiguration} } usePolicyBasedTrafficSelectors::Union{Nothing, Bool} = nothing ipsecPolicies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpsecPolicy} } trafficSelectorPolicies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TrafficSelectorPolicy} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } expressRouteGatewayBypass::Union{Nothing, Bool} = nothing + enablePrivateLinkFastPath::Union{Nothing, Bool} = nothing - function VirtualNetworkGatewayConnectionListEntityPropertiesFormat(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, connectionType, connectionProtocol, routingWeight, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, ) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("authorizationKey"), authorizationKey) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("virtualNetworkGateway1"), virtualNetworkGateway1) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("virtualNetworkGateway2"), virtualNetworkGateway2) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("localNetworkGateway2"), localNetworkGateway2) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionType"), connectionType) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionProtocol"), connectionProtocol) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("routingWeight"), routingWeight) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("sharedKey"), sharedKey) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionStatus"), connectionStatus) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("tunnelConnectionStatus"), tunnelConnectionStatus) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("egressBytesTransferred"), egressBytesTransferred) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("ingressBytesTransferred"), ingressBytesTransferred) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("peer"), peer) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("enableBgp"), enableBgp) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("usePolicyBasedTrafficSelectors"), usePolicyBasedTrafficSelectors) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("ipsecPolicies"), ipsecPolicies) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("trafficSelectorPolicies"), trafficSelectorPolicies) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("expressRouteGatewayBypass"), expressRouteGatewayBypass) - return new(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, connectionType, connectionProtocol, routingWeight, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, ) + function VirtualNetworkGatewayConnectionListEntityPropertiesFormat(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, connectionType, connectionProtocol, routingWeight, connectionMode, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, gatewayCustomBgpIpAddresses, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, enablePrivateLinkFastPath, ) + o = new(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, connectionType, connectionProtocol, routingWeight, connectionMode, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, gatewayCustomBgpIpAddresses, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, enablePrivateLinkFastPath, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayConnectionListEntityPropertiesFormat -const _property_types_VirtualNetworkGatewayConnectionListEntityPropertiesFormat = Dict{Symbol,String}(Symbol("authorizationKey")=>"String", Symbol("virtualNetworkGateway1")=>"VirtualNetworkConnectionGatewayReference", Symbol("virtualNetworkGateway2")=>"VirtualNetworkConnectionGatewayReference", Symbol("localNetworkGateway2")=>"VirtualNetworkConnectionGatewayReference", Symbol("connectionType")=>"VirtualNetworkGatewayConnectionType", Symbol("connectionProtocol")=>"ConnectionProtocol", Symbol("routingWeight")=>"Int64", Symbol("sharedKey")=>"String", Symbol("connectionStatus")=>"VirtualNetworkGatewayConnectionStatus", Symbol("tunnelConnectionStatus")=>"Vector{TunnelConnectionHealth}", Symbol("egressBytesTransferred")=>"Int64", Symbol("ingressBytesTransferred")=>"Int64", Symbol("peer")=>"SubResource", Symbol("enableBgp")=>"Bool", Symbol("usePolicyBasedTrafficSelectors")=>"Bool", Symbol("ipsecPolicies")=>"Vector{IpsecPolicy}", Symbol("trafficSelectorPolicies")=>"Vector{TrafficSelectorPolicy}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("expressRouteGatewayBypass")=>"Bool", ) +const _property_types_VirtualNetworkGatewayConnectionListEntityPropertiesFormat = Dict{Symbol,String}(Symbol("authorizationKey")=>"String", Symbol("virtualNetworkGateway1")=>"VirtualNetworkConnectionGatewayReference", Symbol("virtualNetworkGateway2")=>"VirtualNetworkConnectionGatewayReference", Symbol("localNetworkGateway2")=>"VirtualNetworkConnectionGatewayReference", Symbol("connectionType")=>"VirtualNetworkGatewayConnectionType", Symbol("connectionProtocol")=>"ConnectionProtocol", Symbol("routingWeight")=>"Int64", Symbol("connectionMode")=>"VirtualNetworkGatewayConnectionMode", Symbol("sharedKey")=>"String", Symbol("connectionStatus")=>"VirtualNetworkGatewayConnectionStatus", Symbol("tunnelConnectionStatus")=>"Vector{TunnelConnectionHealth}", Symbol("egressBytesTransferred")=>"Int64", Symbol("ingressBytesTransferred")=>"Int64", Symbol("peer")=>"SubResource", Symbol("enableBgp")=>"Bool", Symbol("gatewayCustomBgpIpAddresses")=>"Vector{GatewayCustomBgpIpAddressIpConfiguration}", Symbol("usePolicyBasedTrafficSelectors")=>"Bool", Symbol("ipsecPolicies")=>"Vector{IpsecPolicy}", Symbol("trafficSelectorPolicies")=>"Vector{TrafficSelectorPolicy}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("expressRouteGatewayBypass")=>"Bool", Symbol("enablePrivateLinkFastPath")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayConnectionListEntityPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayConnectionListEntityPropertiesFormat[name]))} -function check_required(o::VirtualNetworkGatewayConnectionListEntityPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkGatewayConnectionListEntityPropertiesFormat) o.virtualNetworkGateway1 === nothing && (return false) o.connectionType === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayConnectionListEntityPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("authorizationKey"), o.authorizationKey) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("virtualNetworkGateway1"), o.virtualNetworkGateway1) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("virtualNetworkGateway2"), o.virtualNetworkGateway2) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("localNetworkGateway2"), o.localNetworkGateway2) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionType"), o.connectionType) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionProtocol"), o.connectionProtocol) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("routingWeight"), o.routingWeight) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionMode"), o.connectionMode) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("sharedKey"), o.sharedKey) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("connectionStatus"), o.connectionStatus) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("tunnelConnectionStatus"), o.tunnelConnectionStatus) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("egressBytesTransferred"), o.egressBytesTransferred) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("ingressBytesTransferred"), o.ingressBytesTransferred) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("peer"), o.peer) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("enableBgp"), o.enableBgp) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("gatewayCustomBgpIpAddresses"), o.gatewayCustomBgpIpAddresses) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("usePolicyBasedTrafficSelectors"), o.usePolicyBasedTrafficSelectors) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("ipsecPolicies"), o.ipsecPolicies) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("trafficSelectorPolicies"), o.trafficSelectorPolicies) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("expressRouteGatewayBypass"), o.expressRouteGatewayBypass) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListEntityPropertiesFormat, Symbol("enablePrivateLinkFastPath"), o.enablePrivateLinkFastPath) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayConnectionListEntityPropertiesFormat }, name::Symbol, val) + + + + + + + if name === Symbol("routingWeight") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionListEntityPropertiesFormat", :format, val, "int32") end + + + + + if name === Symbol("egressBytesTransferred") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionListEntityPropertiesFormat", :format, val, "int64") end + if name === Symbol("ingressBytesTransferred") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionListEntityPropertiesFormat", :format, val, "int64") end + + + + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListResult.jl index 1884f25..ab61dd4 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionListResult <: OpenAPI. nextLink::Union{Nothing, String} = nothing function VirtualNetworkGatewayConnectionListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayConnectionListResult const _property_types_VirtualNetworkGatewayConnectionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkGatewayConnection}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayConnectionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayConnectionListResult[name]))} -function check_required(o::VirtualNetworkGatewayConnectionListResult) +function OpenAPI.check_required(o::VirtualNetworkGatewayConnectionListResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayConnectionListResult) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayConnectionListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionMode.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionMode.jl new file mode 100644 index 0000000..609dd9d --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionMode.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :VirtualNetworkGatewayConnectionMode) + const VirtualNetworkGatewayConnectionMode = String +else + @warn("Skipping redefinition of VirtualNetworkGatewayConnectionMode to String") +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionPropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionPropertiesFormat.jl index eea83f6..6d71f2d 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionPropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionPropertiesFormat.jl @@ -10,10 +10,14 @@ VirtualNetworkGatewayConnection properties. virtualNetworkGateway1=nothing, virtualNetworkGateway2=nothing, localNetworkGateway2=nothing, + ingressNatRules=nothing, + egressNatRules=nothing, connectionType=nothing, connectionProtocol=nothing, routingWeight=nothing, dpdTimeoutSeconds=nothing, + connectionMode=nothing, + tunnelProperties=nothing, sharedKey=nothing, connectionStatus=nothing, tunnelConnectionStatus=nothing, @@ -21,6 +25,7 @@ VirtualNetworkGatewayConnection properties. ingressBytesTransferred=nothing, peer=nothing, enableBgp=nothing, + gatewayCustomBgpIpAddresses=nothing, useLocalAzureIpAddress=nothing, usePolicyBasedTrafficSelectors=nothing, ipsecPolicies=nothing, @@ -28,16 +33,21 @@ VirtualNetworkGatewayConnection properties. resourceGuid=nothing, provisioningState=nothing, expressRouteGatewayBypass=nothing, + enablePrivateLinkFastPath=nothing, ) - authorizationKey::String : The authorizationKey. - virtualNetworkGateway1::VirtualNetworkGateway - virtualNetworkGateway2::VirtualNetworkGateway - localNetworkGateway2::LocalNetworkGateway + - ingressNatRules::Vector{SubResource} : List of ingress NatRules. + - egressNatRules::Vector{SubResource} : List of egress NatRules. - connectionType::VirtualNetworkGatewayConnectionType - connectionProtocol::ConnectionProtocol - routingWeight::Int64 : The routing weight. - dpdTimeoutSeconds::Int64 : The dead peer detection timeout of this connection in seconds. + - connectionMode::VirtualNetworkGatewayConnectionMode + - tunnelProperties::Vector{VirtualNetworkGatewayConnectionTunnelProperties} : Tunnel properties for virtual network gateway connection - sharedKey::String : The IPSec shared key. - connectionStatus::VirtualNetworkGatewayConnectionStatus - tunnelConnectionStatus::Vector{TunnelConnectionHealth} : Collection of all tunnels' connection health status. @@ -45,6 +55,7 @@ VirtualNetworkGatewayConnection properties. - ingressBytesTransferred::Int64 : The ingress bytes transferred in this connection. - peer::SubResource - enableBgp::Bool : EnableBgp flag. + - gatewayCustomBgpIpAddresses::Vector{GatewayCustomBgpIpAddressIpConfiguration} : GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection. - useLocalAzureIpAddress::Bool : Use private local Azure IP for the connection. - usePolicyBasedTrafficSelectors::Bool : Enable policy-based traffic selectors. - ipsecPolicies::Vector{IpsecPolicy} : The IPSec Policies to be considered by this connection. @@ -52,16 +63,21 @@ VirtualNetworkGatewayConnection properties. - resourceGuid::String : The resource GUID property of the virtual network gateway connection resource. - provisioningState::ProvisioningState - expressRouteGatewayBypass::Bool : Bypass ExpressRoute Gateway for data forwarding. + - enablePrivateLinkFastPath::Bool : Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. """ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionPropertiesFormat <: OpenAPI.APIModel authorizationKey::Union{Nothing, String} = nothing virtualNetworkGateway1 = nothing # spec type: Union{ Nothing, VirtualNetworkGateway } virtualNetworkGateway2 = nothing # spec type: Union{ Nothing, VirtualNetworkGateway } localNetworkGateway2 = nothing # spec type: Union{ Nothing, LocalNetworkGateway } + ingressNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + egressNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } connectionType = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayConnectionType } connectionProtocol = nothing # spec type: Union{ Nothing, ConnectionProtocol } routingWeight::Union{Nothing, Int64} = nothing dpdTimeoutSeconds::Union{Nothing, Int64} = nothing + connectionMode = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayConnectionMode } + tunnelProperties::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkGatewayConnectionTunnelProperties} } sharedKey::Union{Nothing, String} = nothing connectionStatus = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayConnectionStatus } tunnelConnectionStatus::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TunnelConnectionHealth} } @@ -69,6 +85,7 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionPropertiesFormat <: Op ingressBytesTransferred::Union{Nothing, Int64} = nothing peer = nothing # spec type: Union{ Nothing, SubResource } enableBgp::Union{Nothing, Bool} = nothing + gatewayCustomBgpIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayCustomBgpIpAddressIpConfiguration} } useLocalAzureIpAddress::Union{Nothing, Bool} = nothing usePolicyBasedTrafficSelectors::Union{Nothing, Bool} = nothing ipsecPolicies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpsecPolicy} } @@ -76,54 +93,94 @@ Base.@kwdef mutable struct VirtualNetworkGatewayConnectionPropertiesFormat <: Op resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } expressRouteGatewayBypass::Union{Nothing, Bool} = nothing + enablePrivateLinkFastPath::Union{Nothing, Bool} = nothing - function VirtualNetworkGatewayConnectionPropertiesFormat(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, connectionType, connectionProtocol, routingWeight, dpdTimeoutSeconds, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, useLocalAzureIpAddress, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, ) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("authorizationKey"), authorizationKey) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("virtualNetworkGateway1"), virtualNetworkGateway1) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("virtualNetworkGateway2"), virtualNetworkGateway2) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("localNetworkGateway2"), localNetworkGateway2) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionType"), connectionType) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionProtocol"), connectionProtocol) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("routingWeight"), routingWeight) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("dpdTimeoutSeconds"), dpdTimeoutSeconds) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("sharedKey"), sharedKey) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionStatus"), connectionStatus) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("tunnelConnectionStatus"), tunnelConnectionStatus) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("egressBytesTransferred"), egressBytesTransferred) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("ingressBytesTransferred"), ingressBytesTransferred) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("peer"), peer) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("enableBgp"), enableBgp) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("useLocalAzureIpAddress"), useLocalAzureIpAddress) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("usePolicyBasedTrafficSelectors"), usePolicyBasedTrafficSelectors) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("ipsecPolicies"), ipsecPolicies) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("trafficSelectorPolicies"), trafficSelectorPolicies) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("expressRouteGatewayBypass"), expressRouteGatewayBypass) - return new(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, connectionType, connectionProtocol, routingWeight, dpdTimeoutSeconds, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, useLocalAzureIpAddress, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, ) + function VirtualNetworkGatewayConnectionPropertiesFormat(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, ingressNatRules, egressNatRules, connectionType, connectionProtocol, routingWeight, dpdTimeoutSeconds, connectionMode, tunnelProperties, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, gatewayCustomBgpIpAddresses, useLocalAzureIpAddress, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, enablePrivateLinkFastPath, ) + o = new(authorizationKey, virtualNetworkGateway1, virtualNetworkGateway2, localNetworkGateway2, ingressNatRules, egressNatRules, connectionType, connectionProtocol, routingWeight, dpdTimeoutSeconds, connectionMode, tunnelProperties, sharedKey, connectionStatus, tunnelConnectionStatus, egressBytesTransferred, ingressBytesTransferred, peer, enableBgp, gatewayCustomBgpIpAddresses, useLocalAzureIpAddress, usePolicyBasedTrafficSelectors, ipsecPolicies, trafficSelectorPolicies, resourceGuid, provisioningState, expressRouteGatewayBypass, enablePrivateLinkFastPath, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayConnectionPropertiesFormat -const _property_types_VirtualNetworkGatewayConnectionPropertiesFormat = Dict{Symbol,String}(Symbol("authorizationKey")=>"String", Symbol("virtualNetworkGateway1")=>"VirtualNetworkGateway", Symbol("virtualNetworkGateway2")=>"VirtualNetworkGateway", Symbol("localNetworkGateway2")=>"LocalNetworkGateway", Symbol("connectionType")=>"VirtualNetworkGatewayConnectionType", Symbol("connectionProtocol")=>"ConnectionProtocol", Symbol("routingWeight")=>"Int64", Symbol("dpdTimeoutSeconds")=>"Int64", Symbol("sharedKey")=>"String", Symbol("connectionStatus")=>"VirtualNetworkGatewayConnectionStatus", Symbol("tunnelConnectionStatus")=>"Vector{TunnelConnectionHealth}", Symbol("egressBytesTransferred")=>"Int64", Symbol("ingressBytesTransferred")=>"Int64", Symbol("peer")=>"SubResource", Symbol("enableBgp")=>"Bool", Symbol("useLocalAzureIpAddress")=>"Bool", Symbol("usePolicyBasedTrafficSelectors")=>"Bool", Symbol("ipsecPolicies")=>"Vector{IpsecPolicy}", Symbol("trafficSelectorPolicies")=>"Vector{TrafficSelectorPolicy}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("expressRouteGatewayBypass")=>"Bool", ) +const _property_types_VirtualNetworkGatewayConnectionPropertiesFormat = Dict{Symbol,String}(Symbol("authorizationKey")=>"String", Symbol("virtualNetworkGateway1")=>"VirtualNetworkGateway", Symbol("virtualNetworkGateway2")=>"VirtualNetworkGateway", Symbol("localNetworkGateway2")=>"LocalNetworkGateway", Symbol("ingressNatRules")=>"Vector{SubResource}", Symbol("egressNatRules")=>"Vector{SubResource}", Symbol("connectionType")=>"VirtualNetworkGatewayConnectionType", Symbol("connectionProtocol")=>"ConnectionProtocol", Symbol("routingWeight")=>"Int64", Symbol("dpdTimeoutSeconds")=>"Int64", Symbol("connectionMode")=>"VirtualNetworkGatewayConnectionMode", Symbol("tunnelProperties")=>"Vector{VirtualNetworkGatewayConnectionTunnelProperties}", Symbol("sharedKey")=>"String", Symbol("connectionStatus")=>"VirtualNetworkGatewayConnectionStatus", Symbol("tunnelConnectionStatus")=>"Vector{TunnelConnectionHealth}", Symbol("egressBytesTransferred")=>"Int64", Symbol("ingressBytesTransferred")=>"Int64", Symbol("peer")=>"SubResource", Symbol("enableBgp")=>"Bool", Symbol("gatewayCustomBgpIpAddresses")=>"Vector{GatewayCustomBgpIpAddressIpConfiguration}", Symbol("useLocalAzureIpAddress")=>"Bool", Symbol("usePolicyBasedTrafficSelectors")=>"Bool", Symbol("ipsecPolicies")=>"Vector{IpsecPolicy}", Symbol("trafficSelectorPolicies")=>"Vector{TrafficSelectorPolicy}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("expressRouteGatewayBypass")=>"Bool", Symbol("enablePrivateLinkFastPath")=>"Bool", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayConnectionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayConnectionPropertiesFormat[name]))} -function check_required(o::VirtualNetworkGatewayConnectionPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkGatewayConnectionPropertiesFormat) o.virtualNetworkGateway1 === nothing && (return false) o.connectionType === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayConnectionPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("authorizationKey"), o.authorizationKey) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("virtualNetworkGateway1"), o.virtualNetworkGateway1) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("virtualNetworkGateway2"), o.virtualNetworkGateway2) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("localNetworkGateway2"), o.localNetworkGateway2) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("ingressNatRules"), o.ingressNatRules) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("egressNatRules"), o.egressNatRules) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionType"), o.connectionType) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionProtocol"), o.connectionProtocol) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("routingWeight"), o.routingWeight) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("dpdTimeoutSeconds"), o.dpdTimeoutSeconds) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionMode"), o.connectionMode) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("tunnelProperties"), o.tunnelProperties) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("sharedKey"), o.sharedKey) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("connectionStatus"), o.connectionStatus) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("tunnelConnectionStatus"), o.tunnelConnectionStatus) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("egressBytesTransferred"), o.egressBytesTransferred) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("ingressBytesTransferred"), o.ingressBytesTransferred) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("peer"), o.peer) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("enableBgp"), o.enableBgp) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("gatewayCustomBgpIpAddresses"), o.gatewayCustomBgpIpAddresses) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("useLocalAzureIpAddress"), o.useLocalAzureIpAddress) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("usePolicyBasedTrafficSelectors"), o.usePolicyBasedTrafficSelectors) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("ipsecPolicies"), o.ipsecPolicies) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("trafficSelectorPolicies"), o.trafficSelectorPolicies) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("expressRouteGatewayBypass"), o.expressRouteGatewayBypass) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionPropertiesFormat, Symbol("enablePrivateLinkFastPath"), o.enablePrivateLinkFastPath) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayConnectionPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("routingWeight") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionPropertiesFormat", :format, val, "int32") end + if name === Symbol("dpdTimeoutSeconds") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("egressBytesTransferred") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionPropertiesFormat", :format, val, "int64") end + if name === Symbol("ingressBytesTransferred") OpenAPI.validate_param(name, "VirtualNetworkGatewayConnectionPropertiesFormat", :format, val, "int64") end + + + + + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionTunnelProperties.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionTunnelProperties.jl new file mode 100644 index 0000000..278b9a6 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayConnectionTunnelProperties.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayConnectionTunnelProperties + + VirtualNetworkGatewayConnectionTunnelProperties(; + tunnelIpAddress=nothing, + bgpPeeringAddress=nothing, + ) + + - tunnelIpAddress::String : Tunnel remote IP address + - bgpPeeringAddress::String : Tunnel BGP peering address +""" +Base.@kwdef mutable struct VirtualNetworkGatewayConnectionTunnelProperties <: OpenAPI.APIModel + tunnelIpAddress::Union{Nothing, String} = nothing + bgpPeeringAddress::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayConnectionTunnelProperties(tunnelIpAddress, bgpPeeringAddress, ) + o = new(tunnelIpAddress, bgpPeeringAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayConnectionTunnelProperties + +const _property_types_VirtualNetworkGatewayConnectionTunnelProperties = Dict{Symbol,String}(Symbol("tunnelIpAddress")=>"String", Symbol("bgpPeeringAddress")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayConnectionTunnelProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayConnectionTunnelProperties[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayConnectionTunnelProperties) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayConnectionTunnelProperties) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionTunnelProperties, Symbol("tunnelIpAddress"), o.tunnelIpAddress) + OpenAPI.validate_property(VirtualNetworkGatewayConnectionTunnelProperties, Symbol("bgpPeeringAddress"), o.bgpPeeringAddress) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayConnectionTunnelProperties }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfiguration.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfiguration.jl index 1d0baa0..8e6b6e2 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfiguration.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct VirtualNetworkGatewayIPConfiguration <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function VirtualNetworkGatewayIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayIPConfiguration const _property_types_VirtualNetworkGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayIPConfiguration[name]))} -function check_required(o::VirtualNetworkGatewayIPConfiguration) +function OpenAPI.check_required(o::VirtualNetworkGatewayIPConfiguration) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayIPConfiguration) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayIPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfigurationPropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfigurationPropertiesFormat.jl index fd2d177..a8c2a7c 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfigurationPropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayIPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct VirtualNetworkGatewayIPConfigurationPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function VirtualNetworkGatewayIPConfigurationPropertiesFormat(privateIPAllocationMethod, subnet, publicIPAddress, privateIPAddress, provisioningState, ) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAllocationMethod, subnet, publicIPAddress, privateIPAddress, provisioningState, ) + o = new(privateIPAllocationMethod, subnet, publicIPAddress, privateIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayIPConfigurationPropertiesFormat const _property_types_VirtualNetworkGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"SubResource", Symbol("publicIPAddress")=>"SubResource", Symbol("privateIPAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayIPConfigurationPropertiesFormat[name]))} -function check_required(o::VirtualNetworkGatewayIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkGatewayIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(VirtualNetworkGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListConnectionsResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListConnectionsResult.jl index 53e87ad..1f9e96d 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListConnectionsResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListConnectionsResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkGatewayListConnectionsResult <: OpenAPI nextLink::Union{Nothing, String} = nothing function VirtualNetworkGatewayListConnectionsResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkGatewayListConnectionsResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkGatewayListConnectionsResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayListConnectionsResult const _property_types_VirtualNetworkGatewayListConnectionsResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkGatewayConnectionListEntity}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayListConnectionsResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayListConnectionsResult[name]))} -function check_required(o::VirtualNetworkGatewayListConnectionsResult) +function OpenAPI.check_required(o::VirtualNetworkGatewayListConnectionsResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayListConnectionsResult) + OpenAPI.validate_property(VirtualNetworkGatewayListConnectionsResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkGatewayListConnectionsResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayListConnectionsResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListResult.jl index c7b9319..8543697 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VirtualNetworkGatewayListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function VirtualNetworkGatewayListResult(value, nextLink, ) - OpenAPI.validate_property(VirtualNetworkGatewayListResult, Symbol("value"), value) - OpenAPI.validate_property(VirtualNetworkGatewayListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayListResult const _property_types_VirtualNetworkGatewayListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VirtualNetworkGateway}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayListResult[name]))} -function check_required(o::VirtualNetworkGatewayListResult) +function OpenAPI.check_required(o::VirtualNetworkGatewayListResult) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayListResult) + OpenAPI.validate_property(VirtualNetworkGatewayListResult, Symbol("value"), o.value) + OpenAPI.validate_property(VirtualNetworkGatewayListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayListResult }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationParameters.jl new file mode 100644 index 0000000..fa26ed6 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationParameters.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayMigrationParameters +Virtual network gateway migration parameters. + + VirtualNetworkGatewayMigrationParameters(; + migrationType=nothing, + resourceUrl=nothing, + ) + + - migrationType::VirtualNetworkGatewayMigrationType + - resourceUrl::String : Resource url that needs to be passed in to migration. +""" +Base.@kwdef mutable struct VirtualNetworkGatewayMigrationParameters <: OpenAPI.APIModel + migrationType = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayMigrationType } + resourceUrl::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayMigrationParameters(migrationType, resourceUrl, ) + o = new(migrationType, resourceUrl, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayMigrationParameters + +const _property_types_VirtualNetworkGatewayMigrationParameters = Dict{Symbol,String}(Symbol("migrationType")=>"VirtualNetworkGatewayMigrationType", Symbol("resourceUrl")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayMigrationParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayMigrationParameters[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayMigrationParameters) + o.migrationType === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayMigrationParameters) + OpenAPI.validate_property(VirtualNetworkGatewayMigrationParameters, Symbol("migrationType"), o.migrationType) + OpenAPI.validate_property(VirtualNetworkGatewayMigrationParameters, Symbol("resourceUrl"), o.resourceUrl) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayMigrationParameters }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationStatus.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationStatus.jl new file mode 100644 index 0000000..018b908 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationStatus.jl @@ -0,0 +1,55 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayMigrationStatus +Migration status for the Virtual Network Gateway. + + VirtualNetworkGatewayMigrationStatus(; + state=nothing, + phase=nothing, + errorMessage=nothing, + ) + + - state::String : Represent the current state of gateway migration. + - phase::String : Represent the current migration phase of gateway. + - errorMessage::String : Error if any occurs during migration. +""" +Base.@kwdef mutable struct VirtualNetworkGatewayMigrationStatus <: OpenAPI.APIModel + state::Union{Nothing, String} = nothing + phase::Union{Nothing, String} = nothing + errorMessage::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayMigrationStatus(state, phase, errorMessage, ) + o = new(state, phase, errorMessage, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayMigrationStatus + +const _property_types_VirtualNetworkGatewayMigrationStatus = Dict{Symbol,String}(Symbol("state")=>"String", Symbol("phase")=>"String", Symbol("errorMessage")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayMigrationStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayMigrationStatus[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayMigrationStatus) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayMigrationStatus) + OpenAPI.validate_property(VirtualNetworkGatewayMigrationStatus, Symbol("state"), o.state) + OpenAPI.validate_property(VirtualNetworkGatewayMigrationStatus, Symbol("phase"), o.phase) + OpenAPI.validate_property(VirtualNetworkGatewayMigrationStatus, Symbol("errorMessage"), o.errorMessage) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayMigrationStatus }, name::Symbol, val) + + if name === Symbol("state") + OpenAPI.validate_param(name, "VirtualNetworkGatewayMigrationStatus", :enum, val, ["None", "InProgress", "Succeeded", "Failed"]) + end + + + if name === Symbol("phase") + OpenAPI.validate_param(name, "VirtualNetworkGatewayMigrationStatus", :enum, val, ["None", "Prepare", "PrepareSucceeded", "Execute", "ExecuteSucceeded", "Commit", "CommitSucceeded", "AbortSucceeded", "Abort"]) + end + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationType.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationType.jl new file mode 100644 index 0000000..deb9e9b --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayMigrationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :VirtualNetworkGatewayMigrationType) + const VirtualNetworkGatewayMigrationType = String +else + @warn("Skipping redefinition of VirtualNetworkGatewayMigrationType to String") +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayNatRule.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayNatRule.jl new file mode 100644 index 0000000..885f92c --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayNatRule.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayNatRule +VirtualNetworkGatewayNatRule Resource. + + VirtualNetworkGatewayNatRule(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::VirtualNetworkGatewayNatRuleProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct VirtualNetworkGatewayNatRule <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayNatRuleProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayNatRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayNatRule + +const _property_types_VirtualNetworkGatewayNatRule = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayNatRuleProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayNatRule[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayNatRule) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayNatRule) + OpenAPI.validate_property(VirtualNetworkGatewayNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkGatewayNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewayNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkGatewayNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkGatewayNatRule, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayNatRule }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayNatRuleProperties.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayNatRuleProperties.jl new file mode 100644 index 0000000..953ae91 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayNatRuleProperties.jl @@ -0,0 +1,70 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayNatRuleProperties +Parameters for VirtualNetworkGatewayNatRule. + + VirtualNetworkGatewayNatRuleProperties(; + provisioningState=nothing, + type=nothing, + mode=nothing, + internalMappings=nothing, + externalMappings=nothing, + ipConfigurationId=nothing, + ) + + - provisioningState::ProvisioningState + - type::String : The type of NAT rule for VPN NAT. + - mode::String : The Source NAT direction of a VPN NAT. + - internalMappings::Vector{VpnNatRuleMapping} : The private IP address internal mapping for NAT. + - externalMappings::Vector{VpnNatRuleMapping} : The private IP address external mapping for NAT. + - ipConfigurationId::String : The IP Configuration ID this NAT rule applies to. +""" +Base.@kwdef mutable struct VirtualNetworkGatewayNatRuleProperties <: OpenAPI.APIModel + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + type::Union{Nothing, String} = nothing + mode::Union{Nothing, String} = nothing + internalMappings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VpnNatRuleMapping} } + externalMappings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VpnNatRuleMapping} } + ipConfigurationId::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayNatRuleProperties(provisioningState, type, mode, internalMappings, externalMappings, ipConfigurationId, ) + o = new(provisioningState, type, mode, internalMappings, externalMappings, ipConfigurationId, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayNatRuleProperties + +const _property_types_VirtualNetworkGatewayNatRuleProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("type")=>"String", Symbol("mode")=>"String", Symbol("internalMappings")=>"Vector{VpnNatRuleMapping}", Symbol("externalMappings")=>"Vector{VpnNatRuleMapping}", Symbol("ipConfigurationId")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayNatRuleProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayNatRuleProperties[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayNatRuleProperties) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayNatRuleProperties) + OpenAPI.validate_property(VirtualNetworkGatewayNatRuleProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkGatewayNatRuleProperties, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkGatewayNatRuleProperties, Symbol("mode"), o.mode) + OpenAPI.validate_property(VirtualNetworkGatewayNatRuleProperties, Symbol("internalMappings"), o.internalMappings) + OpenAPI.validate_property(VirtualNetworkGatewayNatRuleProperties, Symbol("externalMappings"), o.externalMappings) + OpenAPI.validate_property(VirtualNetworkGatewayNatRuleProperties, Symbol("ipConfigurationId"), o.ipConfigurationId) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayNatRuleProperties }, name::Symbol, val) + + + if name === Symbol("type") + OpenAPI.validate_param(name, "VirtualNetworkGatewayNatRuleProperties", :enum, val, ["Static", "Dynamic"]) + end + + + if name === Symbol("mode") + OpenAPI.validate_param(name, "VirtualNetworkGatewayNatRuleProperties", :enum, val, ["EgressSnat", "IngressSnat"]) + end + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroup.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroup.jl new file mode 100644 index 0000000..b344e41 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroup.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayPolicyGroup +Parameters for VirtualNetworkGatewayPolicyGroup. + + VirtualNetworkGatewayPolicyGroup(; + properties=nothing, + name=nothing, + etag=nothing, + id=nothing, + ) + + - properties::VirtualNetworkGatewayPolicyGroupProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct VirtualNetworkGatewayPolicyGroup <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayPolicyGroupProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayPolicyGroup(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayPolicyGroup + +const _property_types_VirtualNetworkGatewayPolicyGroup = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkGatewayPolicyGroupProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayPolicyGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayPolicyGroup[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayPolicyGroup) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayPolicyGroup) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroup, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroup, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayPolicyGroup }, name::Symbol, val) + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroupMember.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroupMember.jl new file mode 100644 index 0000000..0552a8b --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroupMember.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayPolicyGroupMember +Vpn Client Connection configuration PolicyGroup member + + VirtualNetworkGatewayPolicyGroupMember(; + name=nothing, + attributeType=nothing, + attributeValue=nothing, + ) + + - name::String : Name of the VirtualNetworkGatewayPolicyGroupMember. + - attributeType::String : The Vpn Policy member attribute type. + - attributeValue::String : The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember. +""" +Base.@kwdef mutable struct VirtualNetworkGatewayPolicyGroupMember <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + attributeType::Union{Nothing, String} = nothing + attributeValue::Union{Nothing, String} = nothing + + function VirtualNetworkGatewayPolicyGroupMember(name, attributeType, attributeValue, ) + o = new(name, attributeType, attributeValue, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayPolicyGroupMember + +const _property_types_VirtualNetworkGatewayPolicyGroupMember = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("attributeType")=>"String", Symbol("attributeValue")=>"String", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayPolicyGroupMember }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayPolicyGroupMember[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayPolicyGroupMember) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayPolicyGroupMember) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupMember, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupMember, Symbol("attributeType"), o.attributeType) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupMember, Symbol("attributeValue"), o.attributeValue) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayPolicyGroupMember }, name::Symbol, val) + + + if name === Symbol("attributeType") + OpenAPI.validate_param(name, "VirtualNetworkGatewayPolicyGroupMember", :enum, val, ["CertificateGroupId", "AADGroupId", "RadiusAzureGroupId"]) + end + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroupProperties.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroupProperties.jl new file mode 100644 index 0000000..b6d7c07 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPolicyGroupProperties.jl @@ -0,0 +1,63 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VirtualNetworkGatewayPolicyGroupProperties +Properties of VirtualNetworkGatewayPolicyGroup. + + VirtualNetworkGatewayPolicyGroupProperties(; + isDefault=nothing, + priority=nothing, + policyMembers=nothing, + vngClientConnectionConfigurations=nothing, + provisioningState=nothing, + ) + + - isDefault::Bool : Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not. + - priority::Int64 : Priority for VirtualNetworkGatewayPolicyGroup. + - policyMembers::Vector{VirtualNetworkGatewayPolicyGroupMember} : Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup. + - vngClientConnectionConfigurations::Vector{SubResource} : List of references to vngClientConnectionConfigurations. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct VirtualNetworkGatewayPolicyGroupProperties <: OpenAPI.APIModel + isDefault::Union{Nothing, Bool} = nothing + priority::Union{Nothing, Int64} = nothing + policyMembers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkGatewayPolicyGroupMember} } + vngClientConnectionConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function VirtualNetworkGatewayPolicyGroupProperties(isDefault, priority, policyMembers, vngClientConnectionConfigurations, provisioningState, ) + o = new(isDefault, priority, policyMembers, vngClientConnectionConfigurations, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type VirtualNetworkGatewayPolicyGroupProperties + +const _property_types_VirtualNetworkGatewayPolicyGroupProperties = Dict{Symbol,String}(Symbol("isDefault")=>"Bool", Symbol("priority")=>"Int64", Symbol("policyMembers")=>"Vector{VirtualNetworkGatewayPolicyGroupMember}", Symbol("vngClientConnectionConfigurations")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ VirtualNetworkGatewayPolicyGroupProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayPolicyGroupProperties[name]))} + +function OpenAPI.check_required(o::VirtualNetworkGatewayPolicyGroupProperties) + o.isDefault === nothing && (return false) + o.priority === nothing && (return false) + o.policyMembers === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VirtualNetworkGatewayPolicyGroupProperties) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupProperties, Symbol("isDefault"), o.isDefault) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupProperties, Symbol("priority"), o.priority) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupProperties, Symbol("policyMembers"), o.policyMembers) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupProperties, Symbol("vngClientConnectionConfigurations"), o.vngClientConnectionConfigurations) + OpenAPI.validate_property(VirtualNetworkGatewayPolicyGroupProperties, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayPolicyGroupProperties }, name::Symbol, val) + + + if name === Symbol("priority") + OpenAPI.validate_param(name, "VirtualNetworkGatewayPolicyGroupProperties", :format, val, "int32") + end + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPropertiesFormat.jl index 60183bf..52d45d9 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewayPropertiesFormat.jl @@ -6,95 +6,187 @@ VirtualNetworkGateway properties. VirtualNetworkGatewayPropertiesFormat(; + autoScaleConfiguration=nothing, ipConfigurations=nothing, gatewayType=nothing, vpnType=nothing, vpnGatewayGeneration=nothing, enableBgp=nothing, enablePrivateIpAddress=nothing, + virtualNetworkGatewayMigrationStatus=nothing, activeActive=nothing, + enableHighBandwidthVpnGateway=nothing, + disableIPSecReplayProtection=nothing, gatewayDefaultSite=nothing, sku=nothing, vpnClientConfiguration=nothing, + virtualNetworkGatewayPolicyGroups=nothing, bgpSettings=nothing, customRoutes=nothing, resourceGuid=nothing, provisioningState=nothing, enableDnsForwarding=nothing, inboundDnsForwardingEndpoint=nothing, + vNetExtendedLocationResourceId=nothing, + natRules=nothing, + enableBgpRouteTranslationForNat=nothing, + allowVirtualWanTraffic=nothing, + allowRemoteVnetTraffic=nothing, + adminState=nothing, + resiliencyModel=nothing, ) + - autoScaleConfiguration::VirtualNetworkGatewayAutoScaleConfiguration - ipConfigurations::Vector{VirtualNetworkGatewayIPConfiguration} : IP configurations for virtual network gateway. - gatewayType::String : The type of this virtual network gateway. - vpnType::String : The type of this virtual network gateway. - vpnGatewayGeneration::String : The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN. - enableBgp::Bool : Whether BGP is enabled for this virtual network gateway or not. - enablePrivateIpAddress::Bool : Whether private IP needs to be enabled on this gateway for connections or not. + - virtualNetworkGatewayMigrationStatus::VirtualNetworkGatewayMigrationStatus - activeActive::Bool : ActiveActive flag. + - enableHighBandwidthVpnGateway::Bool : To enable Advanced Connectivity feature for VPN gateway + - disableIPSecReplayProtection::Bool : disableIPSecReplayProtection flag. - gatewayDefaultSite::SubResource - sku::VirtualNetworkGatewaySku - vpnClientConfiguration::VpnClientConfiguration + - virtualNetworkGatewayPolicyGroups::Vector{VirtualNetworkGatewayPolicyGroup} : The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway. - bgpSettings::BgpSettings - customRoutes::AddressSpace - resourceGuid::String : The resource GUID property of the virtual network gateway resource. - provisioningState::ProvisioningState - enableDnsForwarding::Bool : Whether dns forwarding is enabled or not. - inboundDnsForwardingEndpoint::String : The IP address allocated by the gateway to which dns requests can be sent. + - vNetExtendedLocationResourceId::String : Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet. + - natRules::Vector{VirtualNetworkGatewayNatRule} : NatRules for virtual network gateway. + - enableBgpRouteTranslationForNat::Bool : EnableBgpRouteTranslationForNat flag. + - allowVirtualWanTraffic::Bool : Configures this gateway to accept traffic from remote Virtual WAN networks. + - allowRemoteVnetTraffic::Bool : Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN. + - adminState::String : Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet + - resiliencyModel::String : Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed """ Base.@kwdef mutable struct VirtualNetworkGatewayPropertiesFormat <: OpenAPI.APIModel + autoScaleConfiguration = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayAutoScaleConfiguration } ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkGatewayIPConfiguration} } gatewayType::Union{Nothing, String} = nothing vpnType::Union{Nothing, String} = nothing vpnGatewayGeneration::Union{Nothing, String} = nothing enableBgp::Union{Nothing, Bool} = nothing enablePrivateIpAddress::Union{Nothing, Bool} = nothing + virtualNetworkGatewayMigrationStatus = nothing # spec type: Union{ Nothing, VirtualNetworkGatewayMigrationStatus } activeActive::Union{Nothing, Bool} = nothing + enableHighBandwidthVpnGateway::Union{Nothing, Bool} = nothing + disableIPSecReplayProtection::Union{Nothing, Bool} = nothing gatewayDefaultSite = nothing # spec type: Union{ Nothing, SubResource } sku = nothing # spec type: Union{ Nothing, VirtualNetworkGatewaySku } vpnClientConfiguration = nothing # spec type: Union{ Nothing, VpnClientConfiguration } + virtualNetworkGatewayPolicyGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkGatewayPolicyGroup} } bgpSettings = nothing # spec type: Union{ Nothing, BgpSettings } customRoutes = nothing # spec type: Union{ Nothing, AddressSpace } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } enableDnsForwarding::Union{Nothing, Bool} = nothing inboundDnsForwardingEndpoint::Union{Nothing, String} = nothing + vNetExtendedLocationResourceId::Union{Nothing, String} = nothing + natRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkGatewayNatRule} } + enableBgpRouteTranslationForNat::Union{Nothing, Bool} = nothing + allowVirtualWanTraffic::Union{Nothing, Bool} = nothing + allowRemoteVnetTraffic::Union{Nothing, Bool} = nothing + adminState::Union{Nothing, String} = nothing + resiliencyModel::Union{Nothing, String} = nothing - function VirtualNetworkGatewayPropertiesFormat(ipConfigurations, gatewayType, vpnType, vpnGatewayGeneration, enableBgp, enablePrivateIpAddress, activeActive, gatewayDefaultSite, sku, vpnClientConfiguration, bgpSettings, customRoutes, resourceGuid, provisioningState, enableDnsForwarding, inboundDnsForwardingEndpoint, ) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("gatewayType"), gatewayType) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vpnType"), vpnType) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vpnGatewayGeneration"), vpnGatewayGeneration) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enableBgp"), enableBgp) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enablePrivateIpAddress"), enablePrivateIpAddress) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("activeActive"), activeActive) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("gatewayDefaultSite"), gatewayDefaultSite) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("sku"), sku) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vpnClientConfiguration"), vpnClientConfiguration) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("bgpSettings"), bgpSettings) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("customRoutes"), customRoutes) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enableDnsForwarding"), enableDnsForwarding) - OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("inboundDnsForwardingEndpoint"), inboundDnsForwardingEndpoint) - return new(ipConfigurations, gatewayType, vpnType, vpnGatewayGeneration, enableBgp, enablePrivateIpAddress, activeActive, gatewayDefaultSite, sku, vpnClientConfiguration, bgpSettings, customRoutes, resourceGuid, provisioningState, enableDnsForwarding, inboundDnsForwardingEndpoint, ) + function VirtualNetworkGatewayPropertiesFormat(autoScaleConfiguration, ipConfigurations, gatewayType, vpnType, vpnGatewayGeneration, enableBgp, enablePrivateIpAddress, virtualNetworkGatewayMigrationStatus, activeActive, enableHighBandwidthVpnGateway, disableIPSecReplayProtection, gatewayDefaultSite, sku, vpnClientConfiguration, virtualNetworkGatewayPolicyGroups, bgpSettings, customRoutes, resourceGuid, provisioningState, enableDnsForwarding, inboundDnsForwardingEndpoint, vNetExtendedLocationResourceId, natRules, enableBgpRouteTranslationForNat, allowVirtualWanTraffic, allowRemoteVnetTraffic, adminState, resiliencyModel, ) + o = new(autoScaleConfiguration, ipConfigurations, gatewayType, vpnType, vpnGatewayGeneration, enableBgp, enablePrivateIpAddress, virtualNetworkGatewayMigrationStatus, activeActive, enableHighBandwidthVpnGateway, disableIPSecReplayProtection, gatewayDefaultSite, sku, vpnClientConfiguration, virtualNetworkGatewayPolicyGroups, bgpSettings, customRoutes, resourceGuid, provisioningState, enableDnsForwarding, inboundDnsForwardingEndpoint, vNetExtendedLocationResourceId, natRules, enableBgpRouteTranslationForNat, allowVirtualWanTraffic, allowRemoteVnetTraffic, adminState, resiliencyModel, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewayPropertiesFormat -const _property_types_VirtualNetworkGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("ipConfigurations")=>"Vector{VirtualNetworkGatewayIPConfiguration}", Symbol("gatewayType")=>"String", Symbol("vpnType")=>"String", Symbol("vpnGatewayGeneration")=>"String", Symbol("enableBgp")=>"Bool", Symbol("enablePrivateIpAddress")=>"Bool", Symbol("activeActive")=>"Bool", Symbol("gatewayDefaultSite")=>"SubResource", Symbol("sku")=>"VirtualNetworkGatewaySku", Symbol("vpnClientConfiguration")=>"VpnClientConfiguration", Symbol("bgpSettings")=>"BgpSettings", Symbol("customRoutes")=>"AddressSpace", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("enableDnsForwarding")=>"Bool", Symbol("inboundDnsForwardingEndpoint")=>"String", ) +const _property_types_VirtualNetworkGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("autoScaleConfiguration")=>"VirtualNetworkGatewayAutoScaleConfiguration", Symbol("ipConfigurations")=>"Vector{VirtualNetworkGatewayIPConfiguration}", Symbol("gatewayType")=>"String", Symbol("vpnType")=>"String", Symbol("vpnGatewayGeneration")=>"String", Symbol("enableBgp")=>"Bool", Symbol("enablePrivateIpAddress")=>"Bool", Symbol("virtualNetworkGatewayMigrationStatus")=>"VirtualNetworkGatewayMigrationStatus", Symbol("activeActive")=>"Bool", Symbol("enableHighBandwidthVpnGateway")=>"Bool", Symbol("disableIPSecReplayProtection")=>"Bool", Symbol("gatewayDefaultSite")=>"SubResource", Symbol("sku")=>"VirtualNetworkGatewaySku", Symbol("vpnClientConfiguration")=>"VpnClientConfiguration", Symbol("virtualNetworkGatewayPolicyGroups")=>"Vector{VirtualNetworkGatewayPolicyGroup}", Symbol("bgpSettings")=>"BgpSettings", Symbol("customRoutes")=>"AddressSpace", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("enableDnsForwarding")=>"Bool", Symbol("inboundDnsForwardingEndpoint")=>"String", Symbol("vNetExtendedLocationResourceId")=>"String", Symbol("natRules")=>"Vector{VirtualNetworkGatewayNatRule}", Symbol("enableBgpRouteTranslationForNat")=>"Bool", Symbol("allowVirtualWanTraffic")=>"Bool", Symbol("allowRemoteVnetTraffic")=>"Bool", Symbol("adminState")=>"String", Symbol("resiliencyModel")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewayPropertiesFormat[name]))} -function check_required(o::VirtualNetworkGatewayPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkGatewayPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewayPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("autoScaleConfiguration"), o.autoScaleConfiguration) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("gatewayType"), o.gatewayType) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vpnType"), o.vpnType) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vpnGatewayGeneration"), o.vpnGatewayGeneration) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enableBgp"), o.enableBgp) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enablePrivateIpAddress"), o.enablePrivateIpAddress) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("virtualNetworkGatewayMigrationStatus"), o.virtualNetworkGatewayMigrationStatus) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("activeActive"), o.activeActive) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enableHighBandwidthVpnGateway"), o.enableHighBandwidthVpnGateway) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("disableIPSecReplayProtection"), o.disableIPSecReplayProtection) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("gatewayDefaultSite"), o.gatewayDefaultSite) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("sku"), o.sku) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vpnClientConfiguration"), o.vpnClientConfiguration) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("virtualNetworkGatewayPolicyGroups"), o.virtualNetworkGatewayPolicyGroups) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("bgpSettings"), o.bgpSettings) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("customRoutes"), o.customRoutes) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enableDnsForwarding"), o.enableDnsForwarding) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("inboundDnsForwardingEndpoint"), o.inboundDnsForwardingEndpoint) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("vNetExtendedLocationResourceId"), o.vNetExtendedLocationResourceId) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("natRules"), o.natRules) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("enableBgpRouteTranslationForNat"), o.enableBgpRouteTranslationForNat) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("allowVirtualWanTraffic"), o.allowVirtualWanTraffic) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("allowRemoteVnetTraffic"), o.allowRemoteVnetTraffic) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("adminState"), o.adminState) + OpenAPI.validate_property(VirtualNetworkGatewayPropertiesFormat, Symbol("resiliencyModel"), o.resiliencyModel) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewayPropertiesFormat }, name::Symbol, val) + + + if name === Symbol("gatewayType") - OpenAPI.validate_param(name, "VirtualNetworkGatewayPropertiesFormat", :enum, val, ["Vpn", "ExpressRoute"]) + OpenAPI.validate_param(name, "VirtualNetworkGatewayPropertiesFormat", :enum, val, ["Vpn", "ExpressRoute", "LocalGateway"]) end + + if name === Symbol("vpnType") OpenAPI.validate_param(name, "VirtualNetworkGatewayPropertiesFormat", :enum, val, ["PolicyBased", "RouteBased"]) end + + if name === Symbol("vpnGatewayGeneration") OpenAPI.validate_param(name, "VirtualNetworkGatewayPropertiesFormat", :enum, val, ["None", "Generation1", "Generation2"]) end + + + + + + + + + + + + + + + + + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "VirtualNetworkGatewayPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + if name === Symbol("resiliencyModel") + OpenAPI.validate_param(name, "VirtualNetworkGatewayPropertiesFormat", :enum, val, ["SingleHomed", "MultiHomed"]) + end + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewaySku.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewaySku.jl index 6277ac3..d24119f 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewaySku.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VirtualNetworkGatewaySku.jl @@ -21,27 +21,37 @@ Base.@kwdef mutable struct VirtualNetworkGatewaySku <: OpenAPI.APIModel capacity::Union{Nothing, Int64} = nothing function VirtualNetworkGatewaySku(name, tier, capacity, ) - OpenAPI.validate_property(VirtualNetworkGatewaySku, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkGatewaySku, Symbol("tier"), tier) - OpenAPI.validate_property(VirtualNetworkGatewaySku, Symbol("capacity"), capacity) - return new(name, tier, capacity, ) + o = new(name, tier, capacity, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkGatewaySku const _property_types_VirtualNetworkGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("capacity")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkGatewaySku[name]))} -function check_required(o::VirtualNetworkGatewaySku) +function OpenAPI.check_required(o::VirtualNetworkGatewaySku) true end +function OpenAPI.validate_properties(o::VirtualNetworkGatewaySku) + OpenAPI.validate_property(VirtualNetworkGatewaySku, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkGatewaySku, Symbol("tier"), o.tier) + OpenAPI.validate_property(VirtualNetworkGatewaySku, Symbol("capacity"), o.capacity) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkGatewaySku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "VirtualNetworkGatewaySku", :enum, val, ["Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ"]) + OpenAPI.validate_param(name, "VirtualNetworkGatewaySku", :enum, val, ["Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ", "ErGwScale"]) end + + if name === Symbol("tier") - OpenAPI.validate_param(name, "VirtualNetworkGatewaySku", :enum, val, ["Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ"]) + OpenAPI.validate_param(name, "VirtualNetworkGatewaySku", :enum, val, ["Basic", "HighPerformance", "Standard", "UltraPerformance", "VpnGw1", "VpnGw2", "VpnGw3", "VpnGw4", "VpnGw5", "VpnGw1AZ", "VpnGw2AZ", "VpnGw3AZ", "VpnGw4AZ", "VpnGw5AZ", "ErGw1AZ", "ErGw2AZ", "ErGw3AZ", "ErGwScale"]) end + + if name === Symbol("capacity") OpenAPI.validate_param(name, "VirtualNetworkGatewaySku", :format, val, "int32") end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VngClientConnectionConfiguration.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VngClientConnectionConfiguration.jl new file mode 100644 index 0000000..62b9d15 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VngClientConnectionConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VngClientConnectionConfiguration +A vpn client connection configuration for client connection configuration. + + VngClientConnectionConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + id=nothing, + ) + + - properties::VngClientConnectionConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct VngClientConnectionConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, VngClientConnectionConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function VngClientConnectionConfiguration(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type VngClientConnectionConfiguration + +const _property_types_VngClientConnectionConfiguration = Dict{Symbol,String}(Symbol("properties")=>"VngClientConnectionConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ VngClientConnectionConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VngClientConnectionConfiguration[name]))} + +function OpenAPI.check_required(o::VngClientConnectionConfiguration) + true +end + +function OpenAPI.validate_properties(o::VngClientConnectionConfiguration) + OpenAPI.validate_property(VngClientConnectionConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(VngClientConnectionConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(VngClientConnectionConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(VngClientConnectionConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ VngClientConnectionConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VngClientConnectionConfigurationProperties.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VngClientConnectionConfigurationProperties.jl new file mode 100644 index 0000000..ecfca9f --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VngClientConnectionConfigurationProperties.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VngClientConnectionConfigurationProperties +Properties of VngClientConnectionConfiguration. + + VngClientConnectionConfigurationProperties(; + vpnClientAddressPool=nothing, + virtualNetworkGatewayPolicyGroups=nothing, + provisioningState=nothing, + ) + + - vpnClientAddressPool::AddressSpace + - virtualNetworkGatewayPolicyGroups::Vector{SubResource} : List of references to virtualNetworkGatewayPolicyGroups + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct VngClientConnectionConfigurationProperties <: OpenAPI.APIModel + vpnClientAddressPool = nothing # spec type: Union{ Nothing, AddressSpace } + virtualNetworkGatewayPolicyGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function VngClientConnectionConfigurationProperties(vpnClientAddressPool, virtualNetworkGatewayPolicyGroups, provisioningState, ) + o = new(vpnClientAddressPool, virtualNetworkGatewayPolicyGroups, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type VngClientConnectionConfigurationProperties + +const _property_types_VngClientConnectionConfigurationProperties = Dict{Symbol,String}(Symbol("vpnClientAddressPool")=>"AddressSpace", Symbol("virtualNetworkGatewayPolicyGroups")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ VngClientConnectionConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VngClientConnectionConfigurationProperties[name]))} + +function OpenAPI.check_required(o::VngClientConnectionConfigurationProperties) + o.vpnClientAddressPool === nothing && (return false) + o.virtualNetworkGatewayPolicyGroups === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::VngClientConnectionConfigurationProperties) + OpenAPI.validate_property(VngClientConnectionConfigurationProperties, Symbol("vpnClientAddressPool"), o.vpnClientAddressPool) + OpenAPI.validate_property(VngClientConnectionConfigurationProperties, Symbol("virtualNetworkGatewayPolicyGroups"), o.virtualNetworkGatewayPolicyGroups) + OpenAPI.validate_property(VngClientConnectionConfigurationProperties, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ VngClientConnectionConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConfiguration.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConfiguration.jl index 223e579..4655625 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConfiguration.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConfiguration.jl @@ -10,6 +10,7 @@ VpnClientConfiguration for P2S client. vpnClientRootCertificates=nothing, vpnClientRevokedCertificates=nothing, vpnClientProtocols=nothing, + vpnAuthenticationTypes=nothing, vpnClientIpsecPolicies=nothing, radiusServerAddress=nothing, radiusServerSecret=nothing, @@ -17,12 +18,14 @@ VpnClientConfiguration for P2S client. aadTenant=nothing, aadAudience=nothing, aadIssuer=nothing, + vngClientConnectionConfigurations=nothing, ) - vpnClientAddressPool::AddressSpace - vpnClientRootCertificates::Vector{VpnClientRootCertificate} : VpnClientRootCertificate for virtual network gateway. - vpnClientRevokedCertificates::Vector{VpnClientRevokedCertificate} : VpnClientRevokedCertificate for Virtual network gateway. - vpnClientProtocols::Vector{String} : VpnClientProtocols for Virtual network gateway. + - vpnAuthenticationTypes::Vector{String} : VPN authentication types for the virtual network gateway.. - vpnClientIpsecPolicies::Vector{IpsecPolicy} : VpnClientIpsecPolicies for virtual network gateway P2S client. - radiusServerAddress::String : The radius server address property of the VirtualNetworkGateway resource for vpn client connection. - radiusServerSecret::String : The radius secret property of the VirtualNetworkGateway resource for vpn client connection. @@ -30,12 +33,14 @@ VpnClientConfiguration for P2S client. - aadTenant::String : The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. - aadAudience::String : The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. - aadIssuer::String : The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication. + - vngClientConnectionConfigurations::Vector{VngClientConnectionConfiguration} : per ip address pool connection policy for virtual network gateway P2S client. """ Base.@kwdef mutable struct VpnClientConfiguration <: OpenAPI.APIModel vpnClientAddressPool = nothing # spec type: Union{ Nothing, AddressSpace } vpnClientRootCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VpnClientRootCertificate} } vpnClientRevokedCertificates::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VpnClientRevokedCertificate} } vpnClientProtocols::Union{Nothing, Vector{String}} = nothing + vpnAuthenticationTypes::Union{Nothing, Vector{String}} = nothing vpnClientIpsecPolicies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpsecPolicy} } radiusServerAddress::Union{Nothing, String} = nothing radiusServerSecret::Union{Nothing, String} = nothing @@ -43,32 +48,58 @@ Base.@kwdef mutable struct VpnClientConfiguration <: OpenAPI.APIModel aadTenant::Union{Nothing, String} = nothing aadAudience::Union{Nothing, String} = nothing aadIssuer::Union{Nothing, String} = nothing + vngClientConnectionConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VngClientConnectionConfiguration} } - function VpnClientConfiguration(vpnClientAddressPool, vpnClientRootCertificates, vpnClientRevokedCertificates, vpnClientProtocols, vpnClientIpsecPolicies, radiusServerAddress, radiusServerSecret, radiusServers, aadTenant, aadAudience, aadIssuer, ) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientAddressPool"), vpnClientAddressPool) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientRootCertificates"), vpnClientRootCertificates) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientRevokedCertificates"), vpnClientRevokedCertificates) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientProtocols"), vpnClientProtocols) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientIpsecPolicies"), vpnClientIpsecPolicies) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("radiusServerAddress"), radiusServerAddress) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("radiusServerSecret"), radiusServerSecret) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("radiusServers"), radiusServers) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("aadTenant"), aadTenant) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("aadAudience"), aadAudience) - OpenAPI.validate_property(VpnClientConfiguration, Symbol("aadIssuer"), aadIssuer) - return new(vpnClientAddressPool, vpnClientRootCertificates, vpnClientRevokedCertificates, vpnClientProtocols, vpnClientIpsecPolicies, radiusServerAddress, radiusServerSecret, radiusServers, aadTenant, aadAudience, aadIssuer, ) + function VpnClientConfiguration(vpnClientAddressPool, vpnClientRootCertificates, vpnClientRevokedCertificates, vpnClientProtocols, vpnAuthenticationTypes, vpnClientIpsecPolicies, radiusServerAddress, radiusServerSecret, radiusServers, aadTenant, aadAudience, aadIssuer, vngClientConnectionConfigurations, ) + o = new(vpnClientAddressPool, vpnClientRootCertificates, vpnClientRevokedCertificates, vpnClientProtocols, vpnAuthenticationTypes, vpnClientIpsecPolicies, radiusServerAddress, radiusServerSecret, radiusServers, aadTenant, aadAudience, aadIssuer, vngClientConnectionConfigurations, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientConfiguration -const _property_types_VpnClientConfiguration = Dict{Symbol,String}(Symbol("vpnClientAddressPool")=>"AddressSpace", Symbol("vpnClientRootCertificates")=>"Vector{VpnClientRootCertificate}", Symbol("vpnClientRevokedCertificates")=>"Vector{VpnClientRevokedCertificate}", Symbol("vpnClientProtocols")=>"Vector{String}", Symbol("vpnClientIpsecPolicies")=>"Vector{IpsecPolicy}", Symbol("radiusServerAddress")=>"String", Symbol("radiusServerSecret")=>"String", Symbol("radiusServers")=>"Vector{RadiusServer}", Symbol("aadTenant")=>"String", Symbol("aadAudience")=>"String", Symbol("aadIssuer")=>"String", ) +const _property_types_VpnClientConfiguration = Dict{Symbol,String}(Symbol("vpnClientAddressPool")=>"AddressSpace", Symbol("vpnClientRootCertificates")=>"Vector{VpnClientRootCertificate}", Symbol("vpnClientRevokedCertificates")=>"Vector{VpnClientRevokedCertificate}", Symbol("vpnClientProtocols")=>"Vector{String}", Symbol("vpnAuthenticationTypes")=>"Vector{String}", Symbol("vpnClientIpsecPolicies")=>"Vector{IpsecPolicy}", Symbol("radiusServerAddress")=>"String", Symbol("radiusServerSecret")=>"String", Symbol("radiusServers")=>"Vector{RadiusServer}", Symbol("aadTenant")=>"String", Symbol("aadAudience")=>"String", Symbol("aadIssuer")=>"String", Symbol("vngClientConnectionConfigurations")=>"Vector{VngClientConnectionConfiguration}", ) OpenAPI.property_type(::Type{ VpnClientConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientConfiguration[name]))} -function check_required(o::VpnClientConfiguration) +function OpenAPI.check_required(o::VpnClientConfiguration) true end +function OpenAPI.validate_properties(o::VpnClientConfiguration) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientAddressPool"), o.vpnClientAddressPool) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientRootCertificates"), o.vpnClientRootCertificates) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientRevokedCertificates"), o.vpnClientRevokedCertificates) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientProtocols"), o.vpnClientProtocols) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnAuthenticationTypes"), o.vpnAuthenticationTypes) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vpnClientIpsecPolicies"), o.vpnClientIpsecPolicies) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("radiusServerAddress"), o.radiusServerAddress) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("radiusServerSecret"), o.radiusServerSecret) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("radiusServers"), o.radiusServers) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("aadTenant"), o.aadTenant) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("aadAudience"), o.aadAudience) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("aadIssuer"), o.aadIssuer) + OpenAPI.validate_property(VpnClientConfiguration, Symbol("vngClientConnectionConfigurations"), o.vngClientConnectionConfigurations) +end + function OpenAPI.validate_property(::Type{ VpnClientConfiguration }, name::Symbol, val) + + + + if name === Symbol("vpnClientProtocols") - OpenAPI.validate_param(name, "VpnClientConfiguration", :enum, val, []) + OpenAPI.validate_param(name, "VpnClientConfiguration", :enum, val, ["IkeV2", "SSTP", "OpenVPN"]) + end + + + if name === Symbol("vpnAuthenticationTypes") + OpenAPI.validate_param(name, "VpnClientConfiguration", :enum, val, ["Certificate", "Radius", "AAD"]) end + + + + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetail.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetail.jl index 5b47994..5f1c992 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetail.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetail.jl @@ -48,48 +48,65 @@ Base.@kwdef mutable struct VpnClientConnectionHealthDetail <: OpenAPI.APIModel maxPacketsPerSecond::Union{Nothing, Int64} = nothing function VpnClientConnectionHealthDetail(vpnConnectionId, vpnConnectionDuration, vpnConnectionTime, publicIpAddress, privateIpAddress, vpnUserName, maxBandwidth, egressPacketsTransferred, egressBytesTransferred, ingressPacketsTransferred, ingressBytesTransferred, maxPacketsPerSecond, ) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnConnectionId"), vpnConnectionId) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnConnectionDuration"), vpnConnectionDuration) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnConnectionTime"), vpnConnectionTime) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("publicIpAddress"), publicIpAddress) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("privateIpAddress"), privateIpAddress) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnUserName"), vpnUserName) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("maxBandwidth"), maxBandwidth) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("egressPacketsTransferred"), egressPacketsTransferred) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("egressBytesTransferred"), egressBytesTransferred) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("ingressPacketsTransferred"), ingressPacketsTransferred) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("ingressBytesTransferred"), ingressBytesTransferred) - OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("maxPacketsPerSecond"), maxPacketsPerSecond) - return new(vpnConnectionId, vpnConnectionDuration, vpnConnectionTime, publicIpAddress, privateIpAddress, vpnUserName, maxBandwidth, egressPacketsTransferred, egressBytesTransferred, ingressPacketsTransferred, ingressBytesTransferred, maxPacketsPerSecond, ) + o = new(vpnConnectionId, vpnConnectionDuration, vpnConnectionTime, publicIpAddress, privateIpAddress, vpnUserName, maxBandwidth, egressPacketsTransferred, egressBytesTransferred, ingressPacketsTransferred, ingressBytesTransferred, maxPacketsPerSecond, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientConnectionHealthDetail const _property_types_VpnClientConnectionHealthDetail = Dict{Symbol,String}(Symbol("vpnConnectionId")=>"String", Symbol("vpnConnectionDuration")=>"Int64", Symbol("vpnConnectionTime")=>"String", Symbol("publicIpAddress")=>"String", Symbol("privateIpAddress")=>"String", Symbol("vpnUserName")=>"String", Symbol("maxBandwidth")=>"Int64", Symbol("egressPacketsTransferred")=>"Int64", Symbol("egressBytesTransferred")=>"Int64", Symbol("ingressPacketsTransferred")=>"Int64", Symbol("ingressBytesTransferred")=>"Int64", Symbol("maxPacketsPerSecond")=>"Int64", ) OpenAPI.property_type(::Type{ VpnClientConnectionHealthDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientConnectionHealthDetail[name]))} -function check_required(o::VpnClientConnectionHealthDetail) +function OpenAPI.check_required(o::VpnClientConnectionHealthDetail) true end +function OpenAPI.validate_properties(o::VpnClientConnectionHealthDetail) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnConnectionId"), o.vpnConnectionId) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnConnectionDuration"), o.vpnConnectionDuration) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnConnectionTime"), o.vpnConnectionTime) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("publicIpAddress"), o.publicIpAddress) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("privateIpAddress"), o.privateIpAddress) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("vpnUserName"), o.vpnUserName) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("maxBandwidth"), o.maxBandwidth) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("egressPacketsTransferred"), o.egressPacketsTransferred) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("egressBytesTransferred"), o.egressBytesTransferred) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("ingressPacketsTransferred"), o.ingressPacketsTransferred) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("ingressBytesTransferred"), o.ingressBytesTransferred) + OpenAPI.validate_property(VpnClientConnectionHealthDetail, Symbol("maxPacketsPerSecond"), o.maxPacketsPerSecond) +end + function OpenAPI.validate_property(::Type{ VpnClientConnectionHealthDetail }, name::Symbol, val) + + if name === Symbol("vpnConnectionDuration") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end + + + + + if name === Symbol("maxBandwidth") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end + if name === Symbol("egressPacketsTransferred") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end + if name === Symbol("egressBytesTransferred") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end + if name === Symbol("ingressPacketsTransferred") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end + if name === Symbol("ingressBytesTransferred") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end + if name === Symbol("maxPacketsPerSecond") OpenAPI.validate_param(name, "VpnClientConnectionHealthDetail", :format, val, "int64") end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetailListResult.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetailListResult.jl index 03c9968..1ba3f3d 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetailListResult.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientConnectionHealthDetailListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VpnClientConnectionHealthDetailListResult <: OpenAPI. value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VpnClientConnectionHealthDetail} } function VpnClientConnectionHealthDetailListResult(value, ) - OpenAPI.validate_property(VpnClientConnectionHealthDetailListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientConnectionHealthDetailListResult const _property_types_VpnClientConnectionHealthDetailListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{VpnClientConnectionHealthDetail}", ) OpenAPI.property_type(::Type{ VpnClientConnectionHealthDetailListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientConnectionHealthDetailListResult[name]))} -function check_required(o::VpnClientConnectionHealthDetailListResult) +function OpenAPI.check_required(o::VpnClientConnectionHealthDetailListResult) true end +function OpenAPI.validate_properties(o::VpnClientConnectionHealthDetailListResult) + OpenAPI.validate_property(VpnClientConnectionHealthDetailListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ VpnClientConnectionHealthDetailListResult }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientIPsecParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientIPsecParameters.jl index 92597fc..e705aa1 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientIPsecParameters.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientIPsecParameters.jl @@ -36,22 +36,16 @@ Base.@kwdef mutable struct VpnClientIPsecParameters <: OpenAPI.APIModel pfsGroup = nothing # spec type: Union{ Nothing, PfsGroup } function VpnClientIPsecParameters(saLifeTimeSeconds, saDataSizeKilobytes, ipsecEncryption, ipsecIntegrity, ikeEncryption, ikeIntegrity, dhGroup, pfsGroup, ) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("saLifeTimeSeconds"), saLifeTimeSeconds) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("saDataSizeKilobytes"), saDataSizeKilobytes) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ipsecEncryption"), ipsecEncryption) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ipsecIntegrity"), ipsecIntegrity) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ikeEncryption"), ikeEncryption) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ikeIntegrity"), ikeIntegrity) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("dhGroup"), dhGroup) - OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("pfsGroup"), pfsGroup) - return new(saLifeTimeSeconds, saDataSizeKilobytes, ipsecEncryption, ipsecIntegrity, ikeEncryption, ikeIntegrity, dhGroup, pfsGroup, ) + o = new(saLifeTimeSeconds, saDataSizeKilobytes, ipsecEncryption, ipsecIntegrity, ikeEncryption, ikeIntegrity, dhGroup, pfsGroup, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientIPsecParameters const _property_types_VpnClientIPsecParameters = Dict{Symbol,String}(Symbol("saLifeTimeSeconds")=>"Int64", Symbol("saDataSizeKilobytes")=>"Int64", Symbol("ipsecEncryption")=>"IpsecEncryption", Symbol("ipsecIntegrity")=>"IpsecIntegrity", Symbol("ikeEncryption")=>"IkeEncryption", Symbol("ikeIntegrity")=>"IkeIntegrity", Symbol("dhGroup")=>"DhGroup", Symbol("pfsGroup")=>"PfsGroup", ) OpenAPI.property_type(::Type{ VpnClientIPsecParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientIPsecParameters[name]))} -function check_required(o::VpnClientIPsecParameters) +function OpenAPI.check_required(o::VpnClientIPsecParameters) o.saLifeTimeSeconds === nothing && (return false) o.saDataSizeKilobytes === nothing && (return false) o.ipsecEncryption === nothing && (return false) @@ -63,11 +57,30 @@ function check_required(o::VpnClientIPsecParameters) true end +function OpenAPI.validate_properties(o::VpnClientIPsecParameters) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("saLifeTimeSeconds"), o.saLifeTimeSeconds) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("saDataSizeKilobytes"), o.saDataSizeKilobytes) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ipsecEncryption"), o.ipsecEncryption) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ipsecIntegrity"), o.ipsecIntegrity) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ikeEncryption"), o.ikeEncryption) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("ikeIntegrity"), o.ikeIntegrity) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("dhGroup"), o.dhGroup) + OpenAPI.validate_property(VpnClientIPsecParameters, Symbol("pfsGroup"), o.pfsGroup) +end + function OpenAPI.validate_property(::Type{ VpnClientIPsecParameters }, name::Symbol, val) + if name === Symbol("saLifeTimeSeconds") OpenAPI.validate_param(name, "VpnClientIPsecParameters", :format, val, "int32") end + if name === Symbol("saDataSizeKilobytes") OpenAPI.validate_param(name, "VpnClientIPsecParameters", :format, val, "int32") end + + + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientParameters.jl index 9e0c2ee..4a9f421 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientParameters.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientParameters.jl @@ -24,23 +24,33 @@ Base.@kwdef mutable struct VpnClientParameters <: OpenAPI.APIModel clientRootCertificates::Union{Nothing, Vector{String}} = nothing function VpnClientParameters(processorArchitecture, authenticationMethod, radiusServerAuthCertificate, clientRootCertificates, ) - OpenAPI.validate_property(VpnClientParameters, Symbol("processorArchitecture"), processorArchitecture) - OpenAPI.validate_property(VpnClientParameters, Symbol("authenticationMethod"), authenticationMethod) - OpenAPI.validate_property(VpnClientParameters, Symbol("radiusServerAuthCertificate"), radiusServerAuthCertificate) - OpenAPI.validate_property(VpnClientParameters, Symbol("clientRootCertificates"), clientRootCertificates) - return new(processorArchitecture, authenticationMethod, radiusServerAuthCertificate, clientRootCertificates, ) + o = new(processorArchitecture, authenticationMethod, radiusServerAuthCertificate, clientRootCertificates, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientParameters const _property_types_VpnClientParameters = Dict{Symbol,String}(Symbol("processorArchitecture")=>"String", Symbol("authenticationMethod")=>"AuthenticationMethod", Symbol("radiusServerAuthCertificate")=>"String", Symbol("clientRootCertificates")=>"Vector{String}", ) OpenAPI.property_type(::Type{ VpnClientParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientParameters[name]))} -function check_required(o::VpnClientParameters) +function OpenAPI.check_required(o::VpnClientParameters) true end +function OpenAPI.validate_properties(o::VpnClientParameters) + OpenAPI.validate_property(VpnClientParameters, Symbol("processorArchitecture"), o.processorArchitecture) + OpenAPI.validate_property(VpnClientParameters, Symbol("authenticationMethod"), o.authenticationMethod) + OpenAPI.validate_property(VpnClientParameters, Symbol("radiusServerAuthCertificate"), o.radiusServerAuthCertificate) + OpenAPI.validate_property(VpnClientParameters, Symbol("clientRootCertificates"), o.clientRootCertificates) +end + function OpenAPI.validate_property(::Type{ VpnClientParameters }, name::Symbol, val) + if name === Symbol("processorArchitecture") OpenAPI.validate_param(name, "VpnClientParameters", :enum, val, ["Amd64", "X86"]) end + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificate.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificate.jl index cfe6b40..df0c161 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificate.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificate.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct VpnClientRevokedCertificate <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function VpnClientRevokedCertificate(properties, name, etag, id, ) - OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("properties"), properties) - OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("name"), name) - OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("etag"), etag) - OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientRevokedCertificate const _property_types_VpnClientRevokedCertificate = Dict{Symbol,String}(Symbol("properties")=>"VpnClientRevokedCertificatePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VpnClientRevokedCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientRevokedCertificate[name]))} -function check_required(o::VpnClientRevokedCertificate) +function OpenAPI.check_required(o::VpnClientRevokedCertificate) true end +function OpenAPI.validate_properties(o::VpnClientRevokedCertificate) + OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("name"), o.name) + OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("etag"), o.etag) + OpenAPI.validate_property(VpnClientRevokedCertificate, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VpnClientRevokedCertificate }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificatePropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificatePropertiesFormat.jl index c6d79bc..630ec2f 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificatePropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRevokedCertificatePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct VpnClientRevokedCertificatePropertiesFormat <: OpenAP provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function VpnClientRevokedCertificatePropertiesFormat(thumbprint, provisioningState, ) - OpenAPI.validate_property(VpnClientRevokedCertificatePropertiesFormat, Symbol("thumbprint"), thumbprint) - OpenAPI.validate_property(VpnClientRevokedCertificatePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(thumbprint, provisioningState, ) + o = new(thumbprint, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientRevokedCertificatePropertiesFormat const _property_types_VpnClientRevokedCertificatePropertiesFormat = Dict{Symbol,String}(Symbol("thumbprint")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ VpnClientRevokedCertificatePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientRevokedCertificatePropertiesFormat[name]))} -function check_required(o::VpnClientRevokedCertificatePropertiesFormat) +function OpenAPI.check_required(o::VpnClientRevokedCertificatePropertiesFormat) true end +function OpenAPI.validate_properties(o::VpnClientRevokedCertificatePropertiesFormat) + OpenAPI.validate_property(VpnClientRevokedCertificatePropertiesFormat, Symbol("thumbprint"), o.thumbprint) + OpenAPI.validate_property(VpnClientRevokedCertificatePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ VpnClientRevokedCertificatePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificate.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificate.jl index 69b59f6..4c14294 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificate.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificate.jl @@ -24,21 +24,30 @@ Base.@kwdef mutable struct VpnClientRootCertificate <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function VpnClientRootCertificate(properties, name, etag, id, ) - OpenAPI.validate_property(VpnClientRootCertificate, Symbol("properties"), properties) - OpenAPI.validate_property(VpnClientRootCertificate, Symbol("name"), name) - OpenAPI.validate_property(VpnClientRootCertificate, Symbol("etag"), etag) - OpenAPI.validate_property(VpnClientRootCertificate, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientRootCertificate const _property_types_VpnClientRootCertificate = Dict{Symbol,String}(Symbol("properties")=>"VpnClientRootCertificatePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ VpnClientRootCertificate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientRootCertificate[name]))} -function check_required(o::VpnClientRootCertificate) +function OpenAPI.check_required(o::VpnClientRootCertificate) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::VpnClientRootCertificate) + OpenAPI.validate_property(VpnClientRootCertificate, Symbol("properties"), o.properties) + OpenAPI.validate_property(VpnClientRootCertificate, Symbol("name"), o.name) + OpenAPI.validate_property(VpnClientRootCertificate, Symbol("etag"), o.etag) + OpenAPI.validate_property(VpnClientRootCertificate, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ VpnClientRootCertificate }, name::Symbol, val) + + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificatePropertiesFormat.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificatePropertiesFormat.jl index dae2c11..c046102 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificatePropertiesFormat.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnClientRootCertificatePropertiesFormat.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct VpnClientRootCertificatePropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function VpnClientRootCertificatePropertiesFormat(publicCertData, provisioningState, ) - OpenAPI.validate_property(VpnClientRootCertificatePropertiesFormat, Symbol("publicCertData"), publicCertData) - OpenAPI.validate_property(VpnClientRootCertificatePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicCertData, provisioningState, ) + o = new(publicCertData, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type VpnClientRootCertificatePropertiesFormat const _property_types_VpnClientRootCertificatePropertiesFormat = Dict{Symbol,String}(Symbol("publicCertData")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ VpnClientRootCertificatePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnClientRootCertificatePropertiesFormat[name]))} -function check_required(o::VpnClientRootCertificatePropertiesFormat) +function OpenAPI.check_required(o::VpnClientRootCertificatePropertiesFormat) o.publicCertData === nothing && (return false) true end +function OpenAPI.validate_properties(o::VpnClientRootCertificatePropertiesFormat) + OpenAPI.validate_property(VpnClientRootCertificatePropertiesFormat, Symbol("publicCertData"), o.publicCertData) + OpenAPI.validate_property(VpnClientRootCertificatePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ VpnClientRootCertificatePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnDeviceScriptParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnDeviceScriptParameters.jl index de0ee86..e190ce9 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnDeviceScriptParameters.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnDeviceScriptParameters.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct VpnDeviceScriptParameters <: OpenAPI.APIModel firmwareVersion::Union{Nothing, String} = nothing function VpnDeviceScriptParameters(vendor, deviceFamily, firmwareVersion, ) - OpenAPI.validate_property(VpnDeviceScriptParameters, Symbol("vendor"), vendor) - OpenAPI.validate_property(VpnDeviceScriptParameters, Symbol("deviceFamily"), deviceFamily) - OpenAPI.validate_property(VpnDeviceScriptParameters, Symbol("firmwareVersion"), firmwareVersion) - return new(vendor, deviceFamily, firmwareVersion, ) + o = new(vendor, deviceFamily, firmwareVersion, ) + OpenAPI.validate_properties(o) + return o end end # type VpnDeviceScriptParameters const _property_types_VpnDeviceScriptParameters = Dict{Symbol,String}(Symbol("vendor")=>"String", Symbol("deviceFamily")=>"String", Symbol("firmwareVersion")=>"String", ) OpenAPI.property_type(::Type{ VpnDeviceScriptParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnDeviceScriptParameters[name]))} -function check_required(o::VpnDeviceScriptParameters) +function OpenAPI.check_required(o::VpnDeviceScriptParameters) true end +function OpenAPI.validate_properties(o::VpnDeviceScriptParameters) + OpenAPI.validate_property(VpnDeviceScriptParameters, Symbol("vendor"), o.vendor) + OpenAPI.validate_property(VpnDeviceScriptParameters, Symbol("deviceFamily"), o.deviceFamily) + OpenAPI.validate_property(VpnDeviceScriptParameters, Symbol("firmwareVersion"), o.firmwareVersion) +end + function OpenAPI.validate_property(::Type{ VpnDeviceScriptParameters }, name::Symbol, val) + + + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnNatRuleMapping.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnNatRuleMapping.jl new file mode 100644 index 0000000..5dfba12 --- /dev/null +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnNatRuleMapping.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""VpnNatRuleMapping +Vpn NatRule mapping. + + VpnNatRuleMapping(; + addressSpace=nothing, + portRange=nothing, + ) + + - addressSpace::String : Address space for Vpn NatRule mapping. + - portRange::String : Port range for Vpn NatRule mapping. +""" +Base.@kwdef mutable struct VpnNatRuleMapping <: OpenAPI.APIModel + addressSpace::Union{Nothing, String} = nothing + portRange::Union{Nothing, String} = nothing + + function VpnNatRuleMapping(addressSpace, portRange, ) + o = new(addressSpace, portRange, ) + OpenAPI.validate_properties(o) + return o + end +end # type VpnNatRuleMapping + +const _property_types_VpnNatRuleMapping = Dict{Symbol,String}(Symbol("addressSpace")=>"String", Symbol("portRange")=>"String", ) +OpenAPI.property_type(::Type{ VpnNatRuleMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnNatRuleMapping[name]))} + +function OpenAPI.check_required(o::VpnNatRuleMapping) + true +end + +function OpenAPI.validate_properties(o::VpnNatRuleMapping) + OpenAPI.validate_property(VpnNatRuleMapping, Symbol("addressSpace"), o.addressSpace) + OpenAPI.validate_property(VpnNatRuleMapping, Symbol("portRange"), o.portRange) +end + +function OpenAPI.validate_property(::Type{ VpnNatRuleMapping }, name::Symbol, val) + + +end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStartParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStartParameters.jl index 0c0c05f..a32a62a 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStartParameters.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStartParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VpnPacketCaptureStartParameters <: OpenAPI.APIModel filterData::Union{Nothing, String} = nothing function VpnPacketCaptureStartParameters(filterData, ) - OpenAPI.validate_property(VpnPacketCaptureStartParameters, Symbol("filterData"), filterData) - return new(filterData, ) + o = new(filterData, ) + OpenAPI.validate_properties(o) + return o end end # type VpnPacketCaptureStartParameters const _property_types_VpnPacketCaptureStartParameters = Dict{Symbol,String}(Symbol("filterData")=>"String", ) OpenAPI.property_type(::Type{ VpnPacketCaptureStartParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnPacketCaptureStartParameters[name]))} -function check_required(o::VpnPacketCaptureStartParameters) +function OpenAPI.check_required(o::VpnPacketCaptureStartParameters) true end +function OpenAPI.validate_properties(o::VpnPacketCaptureStartParameters) + OpenAPI.validate_property(VpnPacketCaptureStartParameters, Symbol("filterData"), o.filterData) +end + function OpenAPI.validate_property(::Type{ VpnPacketCaptureStartParameters }, name::Symbol, val) + end diff --git a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStopParameters.jl b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStopParameters.jl index 7af9545..e0a254d 100644 --- a/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStopParameters.jl +++ b/src/Network/VirtualNetworkGatewayClient/src/models/model_VpnPacketCaptureStopParameters.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct VpnPacketCaptureStopParameters <: OpenAPI.APIModel sasUrl::Union{Nothing, String} = nothing function VpnPacketCaptureStopParameters(sasUrl, ) - OpenAPI.validate_property(VpnPacketCaptureStopParameters, Symbol("sasUrl"), sasUrl) - return new(sasUrl, ) + o = new(sasUrl, ) + OpenAPI.validate_properties(o) + return o end end # type VpnPacketCaptureStopParameters const _property_types_VpnPacketCaptureStopParameters = Dict{Symbol,String}(Symbol("sasUrl")=>"String", ) OpenAPI.property_type(::Type{ VpnPacketCaptureStopParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VpnPacketCaptureStopParameters[name]))} -function check_required(o::VpnPacketCaptureStopParameters) +function OpenAPI.check_required(o::VpnPacketCaptureStopParameters) true end +function OpenAPI.validate_properties(o::VpnPacketCaptureStopParameters) + OpenAPI.validate_property(VpnPacketCaptureStopParameters, Symbol("sasUrl"), o.sasUrl) +end + function OpenAPI.validate_property(::Type{ VpnPacketCaptureStopParameters }, name::Symbol, val) + end diff --git a/src/Network/VmssNetworkInterfaceClient/.openapi-generator/FILES b/src/Network/VmssNetworkInterfaceClient/.openapi-generator/FILES index 1f53b43..e21655b 100644 --- a/src/Network/VmssNetworkInterfaceClient/.openapi-generator/FILES +++ b/src/Network/VmssNetworkInterfaceClient/.openapi-generator/FILES @@ -3,6 +3,8 @@ README.md docs/ApplicationGatewayBackendAddress.md docs/ApplicationGatewayBackendAddressPool.md docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md +docs/ApplicationGatewayIPConfiguration.md +docs/ApplicationGatewayIPConfigurationPropertiesFormat.md docs/ApplicationSecurityGroup.md docs/ApplicationSecurityGroupPropertiesFormat.md docs/BackendAddressPool.md @@ -12,11 +14,14 @@ docs/CloudErrorBody.md docs/CustomDnsConfigPropertiesFormat.md docs/DdosSettings.md docs/Delegation.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/FlowLog.md docs/FlowLogFormatParameters.md docs/FlowLogPropertiesFormat.md docs/FrontendIPConfiguration.md docs/FrontendIPConfigurationPropertiesFormat.md +docs/GatewayLoadBalancerTunnelInterface.md docs/IPAllocationMethod.md docs/IPConfiguration.md docs/IPConfigurationProfile.md @@ -26,8 +31,16 @@ docs/IPVersion.md docs/InboundNatRule.md docs/InboundNatRulePropertiesFormat.md docs/IpTag.md +docs/IpamPoolPrefixAllocation.md +docs/IpamPoolPrefixAllocationPool.md docs/LoadBalancerBackendAddress.md docs/LoadBalancerBackendAddressPropertiesFormat.md +docs/ManagedServiceIdentity.md +docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md +docs/NatGateway.md +docs/NatGatewayPropertiesFormat.md +docs/NatGatewaySku.md +docs/NatRulePortMapping.md docs/NetworkInterface.md docs/NetworkInterfaceDnsSettings.md docs/NetworkInterfaceIPConfiguration.md @@ -42,10 +55,18 @@ docs/NetworkInterfacesApi.md docs/NetworkSecurityGroup.md docs/NetworkSecurityGroupPropertiesFormat.md docs/PrivateEndpoint.md +docs/PrivateEndpointConnection.md +docs/PrivateEndpointConnectionProperties.md +docs/PrivateEndpointIPConfiguration.md +docs/PrivateEndpointIPConfigurationProperties.md docs/PrivateEndpointProperties.md +docs/PrivateLinkService.md docs/PrivateLinkServiceConnection.md docs/PrivateLinkServiceConnectionProperties.md docs/PrivateLinkServiceConnectionState.md +docs/PrivateLinkServiceIpConfiguration.md +docs/PrivateLinkServiceIpConfigurationProperties.md +docs/PrivateLinkServiceProperties.md docs/ProvisioningState.md docs/PublicIPAddress.md docs/PublicIPAddressDnsSettings.md @@ -54,6 +75,7 @@ docs/PublicIPAddressSku.md docs/Resource.md docs/ResourceNavigationLink.md docs/ResourceNavigationLinkFormat.md +docs/ResourceSet.md docs/RetentionPolicyParameters.md docs/Route.md docs/RouteNextHopType.md @@ -86,6 +108,8 @@ src/modelincludes.jl src/models/model_ApplicationGatewayBackendAddress.jl src/models/model_ApplicationGatewayBackendAddressPool.jl src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +src/models/model_ApplicationGatewayIPConfiguration.jl +src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl src/models/model_ApplicationSecurityGroup.jl src/models/model_ApplicationSecurityGroupPropertiesFormat.jl src/models/model_BackendAddressPool.jl @@ -95,11 +119,14 @@ src/models/model_CloudErrorBody.jl src/models/model_CustomDnsConfigPropertiesFormat.jl src/models/model_DdosSettings.jl src/models/model_Delegation.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_FlowLog.jl src/models/model_FlowLogFormatParameters.jl src/models/model_FlowLogPropertiesFormat.jl src/models/model_FrontendIPConfiguration.jl src/models/model_FrontendIPConfigurationPropertiesFormat.jl +src/models/model_GatewayLoadBalancerTunnelInterface.jl src/models/model_IPAllocationMethod.jl src/models/model_IPConfiguration.jl src/models/model_IPConfigurationProfile.jl @@ -109,8 +136,16 @@ src/models/model_IPVersion.jl src/models/model_InboundNatRule.jl src/models/model_InboundNatRulePropertiesFormat.jl src/models/model_IpTag.jl +src/models/model_IpamPoolPrefixAllocation.jl +src/models/model_IpamPoolPrefixAllocationPool.jl src/models/model_LoadBalancerBackendAddress.jl src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +src/models/model_ManagedServiceIdentity.jl +src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl +src/models/model_NatGateway.jl +src/models/model_NatGatewayPropertiesFormat.jl +src/models/model_NatGatewaySku.jl +src/models/model_NatRulePortMapping.jl src/models/model_NetworkInterface.jl src/models/model_NetworkInterfaceDnsSettings.jl src/models/model_NetworkInterfaceIPConfiguration.jl @@ -124,10 +159,18 @@ src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl src/models/model_NetworkSecurityGroup.jl src/models/model_NetworkSecurityGroupPropertiesFormat.jl src/models/model_PrivateEndpoint.jl +src/models/model_PrivateEndpointConnection.jl +src/models/model_PrivateEndpointConnectionProperties.jl +src/models/model_PrivateEndpointIPConfiguration.jl +src/models/model_PrivateEndpointIPConfigurationProperties.jl src/models/model_PrivateEndpointProperties.jl +src/models/model_PrivateLinkService.jl src/models/model_PrivateLinkServiceConnection.jl src/models/model_PrivateLinkServiceConnectionProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_PrivateLinkServiceIpConfiguration.jl +src/models/model_PrivateLinkServiceIpConfigurationProperties.jl +src/models/model_PrivateLinkServiceProperties.jl src/models/model_ProvisioningState.jl src/models/model_PublicIPAddress.jl src/models/model_PublicIPAddressDnsSettings.jl @@ -136,6 +179,7 @@ src/models/model_PublicIPAddressSku.jl src/models/model_Resource.jl src/models/model_ResourceNavigationLink.jl src/models/model_ResourceNavigationLinkFormat.jl +src/models/model_ResourceSet.jl src/models/model_RetentionPolicyParameters.jl src/models/model_Route.jl src/models/model_RouteNextHopType.jl diff --git a/src/Network/VmssNetworkInterfaceClient/.openapi-generator/VERSION b/src/Network/VmssNetworkInterfaceClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Network/VmssNetworkInterfaceClient/.openapi-generator/VERSION +++ b/src/Network/VmssNetworkInterfaceClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Network/VmssNetworkInterfaceClient/README.md b/src/Network/VmssNetworkInterfaceClient/README.md index d2662f2..6aa4a37 100644 --- a/src/Network/VmssNetworkInterfaceClient/README.md +++ b/src/Network/VmssNetworkInterfaceClient/README.md @@ -6,6 +6,7 @@ The Microsoft Azure Network management API provides a RESTful set of web service This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 2018-10-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -32,6 +33,8 @@ Class | Method - [ApplicationGatewayBackendAddress](docs/ApplicationGatewayBackendAddress.md) - [ApplicationGatewayBackendAddressPool](docs/ApplicationGatewayBackendAddressPool.md) - [ApplicationGatewayBackendAddressPoolPropertiesFormat](docs/ApplicationGatewayBackendAddressPoolPropertiesFormat.md) + - [ApplicationGatewayIPConfiguration](docs/ApplicationGatewayIPConfiguration.md) + - [ApplicationGatewayIPConfigurationPropertiesFormat](docs/ApplicationGatewayIPConfigurationPropertiesFormat.md) - [ApplicationSecurityGroup](docs/ApplicationSecurityGroup.md) - [ApplicationSecurityGroupPropertiesFormat](docs/ApplicationSecurityGroupPropertiesFormat.md) - [BackendAddressPool](docs/BackendAddressPool.md) @@ -41,11 +44,14 @@ Class | Method - [CustomDnsConfigPropertiesFormat](docs/CustomDnsConfigPropertiesFormat.md) - [DdosSettings](docs/DdosSettings.md) - [Delegation](docs/Delegation.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [FlowLog](docs/FlowLog.md) - [FlowLogFormatParameters](docs/FlowLogFormatParameters.md) - [FlowLogPropertiesFormat](docs/FlowLogPropertiesFormat.md) - [FrontendIPConfiguration](docs/FrontendIPConfiguration.md) - [FrontendIPConfigurationPropertiesFormat](docs/FrontendIPConfigurationPropertiesFormat.md) + - [GatewayLoadBalancerTunnelInterface](docs/GatewayLoadBalancerTunnelInterface.md) - [IPAllocationMethod](docs/IPAllocationMethod.md) - [IPConfiguration](docs/IPConfiguration.md) - [IPConfigurationProfile](docs/IPConfigurationProfile.md) @@ -55,8 +61,16 @@ Class | Method - [InboundNatRule](docs/InboundNatRule.md) - [InboundNatRulePropertiesFormat](docs/InboundNatRulePropertiesFormat.md) - [IpTag](docs/IpTag.md) + - [IpamPoolPrefixAllocation](docs/IpamPoolPrefixAllocation.md) + - [IpamPoolPrefixAllocationPool](docs/IpamPoolPrefixAllocationPool.md) - [LoadBalancerBackendAddress](docs/LoadBalancerBackendAddress.md) - [LoadBalancerBackendAddressPropertiesFormat](docs/LoadBalancerBackendAddressPropertiesFormat.md) + - [ManagedServiceIdentity](docs/ManagedServiceIdentity.md) + - [ManagedServiceIdentityUserAssignedIdentitiesValue](docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md) + - [NatGateway](docs/NatGateway.md) + - [NatGatewayPropertiesFormat](docs/NatGatewayPropertiesFormat.md) + - [NatGatewaySku](docs/NatGatewaySku.md) + - [NatRulePortMapping](docs/NatRulePortMapping.md) - [NetworkInterface](docs/NetworkInterface.md) - [NetworkInterfaceDnsSettings](docs/NetworkInterfaceDnsSettings.md) - [NetworkInterfaceIPConfiguration](docs/NetworkInterfaceIPConfiguration.md) @@ -70,10 +84,18 @@ Class | Method - [NetworkSecurityGroup](docs/NetworkSecurityGroup.md) - [NetworkSecurityGroupPropertiesFormat](docs/NetworkSecurityGroupPropertiesFormat.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) + - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) + - [PrivateEndpointConnectionProperties](docs/PrivateEndpointConnectionProperties.md) + - [PrivateEndpointIPConfiguration](docs/PrivateEndpointIPConfiguration.md) + - [PrivateEndpointIPConfigurationProperties](docs/PrivateEndpointIPConfigurationProperties.md) - [PrivateEndpointProperties](docs/PrivateEndpointProperties.md) + - [PrivateLinkService](docs/PrivateLinkService.md) - [PrivateLinkServiceConnection](docs/PrivateLinkServiceConnection.md) - [PrivateLinkServiceConnectionProperties](docs/PrivateLinkServiceConnectionProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [PrivateLinkServiceIpConfiguration](docs/PrivateLinkServiceIpConfiguration.md) + - [PrivateLinkServiceIpConfigurationProperties](docs/PrivateLinkServiceIpConfigurationProperties.md) + - [PrivateLinkServiceProperties](docs/PrivateLinkServiceProperties.md) - [ProvisioningState](docs/ProvisioningState.md) - [PublicIPAddress](docs/PublicIPAddress.md) - [PublicIPAddressDnsSettings](docs/PublicIPAddressDnsSettings.md) @@ -82,6 +104,7 @@ Class | Method - [Resource](docs/Resource.md) - [ResourceNavigationLink](docs/ResourceNavigationLink.md) - [ResourceNavigationLinkFormat](docs/ResourceNavigationLinkFormat.md) + - [ResourceSet](docs/ResourceSet.md) - [RetentionPolicyParameters](docs/RetentionPolicyParameters.md) - [Route](docs/Route.md) - [RouteNextHopType](docs/RouteNextHopType.md) @@ -110,9 +133,12 @@ Class | Method - [VirtualNetworkTapPropertiesFormat](docs/VirtualNetworkTapPropertiesFormat.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ApplicationGatewayIPConfiguration.md b/src/Network/VmssNetworkInterfaceClient/docs/ApplicationGatewayIPConfiguration.md new file mode 100644 index 0000000..2583236 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ApplicationGatewayIPConfiguration.md @@ -0,0 +1,16 @@ +# ApplicationGatewayIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***ApplicationGatewayIPConfigurationPropertiesFormat**](ApplicationGatewayIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] +**name** | **String** | Name of the IP configuration that is unique within an Application Gateway. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Type of the resource. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md new file mode 100644 index 0000000..ab10a8c --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ApplicationGatewayIPConfigurationPropertiesFormat.md @@ -0,0 +1,13 @@ +# ApplicationGatewayIPConfigurationPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md index 2b8dc7e..9486f8a 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/BackendAddressPoolPropertiesFormat.md @@ -4,12 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] +**location** | **String** | The location of the backend address pool. | [optional] [default to nothing] +**tunnelInterfaces** | [**Vector{GatewayLoadBalancerTunnelInterface}**](GatewayLoadBalancerTunnelInterface.md) | An array of gateway load balancer tunnel interfaces. | [optional] [default to nothing] **loadBalancerBackendAddresses** | [**Vector{LoadBalancerBackendAddress}**](LoadBalancerBackendAddress.md) | An array of backend addresses. | [optional] [default to nothing] +**backendIPConfigurations** | [**Vector{NetworkInterfaceIPConfiguration}**](NetworkInterfaceIPConfiguration.md) | An array of references to IP addresses defined in network interfaces. | [optional] [readonly] [default to nothing] **loadBalancingRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to load balancing rules that use this backend address pool. | [optional] [readonly] [default to nothing] **outboundRule** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **outboundRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to outbound rules that use this backend address pool. | [optional] [readonly] [default to nothing] +**inboundNatRules** | [**Vector{SubResource}**](SubResource.md) | An array of references to inbound NAT rules that use this backend address pool. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**drainPeriodInSeconds** | **Int64** | Amount of seconds Load Balancer waits for before sending RESET to client and backend address. | [optional] [default to nothing] +**virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**syncMode** | **String** | Backend address synchronous mode for the backend pool | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/DdosSettings.md b/src/Network/VmssNetworkInterfaceClient/docs/DdosSettings.md index 42ccb93..038105b 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/DdosSettings.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/DdosSettings.md @@ -4,9 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ddosCustomPolicy** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] -**protectionCoverage** | **String** | The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. | [optional] [default to nothing] -**protectedIP** | **Bool** | Enables DDoS protection on the public IP. | [optional] [default to nothing] +**protectionMode** | **String** | The DDoS protection mode of the public IP | [optional] [default to nothing] +**ddosProtectionPlan** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/Delegation.md b/src/Network/VmssNetworkInterfaceClient/docs/Delegation.md index 241727d..7abf2a6 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/Delegation.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/Delegation.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceDelegationPropertiesFormat**](ServiceDelegationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a subnet. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ExtendedLocation.md b/src/Network/VmssNetworkInterfaceClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ExtendedLocationType.md b/src/Network/VmssNetworkInterfaceClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/FlowLog.md b/src/Network/VmssNetworkInterfaceClient/docs/FlowLog.md index fb0aa63..7b0ca2f 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/FlowLog.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/FlowLog.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***FlowLogPropertiesFormat**](FlowLogPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**identity** | [***ManagedServiceIdentity**](ManagedServiceIdentity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/FlowLogFormatParameters.md b/src/Network/VmssNetworkInterfaceClient/docs/FlowLogFormatParameters.md index eec811c..dc1a6c7 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/FlowLogFormatParameters.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/FlowLogFormatParameters.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | **String** | The file type of flow log. | [optional] [default to nothing] -**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to nothing] +**version** | **Int64** | The version (revision) of the flow log. | [optional] [default to 0] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/FlowLogPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/FlowLogPropertiesFormat.md index 53d9e69..4482665 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/FlowLogPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/FlowLogPropertiesFormat.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **targetResourceId** | **String** | ID of network security group to which flow log will be applied. | [default to nothing] **targetResourceGuid** | **String** | Guid of network security group to which flow log will be applied. | [optional] [readonly] [default to nothing] **storageId** | **String** | ID of the storage account which is used to store the flow log. | [default to nothing] +**enabledFilteringCriteria** | **String** | Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. | [optional] [default to nothing] **enabled** | **Bool** | Flag to enable/disable flow logging. | [optional] [default to nothing] **retentionPolicy** | [***RetentionPolicyParameters**](RetentionPolicyParameters.md) | | [optional] [default to nothing] **format** | [***FlowLogFormatParameters**](FlowLogFormatParameters.md) | | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md index 537d6d3..b93377b 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/FrontendIPConfigurationPropertiesFormat.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] **publicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] **publicIPPrefix** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/GatewayLoadBalancerTunnelInterface.md b/src/Network/VmssNetworkInterfaceClient/docs/GatewayLoadBalancerTunnelInterface.md new file mode 100644 index 0000000..0988af6 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/GatewayLoadBalancerTunnelInterface.md @@ -0,0 +1,15 @@ +# GatewayLoadBalancerTunnelInterface + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**port** | **Int64** | Port of gateway load balancer tunnel interface. | [optional] [default to nothing] +**identifier** | **Int64** | Identifier of gateway load balancer tunnel interface. | [optional] [default to nothing] +**protocol** | **String** | Protocol of gateway load balancer tunnel interface. | [optional] [default to nothing] +**type** | **String** | Traffic type of gateway load balancer tunnel interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md index 32072ca..56df592 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/InboundNatRulePropertiesFormat.md @@ -12,6 +12,9 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] **enableFloatingIP** | **Bool** | Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. | [optional] [default to nothing] **enableTcpReset** | **Bool** | Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. | [optional] [default to nothing] +**frontendPortRangeStart** | **Int64** | The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**frontendPortRangeEnd** | **Int64** | The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. | [optional] [default to nothing] +**backendAddressPool** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/IpamPoolPrefixAllocation.md b/src/Network/VmssNetworkInterfaceClient/docs/IpamPoolPrefixAllocation.md new file mode 100644 index 0000000..cf2f879 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/IpamPoolPrefixAllocation.md @@ -0,0 +1,14 @@ +# IpamPoolPrefixAllocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pool** | [***IpamPoolPrefixAllocationPool**](IpamPoolPrefixAllocationPool.md) | | [optional] [default to nothing] +**numberOfIpAddresses** | **String** | Number of IP addresses to allocate. | [optional] [default to nothing] +**allocatedAddressPrefixes** | **Vector{String}** | List of assigned IP address prefixes in the IpamPool of the associated resource. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/IpamPoolPrefixAllocationPool.md b/src/Network/VmssNetworkInterfaceClient/docs/IpamPoolPrefixAllocationPool.md new file mode 100644 index 0000000..4f8f685 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/IpamPoolPrefixAllocationPool.md @@ -0,0 +1,12 @@ +# IpamPoolPrefixAllocationPool + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Resource id of the associated Azure IpamPool resource. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md index 818d6fa..dedc24a 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/LoadBalancerBackendAddressPropertiesFormat.md @@ -5,8 +5,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **virtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**subnet** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **ipAddress** | **String** | IP Address belonging to the referenced virtual network. | [optional] [default to nothing] **networkInterfaceIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**loadBalancerFrontendIPConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**inboundNatRulesPortMapping** | [**Vector{NatRulePortMapping}**](NatRulePortMapping.md) | Collection of inbound NAT rule port mappings. | [optional] [readonly] [default to nothing] +**adminState** | **String** | A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ManagedServiceIdentity.md b/src/Network/VmssNetworkInterfaceClient/docs/ManagedServiceIdentity.md new file mode 100644 index 0000000..c557575 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ManagedServiceIdentity.md @@ -0,0 +1,15 @@ +# ManagedServiceIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}**](ManagedServiceIdentityUserAssignedIdentitiesValue.md) | The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md b/src/Network/VmssNetworkInterfaceClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..4ceb51d --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ManagedServiceIdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# ManagedServiceIdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NatGateway.md b/src/Network/VmssNetworkInterfaceClient/docs/NatGateway.md new file mode 100644 index 0000000..8183780 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/NatGateway.md @@ -0,0 +1,20 @@ +# NatGateway + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sku** | [***NatGatewaySku**](NatGatewaySku.md) | | [optional] [default to nothing] +**properties** | [***NatGatewayPropertiesFormat**](NatGatewayPropertiesFormat.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | A list of availability zones denoting the zone in which Nat Gateway should be deployed. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NatGatewayPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/NatGatewayPropertiesFormat.md new file mode 100644 index 0000000..11d55a4 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/NatGatewayPropertiesFormat.md @@ -0,0 +1,20 @@ +# NatGatewayPropertiesFormat + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**idleTimeoutInMinutes** | **Int64** | The idle timeout of the nat gateway. | [optional] [default to nothing] +**publicIpAddresses** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpAddressesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip addresses V6 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixes** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V4 associated with the nat gateway resource. | [optional] [default to nothing] +**publicIpPrefixesV6** | [**Vector{SubResource}**](SubResource.md) | An array of public ip prefixes V6 associated with the nat gateway resource. | [optional] [default to nothing] +**subnets** | [**Vector{SubResource}**](SubResource.md) | An array of references to the subnets using this nat gateway resource. | [optional] [readonly] [default to nothing] +**sourceVirtualNetwork** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the NAT gateway resource. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NatGatewaySku.md b/src/Network/VmssNetworkInterfaceClient/docs/NatGatewaySku.md new file mode 100644 index 0000000..e9756b2 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/NatGatewaySku.md @@ -0,0 +1,12 @@ +# NatGatewaySku + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Nat Gateway SKU. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NatRulePortMapping.md b/src/Network/VmssNetworkInterfaceClient/docs/NatRulePortMapping.md new file mode 100644 index 0000000..c7e942b --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/NatRulePortMapping.md @@ -0,0 +1,14 @@ +# NatRulePortMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**inboundNatRuleName** | **String** | Name of inbound NAT rule. | [optional] [default to nothing] +**frontendPort** | **Int64** | Frontend port. | [optional] [default to nothing] +**backendPort** | **Int64** | Backend port. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterface.md b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterface.md index b5509d3..acc9d90 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterface.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterface.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***NetworkInterfacePropertiesFormat**](NetworkInterfacePropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md index e4559da..a03be27 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfiguration.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***NetworkInterfaceIPConfigurationPropertiesFormat**](NetworkInterfaceIPConfigurationPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md index ea69054..2f6ff4a 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfaceIPConfigurationPropertiesFormat.md @@ -4,11 +4,13 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**gatewayLoadBalancer** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **virtualNetworkTaps** | [**Vector{VirtualNetworkTap}**](VirtualNetworkTap.md) | The reference to Virtual Network Taps. | [optional] [default to nothing] **applicationGatewayBackendAddressPools** | [**Vector{ApplicationGatewayBackendAddressPool}**](ApplicationGatewayBackendAddressPool.md) | The reference to ApplicationGatewayBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerBackendAddressPools** | [**Vector{BackendAddressPool}**](BackendAddressPool.md) | The reference to LoadBalancerBackendAddressPool resource. | [optional] [default to nothing] **loadBalancerInboundNatRules** | [**Vector{InboundNatRule}**](InboundNatRule.md) | A list of references of LoadBalancerInboundNatRules. | [optional] [default to nothing] -**privateIPAddress** | **String** | Private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAddress** | **String** | Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. | [optional] [default to nothing] +**privateIPAddressPrefixLength** | **Int64** | The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. | [optional] [default to nothing] **privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] **privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] **subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md index df60ddd..b13066b 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacePropertiesFormat.md @@ -12,11 +12,21 @@ Name | Type | Description | Notes **dnsSettings** | [***NetworkInterfaceDnsSettings**](NetworkInterfaceDnsSettings.md) | | [optional] [default to nothing] **macAddress** | **String** | The MAC address of the network interface. | [optional] [readonly] [default to nothing] **primary** | **Bool** | Whether this is a primary network interface on a virtual machine. | [optional] [readonly] [default to nothing] -**enableAcceleratedNetworking** | **Bool** | If the network interface is accelerated networking enabled. | [optional] [default to nothing] +**vnetEncryptionSupported** | **Bool** | Whether the virtual machine this nic is attached to supports encryption. | [optional] [readonly] [default to nothing] +**defaultOutboundConnectivityEnabled** | **Bool** | Whether default outbound connectivity for nic was configured or not. | [optional] [readonly] [default to nothing] +**enableAcceleratedNetworking** | **Bool** | If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. | [optional] [default to nothing] +**disableTcpStateTracking** | **Bool** | Indicates whether to disable tcp state tracking. | [optional] [default to nothing] **enableIPForwarding** | **Bool** | Indicates whether IP forwarding is enabled on this network interface. | [optional] [default to nothing] **hostedWorkloads** | **Vector{String}** | A list of references to linked BareMetal resources. | [optional] [readonly] [default to nothing] +**dscpConfiguration** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the network interface resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**workloadType** | **String** | WorkloadType of the NetworkInterface for BareMetal resources | [optional] [default to nothing] +**nicType** | **String** | Type of Network Interface resource. | [optional] [default to nothing] +**privateLinkService** | [***PrivateLinkService**](PrivateLinkService.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Network Interface resource. | [optional] [default to nothing] +**auxiliaryMode** | **String** | Auxiliary mode of Network Interface resource. | [optional] [default to nothing] +**auxiliarySku** | **String** | Auxiliary sku of Network Interface resource. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacesApi.md b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacesApi.md index 2ece10f..0334ace 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacesApi.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/NetworkInterfacesApi.md @@ -24,19 +24,19 @@ Get the specified network interface ip configuration in a virtual machine scale Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_machine_scale_set_name** | **String**| The name of the virtual machine scale set. | [default to nothing] -**virtualmachine_index** | **String**| The virtual machine index. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**ip_configuration_name** | **String**| The name of the ip configuration. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_machine_scale_set_name** | **String** | The name of the virtual machine scale set. | +**virtualmachine_index** | **String** | The virtual machine index. | +**network_interface_name** | **String** | The name of the network interface. | +**ip_configuration_name** | **String** | The name of the ip configuration. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -66,18 +66,18 @@ Get the specified network interface in a virtual machine scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_machine_scale_set_name** | **String**| The name of the virtual machine scale set. | [default to nothing] -**virtualmachine_index** | **String**| The virtual machine index. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_machine_scale_set_name** | **String** | The name of the virtual machine scale set. | +**virtualmachine_index** | **String** | The virtual machine index. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -107,18 +107,18 @@ Get the specified network interface ip configuration in a virtual machine scale Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_machine_scale_set_name** | **String**| The name of the virtual machine scale set. | [default to nothing] -**virtualmachine_index** | **String**| The virtual machine index. | [default to nothing] -**network_interface_name** | **String**| The name of the network interface. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_machine_scale_set_name** | **String** | The name of the virtual machine scale set. | +**virtualmachine_index** | **String** | The virtual machine index. | +**network_interface_name** | **String** | The name of the network interface. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Expands referenced resources. | [default to nothing] + **expand** | **String** | Expands referenced resources. | [default to nothing] ### Return type @@ -148,10 +148,10 @@ Gets all network interfaces in a virtual machine scale set. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_machine_scale_set_name** | **String**| The name of the virtual machine scale set. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_machine_scale_set_name** | **String** | The name of the virtual machine scale set. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type @@ -181,11 +181,11 @@ Gets information about all network interfaces in a virtual machine in a virtual Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **NetworkInterfacesApi** | API context | -**resource_group_name** | **String**| The name of the resource group. | [default to nothing] -**virtual_machine_scale_set_name** | **String**| The name of the virtual machine scale set. | [default to nothing] -**virtualmachine_index** | **String**| The virtual machine index. | [default to nothing] -**api_version** | **String**| Client API version. | [default to nothing] -**subscription_id** | **String**| The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group. | +**virtual_machine_scale_set_name** | **String** | The name of the virtual machine scale set. | +**virtualmachine_index** | **String** | The virtual machine index. | +**api_version** | **String** | Client API version. | +**subscription_id** | **String** | The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. | ### Return type diff --git a/src/Network/VmssNetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md index 84e7b18..d9c105d 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/NetworkSecurityGroupPropertiesFormat.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**flushConnection** | **Bool** | When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. | [optional] [default to nothing] **securityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | A collection of security rules of the network security group. | [optional] [default to nothing] **defaultSecurityRules** | [**Vector{SecurityRule}**](SecurityRule.md) | The default security rules of network security group. | [optional] [readonly] [default to nothing] **networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | A collection of references to network interfaces. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpoint.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpoint.md index ae6f482..fdfecfc 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpoint.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpoint.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **properties** | [***PrivateEndpointProperties**](PrivateEndpointProperties.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointConnection.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointConnection.md new file mode 100644 index 0000000..4d2791a --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointConnection.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnection + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointConnectionProperties.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointConnectionProperties.md new file mode 100644 index 0000000..b6a3a82 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointConnectionProperties.md @@ -0,0 +1,16 @@ +# PrivateEndpointConnectionProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateEndpoint** | [***PrivateEndpoint**](PrivateEndpoint.md) | | [optional] [default to nothing] +**privateLinkServiceConnectionState** | [***PrivateLinkServiceConnectionState**](PrivateLinkServiceConnectionState.md) | | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**linkIdentifier** | **String** | The consumer link id. | [optional] [readonly] [default to nothing] +**privateEndpointLocation** | **String** | The location of the private endpoint. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointIPConfiguration.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointIPConfiguration.md new file mode 100644 index 0000000..7628b9d --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointIPConfiguration.md @@ -0,0 +1,15 @@ +# PrivateEndpointIPConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateEndpointIPConfigurationProperties**](PrivateEndpointIPConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of the resource that is unique within a resource group. | [optional] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointIPConfigurationProperties.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointIPConfigurationProperties.md new file mode 100644 index 0000000..1414158 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointIPConfigurationProperties.md @@ -0,0 +1,14 @@ +# PrivateEndpointIPConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**groupId** | **String** | The ID of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**memberName** | **String** | The member name of a group obtained from the remote resource that this private endpoint should connect to. | [optional] [default to nothing] +**privateIPAddress** | **String** | A private ip address obtained from the private endpoint's subnet. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointProperties.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointProperties.md index 40d6bf8..e3fd912 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointProperties.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateEndpointProperties.md @@ -10,6 +10,9 @@ Name | Type | Description | Notes **privateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. | [optional] [default to nothing] **manualPrivateLinkServiceConnections** | [**Vector{PrivateLinkServiceConnection}**](PrivateLinkServiceConnection.md) | A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. | [optional] [default to nothing] **customDnsConfigs** | [**Vector{CustomDnsConfigPropertiesFormat}**](CustomDnsConfigPropertiesFormat.md) | An array of custom dns configurations. | [optional] [default to nothing] +**applicationSecurityGroups** | [**Vector{ApplicationSecurityGroup}**](ApplicationSecurityGroup.md) | Application security groups in which the private endpoint IP configuration is included. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateEndpointIPConfiguration}**](PrivateEndpointIPConfiguration.md) | A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. | [optional] [default to nothing] +**customNetworkInterfaceName** | **String** | The custom name of the network interface attached to the private endpoint. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkService.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkService.md new file mode 100644 index 0000000..11705b0 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkService.md @@ -0,0 +1,19 @@ +# PrivateLinkService + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**properties** | [***PrivateLinkServiceProperties**](PrivateLinkServiceProperties.md) | | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] +**name** | **String** | Resource name. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [readonly] [default to nothing] +**location** | **String** | Resource location. | [optional] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceIpConfiguration.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceIpConfiguration.md new file mode 100644 index 0000000..90b7587 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceIpConfiguration.md @@ -0,0 +1,16 @@ +# PrivateLinkServiceIpConfiguration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PrivateLinkServiceIpConfigurationProperties**](PrivateLinkServiceIpConfigurationProperties.md) | | [optional] [default to nothing] +**name** | **String** | The name of private link service ip configuration. | [optional] [default to nothing] +**etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The resource type. | [optional] [readonly] [default to nothing] +**id** | **String** | Resource ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceIpConfigurationProperties.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceIpConfigurationProperties.md new file mode 100644 index 0000000..156f5f6 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceIpConfigurationProperties.md @@ -0,0 +1,17 @@ +# PrivateLinkServiceIpConfigurationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**privateIPAddress** | **String** | The private IP address of the IP configuration. | [optional] [default to nothing] +**privateIPAllocationMethod** | [***IPAllocationMethod**](IPAllocationMethod.md) | | [optional] [default to nothing] +**subnet** | [***Subnet**](Subnet.md) | | [optional] [default to nothing] +**primary** | **Bool** | Whether the ip configuration is primary or not. | [optional] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateIPAddressVersion** | [***IPVersion**](IPVersion.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceProperties.md b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceProperties.md new file mode 100644 index 0000000..5c91eab --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/PrivateLinkServiceProperties.md @@ -0,0 +1,22 @@ +# PrivateLinkServiceProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**loadBalancerFrontendIpConfigurations** | [**Vector{FrontendIPConfiguration}**](FrontendIPConfiguration.md) | An array of references to the load balancer IP configurations. | [optional] [default to nothing] +**ipConfigurations** | [**Vector{PrivateLinkServiceIpConfiguration}**](PrivateLinkServiceIpConfiguration.md) | An array of private link service IP configurations. | [optional] [default to nothing] +**destinationIPAddress** | **String** | The destination IP address of the private link service. | [optional] [default to nothing] +**networkInterfaces** | [**Vector{NetworkInterface}**](NetworkInterface.md) | An array of references to the network interfaces created for this private link service. | [optional] [readonly] [default to nothing] +**provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | An array of list about connections to the private endpoint. | [optional] [readonly] [default to nothing] +**visibility** | [***ResourceSet**](ResourceSet.md) | The visibility list of the private link service. | [optional] [default to nothing] +**autoApproval** | [***ResourceSet**](ResourceSet.md) | The auto-approval list of the private link service. | [optional] [default to nothing] +**fqdns** | **Vector{String}** | The list of Fqdn. | [optional] [default to nothing] +**alias** | **String** | The alias of the private link service. | [optional] [readonly] [default to nothing] +**enableProxyProtocol** | **Bool** | Whether the private link service is enabled for proxy protocol or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddress.md b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddress.md index 744a27c..b38f07f 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddress.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddress.md @@ -4,6 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **sku** | [***PublicIPAddressSku**](PublicIPAddressSku.md) | | [optional] [default to nothing] **properties** | [***PublicIPAddressPropertiesFormat**](PublicIPAddressPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md index 9b58c81..9fc4247 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressDnsSettings.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **domainNameLabel** | **String** | The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. | [optional] [default to nothing] +**domainNameLabelScope** | **String** | The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. | [optional] [default to nothing] **fqdn** | **String** | The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. | [optional] [default to nothing] **reverseFqdn** | **String** | The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md index fb83f1e..ecc8a83 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressPropertiesFormat.md @@ -15,6 +15,11 @@ Name | Type | Description | Notes **idleTimeoutInMinutes** | **Int64** | The idle timeout of the public IP address. | [optional] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the public IP address resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**servicePublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**natGateway** | [***NatGateway**](NatGateway.md) | | [optional] [default to nothing] +**migrationPhase** | **String** | Migration phase of Public IP Address. | [optional] [default to nothing] +**linkedPublicIPAddress** | [***PublicIPAddress**](PublicIPAddress.md) | | [optional] [default to nothing] +**deleteOption** | **String** | Specify what happens to the public IP address when the VM using it is deleted | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressSku.md b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressSku.md index 643addb..8e0852e 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressSku.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/PublicIPAddressSku.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Name of a public IP address SKU. | [optional] [default to nothing] +**tier** | **String** | Tier of a public IP address SKU. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ResourceSet.md b/src/Network/VmssNetworkInterfaceClient/docs/ResourceSet.md new file mode 100644 index 0000000..5e66ab9 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/docs/ResourceSet.md @@ -0,0 +1,12 @@ +# ResourceSet + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptions** | **Vector{String}** | The list of subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Network/VmssNetworkInterfaceClient/docs/RetentionPolicyParameters.md b/src/Network/VmssNetworkInterfaceClient/docs/RetentionPolicyParameters.md index b1d9109..bfeed1c 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/RetentionPolicyParameters.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/RetentionPolicyParameters.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to nothing] +**days** | **Int64** | Number of days to retain flow log records. | [optional] [default to 0] **enabled** | **Bool** | Flag to enable/disable retention. | [optional] [default to false] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/Route.md b/src/Network/VmssNetworkInterfaceClient/docs/Route.md index b6156c0..13d9d77 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/Route.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/Route.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***RoutePropertiesFormat**](RoutePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/RoutePropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/RoutePropertiesFormat.md index 5e8900e..9b1ebfb 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/RoutePropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/RoutePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **nextHopType** | [***RouteNextHopType**](RouteNextHopType.md) | | [default to nothing] **nextHopIpAddress** | **String** | The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**hasBgpOverride** | **Bool** | A value indicating whether this route overrides overlapping BGP routes regardless of LPM. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/RouteTablePropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/RouteTablePropertiesFormat.md index 09494f8..f088c15 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/RouteTablePropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/RouteTablePropertiesFormat.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **disableBgpRoutePropagation** | **Bool** | Whether to disable the routes learned by BGP on that route table. True means disable. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**resourceGuid** | **String** | The resource GUID property of the route table. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/SecurityRule.md b/src/Network/VmssNetworkInterfaceClient/docs/SecurityRule.md index da4d30c..78856c9 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/SecurityRule.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/SecurityRule.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SecurityRulePropertiesFormat**](SecurityRulePropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md index 1934489..d3cd0c1 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/SecurityRulePropertiesFormat.md @@ -17,7 +17,7 @@ Name | Type | Description | Notes **sourcePortRanges** | **Vector{String}** | The source port ranges. | [optional] [default to nothing] **destinationPortRanges** | **Vector{String}** | The destination port ranges. | [optional] [default to nothing] **access** | [***SecurityRuleAccess**](SecurityRuleAccess.md) | | [default to nothing] -**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [optional] [default to nothing] +**priority** | **Int64** | The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule. | [default to nothing] **direction** | [***SecurityRuleDirection**](SecurityRuleDirection.md) | | [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicy.md b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicy.md index 1ba5ee0..1a68aab 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicy.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicy.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ServiceEndpointPolicyPropertiesFormat**](ServiceEndpointPolicyPropertiesFormat.md) | | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**kind** | **String** | Kind of service endpoint policy. This is metadata used for the Azure portal experience. | [optional] [readonly] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] **name** | **String** | Resource name. | [optional] [readonly] [default to nothing] **type** | **String** | Resource type. | [optional] [readonly] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md index 7f535f5..8e0eb2e 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyDefinition.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***ServiceEndpointPolicyDefinitionPropertiesFormat**](ServiceEndpointPolicyDefinitionPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md index 7bb1711..0007c2c 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPolicyPropertiesFormat.md @@ -8,6 +8,8 @@ Name | Type | Description | Notes **subnets** | [**Vector{Subnet}**](Subnet.md) | A collection of references to subnets. | [optional] [readonly] [default to nothing] **resourceGuid** | **String** | The resource GUID property of the service endpoint policy resource. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] +**serviceAlias** | **String** | The alias indicating if the policy belongs to a service | [optional] [default to nothing] +**contextualServiceEndpointPolicies** | **Vector{String}** | A collection of contextual service endpoint policy. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md index a691893..a34e253 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/ServiceEndpointPropertiesFormat.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **service** | **String** | The type of the endpoint service. | [optional] [default to nothing] +**networkIdentifier** | [***SubResource**](SubResource.md) | | [optional] [default to nothing] **locations** | **Vector{String}** | A list of locations. | [optional] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/Subnet.md b/src/Network/VmssNetworkInterfaceClient/docs/Subnet.md index b623661..68faf63 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/Subnet.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/Subnet.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **properties** | [***SubnetPropertiesFormat**](SubnetPropertiesFormat.md) | | [optional] [default to nothing] **name** | **String** | The name of the resource that is unique within a resource group. This name can be used to access the resource. | [optional] [default to nothing] **etag** | **String** | A unique read-only string that changes whenever the resource is updated. | [optional] [readonly] [default to nothing] +**type** | **String** | Resource type. | [optional] [default to nothing] **id** | **String** | Resource ID. | [optional] [default to nothing] diff --git a/src/Network/VmssNetworkInterfaceClient/docs/SubnetPropertiesFormat.md b/src/Network/VmssNetworkInterfaceClient/docs/SubnetPropertiesFormat.md index 5569795..972cda9 100644 --- a/src/Network/VmssNetworkInterfaceClient/docs/SubnetPropertiesFormat.md +++ b/src/Network/VmssNetworkInterfaceClient/docs/SubnetPropertiesFormat.md @@ -20,8 +20,12 @@ Name | Type | Description | Notes **delegations** | [**Vector{Delegation}**](Delegation.md) | An array of references to the delegations on the subnet. | [optional] [default to nothing] **purpose** | **String** | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties. | [optional] [readonly] [default to nothing] **provisioningState** | [***ProvisioningState**](ProvisioningState.md) | | [optional] [default to nothing] -**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to nothing] -**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to nothing] +**privateEndpointNetworkPolicies** | **String** | Enable or Disable apply network policies on private end point in the subnet. | [optional] [default to "Disabled"] +**privateLinkServiceNetworkPolicies** | **String** | Enable or Disable apply network policies on private link service in the subnet. | [optional] [default to "Enabled"] +**applicationGatewayIPConfigurations** | [**Vector{ApplicationGatewayIPConfiguration}**](ApplicationGatewayIPConfiguration.md) | Application gateway IP configurations of virtual network resource. | [optional] [default to nothing] +**sharingScope** | **String** | Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. | [optional] [default to "null"] +**defaultOutboundAccess** | **Bool** | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. | [optional] [default to nothing] +**ipamPoolPrefixAllocations** | [**Vector{IpamPoolPrefixAllocation}**](IpamPoolPrefixAllocation.md) | A list of IPAM Pools for allocating IP address prefixes. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Network/VmssNetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl b/src/Network/VmssNetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl index f2971f1..2e7b055 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/apis/api_NetworkInterfacesApi.jl @@ -24,8 +24,8 @@ function _oacinternal_network_interfaces_get_virtual_machine_scale_set_ip_config OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "ipConfigurationName", ip_configuration_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -67,8 +67,8 @@ function _oacinternal_network_interfaces_get_virtual_machine_scale_set_network_i OpenAPI.Clients.set_param(_ctx.path, "virtualmachineIndex", virtualmachine_index) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -109,8 +109,8 @@ function _oacinternal_network_interfaces_list_virtual_machine_scale_set_ip_confi OpenAPI.Clients.set_param(_ctx.path, "virtualmachineIndex", virtualmachine_index) # type String OpenAPI.Clients.set_param(_ctx.path, "networkInterfaceName", network_interface_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -149,7 +149,7 @@ function _oacinternal_network_interfaces_list_virtual_machine_scale_set_network_ OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualMachineScaleSetName", virtual_machine_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -186,7 +186,7 @@ function _oacinternal_network_interfaces_list_virtual_machine_scale_set_v_m_netw OpenAPI.Clients.set_param(_ctx.path, "virtualMachineScaleSetName", virtual_machine_scale_set_name) # type String OpenAPI.Clients.set_param(_ctx.path, "virtualmachineIndex", virtualmachine_index) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Network/VmssNetworkInterfaceClient/src/modelincludes.jl b/src/Network/VmssNetworkInterfaceClient/src/modelincludes.jl index a56d605..3201726 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/modelincludes.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/modelincludes.jl @@ -4,6 +4,8 @@ include("models/model_ApplicationGatewayBackendAddress.jl") include("models/model_ApplicationGatewayBackendAddressPool.jl") include("models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl") +include("models/model_ApplicationGatewayIPConfiguration.jl") +include("models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl") include("models/model_ApplicationSecurityGroup.jl") include("models/model_ApplicationSecurityGroupPropertiesFormat.jl") include("models/model_BackendAddressPool.jl") @@ -13,11 +15,14 @@ include("models/model_CloudErrorBody.jl") include("models/model_CustomDnsConfigPropertiesFormat.jl") include("models/model_DdosSettings.jl") include("models/model_Delegation.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_FlowLog.jl") include("models/model_FlowLogFormatParameters.jl") include("models/model_FlowLogPropertiesFormat.jl") include("models/model_FrontendIPConfiguration.jl") include("models/model_FrontendIPConfigurationPropertiesFormat.jl") +include("models/model_GatewayLoadBalancerTunnelInterface.jl") include("models/model_IPAllocationMethod.jl") include("models/model_IPConfiguration.jl") include("models/model_IPConfigurationProfile.jl") @@ -27,8 +32,16 @@ include("models/model_IPVersion.jl") include("models/model_InboundNatRule.jl") include("models/model_InboundNatRulePropertiesFormat.jl") include("models/model_IpTag.jl") +include("models/model_IpamPoolPrefixAllocation.jl") +include("models/model_IpamPoolPrefixAllocationPool.jl") include("models/model_LoadBalancerBackendAddress.jl") include("models/model_LoadBalancerBackendAddressPropertiesFormat.jl") +include("models/model_ManagedServiceIdentity.jl") +include("models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl") +include("models/model_NatGateway.jl") +include("models/model_NatGatewayPropertiesFormat.jl") +include("models/model_NatGatewaySku.jl") +include("models/model_NatRulePortMapping.jl") include("models/model_NetworkInterface.jl") include("models/model_NetworkInterfaceDnsSettings.jl") include("models/model_NetworkInterfaceIPConfiguration.jl") @@ -42,10 +55,18 @@ include("models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl") include("models/model_NetworkSecurityGroup.jl") include("models/model_NetworkSecurityGroupPropertiesFormat.jl") include("models/model_PrivateEndpoint.jl") +include("models/model_PrivateEndpointConnection.jl") +include("models/model_PrivateEndpointConnectionProperties.jl") +include("models/model_PrivateEndpointIPConfiguration.jl") +include("models/model_PrivateEndpointIPConfigurationProperties.jl") include("models/model_PrivateEndpointProperties.jl") +include("models/model_PrivateLinkService.jl") include("models/model_PrivateLinkServiceConnection.jl") include("models/model_PrivateLinkServiceConnectionProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_PrivateLinkServiceIpConfiguration.jl") +include("models/model_PrivateLinkServiceIpConfigurationProperties.jl") +include("models/model_PrivateLinkServiceProperties.jl") include("models/model_ProvisioningState.jl") include("models/model_PublicIPAddress.jl") include("models/model_PublicIPAddressDnsSettings.jl") @@ -54,6 +75,7 @@ include("models/model_PublicIPAddressSku.jl") include("models/model_Resource.jl") include("models/model_ResourceNavigationLink.jl") include("models/model_ResourceNavigationLinkFormat.jl") +include("models/model_ResourceSet.jl") include("models/model_RetentionPolicyParameters.jl") include("models/model_Route.jl") include("models/model_RouteNextHopType.jl") diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl index 04dfbb8..0957265 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddress <: OpenAPI.APIModel ipAddress::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddress(fqdn, ipAddress, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), ipAddress) - return new(fqdn, ipAddress, ) + o = new(fqdn, ipAddress, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddress const _property_types_ApplicationGatewayBackendAddress = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddress")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddress[name]))} -function check_required(o::ApplicationGatewayBackendAddress) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddress) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddress) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(ApplicationGatewayBackendAddress, Symbol("ipAddress"), o.ipAddress) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl index 205cb2a..46990bc 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPool <: OpenAPI.APIMo id::Union{Nothing, String} = nothing function ApplicationGatewayBackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPool const _property_types_ApplicationGatewayBackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayBackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPool[name]))} -function check_required(o::ApplicationGatewayBackendAddressPool) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPool) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPool) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl index b8ceab5..806d511 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayBackendAddressPoolPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ApplicationGatewayBackendAddressPoolPropertiesFormat provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationGatewayBackendAddressPoolPropertiesFormat(backendIPConfigurations, backendAddresses, provisioningState, ) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), backendAddresses) - OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, backendAddresses, provisioningState, ) + o = new(backendIPConfigurations, backendAddresses, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationGatewayBackendAddressPoolPropertiesFormat const _property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("backendAddresses")=>"Vector{ApplicationGatewayBackendAddress}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayBackendAddressPoolPropertiesFormat[name]))} -function check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationGatewayBackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("backendAddresses"), o.backendAddresses) + OpenAPI.validate_property(ApplicationGatewayBackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationGatewayBackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfiguration.jl new file mode 100644 index 0000000..1ab8314 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfiguration +IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed. + + ApplicationGatewayIPConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::ApplicationGatewayIPConfigurationPropertiesFormat + - name::String : Name of the IP configuration that is unique within an Application Gateway. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Type of the resource. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, ApplicationGatewayIPConfigurationPropertiesFormat } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function ApplicationGatewayIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfiguration + +const _property_types_ApplicationGatewayIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"ApplicationGatewayIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfiguration[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfiguration) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationGatewayIPConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl new file mode 100644 index 0000000..b36eed5 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationGatewayIPConfigurationPropertiesFormat.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApplicationGatewayIPConfigurationPropertiesFormat +Properties of IP configuration of an application gateway. + + ApplicationGatewayIPConfigurationPropertiesFormat(; + subnet=nothing, + provisioningState=nothing, + ) + + - subnet::SubResource + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct ApplicationGatewayIPConfigurationPropertiesFormat <: OpenAPI.APIModel + subnet = nothing # spec type: Union{ Nothing, SubResource } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function ApplicationGatewayIPConfigurationPropertiesFormat(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApplicationGatewayIPConfigurationPropertiesFormat + +const _property_types_ApplicationGatewayIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationGatewayIPConfigurationPropertiesFormat[name]))} + +function OpenAPI.check_required(o::ApplicationGatewayIPConfigurationPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::ApplicationGatewayIPConfigurationPropertiesFormat) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(ApplicationGatewayIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ ApplicationGatewayIPConfigurationPropertiesFormat }, name::Symbol, val) + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl index 21930e2..f7e9c39 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct ApplicationSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ApplicationSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroup const _property_types_ApplicationSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"ApplicationSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroup[name]))} -function check_required(o::ApplicationSecurityGroup) +function OpenAPI.check_required(o::ApplicationSecurityGroup) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroup) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ApplicationSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl index 31cda91..da9fe8e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ApplicationSecurityGroupPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ApplicationSecurityGroupPropertiesFormat <: OpenAPI.A provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ApplicationSecurityGroupPropertiesFormat(resourceGuid, provisioningState, ) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(resourceGuid, provisioningState, ) + o = new(resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ApplicationSecurityGroupPropertiesFormat const _property_types_ApplicationSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApplicationSecurityGroupPropertiesFormat[name]))} -function check_required(o::ApplicationSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::ApplicationSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::ApplicationSecurityGroupPropertiesFormat) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ApplicationSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ApplicationSecurityGroupPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPool.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPool.jl index 1270c58..fd395da 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPool.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPool.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct BackendAddressPool <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function BackendAddressPool(properties, name, etag, type, id, ) - OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), properties) - OpenAPI.validate_property(BackendAddressPool, Symbol("name"), name) - OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), etag) - OpenAPI.validate_property(BackendAddressPool, Symbol("type"), type) - OpenAPI.validate_property(BackendAddressPool, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPool const _property_types_BackendAddressPool = Dict{Symbol,String}(Symbol("properties")=>"BackendAddressPoolPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPool[name]))} -function check_required(o::BackendAddressPool) +function OpenAPI.check_required(o::BackendAddressPool) true end +function OpenAPI.validate_properties(o::BackendAddressPool) + OpenAPI.validate_property(BackendAddressPool, Symbol("properties"), o.properties) + OpenAPI.validate_property(BackendAddressPool, Symbol("name"), o.name) + OpenAPI.validate_property(BackendAddressPool, Symbol("etag"), o.etag) + OpenAPI.validate_property(BackendAddressPool, Symbol("type"), o.type) + OpenAPI.validate_property(BackendAddressPool, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ BackendAddressPool }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl index 20019ca..a9fc0f4 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_BackendAddressPoolPropertiesFormat.jl @@ -6,46 +6,94 @@ Properties of the backend address pool. BackendAddressPoolPropertiesFormat(; - backendIPConfigurations=nothing, + location=nothing, + tunnelInterfaces=nothing, loadBalancerBackendAddresses=nothing, + backendIPConfigurations=nothing, loadBalancingRules=nothing, outboundRule=nothing, outboundRules=nothing, + inboundNatRules=nothing, provisioningState=nothing, + drainPeriodInSeconds=nothing, + virtualNetwork=nothing, + syncMode=nothing, ) - - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. + - location::String : The location of the backend address pool. + - tunnelInterfaces::Vector{GatewayLoadBalancerTunnelInterface} : An array of gateway load balancer tunnel interfaces. - loadBalancerBackendAddresses::Vector{LoadBalancerBackendAddress} : An array of backend addresses. + - backendIPConfigurations::Vector{NetworkInterfaceIPConfiguration} : An array of references to IP addresses defined in network interfaces. - loadBalancingRules::Vector{SubResource} : An array of references to load balancing rules that use this backend address pool. - outboundRule::SubResource - outboundRules::Vector{SubResource} : An array of references to outbound rules that use this backend address pool. + - inboundNatRules::Vector{SubResource} : An array of references to inbound NAT rules that use this backend address pool. - provisioningState::ProvisioningState + - drainPeriodInSeconds::Int64 : Amount of seconds Load Balancer waits for before sending RESET to client and backend address. + - virtualNetwork::SubResource + - syncMode::String : Backend address synchronous mode for the backend pool """ Base.@kwdef mutable struct BackendAddressPoolPropertiesFormat <: OpenAPI.APIModel - backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } + location::Union{Nothing, String} = nothing + tunnelInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{GatewayLoadBalancerTunnelInterface} } loadBalancerBackendAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LoadBalancerBackendAddress} } + backendIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterfaceIPConfiguration} } loadBalancingRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } outboundRule = nothing # spec type: Union{ Nothing, SubResource } outboundRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + inboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + drainPeriodInSeconds::Union{Nothing, Int64} = nothing + virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + syncMode::Union{Nothing, String} = nothing - function BackendAddressPoolPropertiesFormat(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), backendIPConfigurations) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), loadBalancerBackendAddresses) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), outboundRule) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(backendIPConfigurations, loadBalancerBackendAddresses, loadBalancingRules, outboundRule, outboundRules, provisioningState, ) + function BackendAddressPoolPropertiesFormat(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + o = new(location, tunnelInterfaces, loadBalancerBackendAddresses, backendIPConfigurations, loadBalancingRules, outboundRule, outboundRules, inboundNatRules, provisioningState, drainPeriodInSeconds, virtualNetwork, syncMode, ) + OpenAPI.validate_properties(o) + return o end end # type BackendAddressPoolPropertiesFormat -const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_BackendAddressPoolPropertiesFormat = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("tunnelInterfaces")=>"Vector{GatewayLoadBalancerTunnelInterface}", Symbol("loadBalancerBackendAddresses")=>"Vector{LoadBalancerBackendAddress}", Symbol("backendIPConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("outboundRule")=>"SubResource", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("provisioningState")=>"ProvisioningState", Symbol("drainPeriodInSeconds")=>"Int64", Symbol("virtualNetwork")=>"SubResource", Symbol("syncMode")=>"String", ) OpenAPI.property_type(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BackendAddressPoolPropertiesFormat[name]))} -function check_required(o::BackendAddressPoolPropertiesFormat) +function OpenAPI.check_required(o::BackendAddressPoolPropertiesFormat) true end +function OpenAPI.validate_properties(o::BackendAddressPoolPropertiesFormat) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("location"), o.location) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("tunnelInterfaces"), o.tunnelInterfaces) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancerBackendAddresses"), o.loadBalancerBackendAddresses) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("backendIPConfigurations"), o.backendIPConfigurations) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRule"), o.outboundRule) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("drainPeriodInSeconds"), o.drainPeriodInSeconds) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(BackendAddressPoolPropertiesFormat, Symbol("syncMode"), o.syncMode) +end + function OpenAPI.validate_property(::Type{ BackendAddressPoolPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("drainPeriodInSeconds") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :format, val, "int32") + end + + + if name === Symbol("syncMode") + OpenAPI.validate_param(name, "BackendAddressPoolPropertiesFormat", :enum, val, ["Automatic", "Manual"]) + end + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudError.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudError.jl index a5d87a0..87a0841 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudError.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, CloudErrorBody } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudErrorBody.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudErrorBody.jl index 4d897eb..7b0285a 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudErrorBody.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_CloudErrorBody.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } function CloudErrorBody(code, message, target, details, ) - OpenAPI.validate_property(CloudErrorBody, Symbol("code"), code) - OpenAPI.validate_property(CloudErrorBody, Symbol("message"), message) - OpenAPI.validate_property(CloudErrorBody, Symbol("target"), target) - OpenAPI.validate_property(CloudErrorBody, Symbol("details"), details) - return new(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o end end # type CloudErrorBody const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} -function check_required(o::CloudErrorBody) +function OpenAPI.check_required(o::CloudErrorBody) true end +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl index 3fd1c5c..b26c9cf 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_CustomDnsConfigPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct CustomDnsConfigPropertiesFormat <: OpenAPI.APIModel ipAddresses::Union{Nothing, Vector{String}} = nothing function CustomDnsConfigPropertiesFormat(fqdn, ipAddresses, ) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), ipAddresses) - return new(fqdn, ipAddresses, ) + o = new(fqdn, ipAddresses, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDnsConfigPropertiesFormat const _property_types_CustomDnsConfigPropertiesFormat = Dict{Symbol,String}(Symbol("fqdn")=>"String", Symbol("ipAddresses")=>"Vector{String}", ) OpenAPI.property_type(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDnsConfigPropertiesFormat[name]))} -function check_required(o::CustomDnsConfigPropertiesFormat) +function OpenAPI.check_required(o::CustomDnsConfigPropertiesFormat) true end +function OpenAPI.validate_properties(o::CustomDnsConfigPropertiesFormat) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(CustomDnsConfigPropertiesFormat, Symbol("ipAddresses"), o.ipAddresses) +end + function OpenAPI.validate_property(::Type{ CustomDnsConfigPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_DdosSettings.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_DdosSettings.jl index fa919de..ceeb974 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_DdosSettings.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_DdosSettings.jl @@ -6,37 +6,41 @@ Contains the DDoS protection settings of the public IP. DdosSettings(; - ddosCustomPolicy=nothing, - protectionCoverage=nothing, - protectedIP=nothing, + protectionMode=nothing, + ddosProtectionPlan=nothing, ) - - ddosCustomPolicy::SubResource - - protectionCoverage::String : The DDoS protection policy customizability of the public IP. Only standard coverage will have the ability to be customized. - - protectedIP::Bool : Enables DDoS protection on the public IP. + - protectionMode::String : The DDoS protection mode of the public IP + - ddosProtectionPlan::SubResource """ Base.@kwdef mutable struct DdosSettings <: OpenAPI.APIModel - ddosCustomPolicy = nothing # spec type: Union{ Nothing, SubResource } - protectionCoverage::Union{Nothing, String} = nothing - protectedIP::Union{Nothing, Bool} = nothing - - function DdosSettings(ddosCustomPolicy, protectionCoverage, protectedIP, ) - OpenAPI.validate_property(DdosSettings, Symbol("ddosCustomPolicy"), ddosCustomPolicy) - OpenAPI.validate_property(DdosSettings, Symbol("protectionCoverage"), protectionCoverage) - OpenAPI.validate_property(DdosSettings, Symbol("protectedIP"), protectedIP) - return new(ddosCustomPolicy, protectionCoverage, protectedIP, ) + protectionMode::Union{Nothing, String} = nothing + ddosProtectionPlan = nothing # spec type: Union{ Nothing, SubResource } + + function DdosSettings(protectionMode, ddosProtectionPlan, ) + o = new(protectionMode, ddosProtectionPlan, ) + OpenAPI.validate_properties(o) + return o end end # type DdosSettings -const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("ddosCustomPolicy")=>"SubResource", Symbol("protectionCoverage")=>"String", Symbol("protectedIP")=>"Bool", ) +const _property_types_DdosSettings = Dict{Symbol,String}(Symbol("protectionMode")=>"String", Symbol("ddosProtectionPlan")=>"SubResource", ) OpenAPI.property_type(::Type{ DdosSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DdosSettings[name]))} -function check_required(o::DdosSettings) +function OpenAPI.check_required(o::DdosSettings) true end +function OpenAPI.validate_properties(o::DdosSettings) + OpenAPI.validate_property(DdosSettings, Symbol("protectionMode"), o.protectionMode) + OpenAPI.validate_property(DdosSettings, Symbol("ddosProtectionPlan"), o.ddosProtectionPlan) +end + function OpenAPI.validate_property(::Type{ DdosSettings }, name::Symbol, val) - if name === Symbol("protectionCoverage") - OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["Basic", "Standard"]) + + if name === Symbol("protectionMode") + OpenAPI.validate_param(name, "DdosSettings", :enum, val, ["VirtualNetworkInherited", "Enabled", "Disabled"]) end + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_Delegation.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_Delegation.jl index eba9e05..a543b23 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_Delegation.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_Delegation.jl @@ -9,35 +9,49 @@ Details the service to which the subnet is delegated. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceDelegationPropertiesFormat - name::String : The name of the resource that is unique within a subnet. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Delegation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceDelegationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Delegation(properties, name, etag, id, ) - OpenAPI.validate_property(Delegation, Symbol("properties"), properties) - OpenAPI.validate_property(Delegation, Symbol("name"), name) - OpenAPI.validate_property(Delegation, Symbol("etag"), etag) - OpenAPI.validate_property(Delegation, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Delegation(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Delegation -const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Delegation = Dict{Symbol,String}(Symbol("properties")=>"ServiceDelegationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Delegation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Delegation[name]))} -function check_required(o::Delegation) +function OpenAPI.check_required(o::Delegation) true end +function OpenAPI.validate_properties(o::Delegation) + OpenAPI.validate_property(Delegation, Symbol("properties"), o.properties) + OpenAPI.validate_property(Delegation, Symbol("name"), o.name) + OpenAPI.validate_property(Delegation, Symbol("etag"), o.etag) + OpenAPI.validate_property(Delegation, Symbol("type"), o.type) + OpenAPI.validate_property(Delegation, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Delegation }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ExtendedLocation.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..7aa4036 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +ExtendedLocation complex type. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ExtendedLocationType.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLog.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLog.jl index b97d63f..157b5c1 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLog.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLog.jl @@ -8,6 +8,7 @@ A flow log resource. FlowLog(; properties=nothing, etag=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ A flow log resource. - properties::FlowLogPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - identity::ManagedServiceIdentity - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ A flow log resource. Base.@kwdef mutable struct FlowLog <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, FlowLogPropertiesFormat } etag::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, ManagedServiceIdentity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function FlowLog(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(FlowLog, Symbol("properties"), properties) - OpenAPI.validate_property(FlowLog, Symbol("etag"), etag) - OpenAPI.validate_property(FlowLog, Symbol("id"), id) - OpenAPI.validate_property(FlowLog, Symbol("name"), name) - OpenAPI.validate_property(FlowLog, Symbol("type"), type) - OpenAPI.validate_property(FlowLog, Symbol("location"), location) - OpenAPI.validate_property(FlowLog, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function FlowLog(properties, etag, identity, id, name, type, location, tags, ) + o = new(properties, etag, identity, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLog -const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_FlowLog = Dict{Symbol,String}(Symbol("properties")=>"FlowLogPropertiesFormat", Symbol("etag")=>"String", Symbol("identity")=>"ManagedServiceIdentity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ FlowLog }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLog[name]))} -function check_required(o::FlowLog) +function OpenAPI.check_required(o::FlowLog) true end +function OpenAPI.validate_properties(o::FlowLog) + OpenAPI.validate_property(FlowLog, Symbol("properties"), o.properties) + OpenAPI.validate_property(FlowLog, Symbol("etag"), o.etag) + OpenAPI.validate_property(FlowLog, Symbol("identity"), o.identity) + OpenAPI.validate_property(FlowLog, Symbol("id"), o.id) + OpenAPI.validate_property(FlowLog, Symbol("name"), o.name) + OpenAPI.validate_property(FlowLog, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLog, Symbol("location"), o.location) + OpenAPI.validate_property(FlowLog, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ FlowLog }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl index e28cae1..7476316 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogFormatParameters.jl @@ -7,7 +7,7 @@ Parameters that define the flow log format. FlowLogFormatParameters(; type=nothing, - version=nothing, + version=0, ) - type::String : The file type of flow log. @@ -15,24 +15,35 @@ Parameters that define the flow log format. """ Base.@kwdef mutable struct FlowLogFormatParameters <: OpenAPI.APIModel type::Union{Nothing, String} = nothing - version::Union{Nothing, Int64} = nothing + version::Union{Nothing, Int64} = 0 function FlowLogFormatParameters(type, version, ) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), type) - OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), version) - return new(type, version, ) + o = new(type, version, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogFormatParameters const _property_types_FlowLogFormatParameters = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("version")=>"Int64", ) OpenAPI.property_type(::Type{ FlowLogFormatParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogFormatParameters[name]))} -function check_required(o::FlowLogFormatParameters) +function OpenAPI.check_required(o::FlowLogFormatParameters) true end +function OpenAPI.validate_properties(o::FlowLogFormatParameters) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("type"), o.type) + OpenAPI.validate_property(FlowLogFormatParameters, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ FlowLogFormatParameters }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "FlowLogFormatParameters", :enum, val, ["JSON"]) end + + + if name === Symbol("version") + OpenAPI.validate_param(name, "FlowLogFormatParameters", :format, val, "int32") + end end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl index bc6fb38..1a471d8 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_FlowLogPropertiesFormat.jl @@ -9,6 +9,7 @@ Parameters that define the configuration of flow log. targetResourceId=nothing, targetResourceGuid=nothing, storageId=nothing, + enabledFilteringCriteria=nothing, enabled=nothing, retentionPolicy=nothing, format=nothing, @@ -19,6 +20,7 @@ Parameters that define the configuration of flow log. - targetResourceId::String : ID of network security group to which flow log will be applied. - targetResourceGuid::String : Guid of network security group to which flow log will be applied. - storageId::String : ID of the storage account which is used to store the flow log. + - enabledFilteringCriteria::String : Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged. - enabled::Bool : Flag to enable/disable flow logging. - retentionPolicy::RetentionPolicyParameters - format::FlowLogFormatParameters @@ -29,33 +31,49 @@ Base.@kwdef mutable struct FlowLogPropertiesFormat <: OpenAPI.APIModel targetResourceId::Union{Nothing, String} = nothing targetResourceGuid::Union{Nothing, String} = nothing storageId::Union{Nothing, String} = nothing + enabledFilteringCriteria::Union{Nothing, String} = nothing enabled::Union{Nothing, Bool} = nothing retentionPolicy = nothing # spec type: Union{ Nothing, RetentionPolicyParameters } format = nothing # spec type: Union{ Nothing, FlowLogFormatParameters } flowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsProperties } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), targetResourceId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), targetResourceGuid) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), storageId) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), enabled) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), retentionPolicy) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), format) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), flowAnalyticsConfiguration) - OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(targetResourceId, targetResourceGuid, storageId, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + function FlowLogPropertiesFormat(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + o = new(targetResourceId, targetResourceGuid, storageId, enabledFilteringCriteria, enabled, retentionPolicy, format, flowAnalyticsConfiguration, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FlowLogPropertiesFormat -const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FlowLogPropertiesFormat = Dict{Symbol,String}(Symbol("targetResourceId")=>"String", Symbol("targetResourceGuid")=>"String", Symbol("storageId")=>"String", Symbol("enabledFilteringCriteria")=>"String", Symbol("enabled")=>"Bool", Symbol("retentionPolicy")=>"RetentionPolicyParameters", Symbol("format")=>"FlowLogFormatParameters", Symbol("flowAnalyticsConfiguration")=>"TrafficAnalyticsProperties", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FlowLogPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FlowLogPropertiesFormat[name]))} -function check_required(o::FlowLogPropertiesFormat) +function OpenAPI.check_required(o::FlowLogPropertiesFormat) o.targetResourceId === nothing && (return false) o.storageId === nothing && (return false) true end +function OpenAPI.validate_properties(o::FlowLogPropertiesFormat) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceId"), o.targetResourceId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("targetResourceGuid"), o.targetResourceGuid) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("storageId"), o.storageId) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabledFilteringCriteria"), o.enabledFilteringCriteria) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("retentionPolicy"), o.retentionPolicy) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("format"), o.format) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("flowAnalyticsConfiguration"), o.flowAnalyticsConfiguration) + OpenAPI.validate_property(FlowLogPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FlowLogPropertiesFormat }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl index 70eb86f..668a2d3 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfiguration.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct FrontendIPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function FrontendIPConfiguration(properties, name, etag, type, zones, id, ) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), type) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), zones) - OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, zones, id, ) + o = new(properties, name, etag, type, zones, id, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfiguration const _property_types_FrontendIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"FrontendIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ FrontendIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfiguration[name]))} -function check_required(o::FrontendIPConfiguration) +function OpenAPI.check_required(o::FrontendIPConfiguration) true end +function OpenAPI.validate_properties(o::FrontendIPConfiguration) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("zones"), o.zones) + OpenAPI.validate_property(FrontendIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfiguration }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl index 3545ff4..d235f7e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_FrontendIPConfigurationPropertiesFormat.jl @@ -16,6 +16,7 @@ Properties of Frontend IP Configuration of the load balancer. subnet=nothing, publicIPAddress=nothing, publicIPPrefix=nothing, + gatewayLoadBalancer=nothing, provisioningState=nothing, ) @@ -29,6 +30,7 @@ Properties of Frontend IP Configuration of the load balancer. - subnet::Subnet - publicIPAddress::PublicIPAddress - publicIPPrefix::SubResource + - gatewayLoadBalancer::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.APIModel @@ -42,30 +44,49 @@ Base.@kwdef mutable struct FrontendIPConfigurationPropertiesFormat <: OpenAPI.AP subnet = nothing # spec type: Union{ Nothing, Subnet } publicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } publicIPPrefix = nothing # spec type: Union{ Nothing, SubResource } + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), inboundNatRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), inboundNatPools) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), outboundRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), loadBalancingRules) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, provisioningState, ) + function FrontendIPConfigurationPropertiesFormat(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + o = new(inboundNatRules, inboundNatPools, outboundRules, loadBalancingRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, publicIPAddress, publicIPPrefix, gatewayLoadBalancer, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type FrontendIPConfigurationPropertiesFormat -const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_FrontendIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("inboundNatRules")=>"Vector{SubResource}", Symbol("inboundNatPools")=>"Vector{SubResource}", Symbol("outboundRules")=>"Vector{SubResource}", Symbol("loadBalancingRules")=>"Vector{SubResource}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("publicIPPrefix")=>"SubResource", Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_FrontendIPConfigurationPropertiesFormat[name]))} -function check_required(o::FrontendIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::FrontendIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::FrontendIPConfigurationPropertiesFormat) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatRules"), o.inboundNatRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("inboundNatPools"), o.inboundNatPools) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("outboundRules"), o.outboundRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("loadBalancingRules"), o.loadBalancingRules) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(FrontendIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ FrontendIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl new file mode 100644 index 0000000..149489f --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_GatewayLoadBalancerTunnelInterface.jl @@ -0,0 +1,66 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""GatewayLoadBalancerTunnelInterface +Gateway load balancer tunnel interface of a load balancer backend address pool. + + GatewayLoadBalancerTunnelInterface(; + port=nothing, + identifier=nothing, + protocol=nothing, + type=nothing, + ) + + - port::Int64 : Port of gateway load balancer tunnel interface. + - identifier::Int64 : Identifier of gateway load balancer tunnel interface. + - protocol::String : Protocol of gateway load balancer tunnel interface. + - type::String : Traffic type of gateway load balancer tunnel interface. +""" +Base.@kwdef mutable struct GatewayLoadBalancerTunnelInterface <: OpenAPI.APIModel + port::Union{Nothing, Int64} = nothing + identifier::Union{Nothing, Int64} = nothing + protocol::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function GatewayLoadBalancerTunnelInterface(port, identifier, protocol, type, ) + o = new(port, identifier, protocol, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type GatewayLoadBalancerTunnelInterface + +const _property_types_GatewayLoadBalancerTunnelInterface = Dict{Symbol,String}(Symbol("port")=>"Int64", Symbol("identifier")=>"Int64", Symbol("protocol")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GatewayLoadBalancerTunnelInterface[name]))} + +function OpenAPI.check_required(o::GatewayLoadBalancerTunnelInterface) + true +end + +function OpenAPI.validate_properties(o::GatewayLoadBalancerTunnelInterface) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("port"), o.port) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("identifier"), o.identifier) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(GatewayLoadBalancerTunnelInterface, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ GatewayLoadBalancerTunnelInterface }, name::Symbol, val) + + if name === Symbol("port") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("identifier") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :format, val, "int32") + end + + if name === Symbol("protocol") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Native", "VXLAN"]) + end + + + if name === Symbol("type") + OpenAPI.validate_param(name, "GatewayLoadBalancerTunnelInterface", :enum, val, ["None", "Internal", "External"]) + end + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfiguration.jl index cc791b1..5fda6f9 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfiguration.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfiguration.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct IPConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(IPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(IPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + o = new(properties, name, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfiguration const _property_types_IPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfiguration[name]))} -function check_required(o::IPConfiguration) +function OpenAPI.check_required(o::IPConfiguration) true end +function OpenAPI.validate_properties(o::IPConfiguration) + OpenAPI.validate_property(IPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfiguration }, name::Symbol, val) + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl index 8736df1..149e5bc 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfile.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationProfile <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function IPConfigurationProfile(properties, name, type, etag, id, ) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), properties) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), name) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), type) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), etag) - OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfile const _property_types_IPConfigurationProfile = Dict{Symbol,String}(Symbol("properties")=>"IPConfigurationProfilePropertiesFormat", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ IPConfigurationProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfile[name]))} -function check_required(o::IPConfigurationProfile) +function OpenAPI.check_required(o::IPConfigurationProfile) true end +function OpenAPI.validate_properties(o::IPConfigurationProfile) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("properties"), o.properties) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("name"), o.name) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("type"), o.type) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("etag"), o.etag) + OpenAPI.validate_property(IPConfigurationProfile, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfile }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl index d4ae5a5..892bc15 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationProfilePropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IPConfigurationProfilePropertiesFormat <: OpenAPI.API provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationProfilePropertiesFormat(subnet, provisioningState, ) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(subnet, provisioningState, ) + o = new(subnet, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationProfilePropertiesFormat const _property_types_IPConfigurationProfilePropertiesFormat = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationProfilePropertiesFormat[name]))} -function check_required(o::IPConfigurationProfilePropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationProfilePropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationProfilePropertiesFormat) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationProfilePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationProfilePropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl index 613e62d..7b5e780 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IPConfigurationPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct IPConfigurationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function IPConfigurationPropertiesFormat(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, publicIPAddress, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type IPConfigurationPropertiesFormat const _property_types_IPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ IPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPConfigurationPropertiesFormat[name]))} -function check_required(o::IPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::IPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::IPConfigurationPropertiesFormat) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(IPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ IPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRule.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRule.jl index 991c042..602ec8d 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRule.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRule.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct InboundNatRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function InboundNatRule(properties, name, etag, type, id, ) - OpenAPI.validate_property(InboundNatRule, Symbol("properties"), properties) - OpenAPI.validate_property(InboundNatRule, Symbol("name"), name) - OpenAPI.validate_property(InboundNatRule, Symbol("etag"), etag) - OpenAPI.validate_property(InboundNatRule, Symbol("type"), type) - OpenAPI.validate_property(InboundNatRule, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRule const _property_types_InboundNatRule = Dict{Symbol,String}(Symbol("properties")=>"InboundNatRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ InboundNatRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRule[name]))} -function check_required(o::InboundNatRule) +function OpenAPI.check_required(o::InboundNatRule) true end +function OpenAPI.validate_properties(o::InboundNatRule) + OpenAPI.validate_property(InboundNatRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(InboundNatRule, Symbol("name"), o.name) + OpenAPI.validate_property(InboundNatRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(InboundNatRule, Symbol("type"), o.type) + OpenAPI.validate_property(InboundNatRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ InboundNatRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl index bdea8ab..003b42c 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_InboundNatRulePropertiesFormat.jl @@ -14,6 +14,9 @@ Properties of the inbound NAT rule. idleTimeoutInMinutes=nothing, enableFloatingIP=nothing, enableTcpReset=nothing, + frontendPortRangeStart=nothing, + frontendPortRangeEnd=nothing, + backendAddressPool=nothing, provisioningState=nothing, ) @@ -25,6 +28,9 @@ Properties of the inbound NAT rule. - idleTimeoutInMinutes::Int64 : The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP. - enableFloatingIP::Bool : Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint. - enableTcpReset::Bool : Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP. + - frontendPortRangeStart::Int64 : The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - frontendPortRangeEnd::Int64 : The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534. + - backendAddressPool::SubResource - provisioningState::ProvisioningState """ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel @@ -36,37 +42,66 @@ Base.@kwdef mutable struct InboundNatRulePropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing enableFloatingIP::Union{Nothing, Bool} = nothing enableTcpReset::Union{Nothing, Bool} = nothing + frontendPortRangeStart::Union{Nothing, Int64} = nothing + frontendPortRangeEnd::Union{Nothing, Int64} = nothing + backendAddressPool = nothing # spec type: Union{ Nothing, SubResource } provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), frontendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), backendIPConfiguration) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), frontendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), backendPort) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), enableFloatingIP) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), enableTcpReset) - OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, provisioningState, ) + function InboundNatRulePropertiesFormat(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + o = new(frontendIPConfiguration, backendIPConfiguration, protocol, frontendPort, backendPort, idleTimeoutInMinutes, enableFloatingIP, enableTcpReset, frontendPortRangeStart, frontendPortRangeEnd, backendAddressPool, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type InboundNatRulePropertiesFormat -const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_InboundNatRulePropertiesFormat = Dict{Symbol,String}(Symbol("frontendIPConfiguration")=>"SubResource", Symbol("backendIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("protocol")=>"TransportProtocol", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("enableFloatingIP")=>"Bool", Symbol("enableTcpReset")=>"Bool", Symbol("frontendPortRangeStart")=>"Int64", Symbol("frontendPortRangeEnd")=>"Int64", Symbol("backendAddressPool")=>"SubResource", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ InboundNatRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_InboundNatRulePropertiesFormat[name]))} -function check_required(o::InboundNatRulePropertiesFormat) +function OpenAPI.check_required(o::InboundNatRulePropertiesFormat) true end +function OpenAPI.validate_properties(o::InboundNatRulePropertiesFormat) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendIPConfiguration"), o.frontendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendIPConfiguration"), o.backendIPConfiguration) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendPort"), o.backendPort) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableFloatingIP"), o.enableFloatingIP) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("enableTcpReset"), o.enableTcpReset) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeStart"), o.frontendPortRangeStart) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("frontendPortRangeEnd"), o.frontendPortRangeEnd) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("backendAddressPool"), o.backendAddressPool) + OpenAPI.validate_property(InboundNatRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ InboundNatRulePropertiesFormat }, name::Symbol, val) + + + + if name === Symbol("frontendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("backendPort") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") end + + + + if name === Symbol("frontendPortRangeStart") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + if name === Symbol("frontendPortRangeEnd") + OpenAPI.validate_param(name, "InboundNatRulePropertiesFormat", :format, val, "int32") + end + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IpTag.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IpTag.jl index 7f77480..5a6ea38 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_IpTag.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IpTag.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct IpTag <: OpenAPI.APIModel tag::Union{Nothing, String} = nothing function IpTag(ipTagType, tag, ) - OpenAPI.validate_property(IpTag, Symbol("ipTagType"), ipTagType) - OpenAPI.validate_property(IpTag, Symbol("tag"), tag) - return new(ipTagType, tag, ) + o = new(ipTagType, tag, ) + OpenAPI.validate_properties(o) + return o end end # type IpTag const _property_types_IpTag = Dict{Symbol,String}(Symbol("ipTagType")=>"String", Symbol("tag")=>"String", ) OpenAPI.property_type(::Type{ IpTag }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpTag[name]))} -function check_required(o::IpTag) +function OpenAPI.check_required(o::IpTag) true end +function OpenAPI.validate_properties(o::IpTag) + OpenAPI.validate_property(IpTag, Symbol("ipTagType"), o.ipTagType) + OpenAPI.validate_property(IpTag, Symbol("tag"), o.tag) +end + function OpenAPI.validate_property(::Type{ IpTag }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocation.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocation.jl new file mode 100644 index 0000000..8369425 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation +IpamPool prefix allocation reference. + + IpamPoolPrefixAllocation(; + pool=nothing, + numberOfIpAddresses=nothing, + allocatedAddressPrefixes=nothing, + ) + + - pool::IpamPoolPrefixAllocationPool + - numberOfIpAddresses::String : Number of IP addresses to allocate. + - allocatedAddressPrefixes::Vector{String} : List of assigned IP address prefixes in the IpamPool of the associated resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocation <: OpenAPI.APIModel + pool = nothing # spec type: Union{ Nothing, IpamPoolPrefixAllocationPool } + numberOfIpAddresses::Union{Nothing, String} = nothing + allocatedAddressPrefixes::Union{Nothing, Vector{String}} = nothing + + function IpamPoolPrefixAllocation(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + o = new(pool, numberOfIpAddresses, allocatedAddressPrefixes, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocation + +const _property_types_IpamPoolPrefixAllocation = Dict{Symbol,String}(Symbol("pool")=>"IpamPoolPrefixAllocationPool", Symbol("numberOfIpAddresses")=>"String", Symbol("allocatedAddressPrefixes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocation[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocation) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocation) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("pool"), o.pool) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("numberOfIpAddresses"), o.numberOfIpAddresses) + OpenAPI.validate_property(IpamPoolPrefixAllocation, Symbol("allocatedAddressPrefixes"), o.allocatedAddressPrefixes) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocation }, name::Symbol, val) + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocationPool.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocationPool.jl new file mode 100644 index 0000000..6a80d3c --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_IpamPoolPrefixAllocationPool.jl @@ -0,0 +1,39 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""IpamPoolPrefixAllocation_pool + + IpamPoolPrefixAllocationPool(; + id=nothing, + ) + + - id::String : Resource id of the associated Azure IpamPool resource. +""" +Base.@kwdef mutable struct IpamPoolPrefixAllocationPool <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + + function IpamPoolPrefixAllocationPool(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o + end +end # type IpamPoolPrefixAllocationPool + +const _property_types_IpamPoolPrefixAllocationPool = Dict{Symbol,String}(Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IpamPoolPrefixAllocationPool[name]))} + +function OpenAPI.check_required(o::IpamPoolPrefixAllocationPool) + true +end + +function OpenAPI.validate_properties(o::IpamPoolPrefixAllocationPool) + OpenAPI.validate_property(IpamPoolPrefixAllocationPool, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ IpamPoolPrefixAllocationPool }, name::Symbol, val) + + if name === Symbol("id") + OpenAPI.validate_param(name, "IpamPoolPrefixAllocationPool", :format, val, "arm-id") + end +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl index 915e916..07d5051 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddress.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct LoadBalancerBackendAddress <: OpenAPI.APIModel name::Union{Nothing, String} = nothing function LoadBalancerBackendAddress(properties, name, ) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), properties) - OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), name) - return new(properties, name, ) + o = new(properties, name, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddress const _property_types_LoadBalancerBackendAddress = Dict{Symbol,String}(Symbol("properties")=>"LoadBalancerBackendAddressPropertiesFormat", Symbol("name")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddress[name]))} -function check_required(o::LoadBalancerBackendAddress) +function OpenAPI.check_required(o::LoadBalancerBackendAddress) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddress) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(LoadBalancerBackendAddress, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddress }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl index ef213d8..79086ef 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_LoadBalancerBackendAddressPropertiesFormat.jl @@ -7,33 +7,65 @@ Properties of the load balancer backend addresses. LoadBalancerBackendAddressPropertiesFormat(; virtualNetwork=nothing, + subnet=nothing, ipAddress=nothing, networkInterfaceIPConfiguration=nothing, + loadBalancerFrontendIPConfiguration=nothing, + inboundNatRulesPortMapping=nothing, + adminState=nothing, ) - virtualNetwork::SubResource + - subnet::SubResource - ipAddress::String : IP Address belonging to the referenced virtual network. - networkInterfaceIPConfiguration::SubResource + - loadBalancerFrontendIPConfiguration::SubResource + - inboundNatRulesPortMapping::Vector{NatRulePortMapping} : Collection of inbound NAT rule port mappings. + - adminState::String : A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections. """ Base.@kwdef mutable struct LoadBalancerBackendAddressPropertiesFormat <: OpenAPI.APIModel virtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + subnet = nothing # spec type: Union{ Nothing, SubResource } ipAddress::Union{Nothing, String} = nothing networkInterfaceIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + loadBalancerFrontendIPConfiguration = nothing # spec type: Union{ Nothing, SubResource } + inboundNatRulesPortMapping::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NatRulePortMapping} } + adminState::Union{Nothing, String} = nothing - function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), virtualNetwork) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), networkInterfaceIPConfiguration) - return new(virtualNetwork, ipAddress, networkInterfaceIPConfiguration, ) + function LoadBalancerBackendAddressPropertiesFormat(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + o = new(virtualNetwork, subnet, ipAddress, networkInterfaceIPConfiguration, loadBalancerFrontendIPConfiguration, inboundNatRulesPortMapping, adminState, ) + OpenAPI.validate_properties(o) + return o end end # type LoadBalancerBackendAddressPropertiesFormat -const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", ) +const _property_types_LoadBalancerBackendAddressPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetwork")=>"SubResource", Symbol("subnet")=>"SubResource", Symbol("ipAddress")=>"String", Symbol("networkInterfaceIPConfiguration")=>"SubResource", Symbol("loadBalancerFrontendIPConfiguration")=>"SubResource", Symbol("inboundNatRulesPortMapping")=>"Vector{NatRulePortMapping}", Symbol("adminState")=>"String", ) OpenAPI.property_type(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LoadBalancerBackendAddressPropertiesFormat[name]))} -function check_required(o::LoadBalancerBackendAddressPropertiesFormat) +function OpenAPI.check_required(o::LoadBalancerBackendAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::LoadBalancerBackendAddressPropertiesFormat) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("virtualNetwork"), o.virtualNetwork) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("networkInterfaceIPConfiguration"), o.networkInterfaceIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("loadBalancerFrontendIPConfiguration"), o.loadBalancerFrontendIPConfiguration) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("inboundNatRulesPortMapping"), o.inboundNatRulesPortMapping) + OpenAPI.validate_property(LoadBalancerBackendAddressPropertiesFormat, Symbol("adminState"), o.adminState) +end + function OpenAPI.validate_property(::Type{ LoadBalancerBackendAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("adminState") + OpenAPI.validate_param(name, "LoadBalancerBackendAddressPropertiesFormat", :enum, val, ["None", "Up", "Down"]) + end + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ManagedServiceIdentity.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ManagedServiceIdentity.jl new file mode 100644 index 0000000..a47460b --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ManagedServiceIdentity.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity +Identity for the resource. + + ManagedServiceIdentity(; + principalId=nothing, + tenantId=nothing, + type=nothing, + userAssignedIdentities=nothing, + ) + + - principalId::String : The principal id of the system assigned identity. This property will only be provided for a system assigned identity. + - tenantId::String : The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. + - type::String : The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine. + - userAssignedIdentities::Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} : The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. +""" +Base.@kwdef mutable struct ManagedServiceIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + tenantId::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue} } + + function ManagedServiceIdentity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentity + +const _property_types_ManagedServiceIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, ManagedServiceIdentityUserAssignedIdentitiesValue}", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentity[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentity) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentity) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("type"), o.type) + OpenAPI.validate_property(ManagedServiceIdentity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentity }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "ManagedServiceIdentity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) + end + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..5e5ab16 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ManagedServiceIdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagedServiceIdentity_userAssignedIdentities_value + + ManagedServiceIdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct ManagedServiceIdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function ManagedServiceIdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagedServiceIdentityUserAssignedIdentitiesValue + +const _property_types_ManagedServiceIdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedServiceIdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::ManagedServiceIdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(ManagedServiceIdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ ManagedServiceIdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGateway.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGateway.jl new file mode 100644 index 0000000..30ef229 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGateway.jl @@ -0,0 +1,77 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGateway +Nat Gateway resource. + + NatGateway(; + sku=nothing, + properties=nothing, + zones=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - sku::NatGatewaySku + - properties::NatGatewayPropertiesFormat + - zones::Vector{String} : A list of availability zones denoting the zone in which Nat Gateway should be deployed. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct NatGateway <: OpenAPI.APIModel + sku = nothing # spec type: Union{ Nothing, NatGatewaySku } + properties = nothing # spec type: Union{ Nothing, NatGatewayPropertiesFormat } + zones::Union{Nothing, Vector{String}} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function NatGateway(sku, properties, zones, etag, id, name, type, location, tags, ) + o = new(sku, properties, zones, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGateway + +const _property_types_NatGateway = Dict{Symbol,String}(Symbol("sku")=>"NatGatewaySku", Symbol("properties")=>"NatGatewayPropertiesFormat", Symbol("zones")=>"Vector{String}", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ NatGateway }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGateway[name]))} + +function OpenAPI.check_required(o::NatGateway) + true +end + +function OpenAPI.validate_properties(o::NatGateway) + OpenAPI.validate_property(NatGateway, Symbol("sku"), o.sku) + OpenAPI.validate_property(NatGateway, Symbol("properties"), o.properties) + OpenAPI.validate_property(NatGateway, Symbol("zones"), o.zones) + OpenAPI.validate_property(NatGateway, Symbol("etag"), o.etag) + OpenAPI.validate_property(NatGateway, Symbol("id"), o.id) + OpenAPI.validate_property(NatGateway, Symbol("name"), o.name) + OpenAPI.validate_property(NatGateway, Symbol("type"), o.type) + OpenAPI.validate_property(NatGateway, Symbol("location"), o.location) + OpenAPI.validate_property(NatGateway, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ NatGateway }, name::Symbol, val) + + + + + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGatewayPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGatewayPropertiesFormat.jl new file mode 100644 index 0000000..b59dd8a --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGatewayPropertiesFormat.jl @@ -0,0 +1,80 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewayPropertiesFormat +Nat Gateway properties. + + NatGatewayPropertiesFormat(; + idleTimeoutInMinutes=nothing, + publicIpAddresses=nothing, + publicIpAddressesV6=nothing, + publicIpPrefixes=nothing, + publicIpPrefixesV6=nothing, + subnets=nothing, + sourceVirtualNetwork=nothing, + resourceGuid=nothing, + provisioningState=nothing, + ) + + - idleTimeoutInMinutes::Int64 : The idle timeout of the nat gateway. + - publicIpAddresses::Vector{SubResource} : An array of public ip addresses V4 associated with the nat gateway resource. + - publicIpAddressesV6::Vector{SubResource} : An array of public ip addresses V6 associated with the nat gateway resource. + - publicIpPrefixes::Vector{SubResource} : An array of public ip prefixes V4 associated with the nat gateway resource. + - publicIpPrefixesV6::Vector{SubResource} : An array of public ip prefixes V6 associated with the nat gateway resource. + - subnets::Vector{SubResource} : An array of references to the subnets using this nat gateway resource. + - sourceVirtualNetwork::SubResource + - resourceGuid::String : The resource GUID property of the NAT gateway resource. + - provisioningState::ProvisioningState +""" +Base.@kwdef mutable struct NatGatewayPropertiesFormat <: OpenAPI.APIModel + idleTimeoutInMinutes::Union{Nothing, Int64} = nothing + publicIpAddresses::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpAddressesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + publicIpPrefixesV6::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SubResource} } + sourceVirtualNetwork = nothing # spec type: Union{ Nothing, SubResource } + resourceGuid::Union{Nothing, String} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + + function NatGatewayPropertiesFormat(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + o = new(idleTimeoutInMinutes, publicIpAddresses, publicIpAddressesV6, publicIpPrefixes, publicIpPrefixesV6, subnets, sourceVirtualNetwork, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewayPropertiesFormat + +const _property_types_NatGatewayPropertiesFormat = Dict{Symbol,String}(Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("publicIpAddresses")=>"Vector{SubResource}", Symbol("publicIpAddressesV6")=>"Vector{SubResource}", Symbol("publicIpPrefixes")=>"Vector{SubResource}", Symbol("publicIpPrefixesV6")=>"Vector{SubResource}", Symbol("subnets")=>"Vector{SubResource}", Symbol("sourceVirtualNetwork")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +OpenAPI.property_type(::Type{ NatGatewayPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewayPropertiesFormat[name]))} + +function OpenAPI.check_required(o::NatGatewayPropertiesFormat) + true +end + +function OpenAPI.validate_properties(o::NatGatewayPropertiesFormat) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddresses"), o.publicIpAddresses) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpAddressesV6"), o.publicIpAddressesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixes"), o.publicIpPrefixes) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("publicIpPrefixesV6"), o.publicIpPrefixesV6) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("sourceVirtualNetwork"), o.sourceVirtualNetwork) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NatGatewayPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + +function OpenAPI.validate_property(::Type{ NatGatewayPropertiesFormat }, name::Symbol, val) + + if name === Symbol("idleTimeoutInMinutes") + OpenAPI.validate_param(name, "NatGatewayPropertiesFormat", :format, val, "int32") + end + + + + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGatewaySku.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGatewaySku.jl new file mode 100644 index 0000000..b30e9e6 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatGatewaySku.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatGatewaySku +SKU of nat gateway. + + NatGatewaySku(; + name=nothing, + ) + + - name::String : Name of Nat Gateway SKU. +""" +Base.@kwdef mutable struct NatGatewaySku <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + + function NatGatewaySku(name, ) + o = new(name, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatGatewaySku + +const _property_types_NatGatewaySku = Dict{Symbol,String}(Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ NatGatewaySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatGatewaySku[name]))} + +function OpenAPI.check_required(o::NatGatewaySku) + true +end + +function OpenAPI.validate_properties(o::NatGatewaySku) + OpenAPI.validate_property(NatGatewaySku, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ NatGatewaySku }, name::Symbol, val) + + if name === Symbol("name") + OpenAPI.validate_param(name, "NatGatewaySku", :enum, val, ["Standard", "StandardV2"]) + end + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NatRulePortMapping.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatRulePortMapping.jl new file mode 100644 index 0000000..47e19b6 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NatRulePortMapping.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NatRulePortMapping +Individual port mappings for inbound NAT rule created for backend pool. + + NatRulePortMapping(; + inboundNatRuleName=nothing, + frontendPort=nothing, + backendPort=nothing, + ) + + - inboundNatRuleName::String : Name of inbound NAT rule. + - frontendPort::Int64 : Frontend port. + - backendPort::Int64 : Backend port. +""" +Base.@kwdef mutable struct NatRulePortMapping <: OpenAPI.APIModel + inboundNatRuleName::Union{Nothing, String} = nothing + frontendPort::Union{Nothing, Int64} = nothing + backendPort::Union{Nothing, Int64} = nothing + + function NatRulePortMapping(inboundNatRuleName, frontendPort, backendPort, ) + o = new(inboundNatRuleName, frontendPort, backendPort, ) + OpenAPI.validate_properties(o) + return o + end +end # type NatRulePortMapping + +const _property_types_NatRulePortMapping = Dict{Symbol,String}(Symbol("inboundNatRuleName")=>"String", Symbol("frontendPort")=>"Int64", Symbol("backendPort")=>"Int64", ) +OpenAPI.property_type(::Type{ NatRulePortMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NatRulePortMapping[name]))} + +function OpenAPI.check_required(o::NatRulePortMapping) + true +end + +function OpenAPI.validate_properties(o::NatRulePortMapping) + OpenAPI.validate_property(NatRulePortMapping, Symbol("inboundNatRuleName"), o.inboundNatRuleName) + OpenAPI.validate_property(NatRulePortMapping, Symbol("frontendPort"), o.frontendPort) + OpenAPI.validate_property(NatRulePortMapping, Symbol("backendPort"), o.backendPort) +end + +function OpenAPI.validate_property(::Type{ NatRulePortMapping }, name::Symbol, val) + + + if name === Symbol("frontendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end + + if name === Symbol("backendPort") + OpenAPI.validate_param(name, "NatRulePortMapping", :format, val, "int32") + end +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterface.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterface.jl index 27b659b..bb0b1c1 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterface.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterface.jl @@ -6,6 +6,7 @@ A network interface in a resource group. NetworkInterface(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ A network interface in a resource group. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::NetworkInterfacePropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ A network interface in a resource group. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, NetworkInterfacePropertiesFormat } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkInterface <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function NetworkInterface(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkInterface, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterface, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterface, Symbol("id"), id) - OpenAPI.validate_property(NetworkInterface, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterface, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterface, Symbol("location"), location) - OpenAPI.validate_property(NetworkInterface, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function NetworkInterface(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterface -const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_NetworkInterface = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"NetworkInterfacePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkInterface }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterface[name]))} -function check_required(o::NetworkInterface) +function OpenAPI.check_required(o::NetworkInterface) true end +function OpenAPI.validate_properties(o::NetworkInterface) + OpenAPI.validate_property(NetworkInterface, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(NetworkInterface, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterface, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterface, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkInterface, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterface, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterface, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkInterface, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkInterface }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl index 0f5c08f..9a57e14 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceDnsSettings.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceDnsSettings <: OpenAPI.APIModel internalDomainNameSuffix::Union{Nothing, String} = nothing function NetworkInterfaceDnsSettings(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), dnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), appliedDnsServers) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), internalDnsNameLabel) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), internalFqdn) - OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), internalDomainNameSuffix) - return new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + o = new(dnsServers, appliedDnsServers, internalDnsNameLabel, internalFqdn, internalDomainNameSuffix, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceDnsSettings const _property_types_NetworkInterfaceDnsSettings = Dict{Symbol,String}(Symbol("dnsServers")=>"Vector{String}", Symbol("appliedDnsServers")=>"Vector{String}", Symbol("internalDnsNameLabel")=>"String", Symbol("internalFqdn")=>"String", Symbol("internalDomainNameSuffix")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceDnsSettings[name]))} -function check_required(o::NetworkInterfaceDnsSettings) +function OpenAPI.check_required(o::NetworkInterfaceDnsSettings) true end +function OpenAPI.validate_properties(o::NetworkInterfaceDnsSettings) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("dnsServers"), o.dnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("appliedDnsServers"), o.appliedDnsServers) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDnsNameLabel"), o.internalDnsNameLabel) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalFqdn"), o.internalFqdn) + OpenAPI.validate_property(NetworkInterfaceDnsSettings, Symbol("internalDomainNameSuffix"), o.internalDomainNameSuffix) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceDnsSettings }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl index 71467f7..4e6ce4b 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfiguration.jl @@ -9,35 +9,49 @@ IPConfiguration in a network interface. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::NetworkInterfaceIPConfigurationPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct NetworkInterfaceIPConfiguration <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function NetworkInterfaceIPConfiguration(properties, name, etag, id, ) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), id) - return new(properties, name, etag, id, ) + function NetworkInterfaceIPConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfiguration -const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_NetworkInterfaceIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceIPConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfiguration[name]))} -function check_required(o::NetworkInterfaceIPConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceIPConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfiguration) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceIPConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl index cc4a0df..f45a8e4 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationListResult <: OpenAPI. nextLink::Union{Nothing, String} = nothing function NetworkInterfaceIPConfigurationListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationListResult const _property_types_NetworkInterfaceIPConfigurationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationListResult[name]))} -function check_required(o::NetworkInterfaceIPConfigurationListResult) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationListResult) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationListResult }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl index 7f1b6d9..5105d63 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPrivateLinkConnectionP fqdns::Union{Nothing, Vector{String}} = nothing function NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties(groupId, requiredMemberName, fqdns, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), requiredMemberName) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), fqdns) - return new(groupId, requiredMemberName, fqdns, ) + o = new(groupId, requiredMemberName, fqdns, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties const _property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMemberName")=>"String", Symbol("fqdns")=>"Vector{String}", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("requiredMemberName"), o.requiredMemberName) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties, Symbol("fqdns"), o.fqdns) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl index 9b701e5..edb3d91 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceIPConfigurationPropertiesFormat.jl @@ -6,11 +6,13 @@ Properties of IP configuration. NetworkInterfaceIPConfigurationPropertiesFormat(; + gatewayLoadBalancer=nothing, virtualNetworkTaps=nothing, applicationGatewayBackendAddressPools=nothing, loadBalancerBackendAddressPools=nothing, loadBalancerInboundNatRules=nothing, privateIPAddress=nothing, + privateIPAddressPrefixLength=nothing, privateIPAllocationMethod=nothing, privateIPAddressVersion=nothing, subnet=nothing, @@ -21,11 +23,13 @@ Properties of IP configuration. privateLinkConnectionProperties=nothing, ) + - gatewayLoadBalancer::SubResource - virtualNetworkTaps::Vector{VirtualNetworkTap} : The reference to Virtual Network Taps. - applicationGatewayBackendAddressPools::Vector{ApplicationGatewayBackendAddressPool} : The reference to ApplicationGatewayBackendAddressPool resource. - loadBalancerBackendAddressPools::Vector{BackendAddressPool} : The reference to LoadBalancerBackendAddressPool resource. - loadBalancerInboundNatRules::Vector{InboundNatRule} : A list of references of LoadBalancerInboundNatRules. - - privateIPAddress::String : Private IP address of the IP configuration. + - privateIPAddress::String : Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format <address>/<prefix-length>. + - privateIPAddressPrefixLength::Int64 : The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address. - privateIPAllocationMethod::IPAllocationMethod - privateIPAddressVersion::IPVersion - subnet::Subnet @@ -36,11 +40,13 @@ Properties of IP configuration. - privateLinkConnectionProperties::NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties """ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: OpenAPI.APIModel + gatewayLoadBalancer = nothing # spec type: Union{ Nothing, SubResource } virtualNetworkTaps::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkTap} } applicationGatewayBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayBackendAddressPool} } loadBalancerBackendAddressPools::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BackendAddressPool} } loadBalancerInboundNatRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{InboundNatRule} } privateIPAddress::Union{Nothing, String} = nothing + privateIPAddressPrefixLength::Union{Nothing, Int64} = nothing privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -50,30 +56,59 @@ Base.@kwdef mutable struct NetworkInterfaceIPConfigurationPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } privateLinkConnectionProperties = nothing # spec type: Union{ Nothing, NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties } - function NetworkInterfaceIPConfigurationPropertiesFormat(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), virtualNetworkTaps) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), applicationGatewayBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), loadBalancerBackendAddressPools) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), loadBalancerInboundNatRules) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), privateIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), privateIPAllocationMethod) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), privateIPAddressVersion) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), subnet) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), publicIPAddress) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), applicationSecurityGroups) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), privateLinkConnectionProperties) - return new(virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + function NetworkInterfaceIPConfigurationPropertiesFormat(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + o = new(gatewayLoadBalancer, virtualNetworkTaps, applicationGatewayBackendAddressPools, loadBalancerBackendAddressPools, loadBalancerInboundNatRules, privateIPAddress, privateIPAddressPrefixLength, privateIPAllocationMethod, privateIPAddressVersion, subnet, primary, publicIPAddress, applicationSecurityGroups, provisioningState, privateLinkConnectionProperties, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceIPConfigurationPropertiesFormat -const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) +const _property_types_NetworkInterfaceIPConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("gatewayLoadBalancer")=>"SubResource", Symbol("virtualNetworkTaps")=>"Vector{VirtualNetworkTap}", Symbol("applicationGatewayBackendAddressPools")=>"Vector{ApplicationGatewayBackendAddressPool}", Symbol("loadBalancerBackendAddressPools")=>"Vector{BackendAddressPool}", Symbol("loadBalancerInboundNatRules")=>"Vector{InboundNatRule}", Symbol("privateIPAddress")=>"String", Symbol("privateIPAddressPrefixLength")=>"Int64", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("privateIPAddressVersion")=>"IPVersion", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("publicIPAddress")=>"PublicIPAddress", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkConnectionProperties")=>"NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", ) OpenAPI.property_type(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceIPConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceIPConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceIPConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("gatewayLoadBalancer"), o.gatewayLoadBalancer) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("virtualNetworkTaps"), o.virtualNetworkTaps) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationGatewayBackendAddressPools"), o.applicationGatewayBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerBackendAddressPools"), o.loadBalancerBackendAddressPools) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("loadBalancerInboundNatRules"), o.loadBalancerInboundNatRules) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressPrefixLength"), o.privateIPAddressPrefixLength) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("publicIPAddress"), o.publicIPAddress) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfaceIPConfigurationPropertiesFormat, Symbol("privateLinkConnectionProperties"), o.privateLinkConnectionProperties) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceIPConfigurationPropertiesFormat }, name::Symbol, val) + + + + + + + + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :format, val, "int32") + end + if name === Symbol("privateIPAddressPrefixLength") + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :maximum, val, 128, false) + OpenAPI.validate_param(name, "NetworkInterfaceIPConfigurationPropertiesFormat", :minimum, val, 1, false) + end + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl index afecbe5..a492dbc 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function NetworkInterfaceListResult(value, nextLink, ) - OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("value"), value) - OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceListResult const _property_types_NetworkInterfaceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{NetworkInterface}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceListResult[name]))} -function check_required(o::NetworkInterfaceListResult) +function OpenAPI.check_required(o::NetworkInterfaceListResult) true end +function OpenAPI.validate_properties(o::NetworkInterfaceListResult) + OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("value"), o.value) + OpenAPI.validate_property(NetworkInterfaceListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceListResult }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl index 682fe31..233b2d2 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfacePropertiesFormat.jl @@ -14,11 +14,21 @@ NetworkInterface properties. dnsSettings=nothing, macAddress=nothing, primary=nothing, + vnetEncryptionSupported=nothing, + defaultOutboundConnectivityEnabled=nothing, enableAcceleratedNetworking=nothing, + disableTcpStateTracking=nothing, enableIPForwarding=nothing, hostedWorkloads=nothing, + dscpConfiguration=nothing, resourceGuid=nothing, provisioningState=nothing, + workloadType=nothing, + nicType=nothing, + privateLinkService=nothing, + migrationPhase=nothing, + auxiliaryMode=nothing, + auxiliarySku=nothing, ) - virtualMachine::SubResource @@ -29,11 +39,21 @@ NetworkInterface properties. - dnsSettings::NetworkInterfaceDnsSettings - macAddress::String : The MAC address of the network interface. - primary::Bool : Whether this is a primary network interface on a virtual machine. - - enableAcceleratedNetworking::Bool : If the network interface is accelerated networking enabled. + - vnetEncryptionSupported::Bool : Whether the virtual machine this nic is attached to supports encryption. + - defaultOutboundConnectivityEnabled::Bool : Whether default outbound connectivity for nic was configured or not. + - enableAcceleratedNetworking::Bool : If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking. + - disableTcpStateTracking::Bool : Indicates whether to disable tcp state tracking. - enableIPForwarding::Bool : Indicates whether IP forwarding is enabled on this network interface. - hostedWorkloads::Vector{String} : A list of references to linked BareMetal resources. + - dscpConfiguration::SubResource - resourceGuid::String : The resource GUID property of the network interface resource. - provisioningState::ProvisioningState + - workloadType::String : WorkloadType of the NetworkInterface for BareMetal resources + - nicType::String : Type of Network Interface resource. + - privateLinkService::PrivateLinkService + - migrationPhase::String : Migration phase of Network Interface resource. + - auxiliaryMode::String : Auxiliary mode of Network Interface resource. + - auxiliarySku::String : Auxiliary sku of Network Interface resource. """ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel virtualMachine = nothing # spec type: Union{ Nothing, SubResource } @@ -44,36 +64,100 @@ Base.@kwdef mutable struct NetworkInterfacePropertiesFormat <: OpenAPI.APIModel dnsSettings = nothing # spec type: Union{ Nothing, NetworkInterfaceDnsSettings } macAddress::Union{Nothing, String} = nothing primary::Union{Nothing, Bool} = nothing + vnetEncryptionSupported::Union{Nothing, Bool} = nothing + defaultOutboundConnectivityEnabled::Union{Nothing, Bool} = nothing enableAcceleratedNetworking::Union{Nothing, Bool} = nothing + disableTcpStateTracking::Union{Nothing, Bool} = nothing enableIPForwarding::Union{Nothing, Bool} = nothing hostedWorkloads::Union{Nothing, Vector{String}} = nothing + dscpConfiguration = nothing # spec type: Union{ Nothing, SubResource } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + workloadType::Union{Nothing, String} = nothing + nicType::Union{Nothing, String} = nothing + privateLinkService = nothing # spec type: Union{ Nothing, PrivateLinkService } + migrationPhase::Union{Nothing, String} = nothing + auxiliaryMode::Union{Nothing, String} = nothing + auxiliarySku::Union{Nothing, String} = nothing - function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), virtualMachine) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), tapConfigurations) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), macAddress) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), primary) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), enableAcceleratedNetworking) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), enableIPForwarding) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), hostedWorkloads) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, enableAcceleratedNetworking, enableIPForwarding, hostedWorkloads, resourceGuid, provisioningState, ) + function NetworkInterfacePropertiesFormat(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + o = new(virtualMachine, networkSecurityGroup, privateEndpoint, ipConfigurations, tapConfigurations, dnsSettings, macAddress, primary, vnetEncryptionSupported, defaultOutboundConnectivityEnabled, enableAcceleratedNetworking, disableTcpStateTracking, enableIPForwarding, hostedWorkloads, dscpConfiguration, resourceGuid, provisioningState, workloadType, nicType, privateLinkService, migrationPhase, auxiliaryMode, auxiliarySku, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfacePropertiesFormat -const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkInterfacePropertiesFormat = Dict{Symbol,String}(Symbol("virtualMachine")=>"SubResource", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("ipConfigurations")=>"Vector{NetworkInterfaceIPConfiguration}", Symbol("tapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("dnsSettings")=>"NetworkInterfaceDnsSettings", Symbol("macAddress")=>"String", Symbol("primary")=>"Bool", Symbol("vnetEncryptionSupported")=>"Bool", Symbol("defaultOutboundConnectivityEnabled")=>"Bool", Symbol("enableAcceleratedNetworking")=>"Bool", Symbol("disableTcpStateTracking")=>"Bool", Symbol("enableIPForwarding")=>"Bool", Symbol("hostedWorkloads")=>"Vector{String}", Symbol("dscpConfiguration")=>"SubResource", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("workloadType")=>"String", Symbol("nicType")=>"String", Symbol("privateLinkService")=>"PrivateLinkService", Symbol("migrationPhase")=>"String", Symbol("auxiliaryMode")=>"String", Symbol("auxiliarySku")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfacePropertiesFormat[name]))} -function check_required(o::NetworkInterfacePropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfacePropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfacePropertiesFormat) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("virtualMachine"), o.virtualMachine) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("tapConfigurations"), o.tapConfigurations) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("macAddress"), o.macAddress) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("primary"), o.primary) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("vnetEncryptionSupported"), o.vnetEncryptionSupported) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("defaultOutboundConnectivityEnabled"), o.defaultOutboundConnectivityEnabled) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableAcceleratedNetworking"), o.enableAcceleratedNetworking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("disableTcpStateTracking"), o.disableTcpStateTracking) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("enableIPForwarding"), o.enableIPForwarding) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("hostedWorkloads"), o.hostedWorkloads) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("dscpConfiguration"), o.dscpConfiguration) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("workloadType"), o.workloadType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("nicType"), o.nicType) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("privateLinkService"), o.privateLinkService) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliaryMode"), o.auxiliaryMode) + OpenAPI.validate_property(NetworkInterfacePropertiesFormat, Symbol("auxiliarySku"), o.auxiliarySku) +end + function OpenAPI.validate_property(::Type{ NetworkInterfacePropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + + + if name === Symbol("nicType") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["Standard", "Elastic"]) + end + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + if name === Symbol("auxiliaryMode") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "MaxConnections", "Floating", "AcceleratedConnections"]) + end + + + if name === Symbol("auxiliarySku") + OpenAPI.validate_param(name, "NetworkInterfacePropertiesFormat", :enum, val, ["None", "A1", "A2", "A4", "A8"]) + end + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl index 3dbd344..3075317 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfiguration.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfiguration <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function NetworkInterfaceTapConfiguration(properties, name, etag, type, id, ) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), name) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), type) - OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfiguration const _property_types_NetworkInterfaceTapConfiguration = Dict{Symbol,String}(Symbol("properties")=>"NetworkInterfaceTapConfigurationPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfiguration[name]))} -function check_required(o::NetworkInterfaceTapConfiguration) +function OpenAPI.check_required(o::NetworkInterfaceTapConfiguration) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfiguration) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkInterfaceTapConfiguration, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfiguration }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl index 0fd2c29..361b37b 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkInterfaceTapConfigurationPropertiesFormat.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct NetworkInterfaceTapConfigurationPropertiesFormat <: O provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function NetworkInterfaceTapConfigurationPropertiesFormat(virtualNetworkTap, provisioningState, ) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), virtualNetworkTap) - OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(virtualNetworkTap, provisioningState, ) + o = new(virtualNetworkTap, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkInterfaceTapConfigurationPropertiesFormat const _property_types_NetworkInterfaceTapConfigurationPropertiesFormat = Dict{Symbol,String}(Symbol("virtualNetworkTap")=>"VirtualNetworkTap", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkInterfaceTapConfigurationPropertiesFormat[name]))} -function check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) +function OpenAPI.check_required(o::NetworkInterfaceTapConfigurationPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkInterfaceTapConfigurationPropertiesFormat) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("virtualNetworkTap"), o.virtualNetworkTap) + OpenAPI.validate_property(NetworkInterfaceTapConfigurationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkInterfaceTapConfigurationPropertiesFormat }, name::Symbol, val) + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl index 5358775..0a6b03e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroup.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct NetworkSecurityGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function NetworkSecurityGroup(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), properties) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), etag) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), id) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), name) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), type) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), location) - OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroup const _property_types_NetworkSecurityGroup = Dict{Symbol,String}(Symbol("properties")=>"NetworkSecurityGroupPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ NetworkSecurityGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroup[name]))} -function check_required(o::NetworkSecurityGroup) +function OpenAPI.check_required(o::NetworkSecurityGroup) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroup) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("etag"), o.etag) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("id"), o.id) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("name"), o.name) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("type"), o.type) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("location"), o.location) + OpenAPI.validate_property(NetworkSecurityGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl index 0ba83a0..b38ec23 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_NetworkSecurityGroupPropertiesFormat.jl @@ -6,6 +6,7 @@ Network Security Group resource. NetworkSecurityGroupPropertiesFormat(; + flushConnection=nothing, securityRules=nothing, defaultSecurityRules=nothing, networkInterfaces=nothing, @@ -15,6 +16,7 @@ Network Security Group resource. provisioningState=nothing, ) + - flushConnection::Bool : When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation. - securityRules::Vector{SecurityRule} : A collection of security rules of the network security group. - defaultSecurityRules::Vector{SecurityRule} : The default security rules of network security group. - networkInterfaces::Vector{NetworkInterface} : A collection of references to network interfaces. @@ -24,6 +26,7 @@ Network Security Group resource. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIModel + flushConnection::Union{Nothing, Bool} = nothing securityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } defaultSecurityRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SecurityRule} } networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } @@ -32,24 +35,38 @@ Base.@kwdef mutable struct NetworkSecurityGroupPropertiesFormat <: OpenAPI.APIMo resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function NetworkSecurityGroupPropertiesFormat(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), securityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), defaultSecurityRules) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), flowLogs) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + function NetworkSecurityGroupPropertiesFormat(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + o = new(flushConnection, securityRules, defaultSecurityRules, networkInterfaces, subnets, flowLogs, resourceGuid, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkSecurityGroupPropertiesFormat -const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_NetworkSecurityGroupPropertiesFormat = Dict{Symbol,String}(Symbol("flushConnection")=>"Bool", Symbol("securityRules")=>"Vector{SecurityRule}", Symbol("defaultSecurityRules")=>"Vector{SecurityRule}", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("subnets")=>"Vector{Subnet}", Symbol("flowLogs")=>"Vector{FlowLog}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkSecurityGroupPropertiesFormat[name]))} -function check_required(o::NetworkSecurityGroupPropertiesFormat) +function OpenAPI.check_required(o::NetworkSecurityGroupPropertiesFormat) true end +function OpenAPI.validate_properties(o::NetworkSecurityGroupPropertiesFormat) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flushConnection"), o.flushConnection) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("securityRules"), o.securityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("defaultSecurityRules"), o.defaultSecurityRules) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("flowLogs"), o.flowLogs) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(NetworkSecurityGroupPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ NetworkSecurityGroupPropertiesFormat }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpoint.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpoint.jl index d635e33..35eaf31 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpoint.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpoint.jl @@ -6,6 +6,7 @@ Private endpoint resource. PrivateEndpoint(; + extendedLocation=nothing, properties=nothing, etag=nothing, id=nothing, @@ -15,6 +16,7 @@ Private endpoint resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - properties::PrivateEndpointProperties - etag::String : A unique read-only string that changes whenever the resource is updated. - id::String : Resource ID. @@ -24,6 +26,7 @@ Private endpoint resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } properties = nothing # spec type: Union{ Nothing, PrivateEndpointProperties } etag::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing @@ -32,24 +35,38 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PrivateEndpoint(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), type) - OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), location) - OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function PrivateEndpoint(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint -const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateEndpointProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateEndpoint, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpoint, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpoint, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpoint, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpoint, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateEndpoint, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointConnection.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointConnection.jl new file mode 100644 index 0000000..ae5e4e0 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointConnection.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnection +PrivateEndpointConnection resource. + + PrivateEndpointConnection(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + id=nothing, + ) + + - properties::PrivateEndpointConnectionProperties + - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateEndpointConnection(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnection + +const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnection) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointConnectionProperties.jl new file mode 100644 index 0000000..94bd108 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointConnectionProperties +Properties of the PrivateEndpointConnectProperties. + + PrivateEndpointConnectionProperties(; + privateEndpoint=nothing, + privateLinkServiceConnectionState=nothing, + provisioningState=nothing, + linkIdentifier=nothing, + privateEndpointLocation=nothing, + ) + + - privateEndpoint::PrivateEndpoint + - privateLinkServiceConnectionState::PrivateLinkServiceConnectionState + - provisioningState::ProvisioningState + - linkIdentifier::String : The consumer link id. + - privateEndpointLocation::String : The location of the private endpoint. +""" +Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIModel + privateEndpoint = nothing # spec type: Union{ Nothing, PrivateEndpoint } + privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + linkIdentifier::Union{Nothing, String} = nothing + privateEndpointLocation::Union{Nothing, String} = nothing + + function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, linkIdentifier, privateEndpointLocation, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointConnectionProperties + +const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"ProvisioningState", Symbol("linkIdentifier")=>"String", Symbol("privateEndpointLocation")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("linkIdentifier"), o.linkIdentifier) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpointLocation"), o.privateEndpointLocation) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointIPConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointIPConfiguration.jl new file mode 100644 index 0000000..89c78c4 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointIPConfiguration.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfiguration +An IP Configuration of the private endpoint. + + PrivateEndpointIPConfiguration(; + properties=nothing, + name=nothing, + type=nothing, + etag=nothing, + ) + + - properties::PrivateEndpointIPConfigurationProperties + - name::String : The name of the resource that is unique within a resource group. + - type::String : The resource type. + - etag::String : A unique read-only string that changes whenever the resource is updated. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateEndpointIPConfigurationProperties } + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfiguration(properties, name, type, etag, ) + o = new(properties, name, type, etag, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfiguration + +const _property_types_PrivateEndpointIPConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointIPConfigurationProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfiguration) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateEndpointIPConfiguration, Symbol("etag"), o.etag) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfiguration }, name::Symbol, val) + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl new file mode 100644 index 0000000..f63cabd --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointIPConfigurationProperties.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateEndpointIPConfigurationProperties +Properties of an IP Configuration of the private endpoint. + + PrivateEndpointIPConfigurationProperties(; + groupId=nothing, + memberName=nothing, + privateIPAddress=nothing, + ) + + - groupId::String : The ID of a group obtained from the remote resource that this private endpoint should connect to. + - memberName::String : The member name of a group obtained from the remote resource that this private endpoint should connect to. + - privateIPAddress::String : A private ip address obtained from the private endpoint's subnet. +""" +Base.@kwdef mutable struct PrivateEndpointIPConfigurationProperties <: OpenAPI.APIModel + groupId::Union{Nothing, String} = nothing + memberName::Union{Nothing, String} = nothing + privateIPAddress::Union{Nothing, String} = nothing + + function PrivateEndpointIPConfigurationProperties(groupId, memberName, privateIPAddress, ) + o = new(groupId, memberName, privateIPAddress, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateEndpointIPConfigurationProperties + +const _property_types_PrivateEndpointIPConfigurationProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("memberName")=>"String", Symbol("privateIPAddress")=>"String", ) +OpenAPI.property_type(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointIPConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateEndpointIPConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateEndpointIPConfigurationProperties) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("memberName"), o.memberName) + OpenAPI.validate_property(PrivateEndpointIPConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) +end + +function OpenAPI.validate_property(::Type{ PrivateEndpointIPConfigurationProperties }, name::Symbol, val) + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl index c7b43bc..627df0e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateEndpointProperties.jl @@ -12,6 +12,9 @@ Properties of the private endpoint. privateLinkServiceConnections=nothing, manualPrivateLinkServiceConnections=nothing, customDnsConfigs=nothing, + applicationSecurityGroups=nothing, + ipConfigurations=nothing, + customNetworkInterfaceName=nothing, ) - subnet::Subnet @@ -20,6 +23,9 @@ Properties of the private endpoint. - privateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. - manualPrivateLinkServiceConnections::Vector{PrivateLinkServiceConnection} : A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource. - customDnsConfigs::Vector{CustomDnsConfigPropertiesFormat} : An array of custom dns configurations. + - applicationSecurityGroups::Vector{ApplicationSecurityGroup} : Application security groups in which the private endpoint IP configuration is included. + - ipConfigurations::Vector{PrivateEndpointIPConfiguration} : A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints. + - customNetworkInterfaceName::String : The custom name of the network interface attached to the private endpoint. """ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel subnet = nothing # spec type: Union{ Nothing, Subnet } @@ -28,24 +34,44 @@ Base.@kwdef mutable struct PrivateEndpointProperties <: OpenAPI.APIModel privateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } manualPrivateLinkServiceConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceConnection} } customDnsConfigs::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CustomDnsConfigPropertiesFormat} } + applicationSecurityGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationSecurityGroup} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointIPConfiguration} } + customNetworkInterfaceName::Union{Nothing, String} = nothing - function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), subnet) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), networkInterfaces) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), privateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), manualPrivateLinkServiceConnections) - OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), customDnsConfigs) - return new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, ) + function PrivateEndpointProperties(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + o = new(subnet, networkInterfaces, provisioningState, privateLinkServiceConnections, manualPrivateLinkServiceConnections, customDnsConfigs, applicationSecurityGroups, ipConfigurations, customNetworkInterfaceName, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointProperties -const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", ) +const _property_types_PrivateEndpointProperties = Dict{Symbol,String}(Symbol("subnet")=>"Subnet", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("manualPrivateLinkServiceConnections")=>"Vector{PrivateLinkServiceConnection}", Symbol("customDnsConfigs")=>"Vector{CustomDnsConfigPropertiesFormat}", Symbol("applicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("ipConfigurations")=>"Vector{PrivateEndpointIPConfiguration}", Symbol("customNetworkInterfaceName")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointProperties[name]))} -function check_required(o::PrivateEndpointProperties) +function OpenAPI.check_required(o::PrivateEndpointProperties) true end +function OpenAPI.validate_properties(o::PrivateEndpointProperties) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("privateLinkServiceConnections"), o.privateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("manualPrivateLinkServiceConnections"), o.manualPrivateLinkServiceConnections) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customDnsConfigs"), o.customDnsConfigs) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("applicationSecurityGroups"), o.applicationSecurityGroups) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateEndpointProperties, Symbol("customNetworkInterfaceName"), o.customNetworkInterfaceName) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointProperties }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkService.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkService.jl new file mode 100644 index 0000000..a86a3c6 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkService.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkService +Private link service resource. + + PrivateLinkService(; + extendedLocation=nothing, + properties=nothing, + etag=nothing, + id=nothing, + name=nothing, + type=nothing, + location=nothing, + tags=nothing, + ) + + - extendedLocation::ExtendedLocation + - properties::PrivateLinkServiceProperties + - etag::String : A unique read-only string that changes whenever the resource is updated. + - id::String : Resource ID. + - name::String : Resource name. + - type::String : Resource type. + - location::String : Resource location. + - tags::Dict{String, String} : Resource tags. +""" +Base.@kwdef mutable struct PrivateLinkService <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceProperties } + etag::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + tags::Union{Nothing, Dict{String, String}} = nothing + + function PrivateLinkService(extendedLocation, properties, etag, id, name, type, location, tags, ) + o = new(extendedLocation, properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkService + +const _property_types_PrivateLinkService = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("properties")=>"PrivateLinkServiceProperties", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +OpenAPI.property_type(::Type{ PrivateLinkService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkService[name]))} + +function OpenAPI.check_required(o::PrivateLinkService) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkService) + OpenAPI.validate_property(PrivateLinkService, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PrivateLinkService, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkService, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkService, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkService, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkService, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkService, Symbol("location"), o.location) + OpenAPI.validate_property(PrivateLinkService, Symbol("tags"), o.tags) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkService }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl index ce462e0..ec0e180 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnection.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnection <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateLinkServiceConnection(properties, name, type, etag, id, ) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), type) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), etag) - OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), id) - return new(properties, name, type, etag, id, ) + o = new(properties, name, type, etag, id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnection const _property_types_PrivateLinkServiceConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceConnectionProperties", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnection[name]))} -function check_required(o::PrivateLinkServiceConnection) +function OpenAPI.check_required(o::PrivateLinkServiceConnection) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnection) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceConnection, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnection }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl index d11f531..64edb71 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionProperties <: OpenAPI.API privateLinkServiceConnectionState = nothing # spec type: Union{ Nothing, PrivateLinkServiceConnectionState } function PrivateLinkServiceConnectionProperties(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), privateLinkServiceId) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), groupIds) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), requestMessage) - OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - return new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + o = new(provisioningState, privateLinkServiceId, groupIds, requestMessage, privateLinkServiceConnectionState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionProperties const _property_types_PrivateLinkServiceConnectionProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"ProvisioningState", Symbol("privateLinkServiceId")=>"String", Symbol("groupIds")=>"Vector{String}", Symbol("requestMessage")=>"String", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionProperties[name]))} -function check_required(o::PrivateLinkServiceConnectionProperties) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionProperties) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceId"), o.privateLinkServiceId) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("groupIds"), o.groupIds) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("requestMessage"), o.requestMessage) + OpenAPI.validate_property(PrivateLinkServiceConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionProperties }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl index b19230a..af9c320 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionsRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionsRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), actionsRequired) - return new(status, description, actionsRequired, ) + o = new(status, description, actionsRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("description")=>"String", Symbol("actionsRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionsRequired"), o.actionsRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfiguration.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfiguration.jl new file mode 100644 index 0000000..b117d3d --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfiguration.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfiguration +The private link service ip configuration. + + PrivateLinkServiceIpConfiguration(; + properties=nothing, + name=nothing, + etag=nothing, + type=nothing, + id=nothing, + ) + + - properties::PrivateLinkServiceIpConfigurationProperties + - name::String : The name of private link service ip configuration. + - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The resource type. + - id::String : Resource ID. +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfiguration <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PrivateLinkServiceIpConfigurationProperties } + name::Union{Nothing, String} = nothing + etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + id::Union{Nothing, String} = nothing + + function PrivateLinkServiceIpConfiguration(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfiguration + +const _property_types_PrivateLinkServiceIpConfiguration = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkServiceIpConfigurationProperties", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfiguration[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfiguration) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfiguration) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("etag"), o.etag) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("type"), o.type) + OpenAPI.validate_property(PrivateLinkServiceIpConfiguration, Symbol("id"), o.id) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfiguration }, name::Symbol, val) + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl new file mode 100644 index 0000000..b94703b --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceIpConfigurationProperties.jl @@ -0,0 +1,62 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceIpConfigurationProperties +Properties of private link service IP configuration. + + PrivateLinkServiceIpConfigurationProperties(; + privateIPAddress=nothing, + privateIPAllocationMethod=nothing, + subnet=nothing, + primary=nothing, + provisioningState=nothing, + privateIPAddressVersion=nothing, + ) + + - privateIPAddress::String : The private IP address of the IP configuration. + - privateIPAllocationMethod::IPAllocationMethod + - subnet::Subnet + - primary::Bool : Whether the ip configuration is primary or not. + - provisioningState::ProvisioningState + - privateIPAddressVersion::IPVersion +""" +Base.@kwdef mutable struct PrivateLinkServiceIpConfigurationProperties <: OpenAPI.APIModel + privateIPAddress::Union{Nothing, String} = nothing + privateIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } + subnet = nothing # spec type: Union{ Nothing, Subnet } + primary::Union{Nothing, Bool} = nothing + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateIPAddressVersion = nothing # spec type: Union{ Nothing, IPVersion } + + function PrivateLinkServiceIpConfigurationProperties(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + o = new(privateIPAddress, privateIPAllocationMethod, subnet, primary, provisioningState, privateIPAddressVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceIpConfigurationProperties + +const _property_types_PrivateLinkServiceIpConfigurationProperties = Dict{Symbol,String}(Symbol("privateIPAddress")=>"String", Symbol("privateIPAllocationMethod")=>"IPAllocationMethod", Symbol("subnet")=>"Subnet", Symbol("primary")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateIPAddressVersion")=>"IPVersion", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceIpConfigurationProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceIpConfigurationProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceIpConfigurationProperties) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddress"), o.privateIPAddress) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAllocationMethod"), o.privateIPAllocationMethod) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("subnet"), o.subnet) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("primary"), o.primary) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceIpConfigurationProperties, Symbol("privateIPAddressVersion"), o.privateIPAddressVersion) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceIpConfigurationProperties }, name::Symbol, val) + + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceProperties.jl new file mode 100644 index 0000000..f0c3f6f --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PrivateLinkServiceProperties.jl @@ -0,0 +1,87 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PrivateLinkServiceProperties +Properties of the private link service. + + PrivateLinkServiceProperties(; + loadBalancerFrontendIpConfigurations=nothing, + ipConfigurations=nothing, + destinationIPAddress=nothing, + networkInterfaces=nothing, + provisioningState=nothing, + privateEndpointConnections=nothing, + visibility=nothing, + autoApproval=nothing, + fqdns=nothing, + alias=nothing, + enableProxyProtocol=nothing, + ) + + - loadBalancerFrontendIpConfigurations::Vector{FrontendIPConfiguration} : An array of references to the load balancer IP configurations. + - ipConfigurations::Vector{PrivateLinkServiceIpConfiguration} : An array of private link service IP configurations. + - destinationIPAddress::String : The destination IP address of the private link service. + - networkInterfaces::Vector{NetworkInterface} : An array of references to the network interfaces created for this private link service. + - provisioningState::ProvisioningState + - privateEndpointConnections::Vector{PrivateEndpointConnection} : An array of list about connections to the private endpoint. + - visibility::ResourceSet : The visibility list of the private link service. + - autoApproval::ResourceSet : The auto-approval list of the private link service. + - fqdns::Vector{String} : The list of Fqdn. + - alias::String : The alias of the private link service. + - enableProxyProtocol::Bool : Whether the private link service is enabled for proxy protocol or not. +""" +Base.@kwdef mutable struct PrivateLinkServiceProperties <: OpenAPI.APIModel + loadBalancerFrontendIpConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{FrontendIPConfiguration} } + ipConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkServiceIpConfiguration} } + destinationIPAddress::Union{Nothing, String} = nothing + networkInterfaces::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NetworkInterface} } + provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } + visibility = nothing # spec type: Union{ Nothing, ResourceSet } + autoApproval = nothing # spec type: Union{ Nothing, ResourceSet } + fqdns::Union{Nothing, Vector{String}} = nothing + alias::Union{Nothing, String} = nothing + enableProxyProtocol::Union{Nothing, Bool} = nothing + + function PrivateLinkServiceProperties(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + o = new(loadBalancerFrontendIpConfigurations, ipConfigurations, destinationIPAddress, networkInterfaces, provisioningState, privateEndpointConnections, visibility, autoApproval, fqdns, alias, enableProxyProtocol, ) + OpenAPI.validate_properties(o) + return o + end +end # type PrivateLinkServiceProperties + +const _property_types_PrivateLinkServiceProperties = Dict{Symbol,String}(Symbol("loadBalancerFrontendIpConfigurations")=>"Vector{FrontendIPConfiguration}", Symbol("ipConfigurations")=>"Vector{PrivateLinkServiceIpConfiguration}", Symbol("destinationIPAddress")=>"String", Symbol("networkInterfaces")=>"Vector{NetworkInterface}", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("visibility")=>"ResourceSet", Symbol("autoApproval")=>"ResourceSet", Symbol("fqdns")=>"Vector{String}", Symbol("alias")=>"String", Symbol("enableProxyProtocol")=>"Bool", ) +OpenAPI.property_type(::Type{ PrivateLinkServiceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceProperties[name]))} + +function OpenAPI.check_required(o::PrivateLinkServiceProperties) + true +end + +function OpenAPI.validate_properties(o::PrivateLinkServiceProperties) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("loadBalancerFrontendIpConfigurations"), o.loadBalancerFrontendIpConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("destinationIPAddress"), o.destinationIPAddress) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("networkInterfaces"), o.networkInterfaces) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("visibility"), o.visibility) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("autoApproval"), o.autoApproval) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("fqdns"), o.fqdns) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("alias"), o.alias) + OpenAPI.validate_property(PrivateLinkServiceProperties, Symbol("enableProxyProtocol"), o.enableProxyProtocol) +end + +function OpenAPI.validate_property(::Type{ PrivateLinkServiceProperties }, name::Symbol, val) + + + + + + + + + + + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddress.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddress.jl index 04810c0..f0faedf 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddress.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddress.jl @@ -6,6 +6,7 @@ Public IP address resource. PublicIPAddress(; + extendedLocation=nothing, sku=nothing, properties=nothing, etag=nothing, @@ -17,6 +18,7 @@ Public IP address resource. tags=nothing, ) + - extendedLocation::ExtendedLocation - sku::PublicIPAddressSku - properties::PublicIPAddressPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. @@ -28,6 +30,7 @@ Public IP address resource. - tags::Dict{String, String} : Resource tags. """ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } sku = nothing # spec type: Union{ Nothing, PublicIPAddressSku } properties = nothing # spec type: Union{ Nothing, PublicIPAddressPropertiesFormat } etag::Union{Nothing, String} = nothing @@ -38,26 +41,42 @@ Base.@kwdef mutable struct PublicIPAddress <: OpenAPI.APIModel location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function PublicIPAddress(sku, properties, etag, zones, id, name, type, location, tags, ) - OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), sku) - OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), properties) - OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), etag) - OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), zones) - OpenAPI.validate_property(PublicIPAddress, Symbol("id"), id) - OpenAPI.validate_property(PublicIPAddress, Symbol("name"), name) - OpenAPI.validate_property(PublicIPAddress, Symbol("type"), type) - OpenAPI.validate_property(PublicIPAddress, Symbol("location"), location) - OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), tags) - return new(sku, properties, etag, zones, id, name, type, location, tags, ) + function PublicIPAddress(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + o = new(extendedLocation, sku, properties, etag, zones, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddress -const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_PublicIPAddress = Dict{Symbol,String}(Symbol("extendedLocation")=>"ExtendedLocation", Symbol("sku")=>"PublicIPAddressSku", Symbol("properties")=>"PublicIPAddressPropertiesFormat", Symbol("etag")=>"String", Symbol("zones")=>"Vector{String}", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ PublicIPAddress }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddress[name]))} -function check_required(o::PublicIPAddress) +function OpenAPI.check_required(o::PublicIPAddress) true end +function OpenAPI.validate_properties(o::PublicIPAddress) + OpenAPI.validate_property(PublicIPAddress, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(PublicIPAddress, Symbol("sku"), o.sku) + OpenAPI.validate_property(PublicIPAddress, Symbol("properties"), o.properties) + OpenAPI.validate_property(PublicIPAddress, Symbol("etag"), o.etag) + OpenAPI.validate_property(PublicIPAddress, Symbol("zones"), o.zones) + OpenAPI.validate_property(PublicIPAddress, Symbol("id"), o.id) + OpenAPI.validate_property(PublicIPAddress, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddress, Symbol("type"), o.type) + OpenAPI.validate_property(PublicIPAddress, Symbol("location"), o.location) + OpenAPI.validate_property(PublicIPAddress, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ PublicIPAddress }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl index 22ff211..0bf4653 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressDnsSettings.jl @@ -7,33 +7,50 @@ Contains FQDN of the DNS record associated with the public IP address. PublicIPAddressDnsSettings(; domainNameLabel=nothing, + domainNameLabelScope=nothing, fqdn=nothing, reverseFqdn=nothing, ) - domainNameLabel::String : The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system. + - domainNameLabelScope::String : The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN. - fqdn::String : The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone. - reverseFqdn::String : The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN. """ Base.@kwdef mutable struct PublicIPAddressDnsSettings <: OpenAPI.APIModel domainNameLabel::Union{Nothing, String} = nothing + domainNameLabelScope::Union{Nothing, String} = nothing fqdn::Union{Nothing, String} = nothing reverseFqdn::Union{Nothing, String} = nothing - function PublicIPAddressDnsSettings(domainNameLabel, fqdn, reverseFqdn, ) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), domainNameLabel) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), fqdn) - OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), reverseFqdn) - return new(domainNameLabel, fqdn, reverseFqdn, ) + function PublicIPAddressDnsSettings(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + o = new(domainNameLabel, domainNameLabelScope, fqdn, reverseFqdn, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressDnsSettings -const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) +const _property_types_PublicIPAddressDnsSettings = Dict{Symbol,String}(Symbol("domainNameLabel")=>"String", Symbol("domainNameLabelScope")=>"String", Symbol("fqdn")=>"String", Symbol("reverseFqdn")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressDnsSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressDnsSettings[name]))} -function check_required(o::PublicIPAddressDnsSettings) +function OpenAPI.check_required(o::PublicIPAddressDnsSettings) true end +function OpenAPI.validate_properties(o::PublicIPAddressDnsSettings) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabel"), o.domainNameLabel) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("domainNameLabelScope"), o.domainNameLabelScope) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("fqdn"), o.fqdn) + OpenAPI.validate_property(PublicIPAddressDnsSettings, Symbol("reverseFqdn"), o.reverseFqdn) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressDnsSettings }, name::Symbol, val) + + + if name === Symbol("domainNameLabelScope") + OpenAPI.validate_param(name, "PublicIPAddressDnsSettings", :enum, val, ["TenantReuse", "SubscriptionReuse", "ResourceGroupReuse", "NoReuse"]) + end + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl index 97b81c2..e338d73 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressPropertiesFormat.jl @@ -17,6 +17,11 @@ Public IP address properties. idleTimeoutInMinutes=nothing, resourceGuid=nothing, provisioningState=nothing, + servicePublicIPAddress=nothing, + natGateway=nothing, + migrationPhase=nothing, + linkedPublicIPAddress=nothing, + deleteOption=nothing, ) - publicIPAllocationMethod::IPAllocationMethod @@ -30,6 +35,11 @@ Public IP address properties. - idleTimeoutInMinutes::Int64 : The idle timeout of the public IP address. - resourceGuid::String : The resource GUID property of the public IP address resource. - provisioningState::ProvisioningState + - servicePublicIPAddress::PublicIPAddress + - natGateway::NatGateway + - migrationPhase::String : Migration phase of Public IP Address. + - linkedPublicIPAddress::PublicIPAddress + - deleteOption::String : Specify what happens to the public IP address when the VM using it is deleted """ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel publicIPAllocationMethod = nothing # spec type: Union{ Nothing, IPAllocationMethod } @@ -43,32 +53,71 @@ Base.@kwdef mutable struct PublicIPAddressPropertiesFormat <: OpenAPI.APIModel idleTimeoutInMinutes::Union{Nothing, Int64} = nothing resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + servicePublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + natGateway = nothing # spec type: Union{ Nothing, NatGateway } + migrationPhase::Union{Nothing, String} = nothing + linkedPublicIPAddress = nothing # spec type: Union{ Nothing, PublicIPAddress } + deleteOption::Union{Nothing, String} = nothing - function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), publicIPAllocationMethod) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), publicIPAddressVersion) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), ipConfiguration) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), dnsSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), ddosSettings) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), ipTags) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), ipAddress) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), publicIPPrefix) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), idleTimeoutInMinutes) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, ) + function PublicIPAddressPropertiesFormat(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + o = new(publicIPAllocationMethod, publicIPAddressVersion, ipConfiguration, dnsSettings, ddosSettings, ipTags, ipAddress, publicIPPrefix, idleTimeoutInMinutes, resourceGuid, provisioningState, servicePublicIPAddress, natGateway, migrationPhase, linkedPublicIPAddress, deleteOption, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressPropertiesFormat -const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_PublicIPAddressPropertiesFormat = Dict{Symbol,String}(Symbol("publicIPAllocationMethod")=>"IPAllocationMethod", Symbol("publicIPAddressVersion")=>"IPVersion", Symbol("ipConfiguration")=>"IPConfiguration", Symbol("dnsSettings")=>"PublicIPAddressDnsSettings", Symbol("ddosSettings")=>"DdosSettings", Symbol("ipTags")=>"Vector{IpTag}", Symbol("ipAddress")=>"String", Symbol("publicIPPrefix")=>"SubResource", Symbol("idleTimeoutInMinutes")=>"Int64", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("servicePublicIPAddress")=>"PublicIPAddress", Symbol("natGateway")=>"NatGateway", Symbol("migrationPhase")=>"String", Symbol("linkedPublicIPAddress")=>"PublicIPAddress", Symbol("deleteOption")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressPropertiesFormat[name]))} -function check_required(o::PublicIPAddressPropertiesFormat) +function OpenAPI.check_required(o::PublicIPAddressPropertiesFormat) true end +function OpenAPI.validate_properties(o::PublicIPAddressPropertiesFormat) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAllocationMethod"), o.publicIPAllocationMethod) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPAddressVersion"), o.publicIPAddressVersion) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipConfiguration"), o.ipConfiguration) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("dnsSettings"), o.dnsSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ddosSettings"), o.ddosSettings) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipTags"), o.ipTags) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("ipAddress"), o.ipAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("publicIPPrefix"), o.publicIPPrefix) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("idleTimeoutInMinutes"), o.idleTimeoutInMinutes) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("servicePublicIPAddress"), o.servicePublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("migrationPhase"), o.migrationPhase) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("linkedPublicIPAddress"), o.linkedPublicIPAddress) + OpenAPI.validate_property(PublicIPAddressPropertiesFormat, Symbol("deleteOption"), o.deleteOption) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressPropertiesFormat }, name::Symbol, val) + + + + + + + + + if name === Symbol("idleTimeoutInMinutes") OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :format, val, "int32") end + + + + + + if name === Symbol("migrationPhase") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["None", "Prepare", "Commit", "Abort", "Committed"]) + end + + + + if name === Symbol("deleteOption") + OpenAPI.validate_param(name, "PublicIPAddressPropertiesFormat", :enum, val, ["Delete", "Detach"]) + end + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl index aef95d3..37ef99e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_PublicIPAddressSku.jl @@ -7,28 +7,44 @@ SKU of a public IP address. PublicIPAddressSku(; name=nothing, + tier=nothing, ) - name::String : Name of a public IP address SKU. + - tier::String : Tier of a public IP address SKU. """ Base.@kwdef mutable struct PublicIPAddressSku <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + tier::Union{Nothing, String} = nothing - function PublicIPAddressSku(name, ) - OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), name) - return new(name, ) + function PublicIPAddressSku(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type PublicIPAddressSku -const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", ) +const _property_types_PublicIPAddressSku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) OpenAPI.property_type(::Type{ PublicIPAddressSku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PublicIPAddressSku[name]))} -function check_required(o::PublicIPAddressSku) +function OpenAPI.check_required(o::PublicIPAddressSku) true end +function OpenAPI.validate_properties(o::PublicIPAddressSku) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("name"), o.name) + OpenAPI.validate_property(PublicIPAddressSku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ PublicIPAddressSku }, name::Symbol, val) + if name === Symbol("name") - OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard"]) + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Basic", "Standard", "StandardV2"]) end + + + if name === Symbol("tier") + OpenAPI.validate_param(name, "PublicIPAddressSku", :enum, val, ["Regional", "Global"]) + end + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_Resource.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_Resource.jl index 3dfadb9..73fa6fb 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_Resource.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_Resource.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + o = new(id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl index 1a5edae..7c5a27e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceNavigationLink <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ResourceNavigationLink(properties, name, id, etag, type, ) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), name) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), id) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), type) - return new(properties, name, id, etag, type, ) + o = new(properties, name, id, etag, type, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLink const _property_types_ResourceNavigationLink = Dict{Symbol,String}(Symbol("properties")=>"ResourceNavigationLinkFormat", Symbol("name")=>"String", Symbol("id")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ResourceNavigationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLink[name]))} -function check_required(o::ResourceNavigationLink) +function OpenAPI.check_required(o::ResourceNavigationLink) true end +function OpenAPI.validate_properties(o::ResourceNavigationLink) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ResourceNavigationLink, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl index 68e70b3..ff11f93 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceNavigationLinkFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ResourceNavigationLinkFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ResourceNavigationLinkFormat(linkedResourceType, link, provisioningState, ) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), link) - OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), provisioningState) - return new(linkedResourceType, link, provisioningState, ) + o = new(linkedResourceType, link, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceNavigationLinkFormat const _property_types_ResourceNavigationLinkFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ResourceNavigationLinkFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceNavigationLinkFormat[name]))} -function check_required(o::ResourceNavigationLinkFormat) +function OpenAPI.check_required(o::ResourceNavigationLinkFormat) true end +function OpenAPI.validate_properties(o::ResourceNavigationLinkFormat) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ResourceNavigationLinkFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceNavigationLinkFormat }, name::Symbol, val) + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceSet.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceSet.jl new file mode 100644 index 0000000..1923281 --- /dev/null +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ResourceSet.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSet +The base resource set for visibility and auto-approval. + + ResourceSet(; + subscriptions=nothing, + ) + + - subscriptions::Vector{String} : The list of subscriptions. +""" +Base.@kwdef mutable struct ResourceSet <: OpenAPI.APIModel + subscriptions::Union{Nothing, Vector{String}} = nothing + + function ResourceSet(subscriptions, ) + o = new(subscriptions, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSet + +const _property_types_ResourceSet = Dict{Symbol,String}(Symbol("subscriptions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ResourceSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSet[name]))} + +function OpenAPI.check_required(o::ResourceSet) + true +end + +function OpenAPI.validate_properties(o::ResourceSet) + OpenAPI.validate_property(ResourceSet, Symbol("subscriptions"), o.subscriptions) +end + +function OpenAPI.validate_property(::Type{ ResourceSet }, name::Symbol, val) + +end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl index a9f7b0f..8d749cc 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_RetentionPolicyParameters.jl @@ -6,7 +6,7 @@ Parameters that define the retention policy for flow log. RetentionPolicyParameters(; - days=nothing, + days=0, enabled=false, ) @@ -14,22 +14,32 @@ Parameters that define the retention policy for flow log. - enabled::Bool : Flag to enable/disable retention. """ Base.@kwdef mutable struct RetentionPolicyParameters <: OpenAPI.APIModel - days::Union{Nothing, Int64} = nothing + days::Union{Nothing, Int64} = 0 enabled::Union{Nothing, Bool} = false function RetentionPolicyParameters(days, enabled, ) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), days) - OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), enabled) - return new(days, enabled, ) + o = new(days, enabled, ) + OpenAPI.validate_properties(o) + return o end end # type RetentionPolicyParameters const _property_types_RetentionPolicyParameters = Dict{Symbol,String}(Symbol("days")=>"Int64", Symbol("enabled")=>"Bool", ) OpenAPI.property_type(::Type{ RetentionPolicyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RetentionPolicyParameters[name]))} -function check_required(o::RetentionPolicyParameters) +function OpenAPI.check_required(o::RetentionPolicyParameters) true end +function OpenAPI.validate_properties(o::RetentionPolicyParameters) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("days"), o.days) + OpenAPI.validate_property(RetentionPolicyParameters, Symbol("enabled"), o.enabled) +end + function OpenAPI.validate_property(::Type{ RetentionPolicyParameters }, name::Symbol, val) + + if name === Symbol("days") + OpenAPI.validate_param(name, "RetentionPolicyParameters", :format, val, "int32") + end + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_Route.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_Route.jl index 93255f4..ce98a2c 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_Route.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_Route.jl @@ -9,35 +9,49 @@ Route resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::RoutePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct Route <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, RoutePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Route(properties, name, etag, id, ) - OpenAPI.validate_property(Route, Symbol("properties"), properties) - OpenAPI.validate_property(Route, Symbol("name"), name) - OpenAPI.validate_property(Route, Symbol("etag"), etag) - OpenAPI.validate_property(Route, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Route(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Route -const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Route = Dict{Symbol,String}(Symbol("properties")=>"RoutePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Route }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Route[name]))} -function check_required(o::Route) +function OpenAPI.check_required(o::Route) true end +function OpenAPI.validate_properties(o::Route) + OpenAPI.validate_property(Route, Symbol("properties"), o.properties) + OpenAPI.validate_property(Route, Symbol("name"), o.name) + OpenAPI.validate_property(Route, Symbol("etag"), o.etag) + OpenAPI.validate_property(Route, Symbol("type"), o.type) + OpenAPI.validate_property(Route, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Route }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl index e8ce074..d9fd4a0 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_RoutePropertiesFormat.jl @@ -10,35 +10,49 @@ Route resource. nextHopType=nothing, nextHopIpAddress=nothing, provisioningState=nothing, + hasBgpOverride=nothing, ) - addressPrefix::String : The destination CIDR to which the route applies. - nextHopType::RouteNextHopType - nextHopIpAddress::String : The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance. - provisioningState::ProvisioningState + - hasBgpOverride::Bool : A value indicating whether this route overrides overlapping BGP routes regardless of LPM. """ Base.@kwdef mutable struct RoutePropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing nextHopType = nothing # spec type: Union{ Nothing, RouteNextHopType } nextHopIpAddress::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + hasBgpOverride::Union{Nothing, Bool} = nothing - function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), nextHopType) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), nextHopIpAddress) - OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, ) + function RoutePropertiesFormat(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + o = new(addressPrefix, nextHopType, nextHopIpAddress, provisioningState, hasBgpOverride, ) + OpenAPI.validate_properties(o) + return o end end # type RoutePropertiesFormat -const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RoutePropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("nextHopType")=>"RouteNextHopType", Symbol("nextHopIpAddress")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("hasBgpOverride")=>"Bool", ) OpenAPI.property_type(::Type{ RoutePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutePropertiesFormat[name]))} -function check_required(o::RoutePropertiesFormat) +function OpenAPI.check_required(o::RoutePropertiesFormat) o.nextHopType === nothing && (return false) true end +function OpenAPI.validate_properties(o::RoutePropertiesFormat) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopType"), o.nextHopType) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("nextHopIpAddress"), o.nextHopIpAddress) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RoutePropertiesFormat, Symbol("hasBgpOverride"), o.hasBgpOverride) +end + function OpenAPI.validate_property(::Type{ RoutePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTable.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTable.jl index b471e3c..0d494d5 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTable.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTable.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct RouteTable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function RouteTable(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(RouteTable, Symbol("properties"), properties) - OpenAPI.validate_property(RouteTable, Symbol("etag"), etag) - OpenAPI.validate_property(RouteTable, Symbol("id"), id) - OpenAPI.validate_property(RouteTable, Symbol("name"), name) - OpenAPI.validate_property(RouteTable, Symbol("type"), type) - OpenAPI.validate_property(RouteTable, Symbol("location"), location) - OpenAPI.validate_property(RouteTable, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTable const _property_types_RouteTable = Dict{Symbol,String}(Symbol("properties")=>"RouteTablePropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ RouteTable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTable[name]))} -function check_required(o::RouteTable) +function OpenAPI.check_required(o::RouteTable) true end +function OpenAPI.validate_properties(o::RouteTable) + OpenAPI.validate_property(RouteTable, Symbol("properties"), o.properties) + OpenAPI.validate_property(RouteTable, Symbol("etag"), o.etag) + OpenAPI.validate_property(RouteTable, Symbol("id"), o.id) + OpenAPI.validate_property(RouteTable, Symbol("name"), o.name) + OpenAPI.validate_property(RouteTable, Symbol("type"), o.type) + OpenAPI.validate_property(RouteTable, Symbol("location"), o.location) + OpenAPI.validate_property(RouteTable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ RouteTable }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl index 6507fbd..7ee6cfc 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_RouteTablePropertiesFormat.jl @@ -10,34 +10,48 @@ Route Table resource. subnets=nothing, disableBgpRoutePropagation=nothing, provisioningState=nothing, + resourceGuid=nothing, ) - routes::Vector{Route} : Collection of routes contained within a route table. - subnets::Vector{Subnet} : A collection of references to subnets. - disableBgpRoutePropagation::Bool : Whether to disable the routes learned by BGP on that route table. True means disable. - provisioningState::ProvisioningState + - resourceGuid::String : The resource GUID property of the route table. """ Base.@kwdef mutable struct RouteTablePropertiesFormat <: OpenAPI.APIModel routes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Route} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } disableBgpRoutePropagation::Union{Nothing, Bool} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + resourceGuid::Union{Nothing, String} = nothing - function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, ) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), routes) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), disableBgpRoutePropagation) - OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(routes, subnets, disableBgpRoutePropagation, provisioningState, ) + function RouteTablePropertiesFormat(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + o = new(routes, subnets, disableBgpRoutePropagation, provisioningState, resourceGuid, ) + OpenAPI.validate_properties(o) + return o end end # type RouteTablePropertiesFormat -const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_RouteTablePropertiesFormat = Dict{Symbol,String}(Symbol("routes")=>"Vector{Route}", Symbol("subnets")=>"Vector{Subnet}", Symbol("disableBgpRoutePropagation")=>"Bool", Symbol("provisioningState")=>"ProvisioningState", Symbol("resourceGuid")=>"String", ) OpenAPI.property_type(::Type{ RouteTablePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RouteTablePropertiesFormat[name]))} -function check_required(o::RouteTablePropertiesFormat) +function OpenAPI.check_required(o::RouteTablePropertiesFormat) true end +function OpenAPI.validate_properties(o::RouteTablePropertiesFormat) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("routes"), o.routes) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("disableBgpRoutePropagation"), o.disableBgpRoutePropagation) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(RouteTablePropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) +end + function OpenAPI.validate_property(::Type{ RouteTablePropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRule.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRule.jl index 0d4ecb0..89c2259 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRule.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRule.jl @@ -9,35 +9,49 @@ Network security rule. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SecurityRulePropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct SecurityRule <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SecurityRulePropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function SecurityRule(properties, name, etag, id, ) - OpenAPI.validate_property(SecurityRule, Symbol("properties"), properties) - OpenAPI.validate_property(SecurityRule, Symbol("name"), name) - OpenAPI.validate_property(SecurityRule, Symbol("etag"), etag) - OpenAPI.validate_property(SecurityRule, Symbol("id"), id) - return new(properties, name, etag, id, ) + function SecurityRule(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRule -const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_SecurityRule = Dict{Symbol,String}(Symbol("properties")=>"SecurityRulePropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SecurityRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRule[name]))} -function check_required(o::SecurityRule) +function OpenAPI.check_required(o::SecurityRule) true end +function OpenAPI.validate_properties(o::SecurityRule) + OpenAPI.validate_property(SecurityRule, Symbol("properties"), o.properties) + OpenAPI.validate_property(SecurityRule, Symbol("name"), o.name) + OpenAPI.validate_property(SecurityRule, Symbol("etag"), o.etag) + OpenAPI.validate_property(SecurityRule, Symbol("type"), o.type) + OpenAPI.validate_property(SecurityRule, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SecurityRule }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl index ff90bc8..9509ac7 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_SecurityRulePropertiesFormat.jl @@ -60,41 +60,64 @@ Base.@kwdef mutable struct SecurityRulePropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function SecurityRulePropertiesFormat(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), protocol) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), sourcePortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), destinationPortRange) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), sourceAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), sourceAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), sourceApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), destinationAddressPrefix) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), destinationAddressPrefixes) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), destinationApplicationSecurityGroups) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), sourcePortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), destinationPortRanges) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), access) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), priority) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), direction) - OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + o = new(description, protocol, sourcePortRange, destinationPortRange, sourceAddressPrefix, sourceAddressPrefixes, sourceApplicationSecurityGroups, destinationAddressPrefix, destinationAddressPrefixes, destinationApplicationSecurityGroups, sourcePortRanges, destinationPortRanges, access, priority, direction, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type SecurityRulePropertiesFormat const _property_types_SecurityRulePropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("protocol")=>"String", Symbol("sourcePortRange")=>"String", Symbol("destinationPortRange")=>"String", Symbol("sourceAddressPrefix")=>"String", Symbol("sourceAddressPrefixes")=>"Vector{String}", Symbol("sourceApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("destinationAddressPrefix")=>"String", Symbol("destinationAddressPrefixes")=>"Vector{String}", Symbol("destinationApplicationSecurityGroups")=>"Vector{ApplicationSecurityGroup}", Symbol("sourcePortRanges")=>"Vector{String}", Symbol("destinationPortRanges")=>"Vector{String}", Symbol("access")=>"SecurityRuleAccess", Symbol("priority")=>"Int64", Symbol("direction")=>"SecurityRuleDirection", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ SecurityRulePropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SecurityRulePropertiesFormat[name]))} -function check_required(o::SecurityRulePropertiesFormat) +function OpenAPI.check_required(o::SecurityRulePropertiesFormat) o.protocol === nothing && (return false) o.access === nothing && (return false) + o.priority === nothing && (return false) o.direction === nothing && (return false) true end +function OpenAPI.validate_properties(o::SecurityRulePropertiesFormat) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("protocol"), o.protocol) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRange"), o.sourcePortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRange"), o.destinationPortRange) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefix"), o.sourceAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceAddressPrefixes"), o.sourceAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourceApplicationSecurityGroups"), o.sourceApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefix"), o.destinationAddressPrefix) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationAddressPrefixes"), o.destinationAddressPrefixes) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationApplicationSecurityGroups"), o.destinationApplicationSecurityGroups) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("sourcePortRanges"), o.sourcePortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("destinationPortRanges"), o.destinationPortRanges) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("access"), o.access) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("priority"), o.priority) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("direction"), o.direction) + OpenAPI.validate_property(SecurityRulePropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ SecurityRulePropertiesFormat }, name::Symbol, val) + + if name === Symbol("protocol") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :enum, val, ["Tcp", "Udp", "Icmp", "Esp", "*", "Ah"]) end + + + + + + + + + + + + + if name === Symbol("priority") OpenAPI.validate_param(name, "SecurityRulePropertiesFormat", :format, val, "int32") end + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl index d9fa008..c815a4e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLink.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLink <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function ServiceAssociationLink(properties, name, etag, type, id, ) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), name) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), type) - OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), id) - return new(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLink const _property_types_ServiceAssociationLink = Dict{Symbol,String}(Symbol("properties")=>"ServiceAssociationLinkPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceAssociationLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLink[name]))} -function check_required(o::ServiceAssociationLink) +function OpenAPI.check_required(o::ServiceAssociationLink) true end +function OpenAPI.validate_properties(o::ServiceAssociationLink) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceAssociationLink, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLink }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl index ebe794f..4e45c3d 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceAssociationLinkPropertiesFormat.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ServiceAssociationLinkPropertiesFormat <: OpenAPI.API locations::Union{Nothing, Vector{String}} = nothing function ServiceAssociationLinkPropertiesFormat(linkedResourceType, link, provisioningState, allowDelete, locations, ) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), linkedResourceType) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), link) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), allowDelete) - OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), locations) - return new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + o = new(linkedResourceType, link, provisioningState, allowDelete, locations, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceAssociationLinkPropertiesFormat const _property_types_ServiceAssociationLinkPropertiesFormat = Dict{Symbol,String}(Symbol("linkedResourceType")=>"String", Symbol("link")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("allowDelete")=>"Bool", Symbol("locations")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceAssociationLinkPropertiesFormat[name]))} -function check_required(o::ServiceAssociationLinkPropertiesFormat) +function OpenAPI.check_required(o::ServiceAssociationLinkPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceAssociationLinkPropertiesFormat) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("linkedResourceType"), o.linkedResourceType) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("link"), o.link) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("allowDelete"), o.allowDelete) + OpenAPI.validate_property(ServiceAssociationLinkPropertiesFormat, Symbol("locations"), o.locations) +end + function OpenAPI.validate_property(::Type{ ServiceAssociationLinkPropertiesFormat }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl index b883291..94131c2 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceDelegationPropertiesFormat.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct ServiceDelegationPropertiesFormat <: OpenAPI.APIModel provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceDelegationPropertiesFormat(serviceName, actions, provisioningState, ) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), serviceName) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), actions) - OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceName, actions, provisioningState, ) + o = new(serviceName, actions, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceDelegationPropertiesFormat const _property_types_ServiceDelegationPropertiesFormat = Dict{Symbol,String}(Symbol("serviceName")=>"String", Symbol("actions")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceDelegationPropertiesFormat[name]))} -function check_required(o::ServiceDelegationPropertiesFormat) +function OpenAPI.check_required(o::ServiceDelegationPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceDelegationPropertiesFormat) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("serviceName"), o.serviceName) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("actions"), o.actions) + OpenAPI.validate_property(ServiceDelegationPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceDelegationPropertiesFormat }, name::Symbol, val) + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl index 107952a..cf0ea34 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicy.jl @@ -8,6 +8,7 @@ Service End point policy resource. ServiceEndpointPolicy(; properties=nothing, etag=nothing, + kind=nothing, id=nothing, name=nothing, type=nothing, @@ -17,6 +18,7 @@ Service End point policy resource. - properties::ServiceEndpointPolicyPropertiesFormat - etag::String : A unique read-only string that changes whenever the resource is updated. + - kind::String : Kind of service endpoint policy. This is metadata used for the Azure portal experience. - id::String : Resource ID. - name::String : Resource name. - type::String : Resource type. @@ -26,30 +28,45 @@ Service End point policy resource. Base.@kwdef mutable struct ServiceEndpointPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyPropertiesFormat } etag::Union{Nothing, String} = nothing + kind::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing tags::Union{Nothing, Dict{String, String}} = nothing - function ServiceEndpointPolicy(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), id) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), type) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), location) - OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + function ServiceEndpointPolicy(properties, etag, kind, id, name, type, location, tags, ) + o = new(properties, etag, kind, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicy -const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_ServiceEndpointPolicy = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyPropertiesFormat", Symbol("etag")=>"String", Symbol("kind")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicy[name]))} -function check_required(o::ServiceEndpointPolicy) +function OpenAPI.check_required(o::ServiceEndpointPolicy) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicy) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("kind"), o.kind) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("location"), o.location) + OpenAPI.validate_property(ServiceEndpointPolicy, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicy }, name::Symbol, val) + + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl index 1ad1f86..da33748 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinition.jl @@ -9,35 +9,49 @@ Service Endpoint policy definitions. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::ServiceEndpointPolicyDefinitionPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : The type of the resource. - id::String : Resource ID. """ Base.@kwdef mutable struct ServiceEndpointPolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ServiceEndpointPolicyDefinitionPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function ServiceEndpointPolicyDefinition(properties, name, etag, id, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), etag) - OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), id) - return new(properties, name, etag, id, ) + function ServiceEndpointPolicyDefinition(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinition -const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_ServiceEndpointPolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"ServiceEndpointPolicyDefinitionPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinition[name]))} -function check_required(o::ServiceEndpointPolicyDefinition) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinition) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinition) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("etag"), o.etag) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(ServiceEndpointPolicyDefinition, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl index 6115f7b..2fdf734 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyDefinitionPropertiesFormat.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ServiceEndpointPolicyDefinitionPropertiesFormat <: Op provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } function ServiceEndpointPolicyDefinitionPropertiesFormat(description, service, serviceResources, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), description) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), serviceResources) - OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(description, service, serviceResources, provisioningState, ) + o = new(description, service, serviceResources, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyDefinitionPropertiesFormat const _property_types_ServiceEndpointPolicyDefinitionPropertiesFormat = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("service")=>"String", Symbol("serviceResources")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyDefinitionPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyDefinitionPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyDefinitionPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("description"), o.description) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("serviceResources"), o.serviceResources) + OpenAPI.validate_property(ServiceEndpointPolicyDefinitionPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyDefinitionPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl index 6ad9c8c..9358c34 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPolicyPropertiesFormat.jl @@ -10,34 +10,53 @@ Service Endpoint Policy resource. subnets=nothing, resourceGuid=nothing, provisioningState=nothing, + serviceAlias=nothing, + contextualServiceEndpointPolicies=nothing, ) - serviceEndpointPolicyDefinitions::Vector{ServiceEndpointPolicyDefinition} : A collection of service endpoint policy definitions of the service endpoint policy. - subnets::Vector{Subnet} : A collection of references to subnets. - resourceGuid::String : The resource GUID property of the service endpoint policy resource. - provisioningState::ProvisioningState + - serviceAlias::String : The alias indicating if the policy belongs to a service + - contextualServiceEndpointPolicies::Vector{String} : A collection of contextual service endpoint policy. """ Base.@kwdef mutable struct ServiceEndpointPolicyPropertiesFormat <: OpenAPI.APIModel serviceEndpointPolicyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ServiceEndpointPolicyDefinition} } subnets::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Subnet} } resourceGuid::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } + serviceAlias::Union{Nothing, String} = nothing + contextualServiceEndpointPolicies::Union{Nothing, Vector{String}} = nothing - function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), serviceEndpointPolicyDefinitions) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), subnets) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, ) + function ServiceEndpointPolicyPropertiesFormat(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + o = new(serviceEndpointPolicyDefinitions, subnets, resourceGuid, provisioningState, serviceAlias, contextualServiceEndpointPolicies, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPolicyPropertiesFormat -const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPolicyPropertiesFormat = Dict{Symbol,String}(Symbol("serviceEndpointPolicyDefinitions")=>"Vector{ServiceEndpointPolicyDefinition}", Symbol("subnets")=>"Vector{Subnet}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("serviceAlias")=>"String", Symbol("contextualServiceEndpointPolicies")=>"Vector{String}", ) OpenAPI.property_type(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPolicyPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPolicyPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPolicyPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPolicyPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceEndpointPolicyDefinitions"), o.serviceEndpointPolicyDefinitions) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("subnets"), o.subnets) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("serviceAlias"), o.serviceAlias) + OpenAPI.validate_property(ServiceEndpointPolicyPropertiesFormat, Symbol("contextualServiceEndpointPolicies"), o.contextualServiceEndpointPolicies) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPolicyPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl index 86741ad..2f8f753 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_ServiceEndpointPropertiesFormat.jl @@ -7,33 +7,46 @@ The service endpoint properties. ServiceEndpointPropertiesFormat(; service=nothing, + networkIdentifier=nothing, locations=nothing, provisioningState=nothing, ) - service::String : The type of the endpoint service. + - networkIdentifier::SubResource - locations::Vector{String} : A list of locations. - provisioningState::ProvisioningState """ Base.@kwdef mutable struct ServiceEndpointPropertiesFormat <: OpenAPI.APIModel service::Union{Nothing, String} = nothing + networkIdentifier = nothing # spec type: Union{ Nothing, SubResource } locations::Union{Nothing, Vector{String}} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - function ServiceEndpointPropertiesFormat(service, locations, provisioningState, ) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), service) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), locations) - OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), provisioningState) - return new(service, locations, provisioningState, ) + function ServiceEndpointPropertiesFormat(service, networkIdentifier, locations, provisioningState, ) + o = new(service, networkIdentifier, locations, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceEndpointPropertiesFormat -const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) +const _property_types_ServiceEndpointPropertiesFormat = Dict{Symbol,String}(Symbol("service")=>"String", Symbol("networkIdentifier")=>"SubResource", Symbol("locations")=>"Vector{String}", Symbol("provisioningState")=>"ProvisioningState", ) OpenAPI.property_type(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceEndpointPropertiesFormat[name]))} -function check_required(o::ServiceEndpointPropertiesFormat) +function OpenAPI.check_required(o::ServiceEndpointPropertiesFormat) true end +function OpenAPI.validate_properties(o::ServiceEndpointPropertiesFormat) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("service"), o.service) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("networkIdentifier"), o.networkIdentifier) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("locations"), o.locations) + OpenAPI.validate_property(ServiceEndpointPropertiesFormat, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ServiceEndpointPropertiesFormat }, name::Symbol, val) + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_SubResource.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_SubResource.jl index aa3ba5f..4df9d5d 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_SubResource.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_Subnet.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_Subnet.jl index 1c3a046..a2e3de2 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_Subnet.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_Subnet.jl @@ -9,35 +9,49 @@ Subnet in a virtual network resource. properties=nothing, name=nothing, etag=nothing, + type=nothing, id=nothing, ) - properties::SubnetPropertiesFormat - name::String : The name of the resource that is unique within a resource group. This name can be used to access the resource. - etag::String : A unique read-only string that changes whenever the resource is updated. + - type::String : Resource type. - id::String : Resource ID. """ Base.@kwdef mutable struct Subnet <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, SubnetPropertiesFormat } name::Union{Nothing, String} = nothing etag::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing - function Subnet(properties, name, etag, id, ) - OpenAPI.validate_property(Subnet, Symbol("properties"), properties) - OpenAPI.validate_property(Subnet, Symbol("name"), name) - OpenAPI.validate_property(Subnet, Symbol("etag"), etag) - OpenAPI.validate_property(Subnet, Symbol("id"), id) - return new(properties, name, etag, id, ) + function Subnet(properties, name, etag, type, id, ) + o = new(properties, name, etag, type, id, ) + OpenAPI.validate_properties(o) + return o end end # type Subnet -const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("id")=>"String", ) +const _property_types_Subnet = Dict{Symbol,String}(Symbol("properties")=>"SubnetPropertiesFormat", Symbol("name")=>"String", Symbol("etag")=>"String", Symbol("type")=>"String", Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ Subnet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subnet[name]))} -function check_required(o::Subnet) +function OpenAPI.check_required(o::Subnet) true end +function OpenAPI.validate_properties(o::Subnet) + OpenAPI.validate_property(Subnet, Symbol("properties"), o.properties) + OpenAPI.validate_property(Subnet, Symbol("name"), o.name) + OpenAPI.validate_property(Subnet, Symbol("etag"), o.etag) + OpenAPI.validate_property(Subnet, Symbol("type"), o.type) + OpenAPI.validate_property(Subnet, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ Subnet }, name::Symbol, val) + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl index 27b81fb..9a56139 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_SubnetPropertiesFormat.jl @@ -22,8 +22,12 @@ Properties of the subnet. delegations=nothing, purpose=nothing, provisioningState=nothing, - privateEndpointNetworkPolicies=nothing, - privateLinkServiceNetworkPolicies=nothing, + privateEndpointNetworkPolicies="Disabled", + privateLinkServiceNetworkPolicies="Enabled", + applicationGatewayIPConfigurations=nothing, + sharingScope="null", + defaultOutboundAccess=nothing, + ipamPoolPrefixAllocations=nothing, ) - addressPrefix::String : The address prefix for the subnet. @@ -44,6 +48,10 @@ Properties of the subnet. - provisioningState::ProvisioningState - privateEndpointNetworkPolicies::String : Enable or Disable apply network policies on private end point in the subnet. - privateLinkServiceNetworkPolicies::String : Enable or Disable apply network policies on private link service in the subnet. + - applicationGatewayIPConfigurations::Vector{ApplicationGatewayIPConfiguration} : Application gateway IP configurations of virtual network resource. + - sharingScope::String : Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty. + - defaultOutboundAccess::Bool : Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. + - ipamPoolPrefixAllocations::Vector{IpamPoolPrefixAllocation} : A list of IPAM Pools for allocating IP address prefixes. """ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel addressPrefix::Union{Nothing, String} = nothing @@ -62,38 +70,85 @@ Base.@kwdef mutable struct SubnetPropertiesFormat <: OpenAPI.APIModel delegations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Delegation} } purpose::Union{Nothing, String} = nothing provisioningState = nothing # spec type: Union{ Nothing, ProvisioningState } - privateEndpointNetworkPolicies::Union{Nothing, String} = nothing - privateLinkServiceNetworkPolicies::Union{Nothing, String} = nothing - - function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), addressPrefix) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), addressPrefixes) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), networkSecurityGroup) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), routeTable) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), natGateway) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), serviceEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), serviceEndpointPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), privateEndpoints) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), ipConfigurations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), ipConfigurationProfiles) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), ipAllocations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), resourceNavigationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), serviceAssociationLinks) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), delegations) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), purpose) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), privateEndpointNetworkPolicies) - OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), privateLinkServiceNetworkPolicies) - return new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, ) + privateEndpointNetworkPolicies::Union{Nothing, String} = "Disabled" + privateLinkServiceNetworkPolicies::Union{Nothing, String} = "Enabled" + applicationGatewayIPConfigurations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApplicationGatewayIPConfiguration} } + sharingScope::Union{Nothing, String} = "null" + defaultOutboundAccess::Union{Nothing, Bool} = nothing + ipamPoolPrefixAllocations::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IpamPoolPrefixAllocation} } + + function SubnetPropertiesFormat(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + o = new(addressPrefix, addressPrefixes, networkSecurityGroup, routeTable, natGateway, serviceEndpoints, serviceEndpointPolicies, privateEndpoints, ipConfigurations, ipConfigurationProfiles, ipAllocations, resourceNavigationLinks, serviceAssociationLinks, delegations, purpose, provisioningState, privateEndpointNetworkPolicies, privateLinkServiceNetworkPolicies, applicationGatewayIPConfigurations, sharingScope, defaultOutboundAccess, ipamPoolPrefixAllocations, ) + OpenAPI.validate_properties(o) + return o end end # type SubnetPropertiesFormat -const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", ) +const _property_types_SubnetPropertiesFormat = Dict{Symbol,String}(Symbol("addressPrefix")=>"String", Symbol("addressPrefixes")=>"Vector{String}", Symbol("networkSecurityGroup")=>"NetworkSecurityGroup", Symbol("routeTable")=>"RouteTable", Symbol("natGateway")=>"SubResource", Symbol("serviceEndpoints")=>"Vector{ServiceEndpointPropertiesFormat}", Symbol("serviceEndpointPolicies")=>"Vector{ServiceEndpointPolicy}", Symbol("privateEndpoints")=>"Vector{PrivateEndpoint}", Symbol("ipConfigurations")=>"Vector{IPConfiguration}", Symbol("ipConfigurationProfiles")=>"Vector{IPConfigurationProfile}", Symbol("ipAllocations")=>"Vector{SubResource}", Symbol("resourceNavigationLinks")=>"Vector{ResourceNavigationLink}", Symbol("serviceAssociationLinks")=>"Vector{ServiceAssociationLink}", Symbol("delegations")=>"Vector{Delegation}", Symbol("purpose")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("privateEndpointNetworkPolicies")=>"String", Symbol("privateLinkServiceNetworkPolicies")=>"String", Symbol("applicationGatewayIPConfigurations")=>"Vector{ApplicationGatewayIPConfiguration}", Symbol("sharingScope")=>"String", Symbol("defaultOutboundAccess")=>"Bool", Symbol("ipamPoolPrefixAllocations")=>"Vector{IpamPoolPrefixAllocation}", ) OpenAPI.property_type(::Type{ SubnetPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubnetPropertiesFormat[name]))} -function check_required(o::SubnetPropertiesFormat) +function OpenAPI.check_required(o::SubnetPropertiesFormat) true end +function OpenAPI.validate_properties(o::SubnetPropertiesFormat) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefix"), o.addressPrefix) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("addressPrefixes"), o.addressPrefixes) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("networkSecurityGroup"), o.networkSecurityGroup) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("routeTable"), o.routeTable) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("natGateway"), o.natGateway) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpoints"), o.serviceEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceEndpointPolicies"), o.serviceEndpointPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpoints"), o.privateEndpoints) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurations"), o.ipConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipConfigurationProfiles"), o.ipConfigurationProfiles) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipAllocations"), o.ipAllocations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("resourceNavigationLinks"), o.resourceNavigationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("serviceAssociationLinks"), o.serviceAssociationLinks) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("delegations"), o.delegations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("purpose"), o.purpose) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateEndpointNetworkPolicies"), o.privateEndpointNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("privateLinkServiceNetworkPolicies"), o.privateLinkServiceNetworkPolicies) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("applicationGatewayIPConfigurations"), o.applicationGatewayIPConfigurations) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("sharingScope"), o.sharingScope) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("defaultOutboundAccess"), o.defaultOutboundAccess) + OpenAPI.validate_property(SubnetPropertiesFormat, Symbol("ipamPoolPrefixAllocations"), o.ipamPoolPrefixAllocations) +end + function OpenAPI.validate_property(::Type{ SubnetPropertiesFormat }, name::Symbol, val) + + + + + + + + + + + + + + + + + + if name === Symbol("privateEndpointNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled", "NetworkSecurityGroupEnabled", "RouteTableEnabled"]) + end + + + if name === Symbol("privateLinkServiceNetworkPolicies") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Enabled", "Disabled"]) + end + + + + if name === Symbol("sharingScope") + OpenAPI.validate_param(name, "SubnetPropertiesFormat", :enum, val, ["Tenant", "DelegatedServices"]) + end + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl index 4539cbd..348eea7 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsConfigurationProperties.jl @@ -27,21 +27,34 @@ Base.@kwdef mutable struct TrafficAnalyticsConfigurationProperties <: OpenAPI.AP trafficAnalyticsInterval::Union{Nothing, Int64} = nothing function TrafficAnalyticsConfigurationProperties(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), enabled) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), workspaceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), workspaceRegion) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), workspaceResourceId) - OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), trafficAnalyticsInterval) - return new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + o = new(enabled, workspaceId, workspaceRegion, workspaceResourceId, trafficAnalyticsInterval, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsConfigurationProperties const _property_types_TrafficAnalyticsConfigurationProperties = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("workspaceId")=>"String", Symbol("workspaceRegion")=>"String", Symbol("workspaceResourceId")=>"String", Symbol("trafficAnalyticsInterval")=>"Int64", ) OpenAPI.property_type(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsConfigurationProperties[name]))} -function check_required(o::TrafficAnalyticsConfigurationProperties) +function OpenAPI.check_required(o::TrafficAnalyticsConfigurationProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsConfigurationProperties) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceId"), o.workspaceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceRegion"), o.workspaceRegion) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("workspaceResourceId"), o.workspaceResourceId) + OpenAPI.validate_property(TrafficAnalyticsConfigurationProperties, Symbol("trafficAnalyticsInterval"), o.trafficAnalyticsInterval) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsConfigurationProperties }, name::Symbol, val) + + + + + + if name === Symbol("trafficAnalyticsInterval") + OpenAPI.validate_param(name, "TrafficAnalyticsConfigurationProperties", :format, val, "int32") + end end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl index 7fb8628..8c7703e 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_TrafficAnalyticsProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct TrafficAnalyticsProperties <: OpenAPI.APIModel networkWatcherFlowAnalyticsConfiguration = nothing # spec type: Union{ Nothing, TrafficAnalyticsConfigurationProperties } function TrafficAnalyticsProperties(networkWatcherFlowAnalyticsConfiguration, ) - OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), networkWatcherFlowAnalyticsConfiguration) - return new(networkWatcherFlowAnalyticsConfiguration, ) + o = new(networkWatcherFlowAnalyticsConfiguration, ) + OpenAPI.validate_properties(o) + return o end end # type TrafficAnalyticsProperties const _property_types_TrafficAnalyticsProperties = Dict{Symbol,String}(Symbol("networkWatcherFlowAnalyticsConfiguration")=>"TrafficAnalyticsConfigurationProperties", ) OpenAPI.property_type(::Type{ TrafficAnalyticsProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrafficAnalyticsProperties[name]))} -function check_required(o::TrafficAnalyticsProperties) +function OpenAPI.check_required(o::TrafficAnalyticsProperties) true end +function OpenAPI.validate_properties(o::TrafficAnalyticsProperties) + OpenAPI.validate_property(TrafficAnalyticsProperties, Symbol("networkWatcherFlowAnalyticsConfiguration"), o.networkWatcherFlowAnalyticsConfiguration) +end + function OpenAPI.validate_property(::Type{ TrafficAnalyticsProperties }, name::Symbol, val) + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl index 6143168..cea1e57 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTap.jl @@ -33,23 +33,35 @@ Base.@kwdef mutable struct VirtualNetworkTap <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function VirtualNetworkTap(properties, etag, id, name, type, location, tags, ) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), properties) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), etag) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), name) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), type) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), location) - OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), tags) - return new(properties, etag, id, name, type, location, tags, ) + o = new(properties, etag, id, name, type, location, tags, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTap const _property_types_VirtualNetworkTap = Dict{Symbol,String}(Symbol("properties")=>"VirtualNetworkTapPropertiesFormat", Symbol("etag")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ VirtualNetworkTap }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTap[name]))} -function check_required(o::VirtualNetworkTap) +function OpenAPI.check_required(o::VirtualNetworkTap) true end +function OpenAPI.validate_properties(o::VirtualNetworkTap) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("properties"), o.properties) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("etag"), o.etag) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("name"), o.name) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("type"), o.type) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("location"), o.location) + OpenAPI.validate_property(VirtualNetworkTap, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTap }, name::Symbol, val) + + + + + + + end diff --git a/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl b/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl index b13a962..4588cfe 100644 --- a/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl +++ b/src/Network/VmssNetworkInterfaceClient/src/models/model_VirtualNetworkTapPropertiesFormat.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct VirtualNetworkTapPropertiesFormat <: OpenAPI.APIModel destinationPort::Union{Nothing, Int64} = nothing function VirtualNetworkTapPropertiesFormat(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), networkInterfaceTapConfigurations) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), resourceGuid) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), destinationNetworkInterfaceIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), destinationLoadBalancerFrontEndIPConfiguration) - OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), destinationPort) - return new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + o = new(networkInterfaceTapConfigurations, resourceGuid, provisioningState, destinationNetworkInterfaceIPConfiguration, destinationLoadBalancerFrontEndIPConfiguration, destinationPort, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkTapPropertiesFormat const _property_types_VirtualNetworkTapPropertiesFormat = Dict{Symbol,String}(Symbol("networkInterfaceTapConfigurations")=>"Vector{NetworkInterfaceTapConfiguration}", Symbol("resourceGuid")=>"String", Symbol("provisioningState")=>"ProvisioningState", Symbol("destinationNetworkInterfaceIPConfiguration")=>"NetworkInterfaceIPConfiguration", Symbol("destinationLoadBalancerFrontEndIPConfiguration")=>"FrontendIPConfiguration", Symbol("destinationPort")=>"Int64", ) OpenAPI.property_type(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkTapPropertiesFormat[name]))} -function check_required(o::VirtualNetworkTapPropertiesFormat) +function OpenAPI.check_required(o::VirtualNetworkTapPropertiesFormat) true end +function OpenAPI.validate_properties(o::VirtualNetworkTapPropertiesFormat) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("networkInterfaceTapConfigurations"), o.networkInterfaceTapConfigurations) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("resourceGuid"), o.resourceGuid) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationNetworkInterfaceIPConfiguration"), o.destinationNetworkInterfaceIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationLoadBalancerFrontEndIPConfiguration"), o.destinationLoadBalancerFrontEndIPConfiguration) + OpenAPI.validate_property(VirtualNetworkTapPropertiesFormat, Symbol("destinationPort"), o.destinationPort) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkTapPropertiesFormat }, name::Symbol, val) + + + + + + end diff --git a/src/Resource/PolicyAssignmentsClient/.openapi-generator/FILES b/src/Resource/PolicyAssignmentsClient/.openapi-generator/FILES index e73346a..c3121ad 100644 --- a/src/Resource/PolicyAssignmentsClient/.openapi-generator/FILES +++ b/src/Resource/PolicyAssignmentsClient/.openapi-generator/FILES @@ -1,24 +1,38 @@ .openapi-generator-ignore README.md -docs/CloudError.md docs/ErrorAdditionalInfo.md +docs/ErrorDetail.md docs/ErrorResponse.md docs/Identity.md +docs/IdentityUserAssignedIdentitiesValue.md +docs/NonComplianceMessage.md +docs/Override.md docs/ParameterValuesValue.md docs/PolicyAssignment.md docs/PolicyAssignmentListResult.md docs/PolicyAssignmentProperties.md +docs/PolicyAssignmentUpdate.md +docs/PolicyAssignmentUpdateProperties.md docs/PolicyAssignmentsApi.md -docs/PolicySku.md +docs/ResourceSelector.md +docs/Selector.md +docs/SystemData.md src/PolicyAssignmentsClient.jl src/apis/api_PolicyAssignmentsApi.jl src/modelincludes.jl -src/models/model_CloudError.jl src/models/model_ErrorAdditionalInfo.jl +src/models/model_ErrorDetail.jl src/models/model_ErrorResponse.jl src/models/model_Identity.jl +src/models/model_IdentityUserAssignedIdentitiesValue.jl +src/models/model_NonComplianceMessage.jl +src/models/model_Override.jl src/models/model_ParameterValuesValue.jl src/models/model_PolicyAssignment.jl src/models/model_PolicyAssignmentListResult.jl src/models/model_PolicyAssignmentProperties.jl -src/models/model_PolicySku.jl +src/models/model_PolicyAssignmentUpdate.jl +src/models/model_PolicyAssignmentUpdateProperties.jl +src/models/model_ResourceSelector.jl +src/models/model_Selector.jl +src/models/model_SystemData.jl diff --git a/src/Resource/PolicyAssignmentsClient/.openapi-generator/VERSION b/src/Resource/PolicyAssignmentsClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Resource/PolicyAssignmentsClient/.openapi-generator/VERSION +++ b/src/Resource/PolicyAssignmentsClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Resource/PolicyAssignmentsClient/README.md b/src/Resource/PolicyAssignmentsClient/README.md index 6615166..5fde3b5 100644 --- a/src/Resource/PolicyAssignmentsClient/README.md +++ b/src/Resource/PolicyAssignmentsClient/README.md @@ -5,7 +5,8 @@ To manage and control access to your resources, you can define customized polici ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2019-09-01 +- API version: 2025-03-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -27,27 +28,39 @@ Class | Method *PolicyAssignmentsApi* | [**policy_assignments_get**](docs/PolicyAssignmentsApi.md#policy_assignments_get)
**GET** /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Retrieves a policy assignment. *PolicyAssignmentsApi* | [**policy_assignments_get_by_id**](docs/PolicyAssignmentsApi.md#policy_assignments_get_by_id)
**GET** /{policyAssignmentId}
Retrieves the policy assignment with the given ID. *PolicyAssignmentsApi* | [**policy_assignments_list**](docs/PolicyAssignmentsApi.md#policy_assignments_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a subscription. -*PolicyAssignmentsApi* | [**policy_assignments_list_for_management_group**](docs/PolicyAssignmentsApi.md#policy_assignments_list_for_management_group)
**GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a management group. -*PolicyAssignmentsApi* | [**policy_assignments_list_for_resource**](docs/PolicyAssignmentsApi.md#policy_assignments_list_for_resource)
**GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource. +*PolicyAssignmentsApi* | [**policy_assignments_list_for_management_group**](docs/PolicyAssignmentsApi.md#policy_assignments_list_for_management_group)
**GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a management group. +*PolicyAssignmentsApi* | [**policy_assignments_list_for_resource**](docs/PolicyAssignmentsApi.md#policy_assignments_list_for_resource)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource. *PolicyAssignmentsApi* | [**policy_assignments_list_for_resource_group**](docs/PolicyAssignmentsApi.md#policy_assignments_list_for_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments
Retrieves all policy assignments that apply to a resource group. +*PolicyAssignmentsApi* | [**policy_assignments_update**](docs/PolicyAssignmentsApi.md#policy_assignments_update)
**PATCH** /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
Updates a policy assignment. +*PolicyAssignmentsApi* | [**policy_assignments_update_by_id**](docs/PolicyAssignmentsApi.md#policy_assignments_update_by_id)
**PATCH** /{policyAssignmentId}
Updates a policy assignment. ## Models - - [CloudError](docs/CloudError.md) - [ErrorAdditionalInfo](docs/ErrorAdditionalInfo.md) + - [ErrorDetail](docs/ErrorDetail.md) - [ErrorResponse](docs/ErrorResponse.md) - [Identity](docs/Identity.md) + - [IdentityUserAssignedIdentitiesValue](docs/IdentityUserAssignedIdentitiesValue.md) + - [NonComplianceMessage](docs/NonComplianceMessage.md) + - [Override](docs/Override.md) - [ParameterValuesValue](docs/ParameterValuesValue.md) - [PolicyAssignment](docs/PolicyAssignment.md) - [PolicyAssignmentListResult](docs/PolicyAssignmentListResult.md) - [PolicyAssignmentProperties](docs/PolicyAssignmentProperties.md) - - [PolicySku](docs/PolicySku.md) + - [PolicyAssignmentUpdate](docs/PolicyAssignmentUpdate.md) + - [PolicyAssignmentUpdateProperties](docs/PolicyAssignmentUpdateProperties.md) + - [ResourceSelector](docs/ResourceSelector.md) + - [Selector](docs/Selector.md) + - [SystemData](docs/SystemData.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Resource/PolicyAssignmentsClient/docs/CloudError.md b/src/Resource/PolicyAssignmentsClient/docs/CloudError.md deleted file mode 100644 index 88e6021..0000000 --- a/src/Resource/PolicyAssignmentsClient/docs/CloudError.md +++ /dev/null @@ -1,12 +0,0 @@ -# CloudError - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/PolicyAssignmentsClient/docs/ErrorDetail.md b/src/Resource/PolicyAssignmentsClient/docs/ErrorDetail.md new file mode 100644 index 0000000..40b8a90 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/ErrorDetail.md @@ -0,0 +1,16 @@ +# ErrorDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{ErrorDetail}**](ErrorDetail.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/ErrorResponse.md b/src/Resource/PolicyAssignmentsClient/docs/ErrorResponse.md index 5d136c6..11650bb 100644 --- a/src/Resource/PolicyAssignmentsClient/docs/ErrorResponse.md +++ b/src/Resource/PolicyAssignmentsClient/docs/ErrorResponse.md @@ -4,11 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **String** | The error code. | [optional] [readonly] [default to nothing] -**message** | **String** | The error message. | [optional] [readonly] [default to nothing] -**target** | **String** | The error target. | [optional] [readonly] [default to nothing] -**details** | [**Vector{ErrorResponse}**](ErrorResponse.md) | The error details. | [optional] [readonly] [default to nothing] -**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] +**error** | [***ErrorDetail**](ErrorDetail.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyAssignmentsClient/docs/Identity.md b/src/Resource/PolicyAssignmentsClient/docs/Identity.md index f2f08dd..3e90e30 100644 --- a/src/Resource/PolicyAssignmentsClient/docs/Identity.md +++ b/src/Resource/PolicyAssignmentsClient/docs/Identity.md @@ -4,9 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**principalId** | **String** | The principal ID of the resource identity. | [optional] [readonly] [default to nothing] -**tenantId** | **String** | The tenant ID of the resource identity. | [optional] [readonly] [default to nothing] -**type** | **String** | The identity type. This is the only required field when adding a system assigned identity to a resource. | [optional] [default to nothing] +**principalId** | **String** | The principal ID of the resource identity. This property will only be provided for a system assigned identity | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant ID of the resource identity. This property will only be provided for a system assigned identity | [optional] [readonly] [default to nothing] +**type** | **String** | The identity type. This is the only required field when adding a system or user assigned identity to a resource. | [optional] [default to nothing] +**userAssignedIdentities** | [**Dict{String, IdentityUserAssignedIdentitiesValue}**](IdentityUserAssignedIdentitiesValue.md) | The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyAssignmentsClient/docs/IdentityUserAssignedIdentitiesValue.md b/src/Resource/PolicyAssignmentsClient/docs/IdentityUserAssignedIdentitiesValue.md new file mode 100644 index 0000000..ae45c61 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/IdentityUserAssignedIdentitiesValue.md @@ -0,0 +1,13 @@ +# IdentityUserAssignedIdentitiesValue + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal id of user assigned identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client id of user assigned identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/NonComplianceMessage.md b/src/Resource/PolicyAssignmentsClient/docs/NonComplianceMessage.md new file mode 100644 index 0000000..97d0eb3 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/NonComplianceMessage.md @@ -0,0 +1,13 @@ +# NonComplianceMessage + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**message** | **String** | A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results. | [default to nothing] +**policyDefinitionReferenceId** | **String** | The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/Override.md b/src/Resource/PolicyAssignmentsClient/docs/Override.md new file mode 100644 index 0000000..4aabda2 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/Override.md @@ -0,0 +1,14 @@ +# Override + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **String** | The override kind. | [optional] [default to nothing] +**value** | **String** | The value to override the policy property. | [optional] [default to nothing] +**selectors** | [**Vector{Selector}**](Selector.md) | The list of the selector expressions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignment.md b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignment.md index 68c14af..42c0801 100644 --- a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignment.md +++ b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignment.md @@ -8,9 +8,9 @@ Name | Type | Description | Notes **id** | **String** | The ID of the policy assignment. | [optional] [readonly] [default to nothing] **type** | **String** | The type of the policy assignment. | [optional] [readonly] [default to nothing] **name** | **String** | The name of the policy assignment. | [optional] [readonly] [default to nothing] -**sku** | [***PolicySku**](PolicySku.md) | | [optional] [default to nothing] **location** | **String** | The location of the policy assignment. Only required when utilizing managed identity. | [optional] [default to nothing] **identity** | [***Identity**](Identity.md) | | [optional] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentProperties.md b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentProperties.md index 2f7c500..b40e866 100644 --- a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentProperties.md +++ b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentProperties.md @@ -6,12 +6,20 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **displayName** | **String** | The display name of the policy assignment. | [optional] [default to nothing] **policyDefinitionId** | **String** | The ID of the policy definition or policy set definition being assigned. | [optional] [default to nothing] -**scope** | **String** | The scope for the policy assignment. | [optional] [default to nothing] +**definitionVersion** | **String** | The version of the policy definition to use. | [optional] [default to nothing] +**latestDefinitionVersion** | **String** | The latest version of the policy definition available. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] +**effectiveDefinitionVersion** | **String** | The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] +**scope** | **String** | The scope for the policy assignment. | [optional] [readonly] [default to nothing] **notScopes** | **Vector{String}** | The policy's excluded scopes. | [optional] [default to nothing] **parameters** | [**Dict{String, ParameterValuesValue}**](ParameterValuesValue.md) | The parameter values for the policy rule. The keys are the parameter names. | [optional] [default to nothing] **description** | **String** | This message will be part of response in case of policy violation. | [optional] [default to nothing] **metadata** | **Any** | The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs. | [optional] [default to nothing] -**enforcementMode** | **String** | The policy assignment enforcement mode. Possible values are Default and DoNotEnforce. | [optional] [default to nothing] +**enforcementMode** | **String** | The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll | [optional] [default to "Default"] +**nonComplianceMessages** | [**Vector{NonComplianceMessage}**](NonComplianceMessage.md) | The messages that describe why a resource is non-compliant with the policy. | [optional] [default to nothing] +**resourceSelectors** | [**Vector{ResourceSelector}**](ResourceSelector.md) | The resource selector list to filter policies by resource properties. | [optional] [default to nothing] +**overrides** | [**Vector{Override}**](Override.md) | The policy property value override. | [optional] [default to nothing] +**assignmentType** | **String** | The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable. | [optional] [default to nothing] +**instanceId** | **String** | The instance ID of the policy assignment. This ID only and always changes when the assignment is deleted and recreated. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentUpdate.md b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentUpdate.md new file mode 100644 index 0000000..340fe6b --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentUpdate.md @@ -0,0 +1,14 @@ +# PolicyAssignmentUpdate + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***PolicyAssignmentUpdateProperties**](PolicyAssignmentUpdateProperties.md) | | [optional] [default to nothing] +**location** | **String** | The location of the policy assignment. Only required when utilizing managed identity. | [optional] [default to nothing] +**identity** | [***Identity**](Identity.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentUpdateProperties.md b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentUpdateProperties.md new file mode 100644 index 0000000..8ae0524 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentUpdateProperties.md @@ -0,0 +1,13 @@ +# PolicyAssignmentUpdateProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**resourceSelectors** | [**Vector{ResourceSelector}**](ResourceSelector.md) | The resource selector list to filter policies by resource properties. | [optional] [default to nothing] +**overrides** | [**Vector{Override}**](Override.md) | The policy property value override. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentsApi.md b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentsApi.md index fbb4b87..6315729 100644 --- a/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentsApi.md +++ b/src/Resource/PolicyAssignmentsClient/docs/PolicyAssignmentsApi.md @@ -11,9 +11,11 @@ Method | HTTP request | Description [**policy_assignments_get**](PolicyAssignmentsApi.md#policy_assignments_get) | **GET** /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName} | Retrieves a policy assignment. [**policy_assignments_get_by_id**](PolicyAssignmentsApi.md#policy_assignments_get_by_id) | **GET** /{policyAssignmentId} | Retrieves the policy assignment with the given ID. [**policy_assignments_list**](PolicyAssignmentsApi.md#policy_assignments_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments | Retrieves all policy assignments that apply to a subscription. -[**policy_assignments_list_for_management_group**](PolicyAssignmentsApi.md#policy_assignments_list_for_management_group) | **GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments | Retrieves all policy assignments that apply to a management group. -[**policy_assignments_list_for_resource**](PolicyAssignmentsApi.md#policy_assignments_list_for_resource) | **GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments | Retrieves all policy assignments that apply to a resource. +[**policy_assignments_list_for_management_group**](PolicyAssignmentsApi.md#policy_assignments_list_for_management_group) | **GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments | Retrieves all policy assignments that apply to a management group. +[**policy_assignments_list_for_resource**](PolicyAssignmentsApi.md#policy_assignments_list_for_resource) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments | Retrieves all policy assignments that apply to a resource. [**policy_assignments_list_for_resource_group**](PolicyAssignmentsApi.md#policy_assignments_list_for_resource_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments | Retrieves all policy assignments that apply to a resource group. +[**policy_assignments_update**](PolicyAssignmentsApi.md#policy_assignments_update) | **PATCH** /{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName} | Updates a policy assignment. +[**policy_assignments_update_by_id**](PolicyAssignmentsApi.md#policy_assignments_update_by_id) | **PATCH** /{policyAssignmentId} | Updates a policy assignment. # **policy_assignments_create** @@ -29,10 +31,10 @@ Creates or updates a policy assignment. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**scope** | **String**| The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | [default to nothing] -**policy_assignment_name** | **String**| The name of the policy assignment. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**parameters** | [**PolicyAssignment**](PolicyAssignment.md)| Parameters for the policy assignment. | +**scope** | **String** | The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | +**policy_assignment_name** | **String** | The name of the policy assignment. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicyAssignment**](PolicyAssignment.md) | Parameters for the policy assignment. | ### Return type @@ -62,9 +64,9 @@ This operation creates or updates the policy assignment with the given ID. Polic Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**policy_assignment_id** | **String**| The ID of the policy assignment to create. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**parameters** | [**PolicyAssignment**](PolicyAssignment.md)| Parameters for policy assignment. | +**policy_assignment_id** | **String** | The ID of the policy assignment to create. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicyAssignment**](PolicyAssignment.md) | Parameters for policy assignment. | ### Return type @@ -94,9 +96,9 @@ This operation deletes a policy assignment, given its name and the scope it was Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**scope** | **String**| The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | [default to nothing] -**policy_assignment_name** | **String**| The name of the policy assignment to delete. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**scope** | **String** | The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | +**policy_assignment_name** | **String** | The name of the policy assignment to delete. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -126,8 +128,8 @@ This operation deletes the policy with the given ID. Policy assignment IDs have Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**policy_assignment_id** | **String**| The ID of the policy assignment to delete. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**policy_assignment_id** | **String** | The ID of the policy assignment to delete. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -145,8 +147,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_assignments_get** -> policy_assignments_get(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; _mediaType=nothing) -> PolicyAssignment, OpenAPI.Clients.ApiResponse
-> policy_assignments_get(_api::PolicyAssignmentsApi, response_stream::Channel, scope::String, policy_assignment_name::String, api_version::String; _mediaType=nothing) -> Channel{ PolicyAssignment }, OpenAPI.Clients.ApiResponse +> policy_assignments_get(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> PolicyAssignment, OpenAPI.Clients.ApiResponse
+> policy_assignments_get(_api::PolicyAssignmentsApi, response_stream::Channel, scope::String, policy_assignment_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ PolicyAssignment }, OpenAPI.Clients.ApiResponse Retrieves a policy assignment. @@ -157,9 +159,15 @@ This operation retrieves a single policy assignment, given its name and the scop Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**scope** | **String**| The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | [default to nothing] -**policy_assignment_name** | **String**| The name of the policy assignment to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**scope** | **String** | The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | +**policy_assignment_name** | **String** | The name of the policy assignment to get. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] ### Return type @@ -189,8 +197,8 @@ The operation retrieves the policy assignment with the given ID. Policy assignme Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**policy_assignment_id** | **String**| The ID of the policy assignment to get. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**policy_assignment_id** | **String** | The ID of the policy assignment to get. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -208,26 +216,28 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_assignments_list** -> policy_assignments_list(_api::PolicyAssignmentsApi, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
-> policy_assignments_list(_api::PolicyAssignmentsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse +> policy_assignments_list(_api::PolicyAssignmentsApi, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
+> policy_assignments_list(_api::PolicyAssignmentsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse Retrieves all policy assignments that apply to a subscription. -This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. +This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. | [default to nothing] + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atScope() is provided, the returned list only includes all policy assignments that apply to the scope, which is everything in the unfiltered list except those applied to sub scopes contained within the given scope. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the given scope. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -245,21 +255,28 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_assignments_list_for_management_group** -> policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, management_group_id::String, filter::String, api_version::String; _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
-> policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, response_stream::Channel, management_group_id::String, filter::String, api_version::String; _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse +> policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
+> policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, response_stream::Channel, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse Retrieves all policy assignments that apply to a management group. -This operation retrieves the list of all policy assignments applicable to the management group that match the given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all policy assignments that are assigned to the management group or the management group's ancestors. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the management group. +This operation retrieves the list of all policy assignments applicable to the management group that match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all policy assignments that are assigned to the management group or the management group's ancestors. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the management group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the management group. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**management_group_id** | **String**| The ID of the management group. | [default to nothing] -**filter** | **String**| The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. A filter is required when listing policy assignments at management group scope. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**management_group_id** | **String** | The ID of the management group. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atScope() is provided, the returned list only includes all policy assignments that apply to the scope, which is everything in the unfiltered list except those applied to sub scopes contained within the given scope. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the given scope. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -277,31 +294,33 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_assignments_list_for_resource** -> policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
-> policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, response_stream::Channel, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse +> policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, subscription_id::String, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
+> policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse Retrieves all policy assignments that apply to a resource. -This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp'). +This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the resource level. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp'). ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing the resource. | [default to nothing] -**resource_provider_namespace** | **String**| The namespace of the resource provider. For example, the namespace of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines) | [default to nothing] -**parent_resource_path** | **String**| The parent resource path. Use empty string if there is none. | [default to nothing] -**resource_type** | **String**| The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites). | [default to nothing] -**resource_name** | **String**| The name of the resource. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**resource_group_name** | **String** | The name of the resource group containing the resource. | +**resource_provider_namespace** | **String** | The namespace of the resource provider. For example, the namespace of a virtual machine is Microsoft.Compute (from Microsoft.Compute/virtualMachines) | +**parent_resource_path** | **String** | The parent resource path. Use empty string if there is none. | +**resource_type** | **String** | The resource type name. For example the type name of a web app is 'sites' (from Microsoft.Web/sites). | +**resource_name** | **String** | The name of the resource. | +**api_version** | **String** | The API version to use for this operation. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. | [default to nothing] + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atScope() is provided, the returned list only includes all policy assignments that apply to the scope, which is everything in the unfiltered list except those applied to sub scopes contained within the given scope. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the given scope. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -319,27 +338,29 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_assignments_list_for_resource_group** -> policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
-> policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse +> policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, subscription_id::String, resource_group_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse
+> policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyAssignmentListResult }, OpenAPI.Clients.ApiResponse Retrieves all policy assignments that apply to a resource group. -This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group. +This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyAssignmentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group that contains policy assignments. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**resource_group_name** | **String** | The name of the resource group that contains policy assignments. | +**api_version** | **String** | The API version to use for this operation. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. | [default to nothing] + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atScope() is provided, the returned list only includes all policy assignments that apply to the scope, which is everything in the unfiltered list except those applied to sub scopes contained within the given scope. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the given scope. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -356,3 +377,68 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **policy_assignments_update** +> policy_assignments_update(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) -> PolicyAssignment, OpenAPI.Clients.ApiResponse
+> policy_assignments_update(_api::PolicyAssignmentsApi, response_stream::Channel, scope::String, policy_assignment_name::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) -> Channel{ PolicyAssignment }, OpenAPI.Clients.ApiResponse + +Updates a policy assignment. + + This operation updates a policy assignment with the given scope and name. Policy assignments apply to all resources contained within their scope. For example, when you assign a policy at resource group scope, that policy applies to all resources in the group. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **PolicyAssignmentsApi** | API context | +**scope** | **String** | The scope of the policy assignment. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}' | +**policy_assignment_name** | **String** | The name of the policy assignment. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicyAssignmentUpdate**](PolicyAssignmentUpdate.md) | Parameters for policy assignment patch request. | + +### Return type + +[**PolicyAssignment**](PolicyAssignment.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **policy_assignments_update_by_id** +> policy_assignments_update_by_id(_api::PolicyAssignmentsApi, policy_assignment_id::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) -> PolicyAssignment, OpenAPI.Clients.ApiResponse
+> policy_assignments_update_by_id(_api::PolicyAssignmentsApi, response_stream::Channel, policy_assignment_id::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) -> Channel{ PolicyAssignment }, OpenAPI.Clients.ApiResponse + +Updates a policy assignment. + +This operation updates the policy assignment with the given ID. Policy assignments made on a scope apply to all resources contained in that scope. For example, when you assign a policy to a resource group that policy applies to all resources in the group. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **PolicyAssignmentsApi** | API context | +**policy_assignment_id** | **String** | The ID of the policy assignment to update. Use the format '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicyAssignmentUpdate**](PolicyAssignmentUpdate.md) | Parameters for policy assignment patch request. | + +### Return type + +[**PolicyAssignment**](PolicyAssignment.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Resource/PolicyAssignmentsClient/docs/PolicySku.md b/src/Resource/PolicyAssignmentsClient/docs/PolicySku.md deleted file mode 100644 index 9cf4c05..0000000 --- a/src/Resource/PolicyAssignmentsClient/docs/PolicySku.md +++ /dev/null @@ -1,13 +0,0 @@ -# PolicySku - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**name** | **String** | The name of the policy sku. Possible values are A0 and A1. | [default to nothing] -**tier** | **String** | The policy sku tier. Possible values are Free and Standard. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/PolicyAssignmentsClient/docs/ResourceSelector.md b/src/Resource/PolicyAssignmentsClient/docs/ResourceSelector.md new file mode 100644 index 0000000..0392bf0 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/ResourceSelector.md @@ -0,0 +1,13 @@ +# ResourceSelector + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the resource selector. | [optional] [default to nothing] +**selectors** | [**Vector{Selector}**](Selector.md) | The list of the selector expressions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/Selector.md b/src/Resource/PolicyAssignmentsClient/docs/Selector.md new file mode 100644 index 0000000..3727add --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/Selector.md @@ -0,0 +1,14 @@ +# Selector + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **String** | The selector kind. | [optional] [default to nothing] +**in** | **Vector{String}** | The list of values to filter in. | [optional] [default to nothing] +**notIn** | **Vector{String}** | The list of values to filter out. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/docs/SystemData.md b/src/Resource/PolicyAssignmentsClient/docs/SystemData.md new file mode 100644 index 0000000..6037fd9 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/docs/SystemData.md @@ -0,0 +1,17 @@ +# SystemData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**createdBy** | **String** | The identity that created the resource. | [optional] [default to nothing] +**createdByType** | **String** | The type of identity that created the resource. | [optional] [default to nothing] +**createdAt** | **ZonedDateTime** | The timestamp of resource creation (UTC). | [optional] [default to nothing] +**lastModifiedBy** | **String** | The identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedByType** | **String** | The type of identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedAt** | **ZonedDateTime** | The timestamp of resource last modification (UTC) | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyAssignmentsClient/src/PolicyAssignmentsClient.jl b/src/Resource/PolicyAssignmentsClient/src/PolicyAssignmentsClient.jl index d7ad593..0c3ae21 100644 --- a/src/Resource/PolicyAssignmentsClient/src/PolicyAssignmentsClient.jl +++ b/src/Resource/PolicyAssignmentsClient/src/PolicyAssignmentsClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2019-09-01" +const API_VERSION = "2025-03-01" include("modelincludes.jl") diff --git a/src/Resource/PolicyAssignmentsClient/src/apis/api_PolicyAssignmentsApi.jl b/src/Resource/PolicyAssignmentsClient/src/apis/api_PolicyAssignmentsApi.jl index fca5780..6fb2021 100644 --- a/src/Resource/PolicyAssignmentsClient/src/apis/api_PolicyAssignmentsApi.jl +++ b/src/Resource/PolicyAssignmentsClient/src/apis/api_PolicyAssignmentsApi.jl @@ -13,14 +13,18 @@ basepath(::Type{ PolicyAssignmentsApi }) = "https://management.azure.com" const _returntypes_policy_assignments_create_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("201", "x"=>".") * "\$") => PolicyAssignment, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) function _oacinternal_policy_assignments_create(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String, parameters::PolicyAssignment; _mediaType=nothing) + OpenAPI.validate_param("policy_assignment_name", "policy_assignments_create", :pattern, policy_assignment_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_assignments_create", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_assignments_create_PolicyAssignmentsApi, "/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentName", policy_assignment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -50,13 +54,15 @@ end const _returntypes_policy_assignments_create_by_id_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("201", "x"=>".") * "\$") => PolicyAssignment, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) function _oacinternal_policy_assignments_create_by_id(_api::PolicyAssignmentsApi, policy_assignment_id::String, api_version::String, parameters::PolicyAssignment; _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_assignments_create_by_id", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_assignments_create_by_id_PolicyAssignmentsApi, "/{policyAssignmentId}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentId", policy_assignment_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -86,14 +92,18 @@ end const _returntypes_policy_assignments_delete_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignment, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) function _oacinternal_policy_assignments_delete(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_assignment_name", "policy_assignments_delete", :pattern, policy_assignment_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_assignments_delete", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_assignments_delete_PolicyAssignmentsApi, "/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentName", policy_assignment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -123,13 +133,15 @@ end const _returntypes_policy_assignments_delete_by_id_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignment, Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) function _oacinternal_policy_assignments_delete_by_id(_api::PolicyAssignmentsApi, policy_assignment_id::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_assignments_delete_by_id", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_assignments_delete_by_id_PolicyAssignmentsApi, "/{policyAssignmentId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentId", policy_assignment_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -157,14 +169,19 @@ end const _returntypes_policy_assignments_get_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignment, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_assignments_get(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; _mediaType=nothing) +function _oacinternal_policy_assignments_get(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; expand=nothing, _mediaType=nothing) + OpenAPI.validate_param("policy_assignment_name", "policy_assignments_get", :pattern, policy_assignment_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_assignments_get", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_get_PolicyAssignmentsApi, "/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentName", policy_assignment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -178,28 +195,31 @@ Params: - scope::String (required) - policy_assignment_name::String (required) - api_version::String (required) +- expand::String Return: PolicyAssignment, OpenAPI.Clients.ApiResponse """ -function policy_assignments_get(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_get(_api, scope, policy_assignment_name, api_version; _mediaType=_mediaType) +function policy_assignments_get(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_get(_api, scope, policy_assignment_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_assignments_get(_api::PolicyAssignmentsApi, response_stream::Channel, scope::String, policy_assignment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_get(_api, scope, policy_assignment_name, api_version; _mediaType=_mediaType) +function policy_assignments_get(_api::PolicyAssignmentsApi, response_stream::Channel, scope::String, policy_assignment_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_get(_api, scope, policy_assignment_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_assignments_get_by_id_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignment, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) function _oacinternal_policy_assignments_get_by_id(_api::PolicyAssignmentsApi, policy_assignment_id::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_assignments_get_by_id", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_get_by_id_PolicyAssignmentsApi, "/{policyAssignmentId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentId", policy_assignment_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -227,14 +247,21 @@ end const _returntypes_policy_assignments_list_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignmentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_assignments_list(_api::PolicyAssignmentsApi, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) +function _oacinternal_policy_assignments_list(_api::PolicyAssignmentsApi, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_assignments_list", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_assignments_list", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_assignments_list", :minimum, top, 1, false) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_list_PolicyAssignmentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyAssignments", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -242,35 +269,44 @@ end @doc raw"""Retrieves all policy assignments that apply to a subscription. -This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. +This operation retrieves the list of all policy assignments associated with the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the subscription, including those that apply directly or from management groups that contain the given subscription, as well as any applied to objects contained within the subscription. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the subscription, which is everything in the unfiltered list except those applied to objects contained within the subscription. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the subscription. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value}. Params: - api_version::String (required) - subscription_id::String (required) - filter::String +- expand::String +- top::Int64 Return: PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse """ -function policy_assignments_list(_api::PolicyAssignmentsApi, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list(_api, api_version, subscription_id; filter=filter, _mediaType=_mediaType) +function policy_assignments_list(_api::PolicyAssignmentsApi, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list(_api, api_version, subscription_id; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_assignments_list(_api::PolicyAssignmentsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list(_api, api_version, subscription_id; filter=filter, _mediaType=_mediaType) +function policy_assignments_list(_api::PolicyAssignmentsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list(_api, api_version, subscription_id; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_assignments_list_for_management_group_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignmentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, management_group_id::String, filter::String, api_version::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_list_for_management_group_PolicyAssignmentsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments", ["azure_auth", ]) +function _oacinternal_policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_assignments_list_for_management_group", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_assignments_list_for_management_group", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_assignments_list_for_management_group", :minimum, top, 1, false) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_list_for_management_group_PolicyAssignmentsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyAssignments", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -278,43 +314,55 @@ end @doc raw"""Retrieves all policy assignments that apply to a management group. -This operation retrieves the list of all policy assignments applicable to the management group that match the given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all policy assignments that are assigned to the management group or the management group's ancestors. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the management group. +This operation retrieves the list of all policy assignments applicable to the management group that match the given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter=atScope() is provided, the returned list includes all policy assignments that are assigned to the management group or the management group's ancestors. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the management group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the management group. Params: - management_group_id::String (required) -- filter::String (required) - api_version::String (required) +- filter::String +- expand::String +- top::Int64 Return: PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse """ -function policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, management_group_id::String, filter::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list_for_management_group(_api, management_group_id, filter, api_version; _mediaType=_mediaType) +function policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list_for_management_group(_api, management_group_id, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, response_stream::Channel, management_group_id::String, filter::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list_for_management_group(_api, management_group_id, filter, api_version; _mediaType=_mediaType) +function policy_assignments_list_for_management_group(_api::PolicyAssignmentsApi, response_stream::Channel, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list_for_management_group(_api, management_group_id, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_assignments_list_for_resource_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignmentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) +function _oacinternal_policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, subscription_id::String, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "policy_assignments_list_for_resource", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "policy_assignments_list_for_resource", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "policy_assignments_list_for_resource", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("resource_name", "policy_assignments_list_for_resource", :pattern, resource_name, r"^.+$") - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_list_for_resource_PolicyAssignmentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments", ["azure_auth", ]) + OpenAPI.validate_param("api_version", "policy_assignments_list_for_resource", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_assignments_list_for_resource", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_assignments_list_for_resource", :minimum, top, 1, false) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_list_for_resource_PolicyAssignmentsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}/providers/Microsoft.Authorization/policyAssignments", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String OpenAPI.Clients.set_param(_ctx.path, "parentResourcePath", parent_resource_path) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceType", resource_type) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceName", resource_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -322,44 +370,54 @@ end @doc raw"""Retrieves all policy assignments that apply to a resource. -This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp'). +This operation retrieves the list of all policy assignments associated with the specified resource in the given resource group and subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource, including those that apply directly or from all containing scopes, as well as any applied to resources contained within the resource. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource, which is everything in the unfiltered list except those applied to resources contained within the resource. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the resource level. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource. Three parameters plus the resource name are used to identify a specific resource. If the resource is not part of a parent resource (the more common case), the parent resource path should not be provided (or provided as ''). For example a web app could be specified as ({resourceProviderNamespace} == 'Microsoft.Web', {parentResourcePath} == '', {resourceType} == 'sites', {resourceName} == 'MyWebApp'). If the resource is part of a parent resource, then all parameters should be provided. For example a virtual machine DNS name could be specified as ({resourceProviderNamespace} == 'Microsoft.Compute', {parentResourcePath} == 'virtualMachines/MyVirtualMachine', {resourceType} == 'domainNames', {resourceName} == 'MyComputerName'). A convenient alternative to providing the namespace and type name separately is to provide both in the {resourceType} parameter, format: ({resourceProviderNamespace} == '', {parentResourcePath} == '', {resourceType} == 'Microsoft.Web/sites', {resourceName} == 'MyWebApp'). Params: +- subscription_id::String (required) - resource_group_name::String (required) - resource_provider_namespace::String (required) - parent_resource_path::String (required) - resource_type::String (required) - resource_name::String (required) - api_version::String (required) -- subscription_id::String (required) - filter::String +- expand::String +- top::Int64 Return: PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse """ -function policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list_for_resource(_api, resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, subscription_id; filter=filter, _mediaType=_mediaType) +function policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, subscription_id::String, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list_for_resource(_api, subscription_id, resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, response_stream::Channel, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list_for_resource(_api, resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version, subscription_id; filter=filter, _mediaType=_mediaType) +function policy_assignments_list_for_resource(_api::PolicyAssignmentsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list_for_resource(_api, subscription_id, resource_group_name, resource_provider_namespace, parent_resource_path, resource_type, resource_name, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_assignments_list_for_resource_group_PolicyAssignmentsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignmentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) +function _oacinternal_policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, subscription_id::String, resource_group_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "policy_assignments_list_for_resource_group", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "policy_assignments_list_for_resource_group", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "policy_assignments_list_for_resource_group", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("api_version", "policy_assignments_list_for_resource_group", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_assignments_list_for_resource_group", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_assignments_list_for_resource_group", :minimum, top, 1, false) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_assignments_list_for_resource_group_PolicyAssignmentsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Authorization/policyAssignments", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -367,23 +425,103 @@ end @doc raw"""Retrieves all policy assignments that apply to a resource group. -This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group. +This operation retrieves the list of all policy assignments associated with the given resource group in the given subscription that match the optional given $filter. Valid values for $filter are: 'atScope()', 'atExactScope()' or 'policyDefinitionId eq '{value}''. If $filter is not provided, the unfiltered list includes all policy assignments associated with the resource group, including those that apply directly or apply from containing scopes, as well as any applied to resources contained within the resource group. If $filter=atScope() is provided, the returned list includes all policy assignments that apply to the resource group, which is everything in the unfiltered list except those applied to resources contained within the resource group. If $filter=atExactScope() is provided, the returned list only includes all policy assignments that at the resource group. If $filter=policyDefinitionId eq '{value}' is provided, the returned list includes all policy assignments of the policy definition whose id is {value} that apply to the resource group. Params: +- subscription_id::String (required) - resource_group_name::String (required) - api_version::String (required) -- subscription_id::String (required) - filter::String +- expand::String +- top::Int64 Return: PolicyAssignmentListResult, OpenAPI.Clients.ApiResponse """ -function policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list_for_resource_group(_api, resource_group_name, api_version, subscription_id; filter=filter, _mediaType=_mediaType) +function policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, subscription_id::String, resource_group_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list_for_resource_group(_api, subscription_id, resource_group_name, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, response_stream::Channel, subscription_id::String, resource_group_name::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_list_for_resource_group(_api, subscription_id, resource_group_name, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_policy_assignments_update_PolicyAssignmentsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignment, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_policy_assignments_update(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) + OpenAPI.validate_param("policy_assignment_name", "policy_assignments_update", :pattern, policy_assignment_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_assignments_update", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_policy_assignments_update_PolicyAssignmentsApi, "/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentName", policy_assignment_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Updates a policy assignment. + + This operation updates a policy assignment with the given scope and name. Policy assignments apply to all resources contained within their scope. For example, when you assign a policy at resource group scope, that policy applies to all resources in the group. + +Params: +- scope::String (required) +- policy_assignment_name::String (required) +- api_version::String (required) +- parameters::PolicyAssignmentUpdate (required) + +Return: PolicyAssignment, OpenAPI.Clients.ApiResponse +""" +function policy_assignments_update(_api::PolicyAssignmentsApi, scope::String, policy_assignment_name::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_update(_api, scope, policy_assignment_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function policy_assignments_update(_api::PolicyAssignmentsApi, response_stream::Channel, scope::String, policy_assignment_name::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_update(_api, scope, policy_assignment_name, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_policy_assignments_update_by_id_PolicyAssignmentsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => PolicyAssignment, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_policy_assignments_update_by_id(_api::PolicyAssignmentsApi, policy_assignment_id::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_assignments_update_by_id", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_policy_assignments_update_by_id_PolicyAssignmentsApi, "/{policyAssignmentId}", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "policyAssignmentId", policy_assignment_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Updates a policy assignment. + +This operation updates the policy assignment with the given ID. Policy assignments made on a scope apply to all resources contained in that scope. For example, when you assign a policy to a resource group that policy applies to all resources in the group. Policy assignment IDs have this format: '{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}'. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'. + +Params: +- policy_assignment_id::String (required) +- api_version::String (required) +- parameters::PolicyAssignmentUpdate (required) + +Return: PolicyAssignment, OpenAPI.Clients.ApiResponse +""" +function policy_assignments_update_by_id(_api::PolicyAssignmentsApi, policy_assignment_id::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_update_by_id(_api, policy_assignment_id, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_assignments_list_for_resource_group(_api::PolicyAssignmentsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, _mediaType=nothing) - _ctx = _oacinternal_policy_assignments_list_for_resource_group(_api, resource_group_name, api_version, subscription_id; filter=filter, _mediaType=_mediaType) +function policy_assignments_update_by_id(_api::PolicyAssignmentsApi, response_stream::Channel, policy_assignment_id::String, api_version::String, parameters::PolicyAssignmentUpdate; _mediaType=nothing) + _ctx = _oacinternal_policy_assignments_update_by_id(_api, policy_assignment_id, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -397,3 +535,5 @@ export policy_assignments_list export policy_assignments_list_for_management_group export policy_assignments_list_for_resource export policy_assignments_list_for_resource_group +export policy_assignments_update +export policy_assignments_update_by_id diff --git a/src/Resource/PolicyAssignmentsClient/src/modelincludes.jl b/src/Resource/PolicyAssignmentsClient/src/modelincludes.jl index 0f9f254..5cc1298 100644 --- a/src/Resource/PolicyAssignmentsClient/src/modelincludes.jl +++ b/src/Resource/PolicyAssignmentsClient/src/modelincludes.jl @@ -1,12 +1,19 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. -include("models/model_CloudError.jl") include("models/model_ErrorAdditionalInfo.jl") +include("models/model_ErrorDetail.jl") include("models/model_ErrorResponse.jl") include("models/model_Identity.jl") +include("models/model_IdentityUserAssignedIdentitiesValue.jl") +include("models/model_NonComplianceMessage.jl") +include("models/model_Override.jl") include("models/model_ParameterValuesValue.jl") include("models/model_PolicyAssignment.jl") include("models/model_PolicyAssignmentListResult.jl") include("models/model_PolicyAssignmentProperties.jl") -include("models/model_PolicySku.jl") +include("models/model_PolicyAssignmentUpdate.jl") +include("models/model_PolicyAssignmentUpdateProperties.jl") +include("models/model_ResourceSelector.jl") +include("models/model_Selector.jl") +include("models/model_SystemData.jl") diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_CloudError.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_CloudError.jl deleted file mode 100644 index 8baa210..0000000 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_CloudError.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""CloudError -An error response from a policy operation. - - CloudError(; - error=nothing, - ) - - - error::ErrorResponse -""" -Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel - error = nothing # spec type: Union{ Nothing, ErrorResponse } - - function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) - end -end # type CloudError - -const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse", ) -OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} - -function check_required(o::CloudError) - true -end - -function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) -end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorAdditionalInfo.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorAdditionalInfo.jl index bfc3b2f..134690a 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorAdditionalInfo.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorAdditionalInfo.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ErrorAdditionalInfo <: OpenAPI.APIModel info::Union{Nothing, Any} = nothing function ErrorAdditionalInfo(type, info, ) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), type) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), info) - return new(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorAdditionalInfo const _property_types_ErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) OpenAPI.property_type(::Type{ ErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo[name]))} -function check_required(o::ErrorAdditionalInfo) +function OpenAPI.check_required(o::ErrorAdditionalInfo) true end +function OpenAPI.validate_properties(o::ErrorAdditionalInfo) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), o.info) +end + function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo }, name::Symbol, val) + + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorDetail.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorDetail.jl new file mode 100644 index 0000000..a2d4570 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorDetail.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorDetail +The error detail. + + ErrorDetail(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{ErrorDetail} : The error details. + - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. +""" +Base.@kwdef mutable struct ErrorDetail <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorDetail} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } + + function ErrorDetail(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorDetail + +const _property_types_ErrorDetail = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetail}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +OpenAPI.property_type(::Type{ ErrorDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetail[name]))} + +function OpenAPI.check_required(o::ErrorDetail) + true +end + +function OpenAPI.validate_properties(o::ErrorDetail) + OpenAPI.validate_property(ErrorDetail, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetail, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorDetail, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetail, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorDetail, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ ErrorDetail }, name::Symbol, val) + + + + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorResponse.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorResponse.jl index 7afb1a1..fffc54e 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorResponse.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_ErrorResponse.jl @@ -3,45 +3,35 @@ @doc raw"""ErrorResponse -The resource management error response. +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). ErrorResponse(; - code=nothing, - message=nothing, - target=nothing, - details=nothing, - additionalInfo=nothing, + error=nothing, ) - - code::String : The error code. - - message::String : The error message. - - target::String : The error target. - - details::Vector{ErrorResponse} : The error details. - - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. + - error::ErrorDetail """ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel - code::Union{Nothing, String} = nothing - message::Union{Nothing, String} = nothing - target::Union{Nothing, String} = nothing - details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorResponse} } - additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } - - function ErrorResponse(code, message, target, details, additionalInfo, ) - OpenAPI.validate_property(ErrorResponse, Symbol("code"), code) - OpenAPI.validate_property(ErrorResponse, Symbol("message"), message) - OpenAPI.validate_property(ErrorResponse, Symbol("target"), target) - OpenAPI.validate_property(ErrorResponse, Symbol("details"), details) - OpenAPI.validate_property(ErrorResponse, Symbol("additionalInfo"), additionalInfo) - return new(code, message, target, details, additionalInfo, ) + error = nothing # spec type: Union{ Nothing, ErrorDetail } + + function ErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse -const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorResponse}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorDetail", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_Identity.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_Identity.jl index d8d3874..d72438e 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_Identity.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_Identity.jl @@ -3,40 +3,54 @@ @doc raw"""Identity -Identity for the resource. +Identity for the resource. Policy assignments support a maximum of one identity. That is either a system assigned identity or a single user assigned identity. Identity(; principalId=nothing, tenantId=nothing, type=nothing, + userAssignedIdentities=nothing, ) - - principalId::String : The principal ID of the resource identity. - - tenantId::String : The tenant ID of the resource identity. - - type::String : The identity type. This is the only required field when adding a system assigned identity to a resource. + - principalId::String : The principal ID of the resource identity. This property will only be provided for a system assigned identity + - tenantId::String : The tenant ID of the resource identity. This property will only be provided for a system assigned identity + - type::String : The identity type. This is the only required field when adding a system or user assigned identity to a resource. + - userAssignedIdentities::Dict{String, IdentityUserAssignedIdentitiesValue} : The user identity associated with the policy. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. """ Base.@kwdef mutable struct Identity <: OpenAPI.APIModel principalId::Union{Nothing, String} = nothing tenantId::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IdentityUserAssignedIdentitiesValue} } - function Identity(principalId, tenantId, type, ) - OpenAPI.validate_property(Identity, Symbol("principalId"), principalId) - OpenAPI.validate_property(Identity, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(Identity, Symbol("type"), type) - return new(principalId, tenantId, type, ) + function Identity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o end end # type Identity -const _property_types_Identity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", ) +const _property_types_Identity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, IdentityUserAssignedIdentitiesValue}", ) OpenAPI.property_type(::Type{ Identity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Identity[name]))} -function check_required(o::Identity) +function OpenAPI.check_required(o::Identity) true end +function OpenAPI.validate_properties(o::Identity) + OpenAPI.validate_property(Identity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(Identity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(Identity, Symbol("type"), o.type) + OpenAPI.validate_property(Identity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + function OpenAPI.validate_property(::Type{ Identity }, name::Symbol, val) + + + if name === Symbol("type") - OpenAPI.validate_param(name, "Identity", :enum, val, ["SystemAssigned", "None"]) + OpenAPI.validate_param(name, "Identity", :enum, val, ["SystemAssigned", "UserAssigned", "None"]) end + + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl new file mode 100644 index 0000000..05bb6e4 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Identity_userAssignedIdentities_value + + IdentityUserAssignedIdentitiesValue(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal id of user assigned identity. + - clientId::String : The client id of user assigned identity. +""" +Base.@kwdef mutable struct IdentityUserAssignedIdentitiesValue <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function IdentityUserAssignedIdentitiesValue(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type IdentityUserAssignedIdentitiesValue + +const _property_types_IdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ IdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IdentityUserAssignedIdentitiesValue[name]))} + +function OpenAPI.check_required(o::IdentityUserAssignedIdentitiesValue) + true +end + +function OpenAPI.validate_properties(o::IdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(IdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(IdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ IdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_NonComplianceMessage.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_NonComplianceMessage.jl new file mode 100644 index 0000000..7437c08 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_NonComplianceMessage.jl @@ -0,0 +1,43 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""NonComplianceMessage +A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results. + + NonComplianceMessage(; + message=nothing, + policyDefinitionReferenceId=nothing, + ) + + - message::String : A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results. + - policyDefinitionReferenceId::String : The policy definition reference ID within a policy set definition the message is intended for. This is only applicable if the policy assignment assigns a policy set definition. If this is not provided the message applies to all policies assigned by this policy assignment. +""" +Base.@kwdef mutable struct NonComplianceMessage <: OpenAPI.APIModel + message::Union{Nothing, String} = nothing + policyDefinitionReferenceId::Union{Nothing, String} = nothing + + function NonComplianceMessage(message, policyDefinitionReferenceId, ) + o = new(message, policyDefinitionReferenceId, ) + OpenAPI.validate_properties(o) + return o + end +end # type NonComplianceMessage + +const _property_types_NonComplianceMessage = Dict{Symbol,String}(Symbol("message")=>"String", Symbol("policyDefinitionReferenceId")=>"String", ) +OpenAPI.property_type(::Type{ NonComplianceMessage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NonComplianceMessage[name]))} + +function OpenAPI.check_required(o::NonComplianceMessage) + o.message === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::NonComplianceMessage) + OpenAPI.validate_property(NonComplianceMessage, Symbol("message"), o.message) + OpenAPI.validate_property(NonComplianceMessage, Symbol("policyDefinitionReferenceId"), o.policyDefinitionReferenceId) +end + +function OpenAPI.validate_property(::Type{ NonComplianceMessage }, name::Symbol, val) + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_Override.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_Override.jl new file mode 100644 index 0000000..e7922e3 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_Override.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Override +The policy property value override. + + Override(; + kind=nothing, + value=nothing, + selectors=nothing, + ) + + - kind::String : The override kind. + - value::String : The value to override the policy property. + - selectors::Vector{Selector} : The list of the selector expressions. +""" +Base.@kwdef mutable struct Override <: OpenAPI.APIModel + kind::Union{Nothing, String} = nothing + value::Union{Nothing, String} = nothing + selectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Selector} } + + function Override(kind, value, selectors, ) + o = new(kind, value, selectors, ) + OpenAPI.validate_properties(o) + return o + end +end # type Override + +const _property_types_Override = Dict{Symbol,String}(Symbol("kind")=>"String", Symbol("value")=>"String", Symbol("selectors")=>"Vector{Selector}", ) +OpenAPI.property_type(::Type{ Override }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Override[name]))} + +function OpenAPI.check_required(o::Override) + true +end + +function OpenAPI.validate_properties(o::Override) + OpenAPI.validate_property(Override, Symbol("kind"), o.kind) + OpenAPI.validate_property(Override, Symbol("value"), o.value) + OpenAPI.validate_property(Override, Symbol("selectors"), o.selectors) +end + +function OpenAPI.validate_property(::Type{ Override }, name::Symbol, val) + + if name === Symbol("kind") + OpenAPI.validate_param(name, "Override", :enum, val, ["policyEffect", "definitionVersion"]) + end + + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_ParameterValuesValue.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_ParameterValuesValue.jl index 7be964f..0a8936e 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_ParameterValuesValue.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_ParameterValuesValue.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ParameterValuesValue <: OpenAPI.APIModel value::Union{Nothing, Any} = nothing function ParameterValuesValue(value, ) - OpenAPI.validate_property(ParameterValuesValue, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type ParameterValuesValue const _property_types_ParameterValuesValue = Dict{Symbol,String}(Symbol("value")=>"Any", ) OpenAPI.property_type(::Type{ ParameterValuesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ParameterValuesValue[name]))} -function check_required(o::ParameterValuesValue) +function OpenAPI.check_required(o::ParameterValuesValue) true end +function OpenAPI.validate_properties(o::ParameterValuesValue) + OpenAPI.validate_property(ParameterValuesValue, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ ParameterValuesValue }, name::Symbol, val) + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignment.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignment.jl index 843d213..09ee334 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignment.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignment.jl @@ -10,46 +10,58 @@ The policy assignment. id=nothing, type=nothing, name=nothing, - sku=nothing, location=nothing, identity=nothing, + systemData=nothing, ) - properties::PolicyAssignmentProperties - id::String : The ID of the policy assignment. - type::String : The type of the policy assignment. - name::String : The name of the policy assignment. - - sku::PolicySku - location::String : The location of the policy assignment. Only required when utilizing managed identity. - identity::Identity + - systemData::SystemData """ Base.@kwdef mutable struct PolicyAssignment <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PolicyAssignmentProperties } id::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing - sku = nothing # spec type: Union{ Nothing, PolicySku } location::Union{Nothing, String} = nothing identity = nothing # spec type: Union{ Nothing, Identity } + systemData = nothing # spec type: Union{ Nothing, SystemData } - function PolicyAssignment(properties, id, type, name, sku, location, identity, ) - OpenAPI.validate_property(PolicyAssignment, Symbol("properties"), properties) - OpenAPI.validate_property(PolicyAssignment, Symbol("id"), id) - OpenAPI.validate_property(PolicyAssignment, Symbol("type"), type) - OpenAPI.validate_property(PolicyAssignment, Symbol("name"), name) - OpenAPI.validate_property(PolicyAssignment, Symbol("sku"), sku) - OpenAPI.validate_property(PolicyAssignment, Symbol("location"), location) - OpenAPI.validate_property(PolicyAssignment, Symbol("identity"), identity) - return new(properties, id, type, name, sku, location, identity, ) + function PolicyAssignment(properties, id, type, name, location, identity, systemData, ) + o = new(properties, id, type, name, location, identity, systemData, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyAssignment -const _property_types_PolicyAssignment = Dict{Symbol,String}(Symbol("properties")=>"PolicyAssignmentProperties", Symbol("id")=>"String", Symbol("type")=>"String", Symbol("name")=>"String", Symbol("sku")=>"PolicySku", Symbol("location")=>"String", Symbol("identity")=>"Identity", ) +const _property_types_PolicyAssignment = Dict{Symbol,String}(Symbol("properties")=>"PolicyAssignmentProperties", Symbol("id")=>"String", Symbol("type")=>"String", Symbol("name")=>"String", Symbol("location")=>"String", Symbol("identity")=>"Identity", Symbol("systemData")=>"SystemData", ) OpenAPI.property_type(::Type{ PolicyAssignment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyAssignment[name]))} -function check_required(o::PolicyAssignment) +function OpenAPI.check_required(o::PolicyAssignment) true end +function OpenAPI.validate_properties(o::PolicyAssignment) + OpenAPI.validate_property(PolicyAssignment, Symbol("properties"), o.properties) + OpenAPI.validate_property(PolicyAssignment, Symbol("id"), o.id) + OpenAPI.validate_property(PolicyAssignment, Symbol("type"), o.type) + OpenAPI.validate_property(PolicyAssignment, Symbol("name"), o.name) + OpenAPI.validate_property(PolicyAssignment, Symbol("location"), o.location) + OpenAPI.validate_property(PolicyAssignment, Symbol("identity"), o.identity) + OpenAPI.validate_property(PolicyAssignment, Symbol("systemData"), o.systemData) +end + function OpenAPI.validate_property(::Type{ PolicyAssignment }, name::Symbol, val) + + + + + + + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentListResult.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentListResult.jl index 09f130a..e1af2a6 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentListResult.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct PolicyAssignmentListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function PolicyAssignmentListResult(value, nextLink, ) - OpenAPI.validate_property(PolicyAssignmentListResult, Symbol("value"), value) - OpenAPI.validate_property(PolicyAssignmentListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyAssignmentListResult const _property_types_PolicyAssignmentListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PolicyAssignment}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ PolicyAssignmentListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyAssignmentListResult[name]))} -function check_required(o::PolicyAssignmentListResult) +function OpenAPI.check_required(o::PolicyAssignmentListResult) true end +function OpenAPI.validate_properties(o::PolicyAssignmentListResult) + OpenAPI.validate_property(PolicyAssignmentListResult, Symbol("value"), o.value) + OpenAPI.validate_property(PolicyAssignmentListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ PolicyAssignmentListResult }, name::Symbol, val) + + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentProperties.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentProperties.jl index 54f544a..0a45e34 100644 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentProperties.jl +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentProperties.jl @@ -8,55 +8,113 @@ The policy assignment properties. PolicyAssignmentProperties(; displayName=nothing, policyDefinitionId=nothing, + definitionVersion=nothing, + latestDefinitionVersion=nothing, + effectiveDefinitionVersion=nothing, scope=nothing, notScopes=nothing, parameters=nothing, description=nothing, metadata=nothing, - enforcementMode=nothing, + enforcementMode="Default", + nonComplianceMessages=nothing, + resourceSelectors=nothing, + overrides=nothing, + assignmentType=nothing, + instanceId=nothing, ) - displayName::String : The display name of the policy assignment. - policyDefinitionId::String : The ID of the policy definition or policy set definition being assigned. + - definitionVersion::String : The version of the policy definition to use. + - latestDefinitionVersion::String : The latest version of the policy definition available. This is only present if requested via the $expand query parameter. + - effectiveDefinitionVersion::String : The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. - scope::String : The scope for the policy assignment. - notScopes::Vector{String} : The policy's excluded scopes. - parameters::Dict{String, ParameterValuesValue} : The parameter values for the policy rule. The keys are the parameter names. - description::String : This message will be part of response in case of policy violation. - metadata::Any : The policy assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs. - - enforcementMode::String : The policy assignment enforcement mode. Possible values are Default and DoNotEnforce. + - enforcementMode::String : The policy assignment enforcement mode. Possible values are Default, DoNotEnforce, and Enroll + - nonComplianceMessages::Vector{NonComplianceMessage} : The messages that describe why a resource is non-compliant with the policy. + - resourceSelectors::Vector{ResourceSelector} : The resource selector list to filter policies by resource properties. + - overrides::Vector{Override} : The policy property value override. + - assignmentType::String : The type of policy assignment. Possible values are NotSpecified, System, SystemHidden, and Custom. Immutable. + - instanceId::String : The instance ID of the policy assignment. This ID only and always changes when the assignment is deleted and recreated. """ Base.@kwdef mutable struct PolicyAssignmentProperties <: OpenAPI.APIModel displayName::Union{Nothing, String} = nothing policyDefinitionId::Union{Nothing, String} = nothing + definitionVersion::Union{Nothing, String} = nothing + latestDefinitionVersion::Union{Nothing, String} = nothing + effectiveDefinitionVersion::Union{Nothing, String} = nothing scope::Union{Nothing, String} = nothing notScopes::Union{Nothing, Vector{String}} = nothing parameters::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ParameterValuesValue} } description::Union{Nothing, String} = nothing metadata::Union{Nothing, Any} = nothing - enforcementMode::Union{Nothing, String} = nothing - - function PolicyAssignmentProperties(displayName, policyDefinitionId, scope, notScopes, parameters, description, metadata, enforcementMode, ) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("displayName"), displayName) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("policyDefinitionId"), policyDefinitionId) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("scope"), scope) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("notScopes"), notScopes) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("parameters"), parameters) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("description"), description) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("metadata"), metadata) - OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("enforcementMode"), enforcementMode) - return new(displayName, policyDefinitionId, scope, notScopes, parameters, description, metadata, enforcementMode, ) + enforcementMode::Union{Nothing, String} = "Default" + nonComplianceMessages::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{NonComplianceMessage} } + resourceSelectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ResourceSelector} } + overrides::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Override} } + assignmentType::Union{Nothing, String} = nothing + instanceId::Union{Nothing, String} = nothing + + function PolicyAssignmentProperties(displayName, policyDefinitionId, definitionVersion, latestDefinitionVersion, effectiveDefinitionVersion, scope, notScopes, parameters, description, metadata, enforcementMode, nonComplianceMessages, resourceSelectors, overrides, assignmentType, instanceId, ) + o = new(displayName, policyDefinitionId, definitionVersion, latestDefinitionVersion, effectiveDefinitionVersion, scope, notScopes, parameters, description, metadata, enforcementMode, nonComplianceMessages, resourceSelectors, overrides, assignmentType, instanceId, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyAssignmentProperties -const _property_types_PolicyAssignmentProperties = Dict{Symbol,String}(Symbol("displayName")=>"String", Symbol("policyDefinitionId")=>"String", Symbol("scope")=>"String", Symbol("notScopes")=>"Vector{String}", Symbol("parameters")=>"Dict{String, ParameterValuesValue}", Symbol("description")=>"String", Symbol("metadata")=>"Any", Symbol("enforcementMode")=>"String", ) +const _property_types_PolicyAssignmentProperties = Dict{Symbol,String}(Symbol("displayName")=>"String", Symbol("policyDefinitionId")=>"String", Symbol("definitionVersion")=>"String", Symbol("latestDefinitionVersion")=>"String", Symbol("effectiveDefinitionVersion")=>"String", Symbol("scope")=>"String", Symbol("notScopes")=>"Vector{String}", Symbol("parameters")=>"Dict{String, ParameterValuesValue}", Symbol("description")=>"String", Symbol("metadata")=>"Any", Symbol("enforcementMode")=>"String", Symbol("nonComplianceMessages")=>"Vector{NonComplianceMessage}", Symbol("resourceSelectors")=>"Vector{ResourceSelector}", Symbol("overrides")=>"Vector{Override}", Symbol("assignmentType")=>"String", Symbol("instanceId")=>"String", ) OpenAPI.property_type(::Type{ PolicyAssignmentProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyAssignmentProperties[name]))} -function check_required(o::PolicyAssignmentProperties) +function OpenAPI.check_required(o::PolicyAssignmentProperties) true end +function OpenAPI.validate_properties(o::PolicyAssignmentProperties) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("policyDefinitionId"), o.policyDefinitionId) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("definitionVersion"), o.definitionVersion) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("latestDefinitionVersion"), o.latestDefinitionVersion) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("effectiveDefinitionVersion"), o.effectiveDefinitionVersion) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("scope"), o.scope) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("notScopes"), o.notScopes) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("description"), o.description) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("metadata"), o.metadata) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("enforcementMode"), o.enforcementMode) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("nonComplianceMessages"), o.nonComplianceMessages) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("resourceSelectors"), o.resourceSelectors) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("overrides"), o.overrides) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("assignmentType"), o.assignmentType) + OpenAPI.validate_property(PolicyAssignmentProperties, Symbol("instanceId"), o.instanceId) +end + function OpenAPI.validate_property(::Type{ PolicyAssignmentProperties }, name::Symbol, val) + + + + + + + + + + + if name === Symbol("enforcementMode") - OpenAPI.validate_param(name, "PolicyAssignmentProperties", :enum, val, ["Default", "DoNotEnforce"]) + OpenAPI.validate_param(name, "PolicyAssignmentProperties", :enum, val, ["Default", "DoNotEnforce", "Enroll"]) end + + + + + + if name === Symbol("assignmentType") + OpenAPI.validate_param(name, "PolicyAssignmentProperties", :enum, val, ["NotSpecified", "System", "SystemHidden", "Custom"]) + end + + end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentUpdate.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentUpdate.jl new file mode 100644 index 0000000..63d85aa --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentUpdate.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PolicyAssignmentUpdate +The policy assignment for Patch request. + + PolicyAssignmentUpdate(; + properties=nothing, + location=nothing, + identity=nothing, + ) + + - properties::PolicyAssignmentUpdateProperties + - location::String : The location of the policy assignment. Only required when utilizing managed identity. + - identity::Identity +""" +Base.@kwdef mutable struct PolicyAssignmentUpdate <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, PolicyAssignmentUpdateProperties } + location::Union{Nothing, String} = nothing + identity = nothing # spec type: Union{ Nothing, Identity } + + function PolicyAssignmentUpdate(properties, location, identity, ) + o = new(properties, location, identity, ) + OpenAPI.validate_properties(o) + return o + end +end # type PolicyAssignmentUpdate + +const _property_types_PolicyAssignmentUpdate = Dict{Symbol,String}(Symbol("properties")=>"PolicyAssignmentUpdateProperties", Symbol("location")=>"String", Symbol("identity")=>"Identity", ) +OpenAPI.property_type(::Type{ PolicyAssignmentUpdate }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyAssignmentUpdate[name]))} + +function OpenAPI.check_required(o::PolicyAssignmentUpdate) + true +end + +function OpenAPI.validate_properties(o::PolicyAssignmentUpdate) + OpenAPI.validate_property(PolicyAssignmentUpdate, Symbol("properties"), o.properties) + OpenAPI.validate_property(PolicyAssignmentUpdate, Symbol("location"), o.location) + OpenAPI.validate_property(PolicyAssignmentUpdate, Symbol("identity"), o.identity) +end + +function OpenAPI.validate_property(::Type{ PolicyAssignmentUpdate }, name::Symbol, val) + + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentUpdateProperties.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentUpdateProperties.jl new file mode 100644 index 0000000..e82dc59 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicyAssignmentUpdateProperties.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PolicyAssignmentUpdateProperties +The policy assignment properties for Patch request. + + PolicyAssignmentUpdateProperties(; + resourceSelectors=nothing, + overrides=nothing, + ) + + - resourceSelectors::Vector{ResourceSelector} : The resource selector list to filter policies by resource properties. + - overrides::Vector{Override} : The policy property value override. +""" +Base.@kwdef mutable struct PolicyAssignmentUpdateProperties <: OpenAPI.APIModel + resourceSelectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ResourceSelector} } + overrides::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Override} } + + function PolicyAssignmentUpdateProperties(resourceSelectors, overrides, ) + o = new(resourceSelectors, overrides, ) + OpenAPI.validate_properties(o) + return o + end +end # type PolicyAssignmentUpdateProperties + +const _property_types_PolicyAssignmentUpdateProperties = Dict{Symbol,String}(Symbol("resourceSelectors")=>"Vector{ResourceSelector}", Symbol("overrides")=>"Vector{Override}", ) +OpenAPI.property_type(::Type{ PolicyAssignmentUpdateProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyAssignmentUpdateProperties[name]))} + +function OpenAPI.check_required(o::PolicyAssignmentUpdateProperties) + true +end + +function OpenAPI.validate_properties(o::PolicyAssignmentUpdateProperties) + OpenAPI.validate_property(PolicyAssignmentUpdateProperties, Symbol("resourceSelectors"), o.resourceSelectors) + OpenAPI.validate_property(PolicyAssignmentUpdateProperties, Symbol("overrides"), o.overrides) +end + +function OpenAPI.validate_property(::Type{ PolicyAssignmentUpdateProperties }, name::Symbol, val) + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicySku.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_PolicySku.jl deleted file mode 100644 index 7855aec..0000000 --- a/src/Resource/PolicyAssignmentsClient/src/models/model_PolicySku.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""PolicySku -The policy sku. This property is optional, obsolete, and will be ignored. - - PolicySku(; - name=nothing, - tier=nothing, - ) - - - name::String : The name of the policy sku. Possible values are A0 and A1. - - tier::String : The policy sku tier. Possible values are Free and Standard. -""" -Base.@kwdef mutable struct PolicySku <: OpenAPI.APIModel - name::Union{Nothing, String} = nothing - tier::Union{Nothing, String} = nothing - - function PolicySku(name, tier, ) - OpenAPI.validate_property(PolicySku, Symbol("name"), name) - OpenAPI.validate_property(PolicySku, Symbol("tier"), tier) - return new(name, tier, ) - end -end # type PolicySku - -const _property_types_PolicySku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", ) -OpenAPI.property_type(::Type{ PolicySku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicySku[name]))} - -function check_required(o::PolicySku) - o.name === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ PolicySku }, name::Symbol, val) -end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_ResourceSelector.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_ResourceSelector.jl new file mode 100644 index 0000000..22e0ed1 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_ResourceSelector.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceSelector +The resource selector to filter policies by resource properties. + + ResourceSelector(; + name=nothing, + selectors=nothing, + ) + + - name::String : The name of the resource selector. + - selectors::Vector{Selector} : The list of the selector expressions. +""" +Base.@kwdef mutable struct ResourceSelector <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + selectors::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Selector} } + + function ResourceSelector(name, selectors, ) + o = new(name, selectors, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceSelector + +const _property_types_ResourceSelector = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("selectors")=>"Vector{Selector}", ) +OpenAPI.property_type(::Type{ ResourceSelector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceSelector[name]))} + +function OpenAPI.check_required(o::ResourceSelector) + true +end + +function OpenAPI.validate_properties(o::ResourceSelector) + OpenAPI.validate_property(ResourceSelector, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceSelector, Symbol("selectors"), o.selectors) +end + +function OpenAPI.validate_property(::Type{ ResourceSelector }, name::Symbol, val) + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_Selector.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_Selector.jl new file mode 100644 index 0000000..bc8b6f9 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_Selector.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Selector +The selector expression. + + Selector(; + kind=nothing, + in=nothing, + notIn=nothing, + ) + + - kind::String : The selector kind. + - in::Vector{String} : The list of values to filter in. + - notIn::Vector{String} : The list of values to filter out. +""" +Base.@kwdef mutable struct Selector <: OpenAPI.APIModel + kind::Union{Nothing, String} = nothing + in::Union{Nothing, Vector{String}} = nothing + notIn::Union{Nothing, Vector{String}} = nothing + + function Selector(kind, in, notIn, ) + o = new(kind, in, notIn, ) + OpenAPI.validate_properties(o) + return o + end +end # type Selector + +const _property_types_Selector = Dict{Symbol,String}(Symbol("kind")=>"String", Symbol("in")=>"Vector{String}", Symbol("notIn")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ Selector }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Selector[name]))} + +function OpenAPI.check_required(o::Selector) + true +end + +function OpenAPI.validate_properties(o::Selector) + OpenAPI.validate_property(Selector, Symbol("kind"), o.kind) + OpenAPI.validate_property(Selector, Symbol("in"), o.in) + OpenAPI.validate_property(Selector, Symbol("notIn"), o.notIn) +end + +function OpenAPI.validate_property(::Type{ Selector }, name::Symbol, val) + + if name === Symbol("kind") + OpenAPI.validate_param(name, "Selector", :enum, val, ["resourceLocation", "resourceType", "resourceWithoutLocation", "policyDefinitionReferenceId"]) + end + + + +end diff --git a/src/Resource/PolicyAssignmentsClient/src/models/model_SystemData.jl b/src/Resource/PolicyAssignmentsClient/src/models/model_SystemData.jl new file mode 100644 index 0000000..cdf4b92 --- /dev/null +++ b/src/Resource/PolicyAssignmentsClient/src/models/model_SystemData.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""systemData +Metadata pertaining to creation and last modification of the resource. + + SystemData(; + createdBy=nothing, + createdByType=nothing, + createdAt=nothing, + lastModifiedBy=nothing, + lastModifiedByType=nothing, + lastModifiedAt=nothing, + ) + + - createdBy::String : The identity that created the resource. + - createdByType::String : The type of identity that created the resource. + - createdAt::ZonedDateTime : The timestamp of resource creation (UTC). + - lastModifiedBy::String : The identity that last modified the resource. + - lastModifiedByType::String : The type of identity that last modified the resource. + - lastModifiedAt::ZonedDateTime : The timestamp of resource last modification (UTC) +""" +Base.@kwdef mutable struct SystemData <: OpenAPI.APIModel + createdBy::Union{Nothing, String} = nothing + createdByType::Union{Nothing, String} = nothing + createdAt::Union{Nothing, ZonedDateTime} = nothing + lastModifiedBy::Union{Nothing, String} = nothing + lastModifiedByType::Union{Nothing, String} = nothing + lastModifiedAt::Union{Nothing, ZonedDateTime} = nothing + + function SystemData(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + o = new(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + OpenAPI.validate_properties(o) + return o + end +end # type SystemData + +const _property_types_SystemData = Dict{Symbol,String}(Symbol("createdBy")=>"String", Symbol("createdByType")=>"String", Symbol("createdAt")=>"ZonedDateTime", Symbol("lastModifiedBy")=>"String", Symbol("lastModifiedByType")=>"String", Symbol("lastModifiedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ SystemData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SystemData[name]))} + +function OpenAPI.check_required(o::SystemData) + true +end + +function OpenAPI.validate_properties(o::SystemData) + OpenAPI.validate_property(SystemData, Symbol("createdBy"), o.createdBy) + OpenAPI.validate_property(SystemData, Symbol("createdByType"), o.createdByType) + OpenAPI.validate_property(SystemData, Symbol("createdAt"), o.createdAt) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedByType"), o.lastModifiedByType) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedAt"), o.lastModifiedAt) +end + +function OpenAPI.validate_property(::Type{ SystemData }, name::Symbol, val) + + + if name === Symbol("createdByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("createdAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end + + + if name === Symbol("lastModifiedByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("lastModifiedAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end +end diff --git a/src/Resource/PolicyDefinitionsClient/.openapi-generator/FILES b/src/Resource/PolicyDefinitionsClient/.openapi-generator/FILES index 90038d8..89e9461 100644 --- a/src/Resource/PolicyDefinitionsClient/.openapi-generator/FILES +++ b/src/Resource/PolicyDefinitionsClient/.openapi-generator/FILES @@ -1,20 +1,26 @@ .openapi-generator-ignore README.md -docs/CloudError.md docs/ErrorAdditionalInfo.md +docs/ErrorDetail.md docs/ErrorResponse.md +docs/ExternalEvaluationEndpointSettings.md +docs/ExternalEvaluationEnforcementSettings.md docs/ParameterDefinitionsValue.md docs/PolicyDefinition.md docs/PolicyDefinitionListResult.md docs/PolicyDefinitionProperties.md docs/PolicyDefinitionsApi.md +docs/SystemData.md src/PolicyDefinitionsClient.jl src/apis/api_PolicyDefinitionsApi.jl src/modelincludes.jl -src/models/model_CloudError.jl src/models/model_ErrorAdditionalInfo.jl +src/models/model_ErrorDetail.jl src/models/model_ErrorResponse.jl +src/models/model_ExternalEvaluationEndpointSettings.jl +src/models/model_ExternalEvaluationEnforcementSettings.jl src/models/model_ParameterDefinitionsValue.jl src/models/model_PolicyDefinition.jl src/models/model_PolicyDefinitionListResult.jl src/models/model_PolicyDefinitionProperties.jl +src/models/model_SystemData.jl diff --git a/src/Resource/PolicyDefinitionsClient/.openapi-generator/VERSION b/src/Resource/PolicyDefinitionsClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Resource/PolicyDefinitionsClient/.openapi-generator/VERSION +++ b/src/Resource/PolicyDefinitionsClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Resource/PolicyDefinitionsClient/README.md b/src/Resource/PolicyDefinitionsClient/README.md index f89a207..a655977 100644 --- a/src/Resource/PolicyDefinitionsClient/README.md +++ b/src/Resource/PolicyDefinitionsClient/README.md @@ -5,7 +5,8 @@ To manage and control access to your resources, you can define customized polici ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2019-09-01 +- API version: 2025-03-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -21,31 +22,37 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- *PolicyDefinitionsApi* | [**policy_definitions_create_or_update**](docs/PolicyDefinitionsApi.md#policy_definitions_create_or_update)
**PUT** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Creates or updates a policy definition in a subscription. -*PolicyDefinitionsApi* | [**policy_definitions_create_or_update_at_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_create_or_update_at_management_group)
**PUT** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Creates or updates a policy definition in a management group. +*PolicyDefinitionsApi* | [**policy_definitions_create_or_update_at_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_create_or_update_at_management_group)
**PUT** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Creates or updates a policy definition in a management group. *PolicyDefinitionsApi* | [**policy_definitions_delete**](docs/PolicyDefinitionsApi.md#policy_definitions_delete)
**DELETE** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Deletes a policy definition in a subscription. -*PolicyDefinitionsApi* | [**policy_definitions_delete_at_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_delete_at_management_group)
**DELETE** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Deletes a policy definition in a management group. +*PolicyDefinitionsApi* | [**policy_definitions_delete_at_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_delete_at_management_group)
**DELETE** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Deletes a policy definition in a management group. *PolicyDefinitionsApi* | [**policy_definitions_get**](docs/PolicyDefinitionsApi.md#policy_definitions_get)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Retrieves a policy definition in a subscription. -*PolicyDefinitionsApi* | [**policy_definitions_get_at_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_get_at_management_group)
**GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Retrieve a policy definition in a management group. +*PolicyDefinitionsApi* | [**policy_definitions_get_at_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_get_at_management_group)
**GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Retrieve a policy definition in a management group. *PolicyDefinitionsApi* | [**policy_definitions_get_built_in**](docs/PolicyDefinitionsApi.md#policy_definitions_get_built_in)
**GET** /providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}
Retrieves a built-in policy definition. *PolicyDefinitionsApi* | [**policy_definitions_list**](docs/PolicyDefinitionsApi.md#policy_definitions_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions
Retrieves policy definitions in a subscription *PolicyDefinitionsApi* | [**policy_definitions_list_built_in**](docs/PolicyDefinitionsApi.md#policy_definitions_list_built_in)
**GET** /providers/Microsoft.Authorization/policyDefinitions
Retrieve built-in policy definitions -*PolicyDefinitionsApi* | [**policy_definitions_list_by_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_list_by_management_group)
**GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions
Retrieve policy definitions in a management group +*PolicyDefinitionsApi* | [**policy_definitions_list_by_management_group**](docs/PolicyDefinitionsApi.md#policy_definitions_list_by_management_group)
**GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions
Retrieve policy definitions in a management group ## Models - - [CloudError](docs/CloudError.md) - [ErrorAdditionalInfo](docs/ErrorAdditionalInfo.md) + - [ErrorDetail](docs/ErrorDetail.md) - [ErrorResponse](docs/ErrorResponse.md) + - [ExternalEvaluationEndpointSettings](docs/ExternalEvaluationEndpointSettings.md) + - [ExternalEvaluationEnforcementSettings](docs/ExternalEvaluationEnforcementSettings.md) - [ParameterDefinitionsValue](docs/ParameterDefinitionsValue.md) - [PolicyDefinition](docs/PolicyDefinition.md) - [PolicyDefinitionListResult](docs/PolicyDefinitionListResult.md) - [PolicyDefinitionProperties](docs/PolicyDefinitionProperties.md) + - [SystemData](docs/SystemData.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Resource/PolicyDefinitionsClient/docs/CloudError.md b/src/Resource/PolicyDefinitionsClient/docs/CloudError.md deleted file mode 100644 index 88e6021..0000000 --- a/src/Resource/PolicyDefinitionsClient/docs/CloudError.md +++ /dev/null @@ -1,12 +0,0 @@ -# CloudError - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/PolicyDefinitionsClient/docs/ErrorDetail.md b/src/Resource/PolicyDefinitionsClient/docs/ErrorDetail.md new file mode 100644 index 0000000..40b8a90 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/docs/ErrorDetail.md @@ -0,0 +1,16 @@ +# ErrorDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{ErrorDetail}**](ErrorDetail.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyDefinitionsClient/docs/ErrorResponse.md b/src/Resource/PolicyDefinitionsClient/docs/ErrorResponse.md index 5d136c6..11650bb 100644 --- a/src/Resource/PolicyDefinitionsClient/docs/ErrorResponse.md +++ b/src/Resource/PolicyDefinitionsClient/docs/ErrorResponse.md @@ -4,11 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **String** | The error code. | [optional] [readonly] [default to nothing] -**message** | **String** | The error message. | [optional] [readonly] [default to nothing] -**target** | **String** | The error target. | [optional] [readonly] [default to nothing] -**details** | [**Vector{ErrorResponse}**](ErrorResponse.md) | The error details. | [optional] [readonly] [default to nothing] -**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] +**error** | [***ErrorDetail**](ErrorDetail.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyDefinitionsClient/docs/ExternalEvaluationEndpointSettings.md b/src/Resource/PolicyDefinitionsClient/docs/ExternalEvaluationEndpointSettings.md new file mode 100644 index 0000000..5cb66cb --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/docs/ExternalEvaluationEndpointSettings.md @@ -0,0 +1,13 @@ +# ExternalEvaluationEndpointSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**kind** | **String** | The kind of the endpoint. | [optional] [default to nothing] +**details** | **Any** | The details of the endpoint. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyDefinitionsClient/docs/ExternalEvaluationEnforcementSettings.md b/src/Resource/PolicyDefinitionsClient/docs/ExternalEvaluationEnforcementSettings.md new file mode 100644 index 0000000..c3ceaa5 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/docs/ExternalEvaluationEnforcementSettings.md @@ -0,0 +1,15 @@ +# ExternalEvaluationEnforcementSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**missingTokenAction** | **String** | What to do when evaluating an enforcement policy that requires an external evaluation and the token is missing. Possible values are Audit and Deny and language expressions are supported. | [optional] [default to nothing] +**resultLifespan** | **String** | The lifespan of the endpoint invocation result after which it's no longer valid. Value is expected to follow the ISO 8601 duration format and language expressions are supported. | [optional] [default to nothing] +**endpointSettings** | [***ExternalEvaluationEndpointSettings**](ExternalEvaluationEndpointSettings.md) | | [optional] [default to nothing] +**roleDefinitionIds** | **Vector{String}** | An array of the role definition Ids the assignment's MSI will need in order to invoke the endpoint. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyDefinitionsClient/docs/ParameterDefinitionsValue.md b/src/Resource/PolicyDefinitionsClient/docs/ParameterDefinitionsValue.md index 7ce970a..aa9300c 100644 --- a/src/Resource/PolicyDefinitionsClient/docs/ParameterDefinitionsValue.md +++ b/src/Resource/PolicyDefinitionsClient/docs/ParameterDefinitionsValue.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **type** | **String** | The data type of the parameter. | [optional] [default to nothing] **allowedValues** | **Vector{Any}** | The allowed values for the parameter. | [optional] [default to nothing] **defaultValue** | **Any** | The default value for the parameter if no value is provided. | [optional] [default to nothing] +**schema** | **Any** | Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/. | [optional] [default to nothing] **metadata** | **Dict{String, Any}** | General metadata for the parameter. | [optional] [default to nothing] diff --git a/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinition.md b/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinition.md index 8dd3c3d..f2e1b9f 100644 --- a/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinition.md +++ b/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinition.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **id** | **String** | The ID of the policy definition. | [optional] [readonly] [default to nothing] **name** | **String** | The name of the policy definition. | [optional] [readonly] [default to nothing] **type** | **String** | The type of the resource (Microsoft.Authorization/policyDefinitions). | [optional] [readonly] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionProperties.md b/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionProperties.md index 94ac4a4..597bf37 100644 --- a/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionProperties.md +++ b/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionProperties.md @@ -5,12 +5,15 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **policyType** | **String** | The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. | [optional] [default to nothing] -**mode** | **String** | The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. | [optional] [default to nothing] +**mode** | **String** | The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. | [optional] [default to "Indexed"] **displayName** | **String** | The display name of the policy definition. | [optional] [default to nothing] **description** | **String** | The policy definition description. | [optional] [default to nothing] **policyRule** | **Any** | The policy rule. | [optional] [default to nothing] **metadata** | **Any** | The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. | [optional] [default to nothing] **parameters** | [**Dict{String, ParameterDefinitionsValue}**](ParameterDefinitionsValue.md) | The parameter definitions for parameters used in the policy. The keys are the parameter names. | [optional] [default to nothing] +**version** | **String** | The policy definition version in #.#.# format. | [optional] [default to nothing] +**versions** | **Vector{String}** | A list of available versions for this policy definition. | [optional] [default to nothing] +**externalEvaluationEnforcementSettings** | [***ExternalEvaluationEnforcementSettings**](ExternalEvaluationEnforcementSettings.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionsApi.md b/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionsApi.md index 9b75e33..6e6fb40 100644 --- a/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionsApi.md +++ b/src/Resource/PolicyDefinitionsClient/docs/PolicyDefinitionsApi.md @@ -5,20 +5,20 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**policy_definitions_create_or_update**](PolicyDefinitionsApi.md#policy_definitions_create_or_update) | **PUT** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Creates or updates a policy definition in a subscription. -[**policy_definitions_create_or_update_at_management_group**](PolicyDefinitionsApi.md#policy_definitions_create_or_update_at_management_group) | **PUT** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Creates or updates a policy definition in a management group. +[**policy_definitions_create_or_update_at_management_group**](PolicyDefinitionsApi.md#policy_definitions_create_or_update_at_management_group) | **PUT** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Creates or updates a policy definition in a management group. [**policy_definitions_delete**](PolicyDefinitionsApi.md#policy_definitions_delete) | **DELETE** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Deletes a policy definition in a subscription. -[**policy_definitions_delete_at_management_group**](PolicyDefinitionsApi.md#policy_definitions_delete_at_management_group) | **DELETE** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Deletes a policy definition in a management group. +[**policy_definitions_delete_at_management_group**](PolicyDefinitionsApi.md#policy_definitions_delete_at_management_group) | **DELETE** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Deletes a policy definition in a management group. [**policy_definitions_get**](PolicyDefinitionsApi.md#policy_definitions_get) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Retrieves a policy definition in a subscription. -[**policy_definitions_get_at_management_group**](PolicyDefinitionsApi.md#policy_definitions_get_at_management_group) | **GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Retrieve a policy definition in a management group. +[**policy_definitions_get_at_management_group**](PolicyDefinitionsApi.md#policy_definitions_get_at_management_group) | **GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Retrieve a policy definition in a management group. [**policy_definitions_get_built_in**](PolicyDefinitionsApi.md#policy_definitions_get_built_in) | **GET** /providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName} | Retrieves a built-in policy definition. [**policy_definitions_list**](PolicyDefinitionsApi.md#policy_definitions_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions | Retrieves policy definitions in a subscription [**policy_definitions_list_built_in**](PolicyDefinitionsApi.md#policy_definitions_list_built_in) | **GET** /providers/Microsoft.Authorization/policyDefinitions | Retrieve built-in policy definitions -[**policy_definitions_list_by_management_group**](PolicyDefinitionsApi.md#policy_definitions_list_by_management_group) | **GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions | Retrieve policy definitions in a management group +[**policy_definitions_list_by_management_group**](PolicyDefinitionsApi.md#policy_definitions_list_by_management_group) | **GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions | Retrieve policy definitions in a management group # **policy_definitions_create_or_update** -> policy_definitions_create_or_update(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String, parameters::PolicyDefinition; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
-> policy_definitions_create_or_update(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, subscription_id::String, parameters::PolicyDefinition; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse +> policy_definitions_create_or_update(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
+> policy_definitions_create_or_update(_api::PolicyDefinitionsApi, response_stream::Channel, subscription_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse Creates or updates a policy definition in a subscription. @@ -29,10 +29,10 @@ This operation creates or updates a policy definition in the given subscription Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the policy definition to create. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**PolicyDefinition**](PolicyDefinition.md)| The policy definition properties. | +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**policy_definition_name** | **String** | The name of the policy definition to create. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicyDefinition**](PolicyDefinition.md) | The policy definition properties. | ### Return type @@ -50,8 +50,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_create_or_update_at_management_group** -> policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String, parameters::PolicyDefinition; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
-> policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, management_group_id::String, parameters::PolicyDefinition; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse +> policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
+> policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, management_group_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse Creates or updates a policy definition in a management group. @@ -62,10 +62,10 @@ This operation creates or updates a policy definition in the given management gr Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the policy definition to create. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] -**parameters** | [**PolicyDefinition**](PolicyDefinition.md)| The policy definition properties. | +**management_group_id** | **String** | The ID of the management group. | +**policy_definition_name** | **String** | The name of the policy definition to create. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicyDefinition**](PolicyDefinition.md) | The policy definition properties. | ### Return type @@ -83,8 +83,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_delete** -> policy_definitions_delete(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> policy_definitions_delete(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> policy_definitions_delete(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> policy_definitions_delete(_api::PolicyDefinitionsApi, response_stream::Channel, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse Deletes a policy definition in a subscription. @@ -95,9 +95,9 @@ This operation deletes the policy definition in the given subscription with the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the policy definition to delete. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**policy_definition_name** | **String** | The name of the policy definition to delete. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -115,8 +115,8 @@ Nothing [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_delete_at_management_group** -> policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse Deletes a policy definition in a management group. @@ -127,9 +127,9 @@ This operation deletes the policy definition in the given management group with Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the policy definition to delete. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] +**management_group_id** | **String** | The ID of the management group. | +**policy_definition_name** | **String** | The name of the policy definition to delete. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -147,8 +147,8 @@ Nothing [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_get** -> policy_definitions_get(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
-> policy_definitions_get(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse +> policy_definitions_get(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
+> policy_definitions_get(_api::PolicyDefinitionsApi, response_stream::Channel, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse Retrieves a policy definition in a subscription. @@ -159,9 +159,9 @@ This operation retrieves the policy definition in the given subscription with th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the policy definition to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**policy_definition_name** | **String** | The name of the policy definition to get. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -179,8 +179,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_get_at_management_group** -> policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
-> policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse +> policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> PolicyDefinition, OpenAPI.Clients.ApiResponse
+> policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ PolicyDefinition }, OpenAPI.Clients.ApiResponse Retrieve a policy definition in a management group. @@ -191,9 +191,9 @@ This operation retrieves the policy definition in the given management group wit Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the policy definition to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] +**management_group_id** | **String** | The ID of the management group. | +**policy_definition_name** | **String** | The name of the policy definition to get. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -223,8 +223,8 @@ This operation retrieves the built-in policy definition with the given name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**policy_definition_name** | **String**| The name of the built-in policy definition to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**policy_definition_name** | **String** | The name of the built-in policy definition to get. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -242,20 +242,27 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_list** -> policy_definitions_list(_api::PolicyDefinitionsApi, api_version::String, subscription_id::String; _mediaType=nothing) -> PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse
-> policy_definitions_list(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ PolicyDefinitionListResult }, OpenAPI.Clients.ApiResponse +> policy_definitions_list(_api::PolicyDefinitionsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse
+> policy_definitions_list(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyDefinitionListResult }, OpenAPI.Clients.ApiResponse Retrieves policy definitions in a subscription -This operation retrieves a list of all the policy definitions in a given subscription. +This operation retrieves a list of all the policy definitions in a given subscription that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the subscription, including those that apply directly or from management groups that contain the given subscription. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -273,19 +280,26 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_list_built_in** -> policy_definitions_list_built_in(_api::PolicyDefinitionsApi, api_version::String; _mediaType=nothing) -> PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse
-> policy_definitions_list_built_in(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String; _mediaType=nothing) -> Channel{ PolicyDefinitionListResult }, OpenAPI.Clients.ApiResponse +> policy_definitions_list_built_in(_api::PolicyDefinitionsApi, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse
+> policy_definitions_list_built_in(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyDefinitionListResult }, OpenAPI.Clients.ApiResponse Retrieve built-in policy definitions -This operation retrieves a list of all the built-in policy definitions. +This operation retrieves a list of all the built-in policy definitions that match the optional given $filter. If $filter='policyType -eq {value}' is provided, the returned list only includes all built-in policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy definitions whose category match the {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -303,20 +317,27 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_definitions_list_by_management_group** -> policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, api_version::String, management_group_id::String; _mediaType=nothing) -> PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse
-> policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, management_group_id::String; _mediaType=nothing) -> Channel{ PolicyDefinitionListResult }, OpenAPI.Clients.ApiResponse +> policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, api_version::String, management_group_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse
+> policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, management_group_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicyDefinitionListResult }, OpenAPI.Clients.ApiResponse Retrieve policy definitions in a management group -This operation retrieves a list of all the policy definitions in a given management group. +This operation retrieves a list of all the policy definitions in a given management group that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the management group, including those that apply directly or from management groups that contain the given management group. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicyDefinitionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**management_group_id** | **String** | The ID of the management group. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type diff --git a/src/Resource/PolicyDefinitionsClient/docs/SystemData.md b/src/Resource/PolicyDefinitionsClient/docs/SystemData.md new file mode 100644 index 0000000..6037fd9 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/docs/SystemData.md @@ -0,0 +1,17 @@ +# SystemData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**createdBy** | **String** | The identity that created the resource. | [optional] [default to nothing] +**createdByType** | **String** | The type of identity that created the resource. | [optional] [default to nothing] +**createdAt** | **ZonedDateTime** | The timestamp of resource creation (UTC). | [optional] [default to nothing] +**lastModifiedBy** | **String** | The identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedByType** | **String** | The type of identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedAt** | **ZonedDateTime** | The timestamp of resource last modification (UTC) | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicyDefinitionsClient/src/PolicyDefinitionsClient.jl b/src/Resource/PolicyDefinitionsClient/src/PolicyDefinitionsClient.jl index 5b1af5b..33f7731 100644 --- a/src/Resource/PolicyDefinitionsClient/src/PolicyDefinitionsClient.jl +++ b/src/Resource/PolicyDefinitionsClient/src/PolicyDefinitionsClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2019-09-01" +const API_VERSION = "2025-03-01" include("modelincludes.jl") diff --git a/src/Resource/PolicyDefinitionsClient/src/apis/api_PolicyDefinitionsApi.jl b/src/Resource/PolicyDefinitionsClient/src/apis/api_PolicyDefinitionsApi.jl index d937e1e..83b0ea4 100644 --- a/src/Resource/PolicyDefinitionsClient/src/apis/api_PolicyDefinitionsApi.jl +++ b/src/Resource/PolicyDefinitionsClient/src/apis/api_PolicyDefinitionsApi.jl @@ -13,14 +13,18 @@ basepath(::Type{ PolicyDefinitionsApi }) = "https://management.azure.com" const _returntypes_policy_definitions_create_or_update_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("201", "x"=>".") * "\$") => PolicyDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_create_or_update(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String, parameters::PolicyDefinition; _mediaType=nothing) +function _oacinternal_policy_definitions_create_or_update(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_create_or_update", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_create_or_update", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_definitions_create_or_update_PolicyDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -31,33 +35,37 @@ end This operation creates or updates a policy definition in the given subscription with the given name. Params: +- subscription_id::String (required) - policy_definition_name::String (required) - api_version::String (required) -- subscription_id::String (required) - parameters::PolicyDefinition (required) Return: PolicyDefinition, OpenAPI.Clients.ApiResponse """ -function policy_definitions_create_or_update(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String, parameters::PolicyDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_create_or_update(_api, policy_definition_name, api_version, subscription_id, parameters; _mediaType=_mediaType) +function policy_definitions_create_or_update(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_create_or_update(_api, subscription_id, policy_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_create_or_update(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, subscription_id::String, parameters::PolicyDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_create_or_update(_api, policy_definition_name, api_version, subscription_id, parameters; _mediaType=_mediaType) +function policy_definitions_create_or_update(_api::PolicyDefinitionsApi, response_stream::Channel, subscription_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_create_or_update(_api, subscription_id, policy_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_create_or_update_at_management_group_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("201", "x"=>".") * "\$") => PolicyDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String, parameters::PolicyDefinition; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_definitions_create_or_update_at_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String +function _oacinternal_policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_create_or_update_at_management_group", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_create_or_update_at_management_group", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_definitions_create_or_update_at_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -68,34 +76,38 @@ end This operation creates or updates a policy definition in the given management group with the given name. Params: +- management_group_id::String (required) - policy_definition_name::String (required) - api_version::String (required) -- management_group_id::String (required) - parameters::PolicyDefinition (required) Return: PolicyDefinition, OpenAPI.Clients.ApiResponse """ -function policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String, parameters::PolicyDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_create_or_update_at_management_group(_api, policy_definition_name, api_version, management_group_id, parameters; _mediaType=_mediaType) +function policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_create_or_update_at_management_group(_api, management_group_id, policy_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, management_group_id::String, parameters::PolicyDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_create_or_update_at_management_group(_api, policy_definition_name, api_version, management_group_id, parameters; _mediaType=_mediaType) +function policy_definitions_create_or_update_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, management_group_id::String, policy_definition_name::String, api_version::String, parameters::PolicyDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_create_or_update_at_management_group(_api, management_group_id, policy_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_delete_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_delete(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_policy_definitions_delete(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_delete", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_delete", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_definitions_delete_PolicyDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -106,33 +118,37 @@ end This operation deletes the policy definition in the given subscription with the given name. Params: +- subscription_id::String (required) - policy_definition_name::String (required) - api_version::String (required) -- subscription_id::String (required) Return: Nothing, OpenAPI.Clients.ApiResponse """ -function policy_definitions_delete(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_delete(_api, policy_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_definitions_delete(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_delete(_api, subscription_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_delete(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_delete(_api, policy_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_definitions_delete(_api::PolicyDefinitionsApi, response_stream::Channel, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_delete(_api, subscription_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_delete_at_management_group_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_definitions_delete_at_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String +function _oacinternal_policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_delete_at_management_group", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_delete_at_management_group", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_definitions_delete_at_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -143,32 +159,36 @@ end This operation deletes the policy definition in the given management group with the given name. Params: +- management_group_id::String (required) - policy_definition_name::String (required) - api_version::String (required) -- management_group_id::String (required) Return: Nothing, OpenAPI.Clients.ApiResponse """ -function policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_delete_at_management_group(_api, policy_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_delete_at_management_group(_api, management_group_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_delete_at_management_group(_api, policy_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_definitions_delete_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_delete_at_management_group(_api, management_group_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_get_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_get(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_policy_definitions_get(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_get", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_get", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_get_PolicyDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -179,32 +199,36 @@ end This operation retrieves the policy definition in the given subscription with the given name. Params: +- subscription_id::String (required) - policy_definition_name::String (required) - api_version::String (required) -- subscription_id::String (required) Return: PolicyDefinition, OpenAPI.Clients.ApiResponse """ -function policy_definitions_get(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_get(_api, policy_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_definitions_get(_api::PolicyDefinitionsApi, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_get(_api, subscription_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_get(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_get(_api, policy_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_definitions_get(_api::PolicyDefinitionsApi, response_stream::Channel, subscription_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_get(_api, subscription_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_get_at_management_group_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_get_at_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String +function _oacinternal_policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_get_at_management_group", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_get_at_management_group", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_get_at_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -215,31 +239,35 @@ end This operation retrieves the policy definition in the given management group with the given name. Params: +- management_group_id::String (required) - policy_definition_name::String (required) - api_version::String (required) -- management_group_id::String (required) Return: PolicyDefinition, OpenAPI.Clients.ApiResponse """ -function policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_get_at_management_group(_api, policy_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_get_at_management_group(_api, management_group_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, policy_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_get_at_management_group(_api, policy_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_definitions_get_at_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, management_group_id::String, policy_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_get_at_management_group(_api, management_group_id, policy_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_get_built_in_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) function _oacinternal_policy_definitions_get_built_in(_api::PolicyDefinitionsApi, policy_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_definition_name", "policy_definitions_get_built_in", :pattern, policy_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_definitions_get_built_in", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_get_built_in_PolicyDefinitionsApi, "/providers/Microsoft.Authorization/policyDefinitions/{policyDefinitionName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "policyDefinitionName", policy_definition_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -267,13 +295,20 @@ end const _returntypes_policy_definitions_list_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyDefinitionListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_list(_api::PolicyDefinitionsApi, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_policy_definitions_list(_api::PolicyDefinitionsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_definitions_list", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_definitions_list", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_definitions_list", :minimum, top, 1, false) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_list_PolicyDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policyDefinitions", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -281,32 +316,41 @@ end @doc raw"""Retrieves policy definitions in a subscription -This operation retrieves a list of all the policy definitions in a given subscription. +This operation retrieves a list of all the policy definitions in a given subscription that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the subscription, including those that apply directly or from management groups that contain the given subscription. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. Params: - api_version::String (required) - subscription_id::String (required) +- filter::String +- top::Int64 Return: PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse """ -function policy_definitions_list(_api::PolicyDefinitionsApi, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_list(_api, api_version, subscription_id; _mediaType=_mediaType) +function policy_definitions_list(_api::PolicyDefinitionsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_list(_api, api_version, subscription_id; filter=filter, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_list(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_list(_api, api_version, subscription_id; _mediaType=_mediaType) +function policy_definitions_list(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_list(_api, api_version, subscription_id; filter=filter, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_list_built_in_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyDefinitionListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_list_built_in(_api::PolicyDefinitionsApi, api_version::String; _mediaType=nothing) +function _oacinternal_policy_definitions_list_built_in(_api::PolicyDefinitionsApi, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_definitions_list_built_in", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_definitions_list_built_in", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_definitions_list_built_in", :minimum, top, 1, false) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_list_built_in_PolicyDefinitionsApi, "/providers/Microsoft.Authorization/policyDefinitions", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -314,32 +358,41 @@ end @doc raw"""Retrieve built-in policy definitions -This operation retrieves a list of all the built-in policy definitions. +This operation retrieves a list of all the built-in policy definitions that match the optional given $filter. If $filter='policyType -eq {value}' is provided, the returned list only includes all built-in policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy definitions whose category match the {value}. Params: - api_version::String (required) +- filter::String +- top::Int64 Return: PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse """ -function policy_definitions_list_built_in(_api::PolicyDefinitionsApi, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_list_built_in(_api, api_version; _mediaType=_mediaType) +function policy_definitions_list_built_in(_api::PolicyDefinitionsApi, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_list_built_in(_api, api_version; filter=filter, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_list_built_in(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_list_built_in(_api, api_version; _mediaType=_mediaType) +function policy_definitions_list_built_in(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_list_built_in(_api, api_version; filter=filter, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_definitions_list_by_management_group_PolicyDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicyDefinitionListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_list_by_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions", ["azure_auth", ]) +function _oacinternal_policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, api_version::String, management_group_id::String; filter=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_definitions_list_by_management_group", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_definitions_list_by_management_group", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_definitions_list_by_management_group", :minimum, top, 1, false) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_definitions_list_by_management_group_PolicyDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policyDefinitions", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -347,21 +400,23 @@ end @doc raw"""Retrieve policy definitions in a management group -This operation retrieves a list of all the policy definitions in a given management group. +This operation retrieves a list of all the policy definitions in a given management group that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy definitions associated with the management group, including those that apply directly or from management groups that contain the given management group. If $filter=atExactScope() is provided, the returned list only includes all policy definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy definitions whose category match the {value}. Params: - api_version::String (required) - management_group_id::String (required) +- filter::String +- top::Int64 Return: PolicyDefinitionListResult, OpenAPI.Clients.ApiResponse """ -function policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_list_by_management_group(_api, api_version, management_group_id; _mediaType=_mediaType) +function policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, api_version::String, management_group_id::String; filter=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_list_by_management_group(_api, api_version, management_group_id; filter=filter, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_definitions_list_by_management_group(_api, api_version, management_group_id; _mediaType=_mediaType) +function policy_definitions_list_by_management_group(_api::PolicyDefinitionsApi, response_stream::Channel, api_version::String, management_group_id::String; filter=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_definitions_list_by_management_group(_api, api_version, management_group_id; filter=filter, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end diff --git a/src/Resource/PolicyDefinitionsClient/src/modelincludes.jl b/src/Resource/PolicyDefinitionsClient/src/modelincludes.jl index 9196a9a..865376c 100644 --- a/src/Resource/PolicyDefinitionsClient/src/modelincludes.jl +++ b/src/Resource/PolicyDefinitionsClient/src/modelincludes.jl @@ -1,10 +1,13 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. -include("models/model_CloudError.jl") include("models/model_ErrorAdditionalInfo.jl") +include("models/model_ErrorDetail.jl") include("models/model_ErrorResponse.jl") +include("models/model_ExternalEvaluationEndpointSettings.jl") +include("models/model_ExternalEvaluationEnforcementSettings.jl") include("models/model_ParameterDefinitionsValue.jl") include("models/model_PolicyDefinition.jl") include("models/model_PolicyDefinitionListResult.jl") include("models/model_PolicyDefinitionProperties.jl") +include("models/model_SystemData.jl") diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_CloudError.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_CloudError.jl deleted file mode 100644 index 8baa210..0000000 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_CloudError.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""CloudError -An error response from a policy operation. - - CloudError(; - error=nothing, - ) - - - error::ErrorResponse -""" -Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel - error = nothing # spec type: Union{ Nothing, ErrorResponse } - - function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) - end -end # type CloudError - -const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse", ) -OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} - -function check_required(o::CloudError) - true -end - -function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) -end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl index bfc3b2f..134690a 100644 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ErrorAdditionalInfo <: OpenAPI.APIModel info::Union{Nothing, Any} = nothing function ErrorAdditionalInfo(type, info, ) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), type) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), info) - return new(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorAdditionalInfo const _property_types_ErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) OpenAPI.property_type(::Type{ ErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo[name]))} -function check_required(o::ErrorAdditionalInfo) +function OpenAPI.check_required(o::ErrorAdditionalInfo) true end +function OpenAPI.validate_properties(o::ErrorAdditionalInfo) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), o.info) +end + function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo }, name::Symbol, val) + + end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorDetail.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorDetail.jl new file mode 100644 index 0000000..a2d4570 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorDetail.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorDetail +The error detail. + + ErrorDetail(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{ErrorDetail} : The error details. + - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. +""" +Base.@kwdef mutable struct ErrorDetail <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorDetail} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } + + function ErrorDetail(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorDetail + +const _property_types_ErrorDetail = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetail}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +OpenAPI.property_type(::Type{ ErrorDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetail[name]))} + +function OpenAPI.check_required(o::ErrorDetail) + true +end + +function OpenAPI.validate_properties(o::ErrorDetail) + OpenAPI.validate_property(ErrorDetail, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetail, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorDetail, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetail, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorDetail, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ ErrorDetail }, name::Symbol, val) + + + + + +end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorResponse.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorResponse.jl index 7afb1a1..fffc54e 100644 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorResponse.jl +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_ErrorResponse.jl @@ -3,45 +3,35 @@ @doc raw"""ErrorResponse -The resource management error response. +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). ErrorResponse(; - code=nothing, - message=nothing, - target=nothing, - details=nothing, - additionalInfo=nothing, + error=nothing, ) - - code::String : The error code. - - message::String : The error message. - - target::String : The error target. - - details::Vector{ErrorResponse} : The error details. - - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. + - error::ErrorDetail """ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel - code::Union{Nothing, String} = nothing - message::Union{Nothing, String} = nothing - target::Union{Nothing, String} = nothing - details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorResponse} } - additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } - - function ErrorResponse(code, message, target, details, additionalInfo, ) - OpenAPI.validate_property(ErrorResponse, Symbol("code"), code) - OpenAPI.validate_property(ErrorResponse, Symbol("message"), message) - OpenAPI.validate_property(ErrorResponse, Symbol("target"), target) - OpenAPI.validate_property(ErrorResponse, Symbol("details"), details) - OpenAPI.validate_property(ErrorResponse, Symbol("additionalInfo"), additionalInfo) - return new(code, message, target, details, additionalInfo, ) + error = nothing # spec type: Union{ Nothing, ErrorDetail } + + function ErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse -const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorResponse}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorDetail", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_ExternalEvaluationEndpointSettings.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_ExternalEvaluationEndpointSettings.jl new file mode 100644 index 0000000..4b0a2d1 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_ExternalEvaluationEndpointSettings.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExternalEvaluationEndpointSettings +The settings of an external endpoint providing evaluation results. + + ExternalEvaluationEndpointSettings(; + kind=nothing, + details=nothing, + ) + + - kind::String : The kind of the endpoint. + - details::Any : The details of the endpoint. +""" +Base.@kwdef mutable struct ExternalEvaluationEndpointSettings <: OpenAPI.APIModel + kind::Union{Nothing, String} = nothing + details::Union{Nothing, Any} = nothing + + function ExternalEvaluationEndpointSettings(kind, details, ) + o = new(kind, details, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExternalEvaluationEndpointSettings + +const _property_types_ExternalEvaluationEndpointSettings = Dict{Symbol,String}(Symbol("kind")=>"String", Symbol("details")=>"Any", ) +OpenAPI.property_type(::Type{ ExternalEvaluationEndpointSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExternalEvaluationEndpointSettings[name]))} + +function OpenAPI.check_required(o::ExternalEvaluationEndpointSettings) + true +end + +function OpenAPI.validate_properties(o::ExternalEvaluationEndpointSettings) + OpenAPI.validate_property(ExternalEvaluationEndpointSettings, Symbol("kind"), o.kind) + OpenAPI.validate_property(ExternalEvaluationEndpointSettings, Symbol("details"), o.details) +end + +function OpenAPI.validate_property(::Type{ ExternalEvaluationEndpointSettings }, name::Symbol, val) + + +end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_ExternalEvaluationEnforcementSettings.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_ExternalEvaluationEnforcementSettings.jl new file mode 100644 index 0000000..c7d7b35 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_ExternalEvaluationEnforcementSettings.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExternalEvaluationEnforcementSettings +The details of the source of external evaluation results required by the policy during enforcement evaluation. + + ExternalEvaluationEnforcementSettings(; + missingTokenAction=nothing, + resultLifespan=nothing, + endpointSettings=nothing, + roleDefinitionIds=nothing, + ) + + - missingTokenAction::String : What to do when evaluating an enforcement policy that requires an external evaluation and the token is missing. Possible values are Audit and Deny and language expressions are supported. + - resultLifespan::String : The lifespan of the endpoint invocation result after which it's no longer valid. Value is expected to follow the ISO 8601 duration format and language expressions are supported. + - endpointSettings::ExternalEvaluationEndpointSettings + - roleDefinitionIds::Vector{String} : An array of the role definition Ids the assignment's MSI will need in order to invoke the endpoint. +""" +Base.@kwdef mutable struct ExternalEvaluationEnforcementSettings <: OpenAPI.APIModel + missingTokenAction::Union{Nothing, String} = nothing + resultLifespan::Union{Nothing, String} = nothing + endpointSettings = nothing # spec type: Union{ Nothing, ExternalEvaluationEndpointSettings } + roleDefinitionIds::Union{Nothing, Vector{String}} = nothing + + function ExternalEvaluationEnforcementSettings(missingTokenAction, resultLifespan, endpointSettings, roleDefinitionIds, ) + o = new(missingTokenAction, resultLifespan, endpointSettings, roleDefinitionIds, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExternalEvaluationEnforcementSettings + +const _property_types_ExternalEvaluationEnforcementSettings = Dict{Symbol,String}(Symbol("missingTokenAction")=>"String", Symbol("resultLifespan")=>"String", Symbol("endpointSettings")=>"ExternalEvaluationEndpointSettings", Symbol("roleDefinitionIds")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ExternalEvaluationEnforcementSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExternalEvaluationEnforcementSettings[name]))} + +function OpenAPI.check_required(o::ExternalEvaluationEnforcementSettings) + true +end + +function OpenAPI.validate_properties(o::ExternalEvaluationEnforcementSettings) + OpenAPI.validate_property(ExternalEvaluationEnforcementSettings, Symbol("missingTokenAction"), o.missingTokenAction) + OpenAPI.validate_property(ExternalEvaluationEnforcementSettings, Symbol("resultLifespan"), o.resultLifespan) + OpenAPI.validate_property(ExternalEvaluationEnforcementSettings, Symbol("endpointSettings"), o.endpointSettings) + OpenAPI.validate_property(ExternalEvaluationEnforcementSettings, Symbol("roleDefinitionIds"), o.roleDefinitionIds) +end + +function OpenAPI.validate_property(::Type{ ExternalEvaluationEnforcementSettings }, name::Symbol, val) + + + + +end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl index 03884e5..429a085 100644 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl @@ -9,38 +9,53 @@ The definition of a parameter that can be provided to the policy. type=nothing, allowedValues=nothing, defaultValue=nothing, + schema=nothing, metadata=nothing, ) - type::String : The data type of the parameter. - allowedValues::Vector{Any} : The allowed values for the parameter. - defaultValue::Any : The default value for the parameter if no value is provided. + - schema::Any : Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/. - metadata::Dict{String, Any} : General metadata for the parameter. """ Base.@kwdef mutable struct ParameterDefinitionsValue <: OpenAPI.APIModel type::Union{Nothing, String} = nothing allowedValues::Union{Nothing, Vector{Any}} = nothing defaultValue::Union{Nothing, Any} = nothing + schema::Union{Nothing, Any} = nothing metadata::Union{Nothing, Dict{String, Any}} = nothing - function ParameterDefinitionsValue(type, allowedValues, defaultValue, metadata, ) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("type"), type) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("allowedValues"), allowedValues) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("defaultValue"), defaultValue) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("metadata"), metadata) - return new(type, allowedValues, defaultValue, metadata, ) + function ParameterDefinitionsValue(type, allowedValues, defaultValue, schema, metadata, ) + o = new(type, allowedValues, defaultValue, schema, metadata, ) + OpenAPI.validate_properties(o) + return o end end # type ParameterDefinitionsValue -const _property_types_ParameterDefinitionsValue = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("allowedValues")=>"Vector{Any}", Symbol("defaultValue")=>"Any", Symbol("metadata")=>"Dict{String, Any}", ) +const _property_types_ParameterDefinitionsValue = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("allowedValues")=>"Vector{Any}", Symbol("defaultValue")=>"Any", Symbol("schema")=>"Any", Symbol("metadata")=>"Dict{String, Any}", ) OpenAPI.property_type(::Type{ ParameterDefinitionsValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ParameterDefinitionsValue[name]))} -function check_required(o::ParameterDefinitionsValue) +function OpenAPI.check_required(o::ParameterDefinitionsValue) true end +function OpenAPI.validate_properties(o::ParameterDefinitionsValue) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("type"), o.type) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("allowedValues"), o.allowedValues) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("defaultValue"), o.defaultValue) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("schema"), o.schema) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("metadata"), o.metadata) +end + function OpenAPI.validate_property(::Type{ ParameterDefinitionsValue }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "ParameterDefinitionsValue", :enum, val, ["String", "Array", "Object", "Boolean", "Integer", "Float", "DateTime"]) end + + + + + end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinition.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinition.jl index 63c4ae4..9cc6e23 100644 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinition.jl +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinition.jl @@ -10,34 +10,48 @@ The policy definition. id=nothing, name=nothing, type=nothing, + systemData=nothing, ) - properties::PolicyDefinitionProperties - id::String : The ID of the policy definition. - name::String : The name of the policy definition. - type::String : The type of the resource (Microsoft.Authorization/policyDefinitions). + - systemData::SystemData """ Base.@kwdef mutable struct PolicyDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PolicyDefinitionProperties } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing + systemData = nothing # spec type: Union{ Nothing, SystemData } - function PolicyDefinition(properties, id, name, type, ) - OpenAPI.validate_property(PolicyDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(PolicyDefinition, Symbol("id"), id) - OpenAPI.validate_property(PolicyDefinition, Symbol("name"), name) - OpenAPI.validate_property(PolicyDefinition, Symbol("type"), type) - return new(properties, id, name, type, ) + function PolicyDefinition(properties, id, name, type, systemData, ) + o = new(properties, id, name, type, systemData, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyDefinition -const _property_types_PolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"PolicyDefinitionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +const _property_types_PolicyDefinition = Dict{Symbol,String}(Symbol("properties")=>"PolicyDefinitionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("systemData")=>"SystemData", ) OpenAPI.property_type(::Type{ PolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyDefinition[name]))} -function check_required(o::PolicyDefinition) +function OpenAPI.check_required(o::PolicyDefinition) true end +function OpenAPI.validate_properties(o::PolicyDefinition) + OpenAPI.validate_property(PolicyDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(PolicyDefinition, Symbol("id"), o.id) + OpenAPI.validate_property(PolicyDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(PolicyDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(PolicyDefinition, Symbol("systemData"), o.systemData) +end + function OpenAPI.validate_property(::Type{ PolicyDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionListResult.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionListResult.jl index bd7f87e..0695836 100644 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionListResult.jl +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct PolicyDefinitionListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function PolicyDefinitionListResult(value, nextLink, ) - OpenAPI.validate_property(PolicyDefinitionListResult, Symbol("value"), value) - OpenAPI.validate_property(PolicyDefinitionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyDefinitionListResult const _property_types_PolicyDefinitionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PolicyDefinition}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ PolicyDefinitionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyDefinitionListResult[name]))} -function check_required(o::PolicyDefinitionListResult) +function OpenAPI.check_required(o::PolicyDefinitionListResult) true end +function OpenAPI.validate_properties(o::PolicyDefinitionListResult) + OpenAPI.validate_property(PolicyDefinitionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(PolicyDefinitionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ PolicyDefinitionListResult }, name::Symbol, val) + + end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionProperties.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionProperties.jl index ce1740f..d1c279a 100644 --- a/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionProperties.jl +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_PolicyDefinitionProperties.jl @@ -7,12 +7,15 @@ The policy definition properties. PolicyDefinitionProperties(; policyType=nothing, - mode=nothing, + mode="Indexed", displayName=nothing, description=nothing, policyRule=nothing, metadata=nothing, parameters=nothing, + version=nothing, + versions=nothing, + externalEvaluationEnforcementSettings=nothing, ) - policyType::String : The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. @@ -22,37 +25,62 @@ The policy definition properties. - policyRule::Any : The policy rule. - metadata::Any : The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. - parameters::Dict{String, ParameterDefinitionsValue} : The parameter definitions for parameters used in the policy. The keys are the parameter names. + - version::String : The policy definition version in #.#.# format. + - versions::Vector{String} : A list of available versions for this policy definition. + - externalEvaluationEnforcementSettings::ExternalEvaluationEnforcementSettings """ Base.@kwdef mutable struct PolicyDefinitionProperties <: OpenAPI.APIModel policyType::Union{Nothing, String} = nothing - mode::Union{Nothing, String} = nothing + mode::Union{Nothing, String} = "Indexed" displayName::Union{Nothing, String} = nothing description::Union{Nothing, String} = nothing policyRule::Union{Nothing, Any} = nothing metadata::Union{Nothing, Any} = nothing parameters::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ParameterDefinitionsValue} } + version::Union{Nothing, String} = nothing + versions::Union{Nothing, Vector{String}} = nothing + externalEvaluationEnforcementSettings = nothing # spec type: Union{ Nothing, ExternalEvaluationEnforcementSettings } - function PolicyDefinitionProperties(policyType, mode, displayName, description, policyRule, metadata, parameters, ) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("policyType"), policyType) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("mode"), mode) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("displayName"), displayName) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("description"), description) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("policyRule"), policyRule) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("metadata"), metadata) - OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("parameters"), parameters) - return new(policyType, mode, displayName, description, policyRule, metadata, parameters, ) + function PolicyDefinitionProperties(policyType, mode, displayName, description, policyRule, metadata, parameters, version, versions, externalEvaluationEnforcementSettings, ) + o = new(policyType, mode, displayName, description, policyRule, metadata, parameters, version, versions, externalEvaluationEnforcementSettings, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyDefinitionProperties -const _property_types_PolicyDefinitionProperties = Dict{Symbol,String}(Symbol("policyType")=>"String", Symbol("mode")=>"String", Symbol("displayName")=>"String", Symbol("description")=>"String", Symbol("policyRule")=>"Any", Symbol("metadata")=>"Any", Symbol("parameters")=>"Dict{String, ParameterDefinitionsValue}", ) +const _property_types_PolicyDefinitionProperties = Dict{Symbol,String}(Symbol("policyType")=>"String", Symbol("mode")=>"String", Symbol("displayName")=>"String", Symbol("description")=>"String", Symbol("policyRule")=>"Any", Symbol("metadata")=>"Any", Symbol("parameters")=>"Dict{String, ParameterDefinitionsValue}", Symbol("version")=>"String", Symbol("versions")=>"Vector{String}", Symbol("externalEvaluationEnforcementSettings")=>"ExternalEvaluationEnforcementSettings", ) OpenAPI.property_type(::Type{ PolicyDefinitionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyDefinitionProperties[name]))} -function check_required(o::PolicyDefinitionProperties) +function OpenAPI.check_required(o::PolicyDefinitionProperties) true end +function OpenAPI.validate_properties(o::PolicyDefinitionProperties) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("policyType"), o.policyType) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("mode"), o.mode) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("description"), o.description) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("policyRule"), o.policyRule) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("metadata"), o.metadata) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("version"), o.version) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("versions"), o.versions) + OpenAPI.validate_property(PolicyDefinitionProperties, Symbol("externalEvaluationEnforcementSettings"), o.externalEvaluationEnforcementSettings) +end + function OpenAPI.validate_property(::Type{ PolicyDefinitionProperties }, name::Symbol, val) + if name === Symbol("policyType") OpenAPI.validate_param(name, "PolicyDefinitionProperties", :enum, val, ["NotSpecified", "BuiltIn", "Custom", "Static"]) end + + + + + + + + + + end diff --git a/src/Resource/PolicyDefinitionsClient/src/models/model_SystemData.jl b/src/Resource/PolicyDefinitionsClient/src/models/model_SystemData.jl new file mode 100644 index 0000000..cdf4b92 --- /dev/null +++ b/src/Resource/PolicyDefinitionsClient/src/models/model_SystemData.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""systemData +Metadata pertaining to creation and last modification of the resource. + + SystemData(; + createdBy=nothing, + createdByType=nothing, + createdAt=nothing, + lastModifiedBy=nothing, + lastModifiedByType=nothing, + lastModifiedAt=nothing, + ) + + - createdBy::String : The identity that created the resource. + - createdByType::String : The type of identity that created the resource. + - createdAt::ZonedDateTime : The timestamp of resource creation (UTC). + - lastModifiedBy::String : The identity that last modified the resource. + - lastModifiedByType::String : The type of identity that last modified the resource. + - lastModifiedAt::ZonedDateTime : The timestamp of resource last modification (UTC) +""" +Base.@kwdef mutable struct SystemData <: OpenAPI.APIModel + createdBy::Union{Nothing, String} = nothing + createdByType::Union{Nothing, String} = nothing + createdAt::Union{Nothing, ZonedDateTime} = nothing + lastModifiedBy::Union{Nothing, String} = nothing + lastModifiedByType::Union{Nothing, String} = nothing + lastModifiedAt::Union{Nothing, ZonedDateTime} = nothing + + function SystemData(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + o = new(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + OpenAPI.validate_properties(o) + return o + end +end # type SystemData + +const _property_types_SystemData = Dict{Symbol,String}(Symbol("createdBy")=>"String", Symbol("createdByType")=>"String", Symbol("createdAt")=>"ZonedDateTime", Symbol("lastModifiedBy")=>"String", Symbol("lastModifiedByType")=>"String", Symbol("lastModifiedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ SystemData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SystemData[name]))} + +function OpenAPI.check_required(o::SystemData) + true +end + +function OpenAPI.validate_properties(o::SystemData) + OpenAPI.validate_property(SystemData, Symbol("createdBy"), o.createdBy) + OpenAPI.validate_property(SystemData, Symbol("createdByType"), o.createdByType) + OpenAPI.validate_property(SystemData, Symbol("createdAt"), o.createdAt) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedByType"), o.lastModifiedByType) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedAt"), o.lastModifiedAt) +end + +function OpenAPI.validate_property(::Type{ SystemData }, name::Symbol, val) + + + if name === Symbol("createdByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("createdAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end + + + if name === Symbol("lastModifiedByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("lastModifiedAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end +end diff --git a/src/Resource/PolicySetDefinitionsClient/.openapi-generator/FILES b/src/Resource/PolicySetDefinitionsClient/.openapi-generator/FILES index e1e7c86..906779f 100644 --- a/src/Resource/PolicySetDefinitionsClient/.openapi-generator/FILES +++ b/src/Resource/PolicySetDefinitionsClient/.openapi-generator/FILES @@ -1,7 +1,7 @@ .openapi-generator-ignore README.md -docs/CloudError.md docs/ErrorAdditionalInfo.md +docs/ErrorDetail.md docs/ErrorResponse.md docs/ParameterDefinitionsValue.md docs/ParameterValuesValue.md @@ -11,11 +11,12 @@ docs/PolicySetDefinition.md docs/PolicySetDefinitionListResult.md docs/PolicySetDefinitionProperties.md docs/PolicySetDefinitionsApi.md +docs/SystemData.md src/PolicySetDefinitionsClient.jl src/apis/api_PolicySetDefinitionsApi.jl src/modelincludes.jl -src/models/model_CloudError.jl src/models/model_ErrorAdditionalInfo.jl +src/models/model_ErrorDetail.jl src/models/model_ErrorResponse.jl src/models/model_ParameterDefinitionsValue.jl src/models/model_ParameterValuesValue.jl @@ -24,3 +25,4 @@ src/models/model_PolicyDefinitionReference.jl src/models/model_PolicySetDefinition.jl src/models/model_PolicySetDefinitionListResult.jl src/models/model_PolicySetDefinitionProperties.jl +src/models/model_SystemData.jl diff --git a/src/Resource/PolicySetDefinitionsClient/.openapi-generator/VERSION b/src/Resource/PolicySetDefinitionsClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Resource/PolicySetDefinitionsClient/.openapi-generator/VERSION +++ b/src/Resource/PolicySetDefinitionsClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Resource/PolicySetDefinitionsClient/README.md b/src/Resource/PolicySetDefinitionsClient/README.md index 0871dea..761f5e2 100644 --- a/src/Resource/PolicySetDefinitionsClient/README.md +++ b/src/Resource/PolicySetDefinitionsClient/README.md @@ -5,7 +5,8 @@ To manage and control access to your resources, you can define customized polici ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2019-09-01 +- API version: 2025-03-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -21,21 +22,21 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- *PolicySetDefinitionsApi* | [**policy_set_definitions_create_or_update**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_create_or_update)
**PUT** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Creates or updates a policy set definition. -*PolicySetDefinitionsApi* | [**policy_set_definitions_create_or_update_at_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_create_or_update_at_management_group)
**PUT** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Creates or updates a policy set definition. +*PolicySetDefinitionsApi* | [**policy_set_definitions_create_or_update_at_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_create_or_update_at_management_group)
**PUT** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Creates or updates a policy set definition. *PolicySetDefinitionsApi* | [**policy_set_definitions_delete**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_delete)
**DELETE** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Deletes a policy set definition. -*PolicySetDefinitionsApi* | [**policy_set_definitions_delete_at_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_delete_at_management_group)
**DELETE** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Deletes a policy set definition. +*PolicySetDefinitionsApi* | [**policy_set_definitions_delete_at_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_delete_at_management_group)
**DELETE** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Deletes a policy set definition. *PolicySetDefinitionsApi* | [**policy_set_definitions_get**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_get)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Retrieves a policy set definition. -*PolicySetDefinitionsApi* | [**policy_set_definitions_get_at_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_get_at_management_group)
**GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Retrieves a policy set definition. +*PolicySetDefinitionsApi* | [**policy_set_definitions_get_at_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_get_at_management_group)
**GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Retrieves a policy set definition. *PolicySetDefinitionsApi* | [**policy_set_definitions_get_built_in**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_get_built_in)
**GET** /providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}
Retrieves a built in policy set definition. *PolicySetDefinitionsApi* | [**policy_set_definitions_list**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions
Retrieves the policy set definitions for a subscription. *PolicySetDefinitionsApi* | [**policy_set_definitions_list_built_in**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_list_built_in)
**GET** /providers/Microsoft.Authorization/policySetDefinitions
Retrieves built-in policy set definitions. -*PolicySetDefinitionsApi* | [**policy_set_definitions_list_by_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_list_by_management_group)
**GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions
Retrieves all policy set definitions in management group. +*PolicySetDefinitionsApi* | [**policy_set_definitions_list_by_management_group**](docs/PolicySetDefinitionsApi.md#policy_set_definitions_list_by_management_group)
**GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions
Retrieves all policy set definitions in management group. ## Models - - [CloudError](docs/CloudError.md) - [ErrorAdditionalInfo](docs/ErrorAdditionalInfo.md) + - [ErrorDetail](docs/ErrorDetail.md) - [ErrorResponse](docs/ErrorResponse.md) - [ParameterDefinitionsValue](docs/ParameterDefinitionsValue.md) - [ParameterValuesValue](docs/ParameterValuesValue.md) @@ -44,11 +45,15 @@ Class | Method - [PolicySetDefinition](docs/PolicySetDefinition.md) - [PolicySetDefinitionListResult](docs/PolicySetDefinitionListResult.md) - [PolicySetDefinitionProperties](docs/PolicySetDefinitionProperties.md) + - [SystemData](docs/SystemData.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Resource/PolicySetDefinitionsClient/docs/CloudError.md b/src/Resource/PolicySetDefinitionsClient/docs/CloudError.md deleted file mode 100644 index 88e6021..0000000 --- a/src/Resource/PolicySetDefinitionsClient/docs/CloudError.md +++ /dev/null @@ -1,12 +0,0 @@ -# CloudError - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/PolicySetDefinitionsClient/docs/ErrorDetail.md b/src/Resource/PolicySetDefinitionsClient/docs/ErrorDetail.md new file mode 100644 index 0000000..40b8a90 --- /dev/null +++ b/src/Resource/PolicySetDefinitionsClient/docs/ErrorDetail.md @@ -0,0 +1,16 @@ +# ErrorDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{ErrorDetail}**](ErrorDetail.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicySetDefinitionsClient/docs/ErrorResponse.md b/src/Resource/PolicySetDefinitionsClient/docs/ErrorResponse.md index 5d136c6..11650bb 100644 --- a/src/Resource/PolicySetDefinitionsClient/docs/ErrorResponse.md +++ b/src/Resource/PolicySetDefinitionsClient/docs/ErrorResponse.md @@ -4,11 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **String** | The error code. | [optional] [readonly] [default to nothing] -**message** | **String** | The error message. | [optional] [readonly] [default to nothing] -**target** | **String** | The error target. | [optional] [readonly] [default to nothing] -**details** | [**Vector{ErrorResponse}**](ErrorResponse.md) | The error details. | [optional] [readonly] [default to nothing] -**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] +**error** | [***ErrorDetail**](ErrorDetail.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicySetDefinitionsClient/docs/ParameterDefinitionsValue.md b/src/Resource/PolicySetDefinitionsClient/docs/ParameterDefinitionsValue.md index 7ce970a..aa9300c 100644 --- a/src/Resource/PolicySetDefinitionsClient/docs/ParameterDefinitionsValue.md +++ b/src/Resource/PolicySetDefinitionsClient/docs/ParameterDefinitionsValue.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **type** | **String** | The data type of the parameter. | [optional] [default to nothing] **allowedValues** | **Vector{Any}** | The allowed values for the parameter. | [optional] [default to nothing] **defaultValue** | **Any** | The default value for the parameter if no value is provided. | [optional] [default to nothing] +**schema** | **Any** | Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/. | [optional] [default to nothing] **metadata** | **Dict{String, Any}** | General metadata for the parameter. | [optional] [default to nothing] diff --git a/src/Resource/PolicySetDefinitionsClient/docs/PolicyDefinitionReference.md b/src/Resource/PolicySetDefinitionsClient/docs/PolicyDefinitionReference.md index 18d6bbf..3c50601 100644 --- a/src/Resource/PolicySetDefinitionsClient/docs/PolicyDefinitionReference.md +++ b/src/Resource/PolicySetDefinitionsClient/docs/PolicyDefinitionReference.md @@ -5,6 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **policyDefinitionId** | **String** | The ID of the policy definition or policy set definition. | [default to nothing] +**definitionVersion** | **String** | The version of the policy definition to use. | [optional] [default to nothing] +**latestDefinitionVersion** | **String** | The latest version of the policy definition available. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] +**effectiveDefinitionVersion** | **String** | The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] **parameters** | [**Dict{String, ParameterValuesValue}**](ParameterValuesValue.md) | The parameter values for the policy rule. The keys are the parameter names. | [optional] [default to nothing] **policyDefinitionReferenceId** | **String** | A unique id (within the policy set definition) for this policy definition reference. | [optional] [default to nothing] **groupNames** | **Vector{String}** | The name of the groups that this policy definition reference belongs to. | [optional] [default to nothing] diff --git a/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinition.md b/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinition.md index 24d891c..645b2f0 100644 --- a/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinition.md +++ b/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinition.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **id** | **String** | The ID of the policy set definition. | [optional] [readonly] [default to nothing] **name** | **String** | The name of the policy set definition. | [optional] [readonly] [default to nothing] **type** | **String** | The type of the resource (Microsoft.Authorization/policySetDefinitions). | [optional] [readonly] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionProperties.md b/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionProperties.md index 6559ac5..af8b9de 100644 --- a/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionProperties.md +++ b/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionProperties.md @@ -4,13 +4,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**policyType** | **String** | The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. | [optional] [default to nothing] +**policyType** | **String** | The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. | [optional] [default to nothing] **displayName** | **String** | The display name of the policy set definition. | [optional] [default to nothing] **description** | **String** | The policy set definition description. | [optional] [default to nothing] **metadata** | **Any** | The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. | [optional] [default to nothing] **parameters** | [**Dict{String, ParameterDefinitionsValue}**](ParameterDefinitionsValue.md) | The parameter definitions for parameters used in the policy. The keys are the parameter names. | [optional] [default to nothing] **policyDefinitions** | [**Vector{PolicyDefinitionReference}**](PolicyDefinitionReference.md) | An array of policy definition references. | [default to nothing] **policyDefinitionGroups** | [**Vector{PolicyDefinitionGroup}**](PolicyDefinitionGroup.md) | The metadata describing groups of policy definition references within the policy set definition. | [optional] [default to nothing] +**version** | **String** | The policy set definition version in #.#.# format. | [optional] [default to nothing] +**versions** | **Vector{String}** | A list of available versions for this policy set definition. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionsApi.md b/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionsApi.md index c9fb434..aa1ebb5 100644 --- a/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionsApi.md +++ b/src/Resource/PolicySetDefinitionsClient/docs/PolicySetDefinitionsApi.md @@ -5,20 +5,20 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- [**policy_set_definitions_create_or_update**](PolicySetDefinitionsApi.md#policy_set_definitions_create_or_update) | **PUT** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Creates or updates a policy set definition. -[**policy_set_definitions_create_or_update_at_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_create_or_update_at_management_group) | **PUT** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Creates or updates a policy set definition. +[**policy_set_definitions_create_or_update_at_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_create_or_update_at_management_group) | **PUT** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Creates or updates a policy set definition. [**policy_set_definitions_delete**](PolicySetDefinitionsApi.md#policy_set_definitions_delete) | **DELETE** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Deletes a policy set definition. -[**policy_set_definitions_delete_at_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_delete_at_management_group) | **DELETE** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Deletes a policy set definition. +[**policy_set_definitions_delete_at_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_delete_at_management_group) | **DELETE** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Deletes a policy set definition. [**policy_set_definitions_get**](PolicySetDefinitionsApi.md#policy_set_definitions_get) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Retrieves a policy set definition. -[**policy_set_definitions_get_at_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_get_at_management_group) | **GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Retrieves a policy set definition. +[**policy_set_definitions_get_at_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_get_at_management_group) | **GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Retrieves a policy set definition. [**policy_set_definitions_get_built_in**](PolicySetDefinitionsApi.md#policy_set_definitions_get_built_in) | **GET** /providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName} | Retrieves a built in policy set definition. [**policy_set_definitions_list**](PolicySetDefinitionsApi.md#policy_set_definitions_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions | Retrieves the policy set definitions for a subscription. [**policy_set_definitions_list_built_in**](PolicySetDefinitionsApi.md#policy_set_definitions_list_built_in) | **GET** /providers/Microsoft.Authorization/policySetDefinitions | Retrieves built-in policy set definitions. -[**policy_set_definitions_list_by_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_list_by_management_group) | **GET** /providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions | Retrieves all policy set definitions in management group. +[**policy_set_definitions_list_by_management_group**](PolicySetDefinitionsApi.md#policy_set_definitions_list_by_management_group) | **GET** /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions | Retrieves all policy set definitions in management group. # **policy_set_definitions_create_or_update** -> policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String, parameters::PolicySetDefinition; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, subscription_id::String, parameters::PolicySetDefinition; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse Creates or updates a policy set definition. @@ -29,10 +29,10 @@ This operation creates or updates a policy set definition in the given subscript Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to create. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**PolicySetDefinition**](PolicySetDefinition.md)| The policy set definition properties. | +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**policy_set_definition_name** | **String** | The name of the policy set definition to create. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicySetDefinition**](PolicySetDefinition.md) | The policy set definition properties. | ### Return type @@ -50,8 +50,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_create_or_update_at_management_group** -> policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String, parameters::PolicySetDefinition; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, management_group_id::String, parameters::PolicySetDefinition; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse Creates or updates a policy set definition. @@ -62,10 +62,10 @@ This operation creates or updates a policy set definition in the given managemen Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to create. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] -**parameters** | [**PolicySetDefinition**](PolicySetDefinition.md)| The policy set definition properties. | +**management_group_id** | **String** | The ID of the management group. | +**policy_set_definition_name** | **String** | The name of the policy set definition to create. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**PolicySetDefinition**](PolicySetDefinition.md) | The policy set definition properties. | ### Return type @@ -83,8 +83,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_delete** -> policy_set_definitions_delete(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_delete(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_delete(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_delete(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse Deletes a policy set definition. @@ -95,9 +95,9 @@ This operation deletes the policy set definition in the given subscription with Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to delete. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**policy_set_definition_name** | **String** | The name of the policy set definition to delete. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -115,8 +115,8 @@ Nothing [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_delete_at_management_group** -> policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse Deletes a policy set definition. @@ -127,9 +127,9 @@ This operation deletes the policy set definition in the given management group w Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to delete. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] +**management_group_id** | **String** | The ID of the management group. | +**policy_set_definition_name** | **String** | The name of the policy set definition to delete. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -147,8 +147,8 @@ Nothing [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_get** -> policy_set_definitions_get(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_get(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_get(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_get(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse Retrieves a policy set definition. @@ -159,9 +159,15 @@ This operation retrieves the policy set definition in the given subscription wit Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**policy_set_definition_name** | **String** | The name of the policy set definition to get. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] ### Return type @@ -179,8 +185,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_get_at_management_group** -> policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse Retrieves a policy set definition. @@ -191,9 +197,15 @@ This operation retrieves the policy set definition in the given management group Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] +**management_group_id** | **String** | The ID of the management group. | +**policy_set_definition_name** | **String** | The name of the policy set definition to get. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] ### Return type @@ -211,8 +223,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_get_built_in** -> policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String; _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String; _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> PolicySetDefinition, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ PolicySetDefinition }, OpenAPI.Clients.ApiResponse Retrieves a built in policy set definition. @@ -223,8 +235,14 @@ This operation retrieves the built-in policy set definition with the given name. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**policy_set_definition_name** | **String**| The name of the policy set definition to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**policy_set_definition_name** | **String** | The name of the policy set definition to get. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] ### Return type @@ -242,20 +260,28 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_list** -> policy_set_definitions_list(_api::PolicySetDefinitionsApi, api_version::String, subscription_id::String; _mediaType=nothing) -> PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_list(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ PolicySetDefinitionListResult }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_list(_api::PolicySetDefinitionsApi, subscription_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_list(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicySetDefinitionListResult }, OpenAPI.Clients.ApiResponse Retrieves the policy set definitions for a subscription. -This operation retrieves a list of all the policy set definitions in the given subscription. +This operation retrieves a list of all the policy set definitions in a given subscription that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy set definitions associated with the subscription, including those that apply directly or from management groups that contain the given subscription. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn and Custom. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. The value must be an UUID. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -273,19 +299,27 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_list_built_in** -> policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, api_version::String; _mediaType=nothing) -> PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String; _mediaType=nothing) -> Channel{ PolicySetDefinitionListResult }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicySetDefinitionListResult }, OpenAPI.Clients.ApiResponse Retrieves built-in policy set definitions. -This operation retrieves a list of all the built-in policy set definitions. +This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy set definitions whose category match the {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type @@ -303,20 +337,28 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **policy_set_definitions_list_by_management_group** -> policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, api_version::String, management_group_id::String; _mediaType=nothing) -> PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse
-> policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String, management_group_id::String; _mediaType=nothing) -> Channel{ PolicySetDefinitionListResult }, OpenAPI.Clients.ApiResponse +> policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse
+> policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) -> Channel{ PolicySetDefinitionListResult }, OpenAPI.Clients.ApiResponse Retrieves all policy set definitions in management group. -This operation retrieves a list of all the a policy set definition in the given management group. +This operation retrieves a list of all the policy set definitions in a given management group that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy set definitions associated with the management group, including those that apply directly or from management groups that contain the given management group. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn and Custom. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PolicySetDefinitionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**management_group_id** | **String**| The ID of the management group. | [default to nothing] +**management_group_id** | **String** | The ID of the management group. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **filter** | **String** | The filter to apply on the operation. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, no filtering is performed. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given scope. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Supported values are 'LatestDefinitionVersion, EffectiveDefinitionVersion'. | [default to nothing] + **top** | **Int64** | Maximum number of records to return. When the $top filter is not provided, it will return 500 records. | [default to nothing] ### Return type diff --git a/src/Resource/PolicySetDefinitionsClient/docs/SystemData.md b/src/Resource/PolicySetDefinitionsClient/docs/SystemData.md new file mode 100644 index 0000000..6037fd9 --- /dev/null +++ b/src/Resource/PolicySetDefinitionsClient/docs/SystemData.md @@ -0,0 +1,17 @@ +# SystemData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**createdBy** | **String** | The identity that created the resource. | [optional] [default to nothing] +**createdByType** | **String** | The type of identity that created the resource. | [optional] [default to nothing] +**createdAt** | **ZonedDateTime** | The timestamp of resource creation (UTC). | [optional] [default to nothing] +**lastModifiedBy** | **String** | The identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedByType** | **String** | The type of identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedAt** | **ZonedDateTime** | The timestamp of resource last modification (UTC) | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/PolicySetDefinitionsClient/src/PolicySetDefinitionsClient.jl b/src/Resource/PolicySetDefinitionsClient/src/PolicySetDefinitionsClient.jl index 403b623..fcf410b 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/PolicySetDefinitionsClient.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/PolicySetDefinitionsClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2019-09-01" +const API_VERSION = "2025-03-01" include("modelincludes.jl") diff --git a/src/Resource/PolicySetDefinitionsClient/src/apis/api_PolicySetDefinitionsApi.jl b/src/Resource/PolicySetDefinitionsClient/src/apis/api_PolicySetDefinitionsApi.jl index 5b96e95..d5b931b 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/apis/api_PolicySetDefinitionsApi.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/apis/api_PolicySetDefinitionsApi.jl @@ -14,14 +14,18 @@ basepath(::Type{ PolicySetDefinitionsApi }) = "https://management.azure.com" const _returntypes_policy_set_definitions_create_or_update_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("201", "x"=>".") * "\$") => PolicySetDefinition, Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String, parameters::PolicySetDefinition; _mediaType=nothing) +function _oacinternal_policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_create_or_update", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_create_or_update", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_set_definitions_create_or_update_PolicySetDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -32,34 +36,38 @@ end This operation creates or updates a policy set definition in the given subscription with the given name. Params: +- subscription_id::String (required) - policy_set_definition_name::String (required) - api_version::String (required) -- subscription_id::String (required) - parameters::PolicySetDefinition (required) Return: PolicySetDefinition, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String, parameters::PolicySetDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_create_or_update(_api, policy_set_definition_name, api_version, subscription_id, parameters; _mediaType=_mediaType) +function policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_create_or_update(_api, subscription_id, policy_set_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, subscription_id::String, parameters::PolicySetDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_create_or_update(_api, policy_set_definition_name, api_version, subscription_id, parameters; _mediaType=_mediaType) +function policy_set_definitions_create_or_update(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_create_or_update(_api, subscription_id, policy_set_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_create_or_update_at_management_group_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("201", "x"=>".") * "\$") => PolicySetDefinition, Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String, parameters::PolicySetDefinition; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_set_definitions_create_or_update_at_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String +function _oacinternal_policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_create_or_update_at_management_group", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_create_or_update_at_management_group", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_policy_set_definitions_create_or_update_at_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -70,34 +78,38 @@ end This operation creates or updates a policy set definition in the given management group with the given name. Params: +- management_group_id::String (required) - policy_set_definition_name::String (required) - api_version::String (required) -- management_group_id::String (required) - parameters::PolicySetDefinition (required) Return: PolicySetDefinition, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String, parameters::PolicySetDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_create_or_update_at_management_group(_api, policy_set_definition_name, api_version, management_group_id, parameters; _mediaType=_mediaType) +function policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_create_or_update_at_management_group(_api, management_group_id, policy_set_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, management_group_id::String, parameters::PolicySetDefinition; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_create_or_update_at_management_group(_api, policy_set_definition_name, api_version, management_group_id, parameters; _mediaType=_mediaType) +function policy_set_definitions_create_or_update_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, policy_set_definition_name::String, api_version::String, parameters::PolicySetDefinition; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_create_or_update_at_management_group(_api, management_group_id, policy_set_definition_name, api_version, parameters; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_delete_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_delete(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_policy_set_definitions_delete(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_delete", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_delete", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_set_definitions_delete_PolicySetDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -108,33 +120,37 @@ end This operation deletes the policy set definition in the given subscription with the given name. Params: +- subscription_id::String (required) - policy_set_definition_name::String (required) - api_version::String (required) -- subscription_id::String (required) Return: Nothing, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_delete(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_delete(_api, policy_set_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_set_definitions_delete(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_delete(_api, subscription_id, policy_set_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_delete(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_delete(_api, policy_set_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_set_definitions_delete(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_delete(_api, subscription_id, policy_set_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_delete_at_management_group_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_set_definitions_delete_at_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String +function _oacinternal_policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_delete_at_management_group", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_delete_at_management_group", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_policy_set_definitions_delete_at_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -145,32 +161,37 @@ end This operation deletes the policy set definition in the given management group with the given name. Params: +- management_group_id::String (required) - policy_set_definition_name::String (required) - api_version::String (required) -- management_group_id::String (required) Return: Nothing, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_delete_at_management_group(_api, policy_set_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_delete_at_management_group(_api, management_group_id, policy_set_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_delete_at_management_group(_api, policy_set_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_set_definitions_delete_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, policy_set_definition_name::String, api_version::String; _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_delete_at_management_group(_api, management_group_id, policy_set_definition_name, api_version; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_get_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_get(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_policy_set_definitions_get(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_get", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_get", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_get_PolicySetDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -181,32 +202,38 @@ end This operation retrieves the policy set definition in the given subscription with the given name. Params: +- subscription_id::String (required) - policy_set_definition_name::String (required) - api_version::String (required) -- subscription_id::String (required) +- expand::String Return: PolicySetDefinition, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_get(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_get(_api, policy_set_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_set_definitions_get(_api::PolicySetDefinitionsApi, subscription_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_get(_api, subscription_id, policy_set_definition_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_get(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_get(_api, policy_set_definition_name, api_version, subscription_id; _mediaType=_mediaType) +function policy_set_definitions_get(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_get(_api, subscription_id, policy_set_definition_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_get_at_management_group_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_get_at_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String +function _oacinternal_policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_get_at_management_group", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_get_at_management_group", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_get_at_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -217,31 +244,37 @@ end This operation retrieves the policy set definition in the given management group with the given name. Params: +- management_group_id::String (required) - policy_set_definition_name::String (required) - api_version::String (required) -- management_group_id::String (required) +- expand::String Return: PolicySetDefinition, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_get_at_management_group(_api, policy_set_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_get_at_management_group(_api, management_group_id, policy_set_definition_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_get_at_management_group(_api, policy_set_definition_name, api_version, management_group_id; _mediaType=_mediaType) +function policy_set_definitions_get_at_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_get_at_management_group(_api, management_group_id, policy_set_definition_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_get_built_in_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinition, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String; _mediaType=nothing) +function _oacinternal_policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + OpenAPI.validate_param("policy_set_definition_name", "policy_set_definitions_get_built_in", :pattern, policy_set_definition_name, r"^[^<>*%&:\?.+/]*[^<>*%&:\?.+/ ]+$") + + OpenAPI.validate_param("api_version", "policy_set_definitions_get_built_in", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_get_built_in_PolicySetDefinitionsApi, "/providers/Microsoft.Authorization/policySetDefinitions/{policySetDefinitionName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "policySetDefinitionName", policy_set_definition_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -254,28 +287,37 @@ This operation retrieves the built-in policy set definition with the given name. Params: - policy_set_definition_name::String (required) - api_version::String (required) +- expand::String Return: PolicySetDefinition, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_get_built_in(_api, policy_set_definition_name, api_version; _mediaType=_mediaType) +function policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_get_built_in(_api, policy_set_definition_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_get_built_in(_api, policy_set_definition_name, api_version; _mediaType=_mediaType) +function policy_set_definitions_get_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, policy_set_definition_name::String, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_get_built_in(_api, policy_set_definition_name, api_version; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_list_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinitionListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_list(_api::PolicySetDefinitionsApi, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_policy_set_definitions_list(_api::PolicySetDefinitionsApi, subscription_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_set_definitions_list", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_set_definitions_list", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_set_definitions_list", :minimum, top, 1, false) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_list_PolicySetDefinitionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Authorization/policySetDefinitions", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -283,32 +325,43 @@ end @doc raw"""Retrieves the policy set definitions for a subscription. -This operation retrieves a list of all the policy set definitions in the given subscription. +This operation retrieves a list of all the policy set definitions in a given subscription that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy set definitions associated with the subscription, including those that apply directly or from management groups that contain the given subscription. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given subscription. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn and Custom. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. Params: -- api_version::String (required) - subscription_id::String (required) +- api_version::String (required) +- filter::String +- expand::String +- top::Int64 Return: PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_list(_api::PolicySetDefinitionsApi, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_list(_api, api_version, subscription_id; _mediaType=_mediaType) +function policy_set_definitions_list(_api::PolicySetDefinitionsApi, subscription_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_list(_api, subscription_id, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_list(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_list(_api, api_version, subscription_id; _mediaType=_mediaType) +function policy_set_definitions_list(_api::PolicySetDefinitionsApi, response_stream::Channel, subscription_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_list(_api, subscription_id, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_list_built_in_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinitionListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, api_version::String; _mediaType=nothing) +function _oacinternal_policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_set_definitions_list_built_in", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_set_definitions_list_built_in", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_set_definitions_list_built_in", :minimum, top, 1, false) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_list_built_in_PolicySetDefinitionsApi, "/providers/Microsoft.Authorization/policySetDefinitions", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -316,32 +369,43 @@ end @doc raw"""Retrieves built-in policy set definitions. -This operation retrieves a list of all the built-in policy set definitions. +This operation retrieves a list of all the built-in policy set definitions that match the optional given $filter. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy set definitions whose category match the {value}. Params: - api_version::String (required) +- filter::String +- expand::String +- top::Int64 Return: PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_list_built_in(_api, api_version; _mediaType=_mediaType) +function policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_list_built_in(_api, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_list_built_in(_api, api_version; _mediaType=_mediaType) +function policy_set_definitions_list_built_in(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_list_built_in(_api, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end const _returntypes_policy_set_definitions_list_by_management_group_PolicySetDefinitionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => PolicySetDefinitionListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, ) -function _oacinternal_policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_list_by_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementgroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions", ["azure_auth", ]) +function _oacinternal_policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "policy_set_definitions_list_by_management_group", :minLength, api_version, 1) + + OpenAPI.validate_param("top", "policy_set_definitions_list_by_management_group", :maximum, top, 1000, false) + OpenAPI.validate_param("top", "policy_set_definitions_list_by_management_group", :minimum, top, 1, false) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_policy_set_definitions_list_by_management_group_PolicySetDefinitionsApi, "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Authorization/policySetDefinitions", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "managementGroupId", management_group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -349,21 +413,24 @@ end @doc raw"""Retrieves all policy set definitions in management group. -This operation retrieves a list of all the a policy set definition in the given management group. +This operation retrieves a list of all the policy set definitions in a given management group that match the optional given $filter. Valid values for $filter are: 'atExactScope()', 'policyType -eq {value}' or 'category eq '{value}''. If $filter is not provided, the unfiltered list includes all policy set definitions associated with the management group, including those that apply directly or from management groups that contain the given management group. If $filter=atExactScope() is provided, the returned list only includes all policy set definitions that at the given management group. If $filter='policyType -eq {value}' is provided, the returned list only includes all policy set definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn and Custom. If $filter='category -eq {value}' is provided, the returned list only includes all policy set definitions whose category match the {value}. Params: -- api_version::String (required) - management_group_id::String (required) +- api_version::String (required) +- filter::String +- expand::String +- top::Int64 Return: PolicySetDefinitionListResult, OpenAPI.Clients.ApiResponse """ -function policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_list_by_management_group(_api, api_version, management_group_id; _mediaType=_mediaType) +function policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_list_by_management_group(_api, management_group_id, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, api_version::String, management_group_id::String; _mediaType=nothing) - _ctx = _oacinternal_policy_set_definitions_list_by_management_group(_api, api_version, management_group_id; _mediaType=_mediaType) +function policy_set_definitions_list_by_management_group(_api::PolicySetDefinitionsApi, response_stream::Channel, management_group_id::String, api_version::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) + _ctx = _oacinternal_policy_set_definitions_list_by_management_group(_api, management_group_id, api_version; filter=filter, expand=expand, top=top, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end diff --git a/src/Resource/PolicySetDefinitionsClient/src/modelincludes.jl b/src/Resource/PolicySetDefinitionsClient/src/modelincludes.jl index 6b7347b..9533f03 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/modelincludes.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/modelincludes.jl @@ -1,8 +1,8 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. -include("models/model_CloudError.jl") include("models/model_ErrorAdditionalInfo.jl") +include("models/model_ErrorDetail.jl") include("models/model_ErrorResponse.jl") include("models/model_ParameterDefinitionsValue.jl") include("models/model_ParameterValuesValue.jl") @@ -11,3 +11,4 @@ include("models/model_PolicyDefinitionReference.jl") include("models/model_PolicySetDefinition.jl") include("models/model_PolicySetDefinitionListResult.jl") include("models/model_PolicySetDefinitionProperties.jl") +include("models/model_SystemData.jl") diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_CloudError.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_CloudError.jl deleted file mode 100644 index 8baa210..0000000 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_CloudError.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""CloudError -An error response from a policy operation. - - CloudError(; - error=nothing, - ) - - - error::ErrorResponse -""" -Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel - error = nothing # spec type: Union{ Nothing, ErrorResponse } - - function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) - end -end # type CloudError - -const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse", ) -OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} - -function check_required(o::CloudError) - true -end - -function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) -end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl index bfc3b2f..134690a 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorAdditionalInfo.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ErrorAdditionalInfo <: OpenAPI.APIModel info::Union{Nothing, Any} = nothing function ErrorAdditionalInfo(type, info, ) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), type) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), info) - return new(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorAdditionalInfo const _property_types_ErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) OpenAPI.property_type(::Type{ ErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo[name]))} -function check_required(o::ErrorAdditionalInfo) +function OpenAPI.check_required(o::ErrorAdditionalInfo) true end +function OpenAPI.validate_properties(o::ErrorAdditionalInfo) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), o.info) +end + function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo }, name::Symbol, val) + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorDetail.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorDetail.jl new file mode 100644 index 0000000..a2d4570 --- /dev/null +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorDetail.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorDetail +The error detail. + + ErrorDetail(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{ErrorDetail} : The error details. + - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. +""" +Base.@kwdef mutable struct ErrorDetail <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorDetail} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } + + function ErrorDetail(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorDetail + +const _property_types_ErrorDetail = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetail}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +OpenAPI.property_type(::Type{ ErrorDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetail[name]))} + +function OpenAPI.check_required(o::ErrorDetail) + true +end + +function OpenAPI.validate_properties(o::ErrorDetail) + OpenAPI.validate_property(ErrorDetail, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetail, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorDetail, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetail, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorDetail, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ ErrorDetail }, name::Symbol, val) + + + + + +end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorResponse.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorResponse.jl index 7afb1a1..fffc54e 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorResponse.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_ErrorResponse.jl @@ -3,45 +3,35 @@ @doc raw"""ErrorResponse -The resource management error response. +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). ErrorResponse(; - code=nothing, - message=nothing, - target=nothing, - details=nothing, - additionalInfo=nothing, + error=nothing, ) - - code::String : The error code. - - message::String : The error message. - - target::String : The error target. - - details::Vector{ErrorResponse} : The error details. - - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. + - error::ErrorDetail """ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel - code::Union{Nothing, String} = nothing - message::Union{Nothing, String} = nothing - target::Union{Nothing, String} = nothing - details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorResponse} } - additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } - - function ErrorResponse(code, message, target, details, additionalInfo, ) - OpenAPI.validate_property(ErrorResponse, Symbol("code"), code) - OpenAPI.validate_property(ErrorResponse, Symbol("message"), message) - OpenAPI.validate_property(ErrorResponse, Symbol("target"), target) - OpenAPI.validate_property(ErrorResponse, Symbol("details"), details) - OpenAPI.validate_property(ErrorResponse, Symbol("additionalInfo"), additionalInfo) - return new(code, message, target, details, additionalInfo, ) + error = nothing # spec type: Union{ Nothing, ErrorDetail } + + function ErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse -const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorResponse}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorDetail", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl index 03884e5..429a085 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterDefinitionsValue.jl @@ -9,38 +9,53 @@ The definition of a parameter that can be provided to the policy. type=nothing, allowedValues=nothing, defaultValue=nothing, + schema=nothing, metadata=nothing, ) - type::String : The data type of the parameter. - allowedValues::Vector{Any} : The allowed values for the parameter. - defaultValue::Any : The default value for the parameter if no value is provided. + - schema::Any : Provides validation of parameter inputs during assignment using a self-defined JSON schema. This property is only supported for object-type parameters and follows the Json.NET Schema 2019-09 implementation. You can learn more about using schemas at https://json-schema.org/ and test draft schemas at https://www.jsonschemavalidator.net/. - metadata::Dict{String, Any} : General metadata for the parameter. """ Base.@kwdef mutable struct ParameterDefinitionsValue <: OpenAPI.APIModel type::Union{Nothing, String} = nothing allowedValues::Union{Nothing, Vector{Any}} = nothing defaultValue::Union{Nothing, Any} = nothing + schema::Union{Nothing, Any} = nothing metadata::Union{Nothing, Dict{String, Any}} = nothing - function ParameterDefinitionsValue(type, allowedValues, defaultValue, metadata, ) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("type"), type) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("allowedValues"), allowedValues) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("defaultValue"), defaultValue) - OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("metadata"), metadata) - return new(type, allowedValues, defaultValue, metadata, ) + function ParameterDefinitionsValue(type, allowedValues, defaultValue, schema, metadata, ) + o = new(type, allowedValues, defaultValue, schema, metadata, ) + OpenAPI.validate_properties(o) + return o end end # type ParameterDefinitionsValue -const _property_types_ParameterDefinitionsValue = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("allowedValues")=>"Vector{Any}", Symbol("defaultValue")=>"Any", Symbol("metadata")=>"Dict{String, Any}", ) +const _property_types_ParameterDefinitionsValue = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("allowedValues")=>"Vector{Any}", Symbol("defaultValue")=>"Any", Symbol("schema")=>"Any", Symbol("metadata")=>"Dict{String, Any}", ) OpenAPI.property_type(::Type{ ParameterDefinitionsValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ParameterDefinitionsValue[name]))} -function check_required(o::ParameterDefinitionsValue) +function OpenAPI.check_required(o::ParameterDefinitionsValue) true end +function OpenAPI.validate_properties(o::ParameterDefinitionsValue) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("type"), o.type) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("allowedValues"), o.allowedValues) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("defaultValue"), o.defaultValue) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("schema"), o.schema) + OpenAPI.validate_property(ParameterDefinitionsValue, Symbol("metadata"), o.metadata) +end + function OpenAPI.validate_property(::Type{ ParameterDefinitionsValue }, name::Symbol, val) + if name === Symbol("type") OpenAPI.validate_param(name, "ParameterDefinitionsValue", :enum, val, ["String", "Array", "Object", "Boolean", "Integer", "Float", "DateTime"]) end + + + + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterValuesValue.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterValuesValue.jl index 7be964f..0a8936e 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterValuesValue.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_ParameterValuesValue.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ParameterValuesValue <: OpenAPI.APIModel value::Union{Nothing, Any} = nothing function ParameterValuesValue(value, ) - OpenAPI.validate_property(ParameterValuesValue, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type ParameterValuesValue const _property_types_ParameterValuesValue = Dict{Symbol,String}(Symbol("value")=>"Any", ) OpenAPI.property_type(::Type{ ParameterValuesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ParameterValuesValue[name]))} -function check_required(o::ParameterValuesValue) +function OpenAPI.check_required(o::ParameterValuesValue) true end +function OpenAPI.validate_properties(o::ParameterValuesValue) + OpenAPI.validate_property(ParameterValuesValue, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ ParameterValuesValue }, name::Symbol, val) + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionGroup.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionGroup.jl index 323035a..e09d887 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionGroup.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionGroup.jl @@ -27,22 +27,32 @@ Base.@kwdef mutable struct PolicyDefinitionGroup <: OpenAPI.APIModel additionalMetadataId::Union{Nothing, String} = nothing function PolicyDefinitionGroup(name, displayName, category, description, additionalMetadataId, ) - OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("name"), name) - OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("displayName"), displayName) - OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("category"), category) - OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("description"), description) - OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("additionalMetadataId"), additionalMetadataId) - return new(name, displayName, category, description, additionalMetadataId, ) + o = new(name, displayName, category, description, additionalMetadataId, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyDefinitionGroup const _property_types_PolicyDefinitionGroup = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("displayName")=>"String", Symbol("category")=>"String", Symbol("description")=>"String", Symbol("additionalMetadataId")=>"String", ) OpenAPI.property_type(::Type{ PolicyDefinitionGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyDefinitionGroup[name]))} -function check_required(o::PolicyDefinitionGroup) +function OpenAPI.check_required(o::PolicyDefinitionGroup) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::PolicyDefinitionGroup) + OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("name"), o.name) + OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("category"), o.category) + OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("description"), o.description) + OpenAPI.validate_property(PolicyDefinitionGroup, Symbol("additionalMetadataId"), o.additionalMetadataId) +end + function OpenAPI.validate_property(::Type{ PolicyDefinitionGroup }, name::Symbol, val) + + + + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionReference.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionReference.jl index c2b76de..032a3fb 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionReference.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicyDefinitionReference.jl @@ -7,38 +7,62 @@ The policy definition reference. PolicyDefinitionReference(; policyDefinitionId=nothing, + definitionVersion=nothing, + latestDefinitionVersion=nothing, + effectiveDefinitionVersion=nothing, parameters=nothing, policyDefinitionReferenceId=nothing, groupNames=nothing, ) - policyDefinitionId::String : The ID of the policy definition or policy set definition. + - definitionVersion::String : The version of the policy definition to use. + - latestDefinitionVersion::String : The latest version of the policy definition available. This is only present if requested via the $expand query parameter. + - effectiveDefinitionVersion::String : The effective version of the policy definition in use. This is only present if requested via the $expand query parameter. - parameters::Dict{String, ParameterValuesValue} : The parameter values for the policy rule. The keys are the parameter names. - policyDefinitionReferenceId::String : A unique id (within the policy set definition) for this policy definition reference. - groupNames::Vector{String} : The name of the groups that this policy definition reference belongs to. """ Base.@kwdef mutable struct PolicyDefinitionReference <: OpenAPI.APIModel policyDefinitionId::Union{Nothing, String} = nothing + definitionVersion::Union{Nothing, String} = nothing + latestDefinitionVersion::Union{Nothing, String} = nothing + effectiveDefinitionVersion::Union{Nothing, String} = nothing parameters::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ParameterValuesValue} } policyDefinitionReferenceId::Union{Nothing, String} = nothing groupNames::Union{Nothing, Vector{String}} = nothing - function PolicyDefinitionReference(policyDefinitionId, parameters, policyDefinitionReferenceId, groupNames, ) - OpenAPI.validate_property(PolicyDefinitionReference, Symbol("policyDefinitionId"), policyDefinitionId) - OpenAPI.validate_property(PolicyDefinitionReference, Symbol("parameters"), parameters) - OpenAPI.validate_property(PolicyDefinitionReference, Symbol("policyDefinitionReferenceId"), policyDefinitionReferenceId) - OpenAPI.validate_property(PolicyDefinitionReference, Symbol("groupNames"), groupNames) - return new(policyDefinitionId, parameters, policyDefinitionReferenceId, groupNames, ) + function PolicyDefinitionReference(policyDefinitionId, definitionVersion, latestDefinitionVersion, effectiveDefinitionVersion, parameters, policyDefinitionReferenceId, groupNames, ) + o = new(policyDefinitionId, definitionVersion, latestDefinitionVersion, effectiveDefinitionVersion, parameters, policyDefinitionReferenceId, groupNames, ) + OpenAPI.validate_properties(o) + return o end end # type PolicyDefinitionReference -const _property_types_PolicyDefinitionReference = Dict{Symbol,String}(Symbol("policyDefinitionId")=>"String", Symbol("parameters")=>"Dict{String, ParameterValuesValue}", Symbol("policyDefinitionReferenceId")=>"String", Symbol("groupNames")=>"Vector{String}", ) +const _property_types_PolicyDefinitionReference = Dict{Symbol,String}(Symbol("policyDefinitionId")=>"String", Symbol("definitionVersion")=>"String", Symbol("latestDefinitionVersion")=>"String", Symbol("effectiveDefinitionVersion")=>"String", Symbol("parameters")=>"Dict{String, ParameterValuesValue}", Symbol("policyDefinitionReferenceId")=>"String", Symbol("groupNames")=>"Vector{String}", ) OpenAPI.property_type(::Type{ PolicyDefinitionReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicyDefinitionReference[name]))} -function check_required(o::PolicyDefinitionReference) +function OpenAPI.check_required(o::PolicyDefinitionReference) o.policyDefinitionId === nothing && (return false) true end +function OpenAPI.validate_properties(o::PolicyDefinitionReference) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("policyDefinitionId"), o.policyDefinitionId) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("definitionVersion"), o.definitionVersion) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("latestDefinitionVersion"), o.latestDefinitionVersion) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("effectiveDefinitionVersion"), o.effectiveDefinitionVersion) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("policyDefinitionReferenceId"), o.policyDefinitionReferenceId) + OpenAPI.validate_property(PolicyDefinitionReference, Symbol("groupNames"), o.groupNames) +end + function OpenAPI.validate_property(::Type{ PolicyDefinitionReference }, name::Symbol, val) + + + + + + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinition.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinition.jl index ccda777..b59cea3 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinition.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinition.jl @@ -10,34 +10,48 @@ The policy set definition. id=nothing, name=nothing, type=nothing, + systemData=nothing, ) - properties::PolicySetDefinitionProperties - id::String : The ID of the policy set definition. - name::String : The name of the policy set definition. - type::String : The type of the resource (Microsoft.Authorization/policySetDefinitions). + - systemData::SystemData """ Base.@kwdef mutable struct PolicySetDefinition <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PolicySetDefinitionProperties } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing + systemData = nothing # spec type: Union{ Nothing, SystemData } - function PolicySetDefinition(properties, id, name, type, ) - OpenAPI.validate_property(PolicySetDefinition, Symbol("properties"), properties) - OpenAPI.validate_property(PolicySetDefinition, Symbol("id"), id) - OpenAPI.validate_property(PolicySetDefinition, Symbol("name"), name) - OpenAPI.validate_property(PolicySetDefinition, Symbol("type"), type) - return new(properties, id, name, type, ) + function PolicySetDefinition(properties, id, name, type, systemData, ) + o = new(properties, id, name, type, systemData, ) + OpenAPI.validate_properties(o) + return o end end # type PolicySetDefinition -const _property_types_PolicySetDefinition = Dict{Symbol,String}(Symbol("properties")=>"PolicySetDefinitionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +const _property_types_PolicySetDefinition = Dict{Symbol,String}(Symbol("properties")=>"PolicySetDefinitionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("systemData")=>"SystemData", ) OpenAPI.property_type(::Type{ PolicySetDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicySetDefinition[name]))} -function check_required(o::PolicySetDefinition) +function OpenAPI.check_required(o::PolicySetDefinition) true end +function OpenAPI.validate_properties(o::PolicySetDefinition) + OpenAPI.validate_property(PolicySetDefinition, Symbol("properties"), o.properties) + OpenAPI.validate_property(PolicySetDefinition, Symbol("id"), o.id) + OpenAPI.validate_property(PolicySetDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(PolicySetDefinition, Symbol("type"), o.type) + OpenAPI.validate_property(PolicySetDefinition, Symbol("systemData"), o.systemData) +end + function OpenAPI.validate_property(::Type{ PolicySetDefinition }, name::Symbol, val) + + + + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionListResult.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionListResult.jl index d682ffa..15cbdc5 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionListResult.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct PolicySetDefinitionListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function PolicySetDefinitionListResult(value, nextLink, ) - OpenAPI.validate_property(PolicySetDefinitionListResult, Symbol("value"), value) - OpenAPI.validate_property(PolicySetDefinitionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type PolicySetDefinitionListResult const _property_types_PolicySetDefinitionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PolicySetDefinition}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ PolicySetDefinitionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicySetDefinitionListResult[name]))} -function check_required(o::PolicySetDefinitionListResult) +function OpenAPI.check_required(o::PolicySetDefinitionListResult) true end +function OpenAPI.validate_properties(o::PolicySetDefinitionListResult) + OpenAPI.validate_property(PolicySetDefinitionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(PolicySetDefinitionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ PolicySetDefinitionListResult }, name::Symbol, val) + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionProperties.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionProperties.jl index b2ecd15..e2e20b3 100644 --- a/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionProperties.jl +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_PolicySetDefinitionProperties.jl @@ -13,15 +13,19 @@ The policy set definition properties. parameters=nothing, policyDefinitions=nothing, policyDefinitionGroups=nothing, + version=nothing, + versions=nothing, ) - - policyType::String : The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. + - policyType::String : The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. - displayName::String : The display name of the policy set definition. - description::String : The policy set definition description. - metadata::Any : The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. - parameters::Dict{String, ParameterDefinitionsValue} : The parameter definitions for parameters used in the policy. The keys are the parameter names. - policyDefinitions::Vector{PolicyDefinitionReference} : An array of policy definition references. - policyDefinitionGroups::Vector{PolicyDefinitionGroup} : The metadata describing groups of policy definition references within the policy set definition. + - version::String : The policy set definition version in #.#.# format. + - versions::Vector{String} : A list of available versions for this policy set definition. """ Base.@kwdef mutable struct PolicySetDefinitionProperties <: OpenAPI.APIModel policyType::Union{Nothing, String} = nothing @@ -31,29 +35,48 @@ Base.@kwdef mutable struct PolicySetDefinitionProperties <: OpenAPI.APIModel parameters::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, ParameterDefinitionsValue} } policyDefinitions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PolicyDefinitionReference} } policyDefinitionGroups::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PolicyDefinitionGroup} } + version::Union{Nothing, String} = nothing + versions::Union{Nothing, Vector{String}} = nothing - function PolicySetDefinitionProperties(policyType, displayName, description, metadata, parameters, policyDefinitions, policyDefinitionGroups, ) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("policyType"), policyType) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("displayName"), displayName) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("description"), description) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("metadata"), metadata) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("parameters"), parameters) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("policyDefinitions"), policyDefinitions) - OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("policyDefinitionGroups"), policyDefinitionGroups) - return new(policyType, displayName, description, metadata, parameters, policyDefinitions, policyDefinitionGroups, ) + function PolicySetDefinitionProperties(policyType, displayName, description, metadata, parameters, policyDefinitions, policyDefinitionGroups, version, versions, ) + o = new(policyType, displayName, description, metadata, parameters, policyDefinitions, policyDefinitionGroups, version, versions, ) + OpenAPI.validate_properties(o) + return o end end # type PolicySetDefinitionProperties -const _property_types_PolicySetDefinitionProperties = Dict{Symbol,String}(Symbol("policyType")=>"String", Symbol("displayName")=>"String", Symbol("description")=>"String", Symbol("metadata")=>"Any", Symbol("parameters")=>"Dict{String, ParameterDefinitionsValue}", Symbol("policyDefinitions")=>"Vector{PolicyDefinitionReference}", Symbol("policyDefinitionGroups")=>"Vector{PolicyDefinitionGroup}", ) +const _property_types_PolicySetDefinitionProperties = Dict{Symbol,String}(Symbol("policyType")=>"String", Symbol("displayName")=>"String", Symbol("description")=>"String", Symbol("metadata")=>"Any", Symbol("parameters")=>"Dict{String, ParameterDefinitionsValue}", Symbol("policyDefinitions")=>"Vector{PolicyDefinitionReference}", Symbol("policyDefinitionGroups")=>"Vector{PolicyDefinitionGroup}", Symbol("version")=>"String", Symbol("versions")=>"Vector{String}", ) OpenAPI.property_type(::Type{ PolicySetDefinitionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PolicySetDefinitionProperties[name]))} -function check_required(o::PolicySetDefinitionProperties) +function OpenAPI.check_required(o::PolicySetDefinitionProperties) o.policyDefinitions === nothing && (return false) true end +function OpenAPI.validate_properties(o::PolicySetDefinitionProperties) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("policyType"), o.policyType) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("description"), o.description) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("metadata"), o.metadata) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("parameters"), o.parameters) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("policyDefinitions"), o.policyDefinitions) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("policyDefinitionGroups"), o.policyDefinitionGroups) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("version"), o.version) + OpenAPI.validate_property(PolicySetDefinitionProperties, Symbol("versions"), o.versions) +end + function OpenAPI.validate_property(::Type{ PolicySetDefinitionProperties }, name::Symbol, val) + if name === Symbol("policyType") OpenAPI.validate_param(name, "PolicySetDefinitionProperties", :enum, val, ["NotSpecified", "BuiltIn", "Custom", "Static"]) end + + + + + + + + + end diff --git a/src/Resource/PolicySetDefinitionsClient/src/models/model_SystemData.jl b/src/Resource/PolicySetDefinitionsClient/src/models/model_SystemData.jl new file mode 100644 index 0000000..cdf4b92 --- /dev/null +++ b/src/Resource/PolicySetDefinitionsClient/src/models/model_SystemData.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""systemData +Metadata pertaining to creation and last modification of the resource. + + SystemData(; + createdBy=nothing, + createdByType=nothing, + createdAt=nothing, + lastModifiedBy=nothing, + lastModifiedByType=nothing, + lastModifiedAt=nothing, + ) + + - createdBy::String : The identity that created the resource. + - createdByType::String : The type of identity that created the resource. + - createdAt::ZonedDateTime : The timestamp of resource creation (UTC). + - lastModifiedBy::String : The identity that last modified the resource. + - lastModifiedByType::String : The type of identity that last modified the resource. + - lastModifiedAt::ZonedDateTime : The timestamp of resource last modification (UTC) +""" +Base.@kwdef mutable struct SystemData <: OpenAPI.APIModel + createdBy::Union{Nothing, String} = nothing + createdByType::Union{Nothing, String} = nothing + createdAt::Union{Nothing, ZonedDateTime} = nothing + lastModifiedBy::Union{Nothing, String} = nothing + lastModifiedByType::Union{Nothing, String} = nothing + lastModifiedAt::Union{Nothing, ZonedDateTime} = nothing + + function SystemData(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + o = new(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + OpenAPI.validate_properties(o) + return o + end +end # type SystemData + +const _property_types_SystemData = Dict{Symbol,String}(Symbol("createdBy")=>"String", Symbol("createdByType")=>"String", Symbol("createdAt")=>"ZonedDateTime", Symbol("lastModifiedBy")=>"String", Symbol("lastModifiedByType")=>"String", Symbol("lastModifiedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ SystemData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SystemData[name]))} + +function OpenAPI.check_required(o::SystemData) + true +end + +function OpenAPI.validate_properties(o::SystemData) + OpenAPI.validate_property(SystemData, Symbol("createdBy"), o.createdBy) + OpenAPI.validate_property(SystemData, Symbol("createdByType"), o.createdByType) + OpenAPI.validate_property(SystemData, Symbol("createdAt"), o.createdAt) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedByType"), o.lastModifiedByType) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedAt"), o.lastModifiedAt) +end + +function OpenAPI.validate_property(::Type{ SystemData }, name::Symbol, val) + + + if name === Symbol("createdByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("createdAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end + + + if name === Symbol("lastModifiedByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("lastModifiedAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end +end diff --git a/src/Resource/ResourceManagementClient/.openapi-generator/FILES b/src/Resource/ResourceManagementClient/.openapi-generator/FILES index d7785bb..24b56be 100644 --- a/src/Resource/ResourceManagementClient/.openapi-generator/FILES +++ b/src/Resource/ResourceManagementClient/.openapi-generator/FILES @@ -2,47 +2,34 @@ README.md docs/Alias.md docs/AliasPath.md +docs/AliasPathMetadata.md docs/AliasPattern.md -docs/BasicDependency.md +docs/ApiProfile.md docs/CloudError.md -docs/DebugSetting.md -docs/Dependency.md -docs/Deployment.md -docs/DeploymentExportResult.md -docs/DeploymentExtended.md -docs/DeploymentExtendedFilter.md -docs/DeploymentListResult.md -docs/DeploymentOperation.md -docs/DeploymentOperationProperties.md -docs/DeploymentOperationsApi.md -docs/DeploymentOperationsListResult.md -docs/DeploymentProperties.md -docs/DeploymentPropertiesExtended.md -docs/DeploymentValidateResult.md -docs/DeploymentWhatIf.md -docs/DeploymentWhatIfProperties.md -docs/DeploymentWhatIfSettings.md -docs/DeploymentsApi.md docs/ErrorAdditionalInfo.md docs/ErrorResponse.md docs/ExportTemplateRequest.md +docs/ExtendedLocation.md docs/GenericResource.md docs/GenericResourceExpanded.md docs/GenericResourceFilter.md -docs/HttpMessage.md docs/Identity.md docs/IdentityUserAssignedIdentitiesValue.md -docs/OnErrorDeployment.md -docs/OnErrorDeploymentExtended.md docs/Operation.md docs/OperationDisplay.md docs/OperationListResult.md docs/OperationsApi.md -docs/ParametersLink.md +docs/Permission.md docs/Plan.md docs/Provider.md +docs/ProviderConsentDefinition.md +docs/ProviderExtendedLocation.md docs/ProviderListResult.md +docs/ProviderPermission.md +docs/ProviderPermissionListResult.md +docs/ProviderRegistrationRequest.md docs/ProviderResourceType.md +docs/ProviderResourceTypeListResult.md docs/ProvidersApi.md docs/Resource.md docs/ResourceGroup.md @@ -54,13 +41,10 @@ docs/ResourceGroupProperties.md docs/ResourceGroupsApi.md docs/ResourceListResult.md docs/ResourceProviderOperationDisplayProperties.md -docs/ResourceReference.md docs/ResourcesApi.md docs/ResourcesMoveInfo.md -docs/ScopedDeployment.md -docs/ScopedDeploymentWhatIf.md +docs/RoleDefinition.md docs/Sku.md -docs/StatusMessage.md docs/SubResource.md docs/TagCount.md docs/TagDetails.md @@ -70,16 +54,8 @@ docs/TagsApi.md docs/TagsListResult.md docs/TagsPatchResource.md docs/TagsResource.md -docs/TargetResource.md -docs/TemplateHashResult.md -docs/TemplateLink.md -docs/WhatIfChange.md -docs/WhatIfOperationProperties.md -docs/WhatIfOperationResult.md -docs/WhatIfPropertyChange.md +docs/ZoneMapping.md src/ResourceManagementClient.jl -src/apis/api_DeploymentOperationsApi.jl -src/apis/api_DeploymentsApi.jl src/apis/api_OperationsApi.jl src/apis/api_ProvidersApi.jl src/apis/api_ResourceGroupsApi.jl @@ -88,44 +64,33 @@ src/apis/api_TagsApi.jl src/modelincludes.jl src/models/model_Alias.jl src/models/model_AliasPath.jl +src/models/model_AliasPathMetadata.jl src/models/model_AliasPattern.jl -src/models/model_BasicDependency.jl +src/models/model_ApiProfile.jl src/models/model_CloudError.jl -src/models/model_DebugSetting.jl -src/models/model_Dependency.jl -src/models/model_Deployment.jl -src/models/model_DeploymentExportResult.jl -src/models/model_DeploymentExtended.jl -src/models/model_DeploymentExtendedFilter.jl -src/models/model_DeploymentListResult.jl -src/models/model_DeploymentOperation.jl -src/models/model_DeploymentOperationProperties.jl -src/models/model_DeploymentOperationsListResult.jl -src/models/model_DeploymentProperties.jl -src/models/model_DeploymentPropertiesExtended.jl -src/models/model_DeploymentValidateResult.jl -src/models/model_DeploymentWhatIf.jl -src/models/model_DeploymentWhatIfProperties.jl -src/models/model_DeploymentWhatIfSettings.jl src/models/model_ErrorAdditionalInfo.jl src/models/model_ErrorResponse.jl src/models/model_ExportTemplateRequest.jl +src/models/model_ExtendedLocation.jl src/models/model_GenericResource.jl src/models/model_GenericResourceExpanded.jl src/models/model_GenericResourceFilter.jl -src/models/model_HttpMessage.jl src/models/model_Identity.jl src/models/model_IdentityUserAssignedIdentitiesValue.jl -src/models/model_OnErrorDeployment.jl -src/models/model_OnErrorDeploymentExtended.jl src/models/model_Operation.jl src/models/model_OperationDisplay.jl src/models/model_OperationListResult.jl -src/models/model_ParametersLink.jl +src/models/model_Permission.jl src/models/model_Plan.jl src/models/model_Provider.jl +src/models/model_ProviderConsentDefinition.jl +src/models/model_ProviderExtendedLocation.jl src/models/model_ProviderListResult.jl +src/models/model_ProviderPermission.jl +src/models/model_ProviderPermissionListResult.jl +src/models/model_ProviderRegistrationRequest.jl src/models/model_ProviderResourceType.jl +src/models/model_ProviderResourceTypeListResult.jl src/models/model_Resource.jl src/models/model_ResourceGroup.jl src/models/model_ResourceGroupExportResult.jl @@ -135,12 +100,9 @@ src/models/model_ResourceGroupPatchable.jl src/models/model_ResourceGroupProperties.jl src/models/model_ResourceListResult.jl src/models/model_ResourceProviderOperationDisplayProperties.jl -src/models/model_ResourceReference.jl src/models/model_ResourcesMoveInfo.jl -src/models/model_ScopedDeployment.jl -src/models/model_ScopedDeploymentWhatIf.jl +src/models/model_RoleDefinition.jl src/models/model_Sku.jl -src/models/model_StatusMessage.jl src/models/model_SubResource.jl src/models/model_TagCount.jl src/models/model_TagDetails.jl @@ -149,10 +111,4 @@ src/models/model_Tags.jl src/models/model_TagsListResult.jl src/models/model_TagsPatchResource.jl src/models/model_TagsResource.jl -src/models/model_TargetResource.jl -src/models/model_TemplateHashResult.jl -src/models/model_TemplateLink.jl -src/models/model_WhatIfChange.jl -src/models/model_WhatIfOperationProperties.jl -src/models/model_WhatIfOperationResult.jl -src/models/model_WhatIfPropertyChange.jl +src/models/model_ZoneMapping.jl diff --git a/src/Resource/ResourceManagementClient/.openapi-generator/VERSION b/src/Resource/ResourceManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Resource/ResourceManagementClient/.openapi-generator/VERSION +++ b/src/Resource/ResourceManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Resource/ResourceManagementClient/README.md b/src/Resource/ResourceManagementClient/README.md index af70a24..4c8ae66 100644 --- a/src/Resource/ResourceManagementClient/README.md +++ b/src/Resource/ResourceManagementClient/README.md @@ -5,7 +5,8 @@ Provides operations for working with resources and resource groups. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-06-01 +- API version: 2025-04-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -20,67 +21,15 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- -*DeploymentOperationsApi* | [**deployment_operations_get**](docs/DeploymentOperationsApi.md#deployment_operations_get)
**GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}
-*DeploymentOperationsApi* | [**deployment_operations_get_at_management_group_scope**](docs/DeploymentOperationsApi.md#deployment_operations_get_at_management_group_scope)
**GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
-*DeploymentOperationsApi* | [**deployment_operations_get_at_scope**](docs/DeploymentOperationsApi.md#deployment_operations_get_at_scope)
**GET** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
-*DeploymentOperationsApi* | [**deployment_operations_get_at_subscription_scope**](docs/DeploymentOperationsApi.md#deployment_operations_get_at_subscription_scope)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
-*DeploymentOperationsApi* | [**deployment_operations_get_at_tenant_scope**](docs/DeploymentOperationsApi.md#deployment_operations_get_at_tenant_scope)
**GET** /providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}
-*DeploymentOperationsApi* | [**deployment_operations_list**](docs/DeploymentOperationsApi.md#deployment_operations_list)
**GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations
-*DeploymentOperationsApi* | [**deployment_operations_list_at_management_group_scope**](docs/DeploymentOperationsApi.md#deployment_operations_list_at_management_group_scope)
**GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
-*DeploymentOperationsApi* | [**deployment_operations_list_at_scope**](docs/DeploymentOperationsApi.md#deployment_operations_list_at_scope)
**GET** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
-*DeploymentOperationsApi* | [**deployment_operations_list_at_subscription_scope**](docs/DeploymentOperationsApi.md#deployment_operations_list_at_subscription_scope)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations
-*DeploymentOperationsApi* | [**deployment_operations_list_at_tenant_scope**](docs/DeploymentOperationsApi.md#deployment_operations_list_at_tenant_scope)
**GET** /providers/Microsoft.Resources/deployments/{deploymentName}/operations
-*DeploymentsApi* | [**deployments_calculate_template_hash**](docs/DeploymentsApi.md#deployments_calculate_template_hash)
**POST** /providers/Microsoft.Resources/calculateTemplateHash
-*DeploymentsApi* | [**deployments_cancel**](docs/DeploymentsApi.md#deployments_cancel)
**POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Cancels a currently running template deployment. -*DeploymentsApi* | [**deployments_cancel_at_management_group_scope**](docs/DeploymentsApi.md#deployments_cancel_at_management_group_scope)
**POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Cancels a currently running template deployment. -*DeploymentsApi* | [**deployments_cancel_at_scope**](docs/DeploymentsApi.md#deployments_cancel_at_scope)
**POST** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Cancels a currently running template deployment. -*DeploymentsApi* | [**deployments_cancel_at_subscription_scope**](docs/DeploymentsApi.md#deployments_cancel_at_subscription_scope)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Cancels a currently running template deployment. -*DeploymentsApi* | [**deployments_cancel_at_tenant_scope**](docs/DeploymentsApi.md#deployments_cancel_at_tenant_scope)
**POST** /providers/Microsoft.Resources/deployments/{deploymentName}/cancel
Cancels a currently running template deployment. -*DeploymentsApi* | [**deployments_check_existence**](docs/DeploymentsApi.md#deployments_check_existence)
**HEAD** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_check_existence_at_management_group_scope**](docs/DeploymentsApi.md#deployments_check_existence_at_management_group_scope)
**HEAD** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_check_existence_at_scope**](docs/DeploymentsApi.md#deployments_check_existence_at_scope)
**HEAD** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_check_existence_at_subscription_scope**](docs/DeploymentsApi.md#deployments_check_existence_at_subscription_scope)
**HEAD** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_check_existence_at_tenant_scope**](docs/DeploymentsApi.md#deployments_check_existence_at_tenant_scope)
**HEAD** /providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_create_or_update**](docs/DeploymentsApi.md#deployments_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
Deploys resources to a resource group. -*DeploymentsApi* | [**deployments_create_or_update_at_management_group_scope**](docs/DeploymentsApi.md#deployments_create_or_update_at_management_group_scope)
**PUT** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
Deploys resources at management group scope. -*DeploymentsApi* | [**deployments_create_or_update_at_scope**](docs/DeploymentsApi.md#deployments_create_or_update_at_scope)
**PUT** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
Deploys resources at a given scope. -*DeploymentsApi* | [**deployments_create_or_update_at_subscription_scope**](docs/DeploymentsApi.md#deployments_create_or_update_at_subscription_scope)
**PUT** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
Deploys resources at subscription scope. -*DeploymentsApi* | [**deployments_create_or_update_at_tenant_scope**](docs/DeploymentsApi.md#deployments_create_or_update_at_tenant_scope)
**PUT** /providers/Microsoft.Resources/deployments/{deploymentName}
Deploys resources at tenant scope. -*DeploymentsApi* | [**deployments_delete**](docs/DeploymentsApi.md#deployments_delete)
**DELETE** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
Deletes a deployment from the deployment history. -*DeploymentsApi* | [**deployments_delete_at_management_group_scope**](docs/DeploymentsApi.md#deployments_delete_at_management_group_scope)
**DELETE** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
Deletes a deployment from the deployment history. -*DeploymentsApi* | [**deployments_delete_at_scope**](docs/DeploymentsApi.md#deployments_delete_at_scope)
**DELETE** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
Deletes a deployment from the deployment history. -*DeploymentsApi* | [**deployments_delete_at_subscription_scope**](docs/DeploymentsApi.md#deployments_delete_at_subscription_scope)
**DELETE** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
Deletes a deployment from the deployment history. -*DeploymentsApi* | [**deployments_delete_at_tenant_scope**](docs/DeploymentsApi.md#deployments_delete_at_tenant_scope)
**DELETE** /providers/Microsoft.Resources/deployments/{deploymentName}
Deletes a deployment from the deployment history. -*DeploymentsApi* | [**deployments_export_template**](docs/DeploymentsApi.md#deployments_export_template)
**POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
-*DeploymentsApi* | [**deployments_export_template_at_management_group_scope**](docs/DeploymentsApi.md#deployments_export_template_at_management_group_scope)
**POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
-*DeploymentsApi* | [**deployments_export_template_at_scope**](docs/DeploymentsApi.md#deployments_export_template_at_scope)
**POST** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
-*DeploymentsApi* | [**deployments_export_template_at_subscription_scope**](docs/DeploymentsApi.md#deployments_export_template_at_subscription_scope)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
-*DeploymentsApi* | [**deployments_export_template_at_tenant_scope**](docs/DeploymentsApi.md#deployments_export_template_at_tenant_scope)
**POST** /providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate
-*DeploymentsApi* | [**deployments_get**](docs/DeploymentsApi.md#deployments_get)
**GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_get_at_management_group_scope**](docs/DeploymentsApi.md#deployments_get_at_management_group_scope)
**GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_get_at_scope**](docs/DeploymentsApi.md#deployments_get_at_scope)
**GET** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_get_at_subscription_scope**](docs/DeploymentsApi.md#deployments_get_at_subscription_scope)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_get_at_tenant_scope**](docs/DeploymentsApi.md#deployments_get_at_tenant_scope)
**GET** /providers/Microsoft.Resources/deployments/{deploymentName}
-*DeploymentsApi* | [**deployments_list_at_management_group_scope**](docs/DeploymentsApi.md#deployments_list_at_management_group_scope)
**GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/
-*DeploymentsApi* | [**deployments_list_at_scope**](docs/DeploymentsApi.md#deployments_list_at_scope)
**GET** /{scope}/providers/Microsoft.Resources/deployments/
-*DeploymentsApi* | [**deployments_list_at_subscription_scope**](docs/DeploymentsApi.md#deployments_list_at_subscription_scope)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/
-*DeploymentsApi* | [**deployments_list_at_tenant_scope**](docs/DeploymentsApi.md#deployments_list_at_tenant_scope)
**GET** /providers/Microsoft.Resources/deployments/
-*DeploymentsApi* | [**deployments_list_by_resource_group**](docs/DeploymentsApi.md#deployments_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/
-*DeploymentsApi* | [**deployments_validate**](docs/DeploymentsApi.md#deployments_validate)
**POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
-*DeploymentsApi* | [**deployments_validate_at_management_group_scope**](docs/DeploymentsApi.md#deployments_validate_at_management_group_scope)
**POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
-*DeploymentsApi* | [**deployments_validate_at_scope**](docs/DeploymentsApi.md#deployments_validate_at_scope)
**POST** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
-*DeploymentsApi* | [**deployments_validate_at_subscription_scope**](docs/DeploymentsApi.md#deployments_validate_at_subscription_scope)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate
-*DeploymentsApi* | [**deployments_validate_at_tenant_scope**](docs/DeploymentsApi.md#deployments_validate_at_tenant_scope)
**POST** /providers/Microsoft.Resources/deployments/{deploymentName}/validate
-*DeploymentsApi* | [**deployments_what_if**](docs/DeploymentsApi.md#deployments_what_if)
**POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
-*DeploymentsApi* | [**deployments_what_if_at_management_group_scope**](docs/DeploymentsApi.md#deployments_what_if_at_management_group_scope)
**POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
-*DeploymentsApi* | [**deployments_what_if_at_subscription_scope**](docs/DeploymentsApi.md#deployments_what_if_at_subscription_scope)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
-*DeploymentsApi* | [**deployments_what_if_at_tenant_scope**](docs/DeploymentsApi.md#deployments_what_if_at_tenant_scope)
**POST** /providers/Microsoft.Resources/deployments/{deploymentName}/whatIf
*OperationsApi* | [**operations_list**](docs/OperationsApi.md#operations_list)
**GET** /providers/Microsoft.Resources/operations
+*ProvidersApi* | [**provider_resource_types_list**](docs/ProvidersApi.md#provider_resource_types_list)
**GET** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes
*ProvidersApi* | [**providers_get**](docs/ProvidersApi.md#providers_get)
**GET** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}
*ProvidersApi* | [**providers_get_at_tenant_scope**](docs/ProvidersApi.md#providers_get_at_tenant_scope)
**GET** /providers/{resourceProviderNamespace}
*ProvidersApi* | [**providers_list**](docs/ProvidersApi.md#providers_list)
**GET** /subscriptions/{subscriptionId}/providers
*ProvidersApi* | [**providers_list_at_tenant_scope**](docs/ProvidersApi.md#providers_list_at_tenant_scope)
**GET** /providers
+*ProvidersApi* | [**providers_provider_permissions**](docs/ProvidersApi.md#providers_provider_permissions)
**GET** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions
*ProvidersApi* | [**providers_register**](docs/ProvidersApi.md#providers_register)
**POST** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register
+*ProvidersApi* | [**providers_register_at_management_group_scope**](docs/ProvidersApi.md#providers_register_at_management_group_scope)
**POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register
*ProvidersApi* | [**providers_unregister**](docs/ProvidersApi.md#providers_unregister)
**POST** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister
*ResourceGroupsApi* | [**resource_groups_check_existence**](docs/ResourceGroupsApi.md#resource_groups_check_existence)
**HEAD** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
*ResourceGroupsApi* | [**resource_groups_create_or_update**](docs/ResourceGroupsApi.md#resource_groups_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}
@@ -118,44 +67,33 @@ Class | Method - [Alias](docs/Alias.md) - [AliasPath](docs/AliasPath.md) + - [AliasPathMetadata](docs/AliasPathMetadata.md) - [AliasPattern](docs/AliasPattern.md) - - [BasicDependency](docs/BasicDependency.md) + - [ApiProfile](docs/ApiProfile.md) - [CloudError](docs/CloudError.md) - - [DebugSetting](docs/DebugSetting.md) - - [Dependency](docs/Dependency.md) - - [Deployment](docs/Deployment.md) - - [DeploymentExportResult](docs/DeploymentExportResult.md) - - [DeploymentExtended](docs/DeploymentExtended.md) - - [DeploymentExtendedFilter](docs/DeploymentExtendedFilter.md) - - [DeploymentListResult](docs/DeploymentListResult.md) - - [DeploymentOperation](docs/DeploymentOperation.md) - - [DeploymentOperationProperties](docs/DeploymentOperationProperties.md) - - [DeploymentOperationsListResult](docs/DeploymentOperationsListResult.md) - - [DeploymentProperties](docs/DeploymentProperties.md) - - [DeploymentPropertiesExtended](docs/DeploymentPropertiesExtended.md) - - [DeploymentValidateResult](docs/DeploymentValidateResult.md) - - [DeploymentWhatIf](docs/DeploymentWhatIf.md) - - [DeploymentWhatIfProperties](docs/DeploymentWhatIfProperties.md) - - [DeploymentWhatIfSettings](docs/DeploymentWhatIfSettings.md) - [ErrorAdditionalInfo](docs/ErrorAdditionalInfo.md) - [ErrorResponse](docs/ErrorResponse.md) - [ExportTemplateRequest](docs/ExportTemplateRequest.md) + - [ExtendedLocation](docs/ExtendedLocation.md) - [GenericResource](docs/GenericResource.md) - [GenericResourceExpanded](docs/GenericResourceExpanded.md) - [GenericResourceFilter](docs/GenericResourceFilter.md) - - [HttpMessage](docs/HttpMessage.md) - [Identity](docs/Identity.md) - [IdentityUserAssignedIdentitiesValue](docs/IdentityUserAssignedIdentitiesValue.md) - - [OnErrorDeployment](docs/OnErrorDeployment.md) - - [OnErrorDeploymentExtended](docs/OnErrorDeploymentExtended.md) - [Operation](docs/Operation.md) - [OperationDisplay](docs/OperationDisplay.md) - [OperationListResult](docs/OperationListResult.md) - - [ParametersLink](docs/ParametersLink.md) + - [Permission](docs/Permission.md) - [Plan](docs/Plan.md) - [Provider](docs/Provider.md) + - [ProviderConsentDefinition](docs/ProviderConsentDefinition.md) + - [ProviderExtendedLocation](docs/ProviderExtendedLocation.md) - [ProviderListResult](docs/ProviderListResult.md) + - [ProviderPermission](docs/ProviderPermission.md) + - [ProviderPermissionListResult](docs/ProviderPermissionListResult.md) + - [ProviderRegistrationRequest](docs/ProviderRegistrationRequest.md) - [ProviderResourceType](docs/ProviderResourceType.md) + - [ProviderResourceTypeListResult](docs/ProviderResourceTypeListResult.md) - [Resource](docs/Resource.md) - [ResourceGroup](docs/ResourceGroup.md) - [ResourceGroupExportResult](docs/ResourceGroupExportResult.md) @@ -165,12 +103,9 @@ Class | Method - [ResourceGroupProperties](docs/ResourceGroupProperties.md) - [ResourceListResult](docs/ResourceListResult.md) - [ResourceProviderOperationDisplayProperties](docs/ResourceProviderOperationDisplayProperties.md) - - [ResourceReference](docs/ResourceReference.md) - [ResourcesMoveInfo](docs/ResourcesMoveInfo.md) - - [ScopedDeployment](docs/ScopedDeployment.md) - - [ScopedDeploymentWhatIf](docs/ScopedDeploymentWhatIf.md) + - [RoleDefinition](docs/RoleDefinition.md) - [Sku](docs/Sku.md) - - [StatusMessage](docs/StatusMessage.md) - [SubResource](docs/SubResource.md) - [TagCount](docs/TagCount.md) - [TagDetails](docs/TagDetails.md) @@ -179,18 +114,15 @@ Class | Method - [TagsListResult](docs/TagsListResult.md) - [TagsPatchResource](docs/TagsPatchResource.md) - [TagsResource](docs/TagsResource.md) - - [TargetResource](docs/TargetResource.md) - - [TemplateHashResult](docs/TemplateHashResult.md) - - [TemplateLink](docs/TemplateLink.md) - - [WhatIfChange](docs/WhatIfChange.md) - - [WhatIfOperationProperties](docs/WhatIfOperationProperties.md) - - [WhatIfOperationResult](docs/WhatIfOperationResult.md) - - [WhatIfPropertyChange](docs/WhatIfPropertyChange.md) + - [ZoneMapping](docs/ZoneMapping.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Resource/ResourceManagementClient/docs/Alias.md b/src/Resource/ResourceManagementClient/docs/Alias.md index 51fb422..6f7f25f 100644 --- a/src/Resource/ResourceManagementClient/docs/Alias.md +++ b/src/Resource/ResourceManagementClient/docs/Alias.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **type** | **String** | The type of the alias. | [optional] [default to nothing] **defaultPath** | **String** | The default path for an alias. | [optional] [default to nothing] **defaultPattern** | [***AliasPattern**](AliasPattern.md) | | [optional] [default to nothing] +**defaultMetadata** | [***AliasPathMetadata**](AliasPathMetadata.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/ResourceManagementClient/docs/AliasPath.md b/src/Resource/ResourceManagementClient/docs/AliasPath.md index d316de9..c7129d6 100644 --- a/src/Resource/ResourceManagementClient/docs/AliasPath.md +++ b/src/Resource/ResourceManagementClient/docs/AliasPath.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **path** | **String** | The path of an alias. | [optional] [default to nothing] **apiVersions** | **Vector{String}** | The API versions. | [optional] [default to nothing] **pattern** | [***AliasPattern**](AliasPattern.md) | | [optional] [default to nothing] +**metadata** | [***AliasPathMetadata**](AliasPathMetadata.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/ResourceManagementClient/docs/AliasPathMetadata.md b/src/Resource/ResourceManagementClient/docs/AliasPathMetadata.md new file mode 100644 index 0000000..7521df1 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/AliasPathMetadata.md @@ -0,0 +1,13 @@ +# AliasPathMetadata + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The type of the token that the alias path is referring to. | [optional] [readonly] [default to nothing] +**attributes** | **String** | The attributes of the token that the alias path is referring to. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ApiProfile.md b/src/Resource/ResourceManagementClient/docs/ApiProfile.md new file mode 100644 index 0000000..5645171 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ApiProfile.md @@ -0,0 +1,13 @@ +# ApiProfile + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**profileVersion** | **String** | The profile version. | [optional] [readonly] [default to nothing] +**apiVersion** | **String** | The API version. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/BasicDependency.md b/src/Resource/ResourceManagementClient/docs/BasicDependency.md deleted file mode 100644 index d72b4a9..0000000 --- a/src/Resource/ResourceManagementClient/docs/BasicDependency.md +++ /dev/null @@ -1,14 +0,0 @@ -# BasicDependency - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The ID of the dependency. | [optional] [default to nothing] -**resourceType** | **String** | The dependency resource type. | [optional] [default to nothing] -**resourceName** | **String** | The dependency resource name. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DebugSetting.md b/src/Resource/ResourceManagementClient/docs/DebugSetting.md deleted file mode 100644 index 7b49cbb..0000000 --- a/src/Resource/ResourceManagementClient/docs/DebugSetting.md +++ /dev/null @@ -1,12 +0,0 @@ -# DebugSetting - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**detailLevel** | **String** | Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/Dependency.md b/src/Resource/ResourceManagementClient/docs/Dependency.md deleted file mode 100644 index 7ca09c0..0000000 --- a/src/Resource/ResourceManagementClient/docs/Dependency.md +++ /dev/null @@ -1,15 +0,0 @@ -# Dependency - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**dependsOn** | [**Vector{BasicDependency}**](BasicDependency.md) | The list of dependencies. | [optional] [default to nothing] -**id** | **String** | The ID of the dependency. | [optional] [default to nothing] -**resourceType** | **String** | The dependency resource type. | [optional] [default to nothing] -**resourceName** | **String** | The dependency resource name. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/Deployment.md b/src/Resource/ResourceManagementClient/docs/Deployment.md deleted file mode 100644 index 3aeba11..0000000 --- a/src/Resource/ResourceManagementClient/docs/Deployment.md +++ /dev/null @@ -1,14 +0,0 @@ -# Deployment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **String** | The location to store the deployment data. | [optional] [default to nothing] -**properties** | [***DeploymentProperties**](DeploymentProperties.md) | | [default to nothing] -**tags** | **Dict{String, String}** | Deployment tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentExportResult.md b/src/Resource/ResourceManagementClient/docs/DeploymentExportResult.md deleted file mode 100644 index bbad045..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentExportResult.md +++ /dev/null @@ -1,12 +0,0 @@ -# DeploymentExportResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**template** | **Any** | The template content. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentExtended.md b/src/Resource/ResourceManagementClient/docs/DeploymentExtended.md deleted file mode 100644 index 0cbd478..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentExtended.md +++ /dev/null @@ -1,17 +0,0 @@ -# DeploymentExtended - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The ID of the deployment. | [optional] [readonly] [default to nothing] -**name** | **String** | The name of the deployment. | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the deployment. | [optional] [readonly] [default to nothing] -**location** | **String** | the location of the deployment. | [optional] [default to nothing] -**properties** | [***DeploymentPropertiesExtended**](DeploymentPropertiesExtended.md) | | [optional] [default to nothing] -**tags** | **Dict{String, String}** | Deployment tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentExtendedFilter.md b/src/Resource/ResourceManagementClient/docs/DeploymentExtendedFilter.md deleted file mode 100644 index a81510f..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentExtendedFilter.md +++ /dev/null @@ -1,12 +0,0 @@ -# DeploymentExtendedFilter - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provisioningState** | **String** | The provisioning state. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentListResult.md b/src/Resource/ResourceManagementClient/docs/DeploymentListResult.md deleted file mode 100644 index 0fbad7f..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentListResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# DeploymentListResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**Vector{DeploymentExtended}**](DeploymentExtended.md) | An array of deployments. | [optional] [default to nothing] -**nextLink** | **String** | The URL to use for getting the next set of results. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentOperation.md b/src/Resource/ResourceManagementClient/docs/DeploymentOperation.md deleted file mode 100644 index 133e493..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentOperation.md +++ /dev/null @@ -1,14 +0,0 @@ -# DeploymentOperation - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | Full deployment operation ID. | [optional] [readonly] [default to nothing] -**operationId** | **String** | Deployment operation ID. | [optional] [readonly] [default to nothing] -**properties** | [***DeploymentOperationProperties**](DeploymentOperationProperties.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentOperationProperties.md b/src/Resource/ResourceManagementClient/docs/DeploymentOperationProperties.md deleted file mode 100644 index bf67eea..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentOperationProperties.md +++ /dev/null @@ -1,21 +0,0 @@ -# DeploymentOperationProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provisioningOperation** | **String** | The name of the current provisioning operation. | [optional] [readonly] [default to nothing] -**provisioningState** | **String** | The state of the provisioning. | [optional] [readonly] [default to nothing] -**timestamp** | **ZonedDateTime** | The date and time of the operation. | [optional] [readonly] [default to nothing] -**duration** | **String** | The duration of the operation. | [optional] [readonly] [default to nothing] -**serviceRequestId** | **String** | Deployment operation service request id. | [optional] [readonly] [default to nothing] -**statusCode** | **String** | Operation status code from the resource provider. This property may not be set if a response has not yet been received. | [optional] [readonly] [default to nothing] -**statusMessage** | [***StatusMessage**](StatusMessage.md) | | [optional] [default to nothing] -**targetResource** | [***TargetResource**](TargetResource.md) | | [optional] [default to nothing] -**request** | [***HttpMessage**](HttpMessage.md) | | [optional] [default to nothing] -**response** | [***HttpMessage**](HttpMessage.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentOperationsApi.md b/src/Resource/ResourceManagementClient/docs/DeploymentOperationsApi.md deleted file mode 100644 index 7cd114d..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentOperationsApi.md +++ /dev/null @@ -1,373 +0,0 @@ -# DeploymentOperationsApi - -All URIs are relative to *https://management.azure.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deployment_operations_get**](DeploymentOperationsApi.md#deployment_operations_get) | **GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId} | -[**deployment_operations_get_at_management_group_scope**](DeploymentOperationsApi.md#deployment_operations_get_at_management_group_scope) | **GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId} | -[**deployment_operations_get_at_scope**](DeploymentOperationsApi.md#deployment_operations_get_at_scope) | **GET** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId} | -[**deployment_operations_get_at_subscription_scope**](DeploymentOperationsApi.md#deployment_operations_get_at_subscription_scope) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId} | -[**deployment_operations_get_at_tenant_scope**](DeploymentOperationsApi.md#deployment_operations_get_at_tenant_scope) | **GET** /providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId} | -[**deployment_operations_list**](DeploymentOperationsApi.md#deployment_operations_list) | **GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations | -[**deployment_operations_list_at_management_group_scope**](DeploymentOperationsApi.md#deployment_operations_list_at_management_group_scope) | **GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations | -[**deployment_operations_list_at_scope**](DeploymentOperationsApi.md#deployment_operations_list_at_scope) | **GET** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations | -[**deployment_operations_list_at_subscription_scope**](DeploymentOperationsApi.md#deployment_operations_list_at_subscription_scope) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations | -[**deployment_operations_list_at_tenant_scope**](DeploymentOperationsApi.md#deployment_operations_list_at_tenant_scope) | **GET** /providers/Microsoft.Resources/deployments/{deploymentName}/operations | - - -# **deployment_operations_get** -> deployment_operations_get(_api::DeploymentOperationsApi, resource_group_name::String, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeploymentOperation, OpenAPI.Clients.ApiResponse
-> deployment_operations_get(_api::DeploymentOperationsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeploymentOperation }, OpenAPI.Clients.ApiResponse - - - -Gets a deployments operation. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**operation_id** | **String**| The ID of the operation to get. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -[**DeploymentOperation**](DeploymentOperation.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_get_at_management_group_scope** -> deployment_operations_get_at_management_group_scope(_api::DeploymentOperationsApi, group_id::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) -> DeploymentOperation, OpenAPI.Clients.ApiResponse
-> deployment_operations_get_at_management_group_scope(_api::DeploymentOperationsApi, response_stream::Channel, group_id::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentOperation }, OpenAPI.Clients.ApiResponse - - - -Gets a deployments operation. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**operation_id** | **String**| The ID of the operation to get. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentOperation**](DeploymentOperation.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_get_at_scope** -> deployment_operations_get_at_scope(_api::DeploymentOperationsApi, scope::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) -> DeploymentOperation, OpenAPI.Clients.ApiResponse
-> deployment_operations_get_at_scope(_api::DeploymentOperationsApi, response_stream::Channel, scope::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentOperation }, OpenAPI.Clients.ApiResponse - - - -Gets a deployments operation. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**operation_id** | **String**| The ID of the operation to get. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentOperation**](DeploymentOperation.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_get_at_subscription_scope** -> deployment_operations_get_at_subscription_scope(_api::DeploymentOperationsApi, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeploymentOperation, OpenAPI.Clients.ApiResponse
-> deployment_operations_get_at_subscription_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeploymentOperation }, OpenAPI.Clients.ApiResponse - - - -Gets a deployments operation. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**operation_id** | **String**| The ID of the operation to get. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -[**DeploymentOperation**](DeploymentOperation.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_get_at_tenant_scope** -> deployment_operations_get_at_tenant_scope(_api::DeploymentOperationsApi, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) -> DeploymentOperation, OpenAPI.Clients.ApiResponse
-> deployment_operations_get_at_tenant_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentOperation }, OpenAPI.Clients.ApiResponse - - - -Gets a deployments operation. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**operation_id** | **String**| The ID of the operation to get. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentOperation**](DeploymentOperation.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_list** -> deployment_operations_list(_api::DeploymentOperationsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) -> DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse
-> deployment_operations_list(_api::DeploymentOperationsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) -> Channel{ DeploymentOperationsListResult }, OpenAPI.Clients.ApiResponse - - - -Gets all deployments operations for a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. | [default to nothing] - -### Return type - -[**DeploymentOperationsListResult**](DeploymentOperationsListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_list_at_management_group_scope** -> deployment_operations_list_at_management_group_scope(_api::DeploymentOperationsApi, group_id::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) -> DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse
-> deployment_operations_list_at_management_group_scope(_api::DeploymentOperationsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) -> Channel{ DeploymentOperationsListResult }, OpenAPI.Clients.ApiResponse - - - -Gets all deployments operations for a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. | [default to nothing] - -### Return type - -[**DeploymentOperationsListResult**](DeploymentOperationsListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_list_at_scope** -> deployment_operations_list_at_scope(_api::DeploymentOperationsApi, scope::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) -> DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse
-> deployment_operations_list_at_scope(_api::DeploymentOperationsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) -> Channel{ DeploymentOperationsListResult }, OpenAPI.Clients.ApiResponse - - - -Gets all deployments operations for a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. | [default to nothing] - -### Return type - -[**DeploymentOperationsListResult**](DeploymentOperationsListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_list_at_subscription_scope** -> deployment_operations_list_at_subscription_scope(_api::DeploymentOperationsApi, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) -> DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse
-> deployment_operations_list_at_subscription_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) -> Channel{ DeploymentOperationsListResult }, OpenAPI.Clients.ApiResponse - - - -Gets all deployments operations for a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. | [default to nothing] - -### Return type - -[**DeploymentOperationsListResult**](DeploymentOperationsListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployment_operations_list_at_tenant_scope** -> deployment_operations_list_at_tenant_scope(_api::DeploymentOperationsApi, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) -> DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse
-> deployment_operations_list_at_tenant_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) -> Channel{ DeploymentOperationsListResult }, OpenAPI.Clients.ApiResponse - - - -Gets all deployments operations for a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentOperationsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. | [default to nothing] - -### Return type - -[**DeploymentOperationsListResult**](DeploymentOperationsListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentOperationsListResult.md b/src/Resource/ResourceManagementClient/docs/DeploymentOperationsListResult.md deleted file mode 100644 index cbbb236..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentOperationsListResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# DeploymentOperationsListResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**value** | [**Vector{DeploymentOperation}**](DeploymentOperation.md) | An array of deployment operations. | [optional] [default to nothing] -**nextLink** | **String** | The URL to use for getting the next set of results. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentProperties.md b/src/Resource/ResourceManagementClient/docs/DeploymentProperties.md deleted file mode 100644 index 739331a..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentProperties.md +++ /dev/null @@ -1,18 +0,0 @@ -# DeploymentProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**template** | **Any** | The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. | [optional] [default to nothing] -**templateLink** | [***TemplateLink**](TemplateLink.md) | | [optional] [default to nothing] -**parameters** | **Any** | Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. | [optional] [default to nothing] -**parametersLink** | [***ParametersLink**](ParametersLink.md) | | [optional] [default to nothing] -**mode** | **String** | The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. | [default to nothing] -**debugSetting** | [***DebugSetting**](DebugSetting.md) | | [optional] [default to nothing] -**onErrorDeployment** | [***OnErrorDeployment**](OnErrorDeployment.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentPropertiesExtended.md b/src/Resource/ResourceManagementClient/docs/DeploymentPropertiesExtended.md deleted file mode 100644 index e322de9..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentPropertiesExtended.md +++ /dev/null @@ -1,28 +0,0 @@ -# DeploymentPropertiesExtended - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provisioningState** | **String** | Denotes the state of provisioning. | [optional] [readonly] [default to nothing] -**correlationId** | **String** | The correlation ID of the deployment. | [optional] [readonly] [default to nothing] -**timestamp** | **ZonedDateTime** | The timestamp of the template deployment. | [optional] [readonly] [default to nothing] -**duration** | **String** | The duration of the template deployment. | [optional] [readonly] [default to nothing] -**outputs** | **Any** | Key/value pairs that represent deployment output. | [optional] [readonly] [default to nothing] -**providers** | [**Vector{Provider}**](Provider.md) | The list of resource providers needed for the deployment. | [optional] [readonly] [default to nothing] -**dependencies** | [**Vector{Dependency}**](Dependency.md) | The list of deployment dependencies. | [optional] [readonly] [default to nothing] -**templateLink** | [***TemplateLink**](TemplateLink.md) | | [optional] [default to nothing] -**parameters** | **Any** | Deployment parameters. | [optional] [readonly] [default to nothing] -**parametersLink** | [***ParametersLink**](ParametersLink.md) | | [optional] [default to nothing] -**mode** | **String** | The deployment mode. Possible values are Incremental and Complete. | [optional] [readonly] [default to nothing] -**debugSetting** | [***DebugSetting**](DebugSetting.md) | | [optional] [default to nothing] -**onErrorDeployment** | [***OnErrorDeploymentExtended**](OnErrorDeploymentExtended.md) | | [optional] [default to nothing] -**templateHash** | **String** | The hash produced for the template. | [optional] [readonly] [default to nothing] -**outputResources** | [**Vector{ResourceReference}**](ResourceReference.md) | Array of provisioned resources. | [optional] [readonly] [default to nothing] -**validatedResources** | [**Vector{ResourceReference}**](ResourceReference.md) | Array of validated resources. | [optional] [readonly] [default to nothing] -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentValidateResult.md b/src/Resource/ResourceManagementClient/docs/DeploymentValidateResult.md deleted file mode 100644 index 5dcc413..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentValidateResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# DeploymentValidateResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] -**properties** | [***DeploymentPropertiesExtended**](DeploymentPropertiesExtended.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentWhatIf.md b/src/Resource/ResourceManagementClient/docs/DeploymentWhatIf.md deleted file mode 100644 index eea9c7d..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentWhatIf.md +++ /dev/null @@ -1,13 +0,0 @@ -# DeploymentWhatIf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **String** | The location to store the deployment data. | [optional] [default to nothing] -**properties** | [***DeploymentWhatIfProperties**](DeploymentWhatIfProperties.md) | | [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentWhatIfProperties.md b/src/Resource/ResourceManagementClient/docs/DeploymentWhatIfProperties.md deleted file mode 100644 index 27ef2cc..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentWhatIfProperties.md +++ /dev/null @@ -1,19 +0,0 @@ -# DeploymentWhatIfProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**whatIfSettings** | [***DeploymentWhatIfSettings**](DeploymentWhatIfSettings.md) | | [optional] [default to nothing] -**template** | **Any** | The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. | [optional] [default to nothing] -**templateLink** | [***TemplateLink**](TemplateLink.md) | | [optional] [default to nothing] -**parameters** | **Any** | Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. | [optional] [default to nothing] -**parametersLink** | [***ParametersLink**](ParametersLink.md) | | [optional] [default to nothing] -**mode** | **String** | The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. | [default to nothing] -**debugSetting** | [***DebugSetting**](DebugSetting.md) | | [optional] [default to nothing] -**onErrorDeployment** | [***OnErrorDeployment**](OnErrorDeployment.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentWhatIfSettings.md b/src/Resource/ResourceManagementClient/docs/DeploymentWhatIfSettings.md deleted file mode 100644 index 3dcbcc0..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentWhatIfSettings.md +++ /dev/null @@ -1,12 +0,0 @@ -# DeploymentWhatIfSettings - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resultFormat** | **String** | The format of the What-If results | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/DeploymentsApi.md b/src/Resource/ResourceManagementClient/docs/DeploymentsApi.md deleted file mode 100644 index 431ff26..0000000 --- a/src/Resource/ResourceManagementClient/docs/DeploymentsApi.md +++ /dev/null @@ -1,1536 +0,0 @@ -# DeploymentsApi - -All URIs are relative to *https://management.azure.com* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**deployments_calculate_template_hash**](DeploymentsApi.md#deployments_calculate_template_hash) | **POST** /providers/Microsoft.Resources/calculateTemplateHash | -[**deployments_cancel**](DeploymentsApi.md#deployments_cancel) | **POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel | Cancels a currently running template deployment. -[**deployments_cancel_at_management_group_scope**](DeploymentsApi.md#deployments_cancel_at_management_group_scope) | **POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel | Cancels a currently running template deployment. -[**deployments_cancel_at_scope**](DeploymentsApi.md#deployments_cancel_at_scope) | **POST** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel | Cancels a currently running template deployment. -[**deployments_cancel_at_subscription_scope**](DeploymentsApi.md#deployments_cancel_at_subscription_scope) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel | Cancels a currently running template deployment. -[**deployments_cancel_at_tenant_scope**](DeploymentsApi.md#deployments_cancel_at_tenant_scope) | **POST** /providers/Microsoft.Resources/deployments/{deploymentName}/cancel | Cancels a currently running template deployment. -[**deployments_check_existence**](DeploymentsApi.md#deployments_check_existence) | **HEAD** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_check_existence_at_management_group_scope**](DeploymentsApi.md#deployments_check_existence_at_management_group_scope) | **HEAD** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_check_existence_at_scope**](DeploymentsApi.md#deployments_check_existence_at_scope) | **HEAD** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_check_existence_at_subscription_scope**](DeploymentsApi.md#deployments_check_existence_at_subscription_scope) | **HEAD** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_check_existence_at_tenant_scope**](DeploymentsApi.md#deployments_check_existence_at_tenant_scope) | **HEAD** /providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_create_or_update**](DeploymentsApi.md#deployments_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName} | Deploys resources to a resource group. -[**deployments_create_or_update_at_management_group_scope**](DeploymentsApi.md#deployments_create_or_update_at_management_group_scope) | **PUT** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName} | Deploys resources at management group scope. -[**deployments_create_or_update_at_scope**](DeploymentsApi.md#deployments_create_or_update_at_scope) | **PUT** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName} | Deploys resources at a given scope. -[**deployments_create_or_update_at_subscription_scope**](DeploymentsApi.md#deployments_create_or_update_at_subscription_scope) | **PUT** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName} | Deploys resources at subscription scope. -[**deployments_create_or_update_at_tenant_scope**](DeploymentsApi.md#deployments_create_or_update_at_tenant_scope) | **PUT** /providers/Microsoft.Resources/deployments/{deploymentName} | Deploys resources at tenant scope. -[**deployments_delete**](DeploymentsApi.md#deployments_delete) | **DELETE** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName} | Deletes a deployment from the deployment history. -[**deployments_delete_at_management_group_scope**](DeploymentsApi.md#deployments_delete_at_management_group_scope) | **DELETE** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName} | Deletes a deployment from the deployment history. -[**deployments_delete_at_scope**](DeploymentsApi.md#deployments_delete_at_scope) | **DELETE** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName} | Deletes a deployment from the deployment history. -[**deployments_delete_at_subscription_scope**](DeploymentsApi.md#deployments_delete_at_subscription_scope) | **DELETE** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName} | Deletes a deployment from the deployment history. -[**deployments_delete_at_tenant_scope**](DeploymentsApi.md#deployments_delete_at_tenant_scope) | **DELETE** /providers/Microsoft.Resources/deployments/{deploymentName} | Deletes a deployment from the deployment history. -[**deployments_export_template**](DeploymentsApi.md#deployments_export_template) | **POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate | -[**deployments_export_template_at_management_group_scope**](DeploymentsApi.md#deployments_export_template_at_management_group_scope) | **POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate | -[**deployments_export_template_at_scope**](DeploymentsApi.md#deployments_export_template_at_scope) | **POST** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate | -[**deployments_export_template_at_subscription_scope**](DeploymentsApi.md#deployments_export_template_at_subscription_scope) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate | -[**deployments_export_template_at_tenant_scope**](DeploymentsApi.md#deployments_export_template_at_tenant_scope) | **POST** /providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate | -[**deployments_get**](DeploymentsApi.md#deployments_get) | **GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_get_at_management_group_scope**](DeploymentsApi.md#deployments_get_at_management_group_scope) | **GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_get_at_scope**](DeploymentsApi.md#deployments_get_at_scope) | **GET** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_get_at_subscription_scope**](DeploymentsApi.md#deployments_get_at_subscription_scope) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_get_at_tenant_scope**](DeploymentsApi.md#deployments_get_at_tenant_scope) | **GET** /providers/Microsoft.Resources/deployments/{deploymentName} | -[**deployments_list_at_management_group_scope**](DeploymentsApi.md#deployments_list_at_management_group_scope) | **GET** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/ | -[**deployments_list_at_scope**](DeploymentsApi.md#deployments_list_at_scope) | **GET** /{scope}/providers/Microsoft.Resources/deployments/ | -[**deployments_list_at_subscription_scope**](DeploymentsApi.md#deployments_list_at_subscription_scope) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/ | -[**deployments_list_at_tenant_scope**](DeploymentsApi.md#deployments_list_at_tenant_scope) | **GET** /providers/Microsoft.Resources/deployments/ | -[**deployments_list_by_resource_group**](DeploymentsApi.md#deployments_list_by_resource_group) | **GET** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/ | -[**deployments_validate**](DeploymentsApi.md#deployments_validate) | **POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate | -[**deployments_validate_at_management_group_scope**](DeploymentsApi.md#deployments_validate_at_management_group_scope) | **POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate | -[**deployments_validate_at_scope**](DeploymentsApi.md#deployments_validate_at_scope) | **POST** /{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate | -[**deployments_validate_at_subscription_scope**](DeploymentsApi.md#deployments_validate_at_subscription_scope) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate | -[**deployments_validate_at_tenant_scope**](DeploymentsApi.md#deployments_validate_at_tenant_scope) | **POST** /providers/Microsoft.Resources/deployments/{deploymentName}/validate | -[**deployments_what_if**](DeploymentsApi.md#deployments_what_if) | **POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf | -[**deployments_what_if_at_management_group_scope**](DeploymentsApi.md#deployments_what_if_at_management_group_scope) | **POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf | -[**deployments_what_if_at_subscription_scope**](DeploymentsApi.md#deployments_what_if_at_subscription_scope) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf | -[**deployments_what_if_at_tenant_scope**](DeploymentsApi.md#deployments_what_if_at_tenant_scope) | **POST** /providers/Microsoft.Resources/deployments/{deploymentName}/whatIf | - - -# **deployments_calculate_template_hash** -> deployments_calculate_template_hash(_api::DeploymentsApi, api_version::String, template::Any; _mediaType=nothing) -> TemplateHashResult, OpenAPI.Clients.ApiResponse
-> deployments_calculate_template_hash(_api::DeploymentsApi, response_stream::Channel, api_version::String, template::Any; _mediaType=nothing) -> Channel{ TemplateHashResult }, OpenAPI.Clients.ApiResponse - - - -Calculate the hash of the given template. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**template** | **Any**| The template provided to calculate hash. | - -### Return type - -[**TemplateHashResult**](TemplateHashResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_cancel** -> deployments_cancel(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_cancel(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_cancel_at_management_group_scope** -> deployments_cancel_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_cancel_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_cancel_at_scope** -> deployments_cancel_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_cancel_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_cancel_at_subscription_scope** -> deployments_cancel_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_cancel_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_cancel_at_tenant_scope** -> deployments_cancel_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_cancel_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_check_existence** -> deployments_check_existence(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_check_existence(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Checks whether the deployment exists. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group with the deployment to check. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_check_existence_at_management_group_scope** -> deployments_check_existence_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_check_existence_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Checks whether the deployment exists. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_check_existence_at_scope** -> deployments_check_existence_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_check_existence_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Checks whether the deployment exists. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_check_existence_at_subscription_scope** -> deployments_check_existence_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_check_existence_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Checks whether the deployment exists. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_check_existence_at_tenant_scope** -> deployments_check_existence_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_check_existence_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - - - -Checks whether the deployment exists. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_create_or_update** -> deployments_create_or_update(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_create_or_update(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - -Deploys resources to a resource group. - -You can provide the template and parameters directly in the request or link to JSON files. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group to deploy the resources to. The name is case insensitive. The resource group must already exist. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**Deployment**](Deployment.md)| Additional parameters supplied to the operation. | - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_create_or_update_at_management_group_scope** -> deployments_create_or_update_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_create_or_update_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - -Deploys resources at management group scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ScopedDeployment**](ScopedDeployment.md)| Additional parameters supplied to the operation. | - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_create_or_update_at_scope** -> deployments_create_or_update_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_create_or_update_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - -Deploys resources at a given scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**Deployment**](Deployment.md)| Additional parameters supplied to the operation. | - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_create_or_update_at_subscription_scope** -> deployments_create_or_update_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_create_or_update_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - -Deploys resources at subscription scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**Deployment**](Deployment.md)| Additional parameters supplied to the operation. | - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_create_or_update_at_tenant_scope** -> deployments_create_or_update_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_create_or_update_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - -Deploys resources at tenant scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ScopedDeployment**](ScopedDeployment.md)| Additional parameters supplied to the operation. | - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_delete** -> deployments_delete(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_delete(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group with the deployment to delete. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_delete_at_management_group_scope** -> deployments_delete_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_delete_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_delete_at_scope** -> deployments_delete_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_delete_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_delete_at_subscription_scope** -> deployments_delete_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_delete_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_delete_at_tenant_scope** -> deployments_delete_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> deployments_delete_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse - -Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -Nothing - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_export_template** -> deployments_export_template(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeploymentExportResult, OpenAPI.Clients.ApiResponse
-> deployments_export_template(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeploymentExportResult }, OpenAPI.Clients.ApiResponse - - - -Exports the template used for specified deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -[**DeploymentExportResult**](DeploymentExportResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_export_template_at_management_group_scope** -> deployments_export_template_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> DeploymentExportResult, OpenAPI.Clients.ApiResponse
-> deployments_export_template_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentExportResult }, OpenAPI.Clients.ApiResponse - - - -Exports the template used for specified deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentExportResult**](DeploymentExportResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_export_template_at_scope** -> deployments_export_template_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> DeploymentExportResult, OpenAPI.Clients.ApiResponse
-> deployments_export_template_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentExportResult }, OpenAPI.Clients.ApiResponse - - - -Exports the template used for specified deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentExportResult**](DeploymentExportResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_export_template_at_subscription_scope** -> deployments_export_template_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeploymentExportResult, OpenAPI.Clients.ApiResponse
-> deployments_export_template_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeploymentExportResult }, OpenAPI.Clients.ApiResponse - - - -Exports the template used for specified deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -[**DeploymentExportResult**](DeploymentExportResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_export_template_at_tenant_scope** -> deployments_export_template_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) -> DeploymentExportResult, OpenAPI.Clients.ApiResponse
-> deployments_export_template_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentExportResult }, OpenAPI.Clients.ApiResponse - - - -Exports the template used for specified deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentExportResult**](DeploymentExportResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_get** -> deployments_get(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_get(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - - - -Gets a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_get_at_management_group_scope** -> deployments_get_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_get_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - - - -Gets a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_get_at_scope** -> deployments_get_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_get_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - - - -Gets a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_get_at_subscription_scope** -> deployments_get_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_get_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - - - -Gets a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_get_at_tenant_scope** -> deployments_get_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) -> DeploymentExtended, OpenAPI.Clients.ApiResponse
-> deployments_get_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) -> Channel{ DeploymentExtended }, OpenAPI.Clients.ApiResponse - - - -Gets a deployment. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Return type - -[**DeploymentExtended**](DeploymentExtended.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_list_at_management_group_scope** -> deployments_list_at_management_group_scope(_api::DeploymentsApi, group_id::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> DeploymentListResult, OpenAPI.Clients.ApiResponse
-> deployments_list_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ DeploymentListResult }, OpenAPI.Clients.ApiResponse - - - -Get all the deployments for a management group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. | [default to nothing] - **top** | **Int64**| The number of results to get. If null is passed, returns all deployments. | [default to nothing] - -### Return type - -[**DeploymentListResult**](DeploymentListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_list_at_scope** -> deployments_list_at_scope(_api::DeploymentsApi, scope::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> DeploymentListResult, OpenAPI.Clients.ApiResponse
-> deployments_list_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ DeploymentListResult }, OpenAPI.Clients.ApiResponse - - - -Get all the deployments at the given scope. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. | [default to nothing] - **top** | **Int64**| The number of results to get. If null is passed, returns all deployments. | [default to nothing] - -### Return type - -[**DeploymentListResult**](DeploymentListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_list_at_subscription_scope** -> deployments_list_at_subscription_scope(_api::DeploymentsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> DeploymentListResult, OpenAPI.Clients.ApiResponse
-> deployments_list_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ DeploymentListResult }, OpenAPI.Clients.ApiResponse - - - -Get all the deployments for a subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. | [default to nothing] - **top** | **Int64**| The number of results to get. If null is passed, returns all deployments. | [default to nothing] - -### Return type - -[**DeploymentListResult**](DeploymentListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_list_at_tenant_scope** -> deployments_list_at_tenant_scope(_api::DeploymentsApi, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> DeploymentListResult, OpenAPI.Clients.ApiResponse
-> deployments_list_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ DeploymentListResult }, OpenAPI.Clients.ApiResponse - - - -Get all the deployments at the tenant scope. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. | [default to nothing] - **top** | **Int64**| The number of results to get. If null is passed, returns all deployments. | [default to nothing] - -### Return type - -[**DeploymentListResult**](DeploymentListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_list_by_resource_group** -> deployments_list_by_resource_group(_api::DeploymentsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> DeploymentListResult, OpenAPI.Clients.ApiResponse
-> deployments_list_by_resource_group(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) -> Channel{ DeploymentListResult }, OpenAPI.Clients.ApiResponse - - - -Get all the deployments for a resource group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group with the deployments to get. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] - -### Optional Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation. For example, you can use $filter=provisioningState eq '{state}'. | [default to nothing] - **top** | **Int64**| The number of results to get. If null is passed, returns all deployments. | [default to nothing] - -### Return type - -[**DeploymentListResult**](DeploymentListResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_validate** -> deployments_validate(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> DeploymentValidateResult, OpenAPI.Clients.ApiResponse
-> deployments_validate(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> Channel{ DeploymentValidateResult }, OpenAPI.Clients.ApiResponse - - - -Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group the template will be deployed to. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**Deployment**](Deployment.md)| Parameters to validate. | - -### Return type - -[**DeploymentValidateResult**](DeploymentValidateResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_validate_at_management_group_scope** -> deployments_validate_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> DeploymentValidateResult, OpenAPI.Clients.ApiResponse
-> deployments_validate_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> Channel{ DeploymentValidateResult }, OpenAPI.Clients.ApiResponse - - - -Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ScopedDeployment**](ScopedDeployment.md)| Parameters to validate. | - -### Return type - -[**DeploymentValidateResult**](DeploymentValidateResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_validate_at_scope** -> deployments_validate_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) -> DeploymentValidateResult, OpenAPI.Clients.ApiResponse
-> deployments_validate_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) -> Channel{ DeploymentValidateResult }, OpenAPI.Clients.ApiResponse - - - -Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**Deployment**](Deployment.md)| Parameters to validate. | - -### Return type - -[**DeploymentValidateResult**](DeploymentValidateResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_validate_at_subscription_scope** -> deployments_validate_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> DeploymentValidateResult, OpenAPI.Clients.ApiResponse
-> deployments_validate_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) -> Channel{ DeploymentValidateResult }, OpenAPI.Clients.ApiResponse - - - -Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**Deployment**](Deployment.md)| Parameters to validate. | - -### Return type - -[**DeploymentValidateResult**](DeploymentValidateResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_validate_at_tenant_scope** -> deployments_validate_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> DeploymentValidateResult, OpenAPI.Clients.ApiResponse
-> deployments_validate_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) -> Channel{ DeploymentValidateResult }, OpenAPI.Clients.ApiResponse - - - -Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ScopedDeployment**](ScopedDeployment.md)| Parameters to validate. | - -### Return type - -[**DeploymentValidateResult**](DeploymentValidateResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_what_if** -> deployments_what_if(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) -> WhatIfOperationResult, OpenAPI.Clients.ApiResponse
-> deployments_what_if(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) -> Channel{ WhatIfOperationResult }, OpenAPI.Clients.ApiResponse - - - -Returns changes that will be made by the deployment if executed at the scope of the resource group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**resource_group_name** | **String**| The name of the resource group the template will be deployed to. The name is case insensitive. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**DeploymentWhatIf**](DeploymentWhatIf.md)| Parameters to validate. | - -### Return type - -[**WhatIfOperationResult**](WhatIfOperationResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_what_if_at_management_group_scope** -> deployments_what_if_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) -> WhatIfOperationResult, OpenAPI.Clients.ApiResponse
-> deployments_what_if_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) -> Channel{ WhatIfOperationResult }, OpenAPI.Clients.ApiResponse - - - -Returns changes that will be made by the deployment if executed at the scope of the management group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**group_id** | **String**| The management group ID. | [default to nothing] -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ScopedDeploymentWhatIf**](ScopedDeploymentWhatIf.md)| Parameters to validate. | - -### Return type - -[**WhatIfOperationResult**](WhatIfOperationResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_what_if_at_subscription_scope** -> deployments_what_if_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) -> WhatIfOperationResult, OpenAPI.Clients.ApiResponse
-> deployments_what_if_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) -> Channel{ WhatIfOperationResult }, OpenAPI.Clients.ApiResponse - - - -Returns changes that will be made by the deployment if executed at the scope of the subscription. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**DeploymentWhatIf**](DeploymentWhatIf.md)| Parameters to What If. | - -### Return type - -[**WhatIfOperationResult**](WhatIfOperationResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - -# **deployments_what_if_at_tenant_scope** -> deployments_what_if_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) -> WhatIfOperationResult, OpenAPI.Clients.ApiResponse
-> deployments_what_if_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) -> Channel{ WhatIfOperationResult }, OpenAPI.Clients.ApiResponse - - - -Returns changes that will be made by the deployment if executed at the scope of the tenant group. - -### Required Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **_api** | **DeploymentsApi** | API context | -**deployment_name** | **String**| The name of the deployment. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ScopedDeploymentWhatIf**](ScopedDeploymentWhatIf.md)| Parameters to validate. | - -### Return type - -[**WhatIfOperationResult**](WhatIfOperationResult.md) - -### Authorization - -[azure_auth](../README.md#azure_auth) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) - diff --git a/src/Resource/ResourceManagementClient/docs/ExportTemplateRequest.md b/src/Resource/ResourceManagementClient/docs/ExportTemplateRequest.md index 00a8967..6aee025 100644 --- a/src/Resource/ResourceManagementClient/docs/ExportTemplateRequest.md +++ b/src/Resource/ResourceManagementClient/docs/ExportTemplateRequest.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resources** | **Vector{String}** | The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. | [optional] [default to nothing] **options** | **String** | The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization' | [optional] [default to nothing] +**outputFormat** | **String** | The output format for the exported resources. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/ResourceManagementClient/docs/ExtendedLocation.md b/src/Resource/ResourceManagementClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..446f4b1 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The extended location type. | [optional] [default to nothing] +**name** | **String** | The extended location name. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/GenericResource.md b/src/Resource/ResourceManagementClient/docs/GenericResource.md index 2bd4ffa..5d44b2d 100644 --- a/src/Resource/ResourceManagementClient/docs/GenericResource.md +++ b/src/Resource/ResourceManagementClient/docs/GenericResource.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] diff --git a/src/Resource/ResourceManagementClient/docs/GenericResourceExpanded.md b/src/Resource/ResourceManagementClient/docs/GenericResourceExpanded.md index 44bdf9c..2ea2ad4 100644 --- a/src/Resource/ResourceManagementClient/docs/GenericResourceExpanded.md +++ b/src/Resource/ResourceManagementClient/docs/GenericResourceExpanded.md @@ -7,10 +7,17 @@ Name | Type | Description | Notes **createdTime** | **ZonedDateTime** | The created time of the resource. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] **changedTime** | **ZonedDateTime** | The changed time of the resource. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] **provisioningState** | **String** | The provisioning state of the resource. This is only present if requested via the $expand query parameter. | [optional] [readonly] [default to nothing] +**plan** | [***Plan**](Plan.md) | | [optional] [default to nothing] +**properties** | **Any** | The resource properties. | [optional] [default to nothing] +**kind** | **String** | The kind of the resource. | [optional] [default to nothing] +**managedBy** | **String** | ID of the resource that manages this resource. | [optional] [default to nothing] +**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] +**identity** | [***Identity**](Identity.md) | | [optional] [default to nothing] **id** | **String** | Resource ID | [optional] [readonly] [default to nothing] **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] diff --git a/src/Resource/ResourceManagementClient/docs/HttpMessage.md b/src/Resource/ResourceManagementClient/docs/HttpMessage.md deleted file mode 100644 index c77081f..0000000 --- a/src/Resource/ResourceManagementClient/docs/HttpMessage.md +++ /dev/null @@ -1,12 +0,0 @@ -# HttpMessage - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**content** | **Any** | HTTP message content. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/OnErrorDeployment.md b/src/Resource/ResourceManagementClient/docs/OnErrorDeployment.md deleted file mode 100644 index 90b60f3..0000000 --- a/src/Resource/ResourceManagementClient/docs/OnErrorDeployment.md +++ /dev/null @@ -1,13 +0,0 @@ -# OnErrorDeployment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**type** | **String** | The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. | [optional] [default to nothing] -**deploymentName** | **String** | The deployment to be used on error case. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/OnErrorDeploymentExtended.md b/src/Resource/ResourceManagementClient/docs/OnErrorDeploymentExtended.md deleted file mode 100644 index d1db1ac..0000000 --- a/src/Resource/ResourceManagementClient/docs/OnErrorDeploymentExtended.md +++ /dev/null @@ -1,14 +0,0 @@ -# OnErrorDeploymentExtended - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**provisioningState** | **String** | The state of the provisioning for the on error deployment. | [optional] [readonly] [default to nothing] -**type** | **String** | The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. | [optional] [default to nothing] -**deploymentName** | **String** | The deployment to be used on error case. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/OperationsApi.md b/src/Resource/ResourceManagementClient/docs/OperationsApi.md index 76ce509..237521f 100644 --- a/src/Resource/ResourceManagementClient/docs/OperationsApi.md +++ b/src/Resource/ResourceManagementClient/docs/OperationsApi.md @@ -20,7 +20,7 @@ Lists all of the available Microsoft.Resources REST API operations. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **OperationsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | ### Return type diff --git a/src/Resource/ResourceManagementClient/docs/ParametersLink.md b/src/Resource/ResourceManagementClient/docs/ParametersLink.md deleted file mode 100644 index d6929ed..0000000 --- a/src/Resource/ResourceManagementClient/docs/ParametersLink.md +++ /dev/null @@ -1,13 +0,0 @@ -# ParametersLink - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**uri** | **String** | The URI of the parameters file. | [default to nothing] -**contentVersion** | **String** | If included, must match the ContentVersion in the template. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/Permission.md b/src/Resource/ResourceManagementClient/docs/Permission.md new file mode 100644 index 0000000..fa26fe3 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/Permission.md @@ -0,0 +1,15 @@ +# Permission + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**actions** | **Vector{String}** | Allowed actions. | [optional] [default to nothing] +**notActions** | **Vector{String}** | Denied actions. | [optional] [default to nothing] +**dataActions** | **Vector{String}** | Allowed Data actions. | [optional] [default to nothing] +**notDataActions** | **Vector{String}** | Denied Data actions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/Provider.md b/src/Resource/ResourceManagementClient/docs/Provider.md index 9f9275b..3a9cb40 100644 --- a/src/Resource/ResourceManagementClient/docs/Provider.md +++ b/src/Resource/ResourceManagementClient/docs/Provider.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **registrationState** | **String** | The registration state of the resource provider. | [optional] [readonly] [default to nothing] **registrationPolicy** | **String** | The registration policy of the resource provider. | [optional] [readonly] [default to nothing] **resourceTypes** | [**Vector{ProviderResourceType}**](ProviderResourceType.md) | The collection of provider resource types. | [optional] [readonly] [default to nothing] +**providerAuthorizationConsentState** | **String** | The provider authorization consent state. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/ResourceManagementClient/docs/ProviderConsentDefinition.md b/src/Resource/ResourceManagementClient/docs/ProviderConsentDefinition.md new file mode 100644 index 0000000..4b028bc --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ProviderConsentDefinition.md @@ -0,0 +1,12 @@ +# ProviderConsentDefinition + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**consentToAuthorization** | **Bool** | A value indicating whether authorization is consented or not. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ProviderExtendedLocation.md b/src/Resource/ResourceManagementClient/docs/ProviderExtendedLocation.md new file mode 100644 index 0000000..dfd609c --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ProviderExtendedLocation.md @@ -0,0 +1,14 @@ +# ProviderExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **String** | The azure location. | [optional] [default to nothing] +**type** | **String** | The extended location type. | [optional] [default to nothing] +**extendedLocations** | **Vector{String}** | The extended locations for the azure location. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ProviderPermission.md b/src/Resource/ResourceManagementClient/docs/ProviderPermission.md new file mode 100644 index 0000000..67130c8 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ProviderPermission.md @@ -0,0 +1,15 @@ +# ProviderPermission + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**applicationId** | **String** | The application id. | [optional] [default to nothing] +**roleDefinition** | [***RoleDefinition**](RoleDefinition.md) | | [optional] [default to nothing] +**managedByRoleDefinition** | [***RoleDefinition**](RoleDefinition.md) | | [optional] [default to nothing] +**providerAuthorizationConsentState** | **String** | The provider authorization consent state. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ProviderPermissionListResult.md b/src/Resource/ResourceManagementClient/docs/ProviderPermissionListResult.md new file mode 100644 index 0000000..e947f1e --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ProviderPermissionListResult.md @@ -0,0 +1,13 @@ +# ProviderPermissionListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{ProviderPermission}**](ProviderPermission.md) | An array of provider permissions. | [optional] [default to nothing] +**nextLink** | **String** | The URL to use for getting the next set of results. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ProviderRegistrationRequest.md b/src/Resource/ResourceManagementClient/docs/ProviderRegistrationRequest.md new file mode 100644 index 0000000..981c19d --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ProviderRegistrationRequest.md @@ -0,0 +1,12 @@ +# ProviderRegistrationRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**thirdPartyProviderConsent** | [***ProviderConsentDefinition**](ProviderConsentDefinition.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ProviderResourceType.md b/src/Resource/ResourceManagementClient/docs/ProviderResourceType.md index 180aa57..8089150 100644 --- a/src/Resource/ResourceManagementClient/docs/ProviderResourceType.md +++ b/src/Resource/ResourceManagementClient/docs/ProviderResourceType.md @@ -6,8 +6,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **resourceType** | **String** | The resource type. | [optional] [default to nothing] **locations** | **Vector{String}** | The collection of locations where this resource type can be created. | [optional] [default to nothing] +**locationMappings** | [**Vector{ProviderExtendedLocation}**](ProviderExtendedLocation.md) | The location mappings that are supported by this resource type. | [optional] [default to nothing] **aliases** | [**Vector{Alias}**](Alias.md) | The aliases that are supported by this resource type. | [optional] [default to nothing] **apiVersions** | **Vector{String}** | The API version. | [optional] [default to nothing] +**defaultApiVersion** | **String** | The default API version. | [optional] [readonly] [default to nothing] +**zoneMappings** | [**Vector{ZoneMapping}**](ZoneMapping.md) | | [optional] [default to nothing] +**apiProfiles** | [**Vector{ApiProfile}**](ApiProfile.md) | The API profiles for the resource provider. | [optional] [readonly] [default to nothing] **capabilities** | **String** | The additional capabilities offered by this resource type. | [optional] [default to nothing] **properties** | **Dict{String, String}** | The properties. | [optional] [default to nothing] diff --git a/src/Resource/ResourceManagementClient/docs/ProviderResourceTypeListResult.md b/src/Resource/ResourceManagementClient/docs/ProviderResourceTypeListResult.md new file mode 100644 index 0000000..9f65803 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ProviderResourceTypeListResult.md @@ -0,0 +1,13 @@ +# ProviderResourceTypeListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{ProviderResourceType}**](ProviderResourceType.md) | An array of resource types. | [optional] [default to nothing] +**nextLink** | **String** | The URL to use for getting the next set of results. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ProvidersApi.md b/src/Resource/ResourceManagementClient/docs/ProvidersApi.md index ec3c990..4c40c92 100644 --- a/src/Resource/ResourceManagementClient/docs/ProvidersApi.md +++ b/src/Resource/ResourceManagementClient/docs/ProvidersApi.md @@ -4,14 +4,55 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**provider_resource_types_list**](ProvidersApi.md#provider_resource_types_list) | **GET** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes | [**providers_get**](ProvidersApi.md#providers_get) | **GET** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace} | [**providers_get_at_tenant_scope**](ProvidersApi.md#providers_get_at_tenant_scope) | **GET** /providers/{resourceProviderNamespace} | [**providers_list**](ProvidersApi.md#providers_list) | **GET** /subscriptions/{subscriptionId}/providers | [**providers_list_at_tenant_scope**](ProvidersApi.md#providers_list_at_tenant_scope) | **GET** /providers | +[**providers_provider_permissions**](ProvidersApi.md#providers_provider_permissions) | **GET** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions | [**providers_register**](ProvidersApi.md#providers_register) | **POST** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register | +[**providers_register_at_management_group_scope**](ProvidersApi.md#providers_register_at_management_group_scope) | **POST** /providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register | [**providers_unregister**](ProvidersApi.md#providers_unregister) | **POST** /subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister | +# **provider_resource_types_list** +> provider_resource_types_list(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> ProviderResourceTypeListResult, OpenAPI.Clients.ApiResponse
+> provider_resource_types_list(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ ProviderResourceTypeListResult }, OpenAPI.Clients.ApiResponse + + + +List the resource types for a specified resource provider. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **ProvidersApi** | API context | +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **expand** | **String** | The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] + +### Return type + +[**ProviderResourceTypeListResult**](ProviderResourceTypeListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **providers_get** > providers_get(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Provider, OpenAPI.Clients.ApiResponse
> providers_get(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ Provider }, OpenAPI.Clients.ApiResponse @@ -25,15 +66,15 @@ Gets the specified resource provider. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProvidersApi** | API context | -**resource_provider_namespace** | **String**| The namespace of the resource provider. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] + **expand** | **String** | The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] ### Return type @@ -63,14 +104,14 @@ Gets the specified resource provider at the tenant level. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProvidersApi** | API context | -**resource_provider_namespace** | **String**| The namespace of the resource provider. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**api_version** | **String** | The API version to use for this operation. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] + **expand** | **String** | The $expand query parameter. For example, to include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] ### Return type @@ -88,8 +129,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **providers_list** -> providers_list(_api::ProvidersApi, api_version::String, subscription_id::String; top=nothing, expand=nothing, _mediaType=nothing) -> ProviderListResult, OpenAPI.Clients.ApiResponse
-> providers_list(_api::ProvidersApi, response_stream::Channel, api_version::String, subscription_id::String; top=nothing, expand=nothing, _mediaType=nothing) -> Channel{ ProviderListResult }, OpenAPI.Clients.ApiResponse +> providers_list(_api::ProvidersApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> ProviderListResult, OpenAPI.Clients.ApiResponse
+> providers_list(_api::ProvidersApi, response_stream::Channel, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) -> Channel{ ProviderListResult }, OpenAPI.Clients.ApiResponse @@ -100,15 +141,14 @@ Gets all resource providers for a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProvidersApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. If null is passed returns all deployments. | [default to nothing] - **expand** | **String**| The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] + **expand** | **String** | The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] ### Return type @@ -126,8 +166,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **providers_list_at_tenant_scope** -> providers_list_at_tenant_scope(_api::ProvidersApi, api_version::String; top=nothing, expand=nothing, _mediaType=nothing) -> ProviderListResult, OpenAPI.Clients.ApiResponse
-> providers_list_at_tenant_scope(_api::ProvidersApi, response_stream::Channel, api_version::String; top=nothing, expand=nothing, _mediaType=nothing) -> Channel{ ProviderListResult }, OpenAPI.Clients.ApiResponse +> providers_list_at_tenant_scope(_api::ProvidersApi, api_version::String; expand=nothing, _mediaType=nothing) -> ProviderListResult, OpenAPI.Clients.ApiResponse
+> providers_list_at_tenant_scope(_api::ProvidersApi, response_stream::Channel, api_version::String; expand=nothing, _mediaType=nothing) -> Channel{ ProviderListResult }, OpenAPI.Clients.ApiResponse @@ -138,14 +178,13 @@ Gets all resource providers for the tenant. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProvidersApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **top** | **Int64**| The number of results to return. If null is passed returns all providers. | [default to nothing] - **expand** | **String**| The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] + **expand** | **String** | The properties to include in the results. For example, use &$expand=metadata in the query string to retrieve resource provider metadata. To include property aliases in response, use $expand=resourceTypes/aliases. | [default to nothing] ### Return type @@ -162,9 +201,41 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **providers_provider_permissions** +> providers_provider_permissions(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) -> ProviderPermissionListResult, OpenAPI.Clients.ApiResponse
+> providers_provider_permissions(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ ProviderPermissionListResult }, OpenAPI.Clients.ApiResponse + + + +Get the provider permissions. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **ProvidersApi** | API context | +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | + +### Return type + +[**ProviderPermissionListResult**](ProviderPermissionListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **providers_register** -> providers_register(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Provider, OpenAPI.Clients.ApiResponse
-> providers_register(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Provider }, OpenAPI.Clients.ApiResponse +> providers_register(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; properties=nothing, _mediaType=nothing) -> Provider, OpenAPI.Clients.ApiResponse
+> providers_register(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; properties=nothing, _mediaType=nothing) -> Channel{ Provider }, OpenAPI.Clients.ApiResponse @@ -175,9 +246,15 @@ Registers a subscription with a resource provider. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProvidersApi** | API context | -**resource_provider_namespace** | **String**| The namespace of the resource provider to register. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_provider_namespace** | **String** | The namespace of the resource provider to register. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **properties** | [**ProviderRegistrationRequest**](ProviderRegistrationRequest.md) | The third party consent for S2S. | ### Return type @@ -187,6 +264,38 @@ Name | Type | Description | Notes [azure_auth](../README.md#azure_auth) +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **providers_register_at_management_group_scope** +> providers_register_at_management_group_scope(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, group_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> providers_register_at_management_group_scope(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, group_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Registers a management group with a resource provider. Use this operation to register a resource provider with resource types that can be deployed at the management group scope. It does not recursively register subscriptions within the management group. Instead, you must register subscriptions individually. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **ProvidersApi** | API context | +**resource_provider_namespace** | **String** | The namespace of the resource provider to register. | +**api_version** | **String** | The API version to use for this operation. | +**group_id** | **String** | The management group ID. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + ### HTTP request headers - **Content-Type**: Not defined @@ -207,9 +316,9 @@ Unregisters a subscription from a resource provider. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ProvidersApi** | API context | -**resource_provider_namespace** | **String**| The namespace of the resource provider to unregister. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_provider_namespace** | **String** | The namespace of the resource provider to unregister. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type diff --git a/src/Resource/ResourceManagementClient/docs/Resource.md b/src/Resource/ResourceManagementClient/docs/Resource.md index f45fef6..4c220ec 100644 --- a/src/Resource/ResourceManagementClient/docs/Resource.md +++ b/src/Resource/ResourceManagementClient/docs/Resource.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **name** | **String** | Resource name | [optional] [readonly] [default to nothing] **type** | **String** | Resource type | [optional] [readonly] [default to nothing] **location** | **String** | Resource location | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] **tags** | **Dict{String, String}** | Resource tags | [optional] [default to nothing] diff --git a/src/Resource/ResourceManagementClient/docs/ResourceGroupExportResult.md b/src/Resource/ResourceManagementClient/docs/ResourceGroupExportResult.md index a76fc77..c0efc0a 100644 --- a/src/Resource/ResourceManagementClient/docs/ResourceGroupExportResult.md +++ b/src/Resource/ResourceManagementClient/docs/ResourceGroupExportResult.md @@ -4,7 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**template** | **Any** | The template content. | [optional] [default to nothing] +**template** | **Any** | The template content. Used if outputFormat is empty or set to 'Json'. | [optional] [default to nothing] +**output** | **String** | The formatted export content. Used if outputFormat is set to 'Bicep'. | [optional] [default to nothing] **error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] diff --git a/src/Resource/ResourceManagementClient/docs/ResourceGroupsApi.md b/src/Resource/ResourceManagementClient/docs/ResourceGroupsApi.md index 876c49e..4034988 100644 --- a/src/Resource/ResourceManagementClient/docs/ResourceGroupsApi.md +++ b/src/Resource/ResourceManagementClient/docs/ResourceGroupsApi.md @@ -27,9 +27,9 @@ Checks whether a resource group exists. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group to check. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group to check. The name is case insensitive. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -59,10 +59,10 @@ Creates or updates a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**ResourceGroup**](ResourceGroup.md)| Parameters supplied to the create or update a resource group. | +**resource_group_name** | **String** | The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**parameters** | [**ResourceGroup**](ResourceGroup.md) | Parameters supplied to the create or update a resource group. | ### Return type @@ -80,8 +80,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **resource_groups_delete** -> resource_groups_delete(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> resource_groups_delete(_api::ResourceGroupsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> resource_groups_delete(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; force_deletion_types=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> resource_groups_delete(_api::ResourceGroupsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; force_deletion_types=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse Deletes a resource group. @@ -92,9 +92,15 @@ When you delete a resource group, all of its resources are also deleted. Deletin Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group to delete. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group to delete. The name is case insensitive. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **force_deletion_types** | **String** | The resource types you want to force delete. Currently, only the following is supported: forceDeletionTypes=Microsoft.Compute/virtualMachines,Microsoft.Compute/virtualMachineScaleSets | [default to nothing] ### Return type @@ -124,10 +130,10 @@ Captures the specified resource group as a template. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**resource_group_name** | **String**| The name of the resource group. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**ExportTemplateRequest**](ExportTemplateRequest.md)| Parameters for exporting the template. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**resource_group_name** | **String** | The name of the resource group. The name is case insensitive. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**ExportTemplateRequest**](ExportTemplateRequest.md) | Parameters for exporting the template. | ### Return type @@ -157,9 +163,9 @@ Gets a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group to get. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group to get. The name is case insensitive. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -189,15 +195,15 @@ Gets all the resource groups for a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1' | [default to nothing] - **top** | **Int64**| The number of results to return. If null is passed, returns all resource groups. | [default to nothing] + **filter** | **String** | The filter to apply on the operation.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1' | [default to nothing] + **top** | **Int64** | The number of results to return. If null is passed, returns all resource groups. | [default to nothing] ### Return type @@ -227,10 +233,10 @@ Resource groups can be updated through a simple PATCH operation to a group addre Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**resource_group_name** | **String**| The name of the resource group to update. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**ResourceGroupPatchable**](ResourceGroupPatchable.md)| Parameters supplied to update a resource group. | +**resource_group_name** | **String** | The name of the resource group to update. The name is case insensitive. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**parameters** | [**ResourceGroupPatchable**](ResourceGroupPatchable.md) | Parameters supplied to update a resource group. | ### Return type @@ -260,17 +266,17 @@ Get all the resources for a resource group. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourceGroupsApi** | API context | -**resource_group_name** | **String**| The resource group with the resources to get. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The resource group with the resources to get. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. | [default to nothing] - **expand** | **String**| Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. | [default to nothing] - **top** | **Int64**| The number of results to return. If null is passed, returns all resources. | [default to nothing] + **filter** | **String** | The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. | [default to nothing] + **top** | **Int64** | The number of results to return. If null is passed, returns all resources. | [default to nothing] ### Return type diff --git a/src/Resource/ResourceManagementClient/docs/ResourceReference.md b/src/Resource/ResourceManagementClient/docs/ResourceReference.md deleted file mode 100644 index aac851f..0000000 --- a/src/Resource/ResourceManagementClient/docs/ResourceReference.md +++ /dev/null @@ -1,12 +0,0 @@ -# ResourceReference - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The fully qualified resource Id. | [optional] [readonly] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/ResourcesApi.md b/src/Resource/ResourceManagementClient/docs/ResourcesApi.md index 8d28ed0..c8ce6fb 100644 --- a/src/Resource/ResourceManagementClient/docs/ResourcesApi.md +++ b/src/Resource/ResourceManagementClient/docs/ResourcesApi.md @@ -32,13 +32,13 @@ Checks whether a resource exists. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing the resource to check. The name is case insensitive. | [default to nothing] -**resource_provider_namespace** | **String**| The resource provider of the resource to check. | [default to nothing] -**parent_resource_path** | **String**| The parent resource identity. | [default to nothing] -**resource_type** | **String**| The resource type. | [default to nothing] -**resource_name** | **String**| The name of the resource to check whether it exists. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing the resource to check. The name is case insensitive. | +**resource_provider_namespace** | **String** | The resource provider of the resource to check. | +**parent_resource_path** | **String** | The parent resource identity. | +**resource_type** | **String** | The resource type. | +**resource_name** | **String** | The name of the resource to check whether it exists. | +**api_version** | **String** | The API version to use for the operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -61,15 +61,15 @@ Nothing -Checks by ID whether a resource exists. +Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_id** | **String**| The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**resource_id** | **String** | The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | +**api_version** | **String** | The API version to use for the operation. | ### Return type @@ -99,14 +99,14 @@ Creates a resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group for the resource. The name is case insensitive. | [default to nothing] -**resource_provider_namespace** | **String**| The namespace of the resource provider. | [default to nothing] -**parent_resource_path** | **String**| The parent resource identity. | [default to nothing] -**resource_type** | **String**| The resource type of the resource to create. | [default to nothing] -**resource_name** | **String**| The name of the resource to create. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**GenericResource**](GenericResource.md)| Parameters for creating or updating the resource. | +**resource_group_name** | **String** | The name of the resource group for the resource. The name is case insensitive. | +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**parent_resource_path** | **String** | The parent resource identity. | +**resource_type** | **String** | The resource type of the resource to create. | +**resource_name** | **String** | The name of the resource to create. | +**api_version** | **String** | The API version to use for the operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**parameters** | [**GenericResource**](GenericResource.md) | Parameters for creating or updating the resource. | ### Return type @@ -136,9 +136,9 @@ Create a resource by ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_id** | **String**| The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**parameters** | [**GenericResource**](GenericResource.md)| Create or update resource parameters. | +**resource_id** | **String** | The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | +**api_version** | **String** | The API version to use for the operation. | +**parameters** | [**GenericResource**](GenericResource.md) | Create or update resource parameters. | ### Return type @@ -168,13 +168,13 @@ Deletes a resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group that contains the resource to delete. The name is case insensitive. | [default to nothing] -**resource_provider_namespace** | **String**| The namespace of the resource provider. | [default to nothing] -**parent_resource_path** | **String**| The parent resource identity. | [default to nothing] -**resource_type** | **String**| The resource type. | [default to nothing] -**resource_name** | **String**| The name of the resource to delete. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group that contains the resource to delete. The name is case insensitive. | +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**parent_resource_path** | **String** | The parent resource identity. | +**resource_type** | **String** | The resource type. | +**resource_name** | **String** | The name of the resource to delete. | +**api_version** | **String** | The API version to use for the operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -204,8 +204,8 @@ Deletes a resource by ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_id** | **String**| The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**resource_id** | **String** | The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | +**api_version** | **String** | The API version to use for the operation. | ### Return type @@ -235,13 +235,13 @@ Gets a resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group containing the resource to get. The name is case insensitive. | [default to nothing] -**resource_provider_namespace** | **String**| The namespace of the resource provider. | [default to nothing] -**parent_resource_path** | **String**| The parent resource identity. | [default to nothing] -**resource_type** | **String**| The resource type of the resource. | [default to nothing] -**resource_name** | **String**| The name of the resource to get. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group containing the resource to get. The name is case insensitive. | +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**parent_resource_path** | **String** | The parent resource identity. | +**resource_type** | **String** | The resource type of the resource. | +**resource_name** | **String** | The name of the resource to get. | +**api_version** | **String** | The API version to use for the operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -271,8 +271,8 @@ Gets a resource by ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_id** | **String**| The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**resource_id** | **String** | The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | +**api_version** | **String** | The API version to use for the operation. | ### Return type @@ -302,16 +302,16 @@ Get all the resources in a subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **filter** | **String**| The filter to apply on the operation.<br><br>The properties you can use for eq (equals) or ne (not equals) are: location, resourceType, name, resourceGroup, identity, identity/principalId, plan, plan/publisher, plan/product, plan/name, plan/version, and plan/promotionCode.<br><br>For example, to filter by a resource type, use: $filter=resourceType eq 'Microsoft.Network/virtualNetworks'<br><br>You can use substringof(value, property) in the filter. The properties you can use for substring are: name and resourceGroup.<br><br>For example, to get all resources with 'demo' anywhere in the name, use: $filter=substringof('demo', name)<br><br>You can link more than one substringof together by adding and/or operators.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'. When you filter by a tag name and value, the tags for each resource are not returned in the results.<br><br>You can use some properties together when filtering. The combinations you can use are: substringof and/or resourceType, plan and plan/publisher and plan/name, identity and identity/principalId. | [default to nothing] - **expand** | **String**| Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. | [default to nothing] - **top** | **Int64**| The number of results to return. If null is passed, returns all resource groups. | [default to nothing] + **filter** | **String** | The filter to apply on the operation.<br><br>Filter comparison operators include `eq` (equals) and `ne` (not equals) and may be used with the following properties: `location`, `resourceType`, `name`, `resourceGroup`, `identity`, `identity/principalId`, `plan`, `plan/publisher`, `plan/product`, `plan/name`, `plan/version`, and `plan/promotionCode`.<br><br>For example, to filter by a resource type, use `$filter=resourceType eq 'Microsoft.Network/virtualNetworks'`<br><br><br>`substringof(value, property)` can be used to filter for substrings of the following currently-supported properties: `name` and `resourceGroup`<br><br>For example, to get all resources with 'demo' anywhere in the resource name, use `$filter=substringof('demo', name)`<br><br>Multiple substring operations can also be combined using `and`/`or` operators.<br><br>Note that any truncated number of results queried via `$top` may also not be compatible when using a filter.<br><br><br>Resources can be filtered by tag names and values. For example, to filter for a tag name and value, use `$filter=tagName eq 'tag1' and tagValue eq 'Value1'`. Note that when resources are filtered by tag name and value, <b>the original tags for each resource will not be returned in the results.</b> Any list of additional properties queried via `$expand` may also not be compatible when filtering by tag names/values. <br><br>For tag names only, resources can be filtered by prefix using the following syntax: `$filter=startswith(tagName, 'depart')`. This query will return all resources with a tag name prefixed by the phrase `depart` (i.e.`department`, `departureDate`, `departureTime`, etc.)<br><br><br>Note that some properties can be combined when filtering resources, which include the following: `substringof() and/or resourceType`, `plan and plan/publisher and plan/name`, and `identity and identity/principalId`. | [default to nothing] + **expand** | **String** | Comma-separated list of additional properties to be included in the response. Valid values include `createdTime`, `changedTime` and `provisioningState`. For example, `$expand=createdTime,changedTime`. | [default to nothing] + **top** | **Int64** | The number of recommendations per page if a paged version of this API is being used. | [default to nothing] ### Return type @@ -334,17 +334,17 @@ Name | Type | Description | Notes Moves resources from one resource group to another resource group. -The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. +The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**source_resource_group_name** | **String**| The name of the resource group containing the resources to move. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**ResourcesMoveInfo**](ResourcesMoveInfo.md)| Parameters for moving resources. | +**source_resource_group_name** | **String** | The name of the resource group from the source subscription containing the resources to be moved. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**parameters** | [**ResourcesMoveInfo**](ResourcesMoveInfo.md) | Parameters for moving resources. | ### Return type @@ -374,14 +374,14 @@ Updates a resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group for the resource. The name is case insensitive. | [default to nothing] -**resource_provider_namespace** | **String**| The namespace of the resource provider. | [default to nothing] -**parent_resource_path** | **String**| The parent resource identity. | [default to nothing] -**resource_type** | **String**| The resource type of the resource to update. | [default to nothing] -**resource_name** | **String**| The name of the resource to update. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**GenericResource**](GenericResource.md)| Parameters for updating the resource. | +**resource_group_name** | **String** | The name of the resource group for the resource. The name is case insensitive. | +**resource_provider_namespace** | **String** | The namespace of the resource provider. | +**parent_resource_path** | **String** | The parent resource identity. | +**resource_type** | **String** | The resource type of the resource to update. | +**resource_name** | **String** | The name of the resource to update. | +**api_version** | **String** | The API version to use for the operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**parameters** | [**GenericResource**](GenericResource.md) | Parameters for updating the resource. | ### Return type @@ -411,9 +411,9 @@ Updates a resource by ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**resource_id** | **String**| The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] -**parameters** | [**GenericResource**](GenericResource.md)| Update resource parameters. | +**resource_id** | **String** | The fully qualified ID of the resource, including the resource name and resource type. Use the format, /subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name} | +**api_version** | **String** | The API version to use for the operation. | +**parameters** | [**GenericResource**](GenericResource.md) | Update resource parameters. | ### Return type @@ -436,17 +436,17 @@ Name | Type | Description | Notes Validates whether resources can be moved from one resource group to another resource group. -This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. +This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ResourcesApi** | API context | -**source_resource_group_name** | **String**| The name of the resource group containing the resources to validate for move. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**ResourcesMoveInfo**](ResourcesMoveInfo.md)| Parameters for moving resources. | +**source_resource_group_name** | **String** | The name of the resource group from the source subscription containing the resources to be validated for move. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | +**parameters** | [**ResourcesMoveInfo**](ResourcesMoveInfo.md) | Parameters for moving resources. | ### Return type diff --git a/src/Resource/ResourceManagementClient/docs/RoleDefinition.md b/src/Resource/ResourceManagementClient/docs/RoleDefinition.md new file mode 100644 index 0000000..86d368e --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/RoleDefinition.md @@ -0,0 +1,16 @@ +# RoleDefinition + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | The role definition ID. | [optional] [default to nothing] +**name** | **String** | The role definition name. | [optional] [default to nothing] +**isServiceRole** | **Bool** | If this is a service role. | [optional] [default to nothing] +**permissions** | [**Vector{Permission}**](Permission.md) | Role definition permissions. | [optional] [default to nothing] +**scopes** | **Vector{String}** | Role definition assignable scopes. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/docs/ScopedDeployment.md b/src/Resource/ResourceManagementClient/docs/ScopedDeployment.md deleted file mode 100644 index 53190ec..0000000 --- a/src/Resource/ResourceManagementClient/docs/ScopedDeployment.md +++ /dev/null @@ -1,14 +0,0 @@ -# ScopedDeployment - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **String** | The location to store the deployment data. | [default to nothing] -**properties** | [***DeploymentProperties**](DeploymentProperties.md) | | [default to nothing] -**tags** | **Dict{String, String}** | Deployment tags | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/ScopedDeploymentWhatIf.md b/src/Resource/ResourceManagementClient/docs/ScopedDeploymentWhatIf.md deleted file mode 100644 index d5336c6..0000000 --- a/src/Resource/ResourceManagementClient/docs/ScopedDeploymentWhatIf.md +++ /dev/null @@ -1,13 +0,0 @@ -# ScopedDeploymentWhatIf - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**location** | **String** | The location to store the deployment data. | [default to nothing] -**properties** | [***DeploymentWhatIfProperties**](DeploymentWhatIfProperties.md) | | [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/StatusMessage.md b/src/Resource/ResourceManagementClient/docs/StatusMessage.md deleted file mode 100644 index 8053ec3..0000000 --- a/src/Resource/ResourceManagementClient/docs/StatusMessage.md +++ /dev/null @@ -1,13 +0,0 @@ -# StatusMessage - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **String** | Status of the deployment operation. | [optional] [default to nothing] -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/TagsApi.md b/src/Resource/ResourceManagementClient/docs/TagsApi.md index 3a188ec..a64ea67 100644 --- a/src/Resource/ResourceManagementClient/docs/TagsApi.md +++ b/src/Resource/ResourceManagementClient/docs/TagsApi.md @@ -28,9 +28,9 @@ This operation allows adding a name to the list of predefined tag names for the Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**tag_name** | **String**| The name of the tag to create. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**tag_name** | **String** | The name of the tag to create. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -60,9 +60,9 @@ This operation allows adding or replacing the entire set of tags on the specifie Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**TagsResource**](TagsResource.md)| | +**scope** | **String** | The resource scope. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**TagsResource**](TagsResource.md) | | ### Return type @@ -92,10 +92,10 @@ This operation allows adding a value to the list of predefined values for an exi Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**tag_name** | **String**| The name of the tag. | [default to nothing] -**tag_value** | **String**| The value of the tag to create. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**tag_name** | **String** | The name of the tag. | +**tag_value** | **String** | The value of the tag to create. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -125,9 +125,9 @@ This operation allows deleting a name from the list of predefined tag names for Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**tag_name** | **String**| The name of the tag. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**tag_name** | **String** | The name of the tag. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -155,8 +155,8 @@ Deletes the entire set of tags on a resource or subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] +**scope** | **String** | The resource scope. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -186,10 +186,10 @@ This operation allows deleting a value from the list of predefined values for an Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**tag_name** | **String**| The name of the tag. | [default to nothing] -**tag_value** | **String**| The value of the tag to delete. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**tag_name** | **String** | The name of the tag. | +**tag_value** | **String** | The value of the tag to delete. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -217,8 +217,8 @@ Gets the entire set of tags on a resource or subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] +**scope** | **String** | The resource scope. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -248,8 +248,8 @@ This operation performs a union of predefined tags, resource tags, resource grou Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The Microsoft Azure subscription ID. | ### Return type @@ -279,9 +279,9 @@ This operation allows replacing, merging or selectively deleting tags on the spe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TagsApi** | API context | -**scope** | **String**| The resource scope. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**parameters** | [**TagsPatchResource**](TagsPatchResource.md)| | +**scope** | **String** | The resource scope. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**TagsPatchResource**](TagsPatchResource.md) | | ### Return type diff --git a/src/Resource/ResourceManagementClient/docs/TargetResource.md b/src/Resource/ResourceManagementClient/docs/TargetResource.md deleted file mode 100644 index efb5306..0000000 --- a/src/Resource/ResourceManagementClient/docs/TargetResource.md +++ /dev/null @@ -1,14 +0,0 @@ -# TargetResource - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | The ID of the resource. | [optional] [default to nothing] -**resourceName** | **String** | The name of the resource. | [optional] [default to nothing] -**resourceType** | **String** | The type of the resource. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/TemplateHashResult.md b/src/Resource/ResourceManagementClient/docs/TemplateHashResult.md deleted file mode 100644 index 7054c7f..0000000 --- a/src/Resource/ResourceManagementClient/docs/TemplateHashResult.md +++ /dev/null @@ -1,13 +0,0 @@ -# TemplateHashResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**minifiedTemplate** | **String** | The minified template string. | [optional] [default to nothing] -**templateHash** | **String** | The template hash. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/TemplateLink.md b/src/Resource/ResourceManagementClient/docs/TemplateLink.md deleted file mode 100644 index 64a162b..0000000 --- a/src/Resource/ResourceManagementClient/docs/TemplateLink.md +++ /dev/null @@ -1,15 +0,0 @@ -# TemplateLink - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**uri** | **String** | The URI of the template to deploy. Use either the uri or id property, but not both. | [optional] [default to nothing] -**id** | **String** | The resource id of a Template Spec. Use either the id or uri property, but not both. | [optional] [default to nothing] -**relativePath** | **String** | Applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path. | [optional] [default to nothing] -**contentVersion** | **String** | If included, must match the ContentVersion in the template. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/WhatIfChange.md b/src/Resource/ResourceManagementClient/docs/WhatIfChange.md deleted file mode 100644 index 772be61..0000000 --- a/src/Resource/ResourceManagementClient/docs/WhatIfChange.md +++ /dev/null @@ -1,16 +0,0 @@ -# WhatIfChange - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**resourceId** | **String** | Resource ID | [default to nothing] -**changeType** | **String** | Type of change that will be made to the resource when the deployment is executed. | [default to nothing] -**before** | **Any** | The snapshot of the resource before the deployment is executed. | [optional] [default to nothing] -**after** | **Any** | The predicted snapshot of the resource after the deployment is executed. | [optional] [default to nothing] -**delta** | [**Vector{WhatIfPropertyChange}**](WhatIfPropertyChange.md) | The predicted changes to resource properties. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/WhatIfOperationProperties.md b/src/Resource/ResourceManagementClient/docs/WhatIfOperationProperties.md deleted file mode 100644 index c55e5e9..0000000 --- a/src/Resource/ResourceManagementClient/docs/WhatIfOperationProperties.md +++ /dev/null @@ -1,12 +0,0 @@ -# WhatIfOperationProperties - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**changes** | [**Vector{WhatIfChange}**](WhatIfChange.md) | List of resource changes predicted by What-If operation. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/WhatIfOperationResult.md b/src/Resource/ResourceManagementClient/docs/WhatIfOperationResult.md deleted file mode 100644 index 78629b5..0000000 --- a/src/Resource/ResourceManagementClient/docs/WhatIfOperationResult.md +++ /dev/null @@ -1,14 +0,0 @@ -# WhatIfOperationResult - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **String** | Status of the What-If operation. | [optional] [default to nothing] -**properties** | [***WhatIfOperationProperties**](WhatIfOperationProperties.md) | | [optional] [default to nothing] -**error** | [***ErrorResponse**](ErrorResponse.md) | | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/WhatIfPropertyChange.md b/src/Resource/ResourceManagementClient/docs/WhatIfPropertyChange.md deleted file mode 100644 index fa4179b..0000000 --- a/src/Resource/ResourceManagementClient/docs/WhatIfPropertyChange.md +++ /dev/null @@ -1,16 +0,0 @@ -# WhatIfPropertyChange - - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**path** | **String** | The path of the property. | [default to nothing] -**propertyChangeType** | **String** | The type of property change. | [default to nothing] -**before** | **Any** | The value of the property before the deployment is executed. | [optional] [default to nothing] -**after** | **Any** | The value of the property after the deployment is executed. | [optional] [default to nothing] -**children** | [**Vector{WhatIfPropertyChange}**](WhatIfPropertyChange.md) | Nested property changes. | [optional] [default to nothing] - - -[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) - - diff --git a/src/Resource/ResourceManagementClient/docs/ZoneMapping.md b/src/Resource/ResourceManagementClient/docs/ZoneMapping.md new file mode 100644 index 0000000..27d6599 --- /dev/null +++ b/src/Resource/ResourceManagementClient/docs/ZoneMapping.md @@ -0,0 +1,13 @@ +# ZoneMapping + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **String** | The location of the zone mapping. | [optional] [default to nothing] +**zones** | **Vector{String}** | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/ResourceManagementClient/src/ResourceManagementClient.jl b/src/Resource/ResourceManagementClient/src/ResourceManagementClient.jl index 20ada64..7627e45 100644 --- a/src/Resource/ResourceManagementClient/src/ResourceManagementClient.jl +++ b/src/Resource/ResourceManagementClient/src/ResourceManagementClient.jl @@ -7,12 +7,10 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-06-01" +const API_VERSION = "2025-04-01" include("modelincludes.jl") -include("apis/api_DeploymentOperationsApi.jl") -include("apis/api_DeploymentsApi.jl") include("apis/api_OperationsApi.jl") include("apis/api_ProvidersApi.jl") include("apis/api_ResourceGroupsApi.jl") diff --git a/src/Resource/ResourceManagementClient/src/apis/api_DeploymentOperationsApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_DeploymentOperationsApi.jl deleted file mode 100644 index 6d49e5a..0000000 --- a/src/Resource/ResourceManagementClient/src/apis/api_DeploymentOperationsApi.jl +++ /dev/null @@ -1,425 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - -struct DeploymentOperationsApi <: OpenAPI.APIClientImpl - client::OpenAPI.Clients.Client -end - -""" -The default API base path for APIs in `DeploymentOperationsApi`. -This can be used to construct the `OpenAPI.Clients.Client` instance. -""" -basepath(::Type{ DeploymentOperationsApi }) = "https://management.azure.com" - -const _returntypes_deployment_operations_get_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperation, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_get(_api::DeploymentOperationsApi, resource_group_name::String, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployment_operations_get", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployment_operations_get", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployment_operations_get", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_get", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_get_DeploymentOperationsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "operationId", operation_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployments operation. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- operation_id::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: DeploymentOperation, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_get(_api::DeploymentOperationsApi, resource_group_name::String, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get(_api, resource_group_name, deployment_name, operation_id, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_get(_api::DeploymentOperationsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get(_api, resource_group_name, deployment_name, operation_id, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_get_at_management_group_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperation, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_get_at_management_group_scope(_api::DeploymentOperationsApi, group_id::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployment_operations_get_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployment_operations_get_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_get_at_management_group_scope_DeploymentOperationsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "operationId", operation_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployments operation. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- operation_id::String (required) -- api_version::String (required) - -Return: DeploymentOperation, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_get_at_management_group_scope(_api::DeploymentOperationsApi, group_id::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_management_group_scope(_api, group_id, deployment_name, operation_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_get_at_management_group_scope(_api::DeploymentOperationsApi, response_stream::Channel, group_id::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_management_group_scope(_api, group_id, deployment_name, operation_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_get_at_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperation, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_get_at_scope(_api::DeploymentOperationsApi, scope::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_get_at_scope_DeploymentOperationsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "operationId", operation_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployments operation. - -Params: -- scope::String (required) -- deployment_name::String (required) -- operation_id::String (required) -- api_version::String (required) - -Return: DeploymentOperation, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_get_at_scope(_api::DeploymentOperationsApi, scope::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_scope(_api, scope, deployment_name, operation_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_get_at_scope(_api::DeploymentOperationsApi, response_stream::Channel, scope::String, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_scope(_api, scope, deployment_name, operation_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_get_at_subscription_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperation, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_get_at_subscription_scope(_api::DeploymentOperationsApi, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_get_at_subscription_scope_DeploymentOperationsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "operationId", operation_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployments operation. - -Params: -- deployment_name::String (required) -- operation_id::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: DeploymentOperation, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_get_at_subscription_scope(_api::DeploymentOperationsApi, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_subscription_scope(_api, deployment_name, operation_id, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_get_at_subscription_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, operation_id::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_subscription_scope(_api, deployment_name, operation_id, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_get_at_tenant_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperation, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_get_at_tenant_scope(_api::DeploymentOperationsApi, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_get_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_get_at_tenant_scope_DeploymentOperationsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}/operations/{operationId}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "operationId", operation_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployments operation. - -Params: -- deployment_name::String (required) -- operation_id::String (required) -- api_version::String (required) - -Return: DeploymentOperation, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_get_at_tenant_scope(_api::DeploymentOperationsApi, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_tenant_scope(_api, deployment_name, operation_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_get_at_tenant_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, operation_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_get_at_tenant_scope(_api, deployment_name, operation_id, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_list_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperationsListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_list(_api::DeploymentOperationsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployment_operations_list", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployment_operations_list", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployment_operations_list", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_list", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_list_DeploymentOperationsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets all deployments operations for a deployment. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- top::Int64 - -Return: DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_list(_api::DeploymentOperationsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list(_api, resource_group_name, deployment_name, api_version, subscription_id; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_list(_api::DeploymentOperationsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list(_api, resource_group_name, deployment_name, api_version, subscription_id; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_list_at_management_group_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperationsListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_list_at_management_group_scope(_api::DeploymentOperationsApi, group_id::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployment_operations_list_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployment_operations_list_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_list_at_management_group_scope_DeploymentOperationsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets all deployments operations for a deployment. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) -- top::Int64 - -Return: DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_list_at_management_group_scope(_api::DeploymentOperationsApi, group_id::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_management_group_scope(_api, group_id, deployment_name, api_version; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_list_at_management_group_scope(_api::DeploymentOperationsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_management_group_scope(_api, group_id, deployment_name, api_version; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_list_at_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperationsListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_list_at_scope(_api::DeploymentOperationsApi, scope::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_list_at_scope_DeploymentOperationsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets all deployments operations for a deployment. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) -- top::Int64 - -Return: DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_list_at_scope(_api::DeploymentOperationsApi, scope::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_scope(_api, scope, deployment_name, api_version; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_list_at_scope(_api::DeploymentOperationsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_scope(_api, scope, deployment_name, api_version; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_list_at_subscription_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperationsListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_list_at_subscription_scope(_api::DeploymentOperationsApi, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_list_at_subscription_scope_DeploymentOperationsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets all deployments operations for a deployment. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- top::Int64 - -Return: DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_list_at_subscription_scope(_api::DeploymentOperationsApi, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_subscription_scope(_api, deployment_name, api_version, subscription_id; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_list_at_subscription_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_subscription_scope(_api, deployment_name, api_version, subscription_id; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployment_operations_list_at_tenant_scope_DeploymentOperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentOperationsListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployment_operations_list_at_tenant_scope(_api::DeploymentOperationsApi, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployment_operations_list_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployment_operations_list_at_tenant_scope_DeploymentOperationsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets all deployments operations for a deployment. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- top::Int64 - -Return: DeploymentOperationsListResult, OpenAPI.Clients.ApiResponse -""" -function deployment_operations_list_at_tenant_scope(_api::DeploymentOperationsApi, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_tenant_scope(_api, deployment_name, api_version; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployment_operations_list_at_tenant_scope(_api::DeploymentOperationsApi, response_stream::Channel, deployment_name::String, api_version::String; top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployment_operations_list_at_tenant_scope(_api, deployment_name, api_version; top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -export deployment_operations_get -export deployment_operations_get_at_management_group_scope -export deployment_operations_get_at_scope -export deployment_operations_get_at_subscription_scope -export deployment_operations_get_at_tenant_scope -export deployment_operations_list -export deployment_operations_list_at_management_group_scope -export deployment_operations_list_at_scope -export deployment_operations_list_at_subscription_scope -export deployment_operations_list_at_tenant_scope diff --git a/src/Resource/ResourceManagementClient/src/apis/api_DeploymentsApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_DeploymentsApi.jl deleted file mode 100644 index 15b13cd..0000000 --- a/src/Resource/ResourceManagementClient/src/apis/api_DeploymentsApi.jl +++ /dev/null @@ -1,1839 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - -struct DeploymentsApi <: OpenAPI.APIClientImpl - client::OpenAPI.Clients.Client -end - -""" -The default API base path for APIs in `DeploymentsApi`. -This can be used to construct the `OpenAPI.Clients.Client` instance. -""" -basepath(::Type{ DeploymentsApi }) = "https://management.azure.com" - -const _returntypes_deployments_calculate_template_hash_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => TemplateHashResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_calculate_template_hash(_api::DeploymentsApi, api_version::String, template::Any; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_calculate_template_hash_DeploymentsApi, "/providers/Microsoft.Resources/calculateTemplateHash", ["azure_auth", ], template) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Calculate the hash of the given template. - -Params: -- api_version::String (required) -- template::Any (required) - -Return: TemplateHashResult, OpenAPI.Clients.ApiResponse -""" -function deployments_calculate_template_hash(_api::DeploymentsApi, api_version::String, template::Any; _mediaType=nothing) - _ctx = _oacinternal_deployments_calculate_template_hash(_api, api_version, template; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_calculate_template_hash(_api::DeploymentsApi, response_stream::Channel, api_version::String, template::Any; _mediaType=nothing) - _ctx = _oacinternal_deployments_calculate_template_hash(_api, api_version, template; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_cancel_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_cancel(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_cancel", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_cancel", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_cancel", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_cancel", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_cancel_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resource group partially deployed. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_cancel(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_cancel(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_cancel_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_cancel_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_cancel_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_cancel_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_cancel_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_cancel_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_cancel_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_cancel_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_cancel_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_cancel_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_cancel_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_cancel_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_cancel_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_cancel_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_cancel_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/cancel", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_cancel_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_cancel_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_cancel_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_cancel_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_cancel_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_cancel_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}/cancel", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Cancels a currently running template deployment. - -You can cancel a deployment only if the provisioningState is Accepted or Running. After the deployment is canceled, the provisioningState is set to Canceled. Canceling a template deployment stops the currently running template deployment and leaves the resources partially deployed. - -Params: -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_cancel_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_cancel_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_cancel_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_check_existence_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("404", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_check_existence(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_check_existence", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_check_existence", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_check_existence", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_check_existence", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_deployments_check_existence_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Checks whether the deployment exists. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_check_existence(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_check_existence(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_check_existence_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("404", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_check_existence_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_check_existence_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_check_existence_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_deployments_check_existence_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Checks whether the deployment exists. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_check_existence_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_check_existence_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_check_existence_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("404", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_check_existence_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_deployments_check_existence_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Checks whether the deployment exists. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_check_existence_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_check_existence_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_check_existence_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("404", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_check_existence_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_deployments_check_existence_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Checks whether the deployment exists. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_check_existence_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_check_existence_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_check_existence_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("404", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_check_existence_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_check_existence_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_deployments_check_existence_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Checks whether the deployment exists. - -Params: -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_check_existence_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_check_existence_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_check_existence_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_create_or_update_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("201", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_create_or_update(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_create_or_update", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_create_or_update", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_create_or_update", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_deployments_create_or_update_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Deploys resources to a resource group. - -You can provide the template and parameters directly in the request or link to JSON files. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- parameters::Deployment (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_create_or_update(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update(_api, resource_group_name, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_create_or_update(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update(_api, resource_group_name, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_create_or_update_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("201", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_create_or_update_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_create_or_update_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_create_or_update_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_deployments_create_or_update_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Deploys resources at management group scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) -- parameters::ScopedDeployment (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_create_or_update_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_management_group_scope(_api, group_id, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_create_or_update_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_management_group_scope(_api, group_id, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_create_or_update_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("201", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_create_or_update_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_deployments_create_or_update_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Deploys resources at a given scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) -- parameters::Deployment (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_create_or_update_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_scope(_api, scope, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_create_or_update_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_scope(_api, scope, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_create_or_update_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("201", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_create_or_update_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_deployments_create_or_update_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Deploys resources at subscription scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- parameters::Deployment (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_create_or_update_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_subscription_scope(_api, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_create_or_update_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_subscription_scope(_api, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_create_or_update_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("201", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_create_or_update_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_create_or_update_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_deployments_create_or_update_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Deploys resources at tenant scope. - -You can provide the template and parameters directly in the request or link to JSON files. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- parameters::ScopedDeployment (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_create_or_update_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_tenant_scope(_api, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_create_or_update_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_create_or_update_at_tenant_scope(_api, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_delete_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_delete(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_delete", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_delete", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_delete", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_delete", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_deployments_delete_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. Deleting a template deployment does not affect the state of the resource group. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_delete(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_delete(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_delete_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_delete_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_delete_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_delete_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_delete_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_deployments_delete_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_delete_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_delete_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_delete_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_delete_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_deployments_delete_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_delete_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_delete_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_delete_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_delete_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_deployments_delete_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_delete_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_delete_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_delete_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_delete_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_delete_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_deployments_delete_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Deletes a deployment from the deployment history. - -A template deployment that is currently running cannot be deleted. Deleting a template deployment removes the associated deployment operations. This is an asynchronous operation that returns a status of 202 until the template deployment is successfully deleted. The Location response header contains the URI that is used to obtain the status of the process. While the process is running, a call to the URI in the Location header returns a status of 202. When the process finishes, the URI in the Location header returns a status of 204 on success. If the asynchronous request failed, the URI in the Location header returns an error-level status code. - -Params: -- deployment_name::String (required) -- api_version::String (required) - -Return: Nothing, OpenAPI.Clients.ApiResponse -""" -function deployments_delete_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_delete_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_delete_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_export_template_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExportResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_export_template(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_export_template", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_export_template", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_export_template", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_export_template", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_export_template_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Exports the template used for specified deployment. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: DeploymentExportResult, OpenAPI.Clients.ApiResponse -""" -function deployments_export_template(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_export_template(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_export_template_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExportResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_export_template_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_export_template_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_export_template_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_export_template_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Exports the template used for specified deployment. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: DeploymentExportResult, OpenAPI.Clients.ApiResponse -""" -function deployments_export_template_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_export_template_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_export_template_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExportResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_export_template_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_export_template_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Exports the template used for specified deployment. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: DeploymentExportResult, OpenAPI.Clients.ApiResponse -""" -function deployments_export_template_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_export_template_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_export_template_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExportResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_export_template_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_export_template_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Exports the template used for specified deployment. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: DeploymentExportResult, OpenAPI.Clients.ApiResponse -""" -function deployments_export_template_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_export_template_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_export_template_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExportResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_export_template_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_export_template_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_export_template_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}/exportTemplate", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Exports the template used for specified deployment. - -Params: -- deployment_name::String (required) -- api_version::String (required) - -Return: DeploymentExportResult, OpenAPI.Clients.ApiResponse -""" -function deployments_export_template_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_export_template_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_export_template_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_get_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_get(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_get", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_get", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_get", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_get", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_get_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployment. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_get(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_get(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get(_api, resource_group_name, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_get_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_get_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_get_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_get_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_get_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_get_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_get_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployment. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_get_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_get_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_management_group_scope(_api, group_id, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_get_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_get_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_get_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_get_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_get_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployment. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_get_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_get_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_scope(_api, scope, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_get_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_get_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_get_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_get_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_get_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployment. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_get_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_get_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_subscription_scope(_api, deployment_name, api_version, subscription_id; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_get_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentExtended, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_get_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_get_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_get_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_get_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Gets a deployment. - -Params: -- deployment_name::String (required) -- api_version::String (required) - -Return: DeploymentExtended, OpenAPI.Clients.ApiResponse -""" -function deployments_get_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_get_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_deployments_get_at_tenant_scope(_api, deployment_name, api_version; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_list_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_list_at_management_group_scope(_api::DeploymentsApi, group_id::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_list_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_list_at_management_group_scope", :minLength, group_id, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_list_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Get all the deployments for a management group. - -Params: -- group_id::String (required) -- api_version::String (required) -- filter::String -- top::Int64 - -Return: DeploymentListResult, OpenAPI.Clients.ApiResponse -""" -function deployments_list_at_management_group_scope(_api::DeploymentsApi, group_id::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_management_group_scope(_api, group_id, api_version; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_list_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_management_group_scope(_api, group_id, api_version; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_list_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_list_at_scope(_api::DeploymentsApi, scope::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_list_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Get all the deployments at the given scope. - -Params: -- scope::String (required) -- api_version::String (required) -- filter::String -- top::Int64 - -Return: DeploymentListResult, OpenAPI.Clients.ApiResponse -""" -function deployments_list_at_scope(_api::DeploymentsApi, scope::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_scope(_api, scope, api_version; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_list_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_scope(_api, scope, api_version; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_list_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_list_at_subscription_scope(_api::DeploymentsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_list_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Get all the deployments for a subscription. - -Params: -- api_version::String (required) -- subscription_id::String (required) -- filter::String -- top::Int64 - -Return: DeploymentListResult, OpenAPI.Clients.ApiResponse -""" -function deployments_list_at_subscription_scope(_api::DeploymentsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_subscription_scope(_api, api_version, subscription_id; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_list_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_subscription_scope(_api, api_version, subscription_id; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_list_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_list_at_tenant_scope(_api::DeploymentsApi, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_list_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Get all the deployments at the tenant scope. - -Params: -- api_version::String (required) -- filter::String -- top::Int64 - -Return: DeploymentListResult, OpenAPI.Clients.ApiResponse -""" -function deployments_list_at_tenant_scope(_api::DeploymentsApi, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_tenant_scope(_api, api_version; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_list_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, api_version::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_at_tenant_scope(_api, api_version; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_list_by_resource_group_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentListResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_list_by_resource_group(_api::DeploymentsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_list_by_resource_group", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_list_by_resource_group", :minLength, resource_group_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deployments_list_by_resource_group_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) - return _ctx -end - -@doc raw"""Get all the deployments for a resource group. - -Params: -- resource_group_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- filter::String -- top::Int64 - -Return: DeploymentListResult, OpenAPI.Clients.ApiResponse -""" -function deployments_list_by_resource_group(_api::DeploymentsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_by_resource_group(_api, resource_group_name, api_version, subscription_id; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_list_by_resource_group(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) - _ctx = _oacinternal_deployments_list_by_resource_group(_api, resource_group_name, api_version, subscription_id; filter=filter, top=top, _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_validate_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("400", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_validate(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_validate", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_validate", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_validate", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_validate", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_validate_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/validate", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- parameters::Deployment (required) - -Return: DeploymentValidateResult, OpenAPI.Clients.ApiResponse -""" -function deployments_validate(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate(_api, resource_group_name, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_validate(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate(_api, resource_group_name, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_validate_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("400", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_validate_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_validate_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_validate_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_validate_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_validate_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) -- parameters::ScopedDeployment (required) - -Return: DeploymentValidateResult, OpenAPI.Clients.ApiResponse -""" -function deployments_validate_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_management_group_scope(_api, group_id, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_validate_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_management_group_scope(_api, group_id, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_validate_at_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("400", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_validate_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_validate_at_scope_DeploymentsApi, "/{scope}/providers/Microsoft.Resources/deployments/{deploymentName}/validate", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -Params: -- scope::String (required) -- deployment_name::String (required) -- api_version::String (required) -- parameters::Deployment (required) - -Return: DeploymentValidateResult, OpenAPI.Clients.ApiResponse -""" -function deployments_validate_at_scope(_api::DeploymentsApi, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_scope(_api, scope, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_validate_at_scope(_api::DeploymentsApi, response_stream::Channel, scope::String, deployment_name::String, api_version::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_scope(_api, scope, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_validate_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("400", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_validate_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_validate_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/validate", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- parameters::Deployment (required) - -Return: DeploymentValidateResult, OpenAPI.Clients.ApiResponse -""" -function deployments_validate_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_subscription_scope(_api, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_validate_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String, parameters::Deployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_subscription_scope(_api, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_validate_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("400", "x"=>".") * "\$") => DeploymentValidateResult, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_validate_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_validate_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_validate_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}/validate", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager.. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- parameters::ScopedDeployment (required) - -Return: DeploymentValidateResult, OpenAPI.Clients.ApiResponse -""" -function deployments_validate_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_tenant_scope(_api, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_validate_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, parameters::ScopedDeployment; _mediaType=nothing) - _ctx = _oacinternal_deployments_validate_at_tenant_scope(_api, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_what_if_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => WhatIfOperationResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_what_if(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) - OpenAPI.validate_param("resource_group_name", "deployments_what_if", :maxLength, resource_group_name, 90) - OpenAPI.validate_param("resource_group_name", "deployments_what_if", :minLength, resource_group_name, 1) - - OpenAPI.validate_param("deployment_name", "deployments_what_if", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_what_if", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_what_if_DeploymentsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Returns changes that will be made by the deployment if executed at the scope of the resource group. - -Params: -- resource_group_name::String (required) -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- parameters::DeploymentWhatIf (required) - -Return: WhatIfOperationResult, OpenAPI.Clients.ApiResponse -""" -function deployments_what_if(_api::DeploymentsApi, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if(_api, resource_group_name, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_what_if(_api::DeploymentsApi, response_stream::Channel, resource_group_name::String, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if(_api, resource_group_name, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_what_if_at_management_group_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => WhatIfOperationResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_what_if_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) - OpenAPI.validate_param("group_id", "deployments_what_if_at_management_group_scope", :maxLength, group_id, 90) - OpenAPI.validate_param("group_id", "deployments_what_if_at_management_group_scope", :minLength, group_id, 1) - - OpenAPI.validate_param("deployment_name", "deployments_what_if_at_management_group_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_what_if_at_management_group_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_what_if_at_management_group_scope_DeploymentsApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Returns changes that will be made by the deployment if executed at the scope of the management group. - -Params: -- group_id::String (required) -- deployment_name::String (required) -- api_version::String (required) -- parameters::ScopedDeploymentWhatIf (required) - -Return: WhatIfOperationResult, OpenAPI.Clients.ApiResponse -""" -function deployments_what_if_at_management_group_scope(_api::DeploymentsApi, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if_at_management_group_scope(_api, group_id, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_what_if_at_management_group_scope(_api::DeploymentsApi, response_stream::Channel, group_id::String, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if_at_management_group_scope(_api, group_id, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_what_if_at_subscription_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => WhatIfOperationResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_what_if_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_what_if_at_subscription_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_what_if_at_subscription_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_what_if_at_subscription_scope_DeploymentsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Returns changes that will be made by the deployment if executed at the scope of the subscription. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- subscription_id::String (required) -- parameters::DeploymentWhatIf (required) - -Return: WhatIfOperationResult, OpenAPI.Clients.ApiResponse -""" -function deployments_what_if_at_subscription_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if_at_subscription_scope(_api, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_what_if_at_subscription_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, subscription_id::String, parameters::DeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if_at_subscription_scope(_api, deployment_name, api_version, subscription_id, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -const _returntypes_deployments_what_if_at_tenant_scope_DeploymentsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => WhatIfOperationResult, - Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, - Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, -) - -function _oacinternal_deployments_what_if_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) - OpenAPI.validate_param("deployment_name", "deployments_what_if_at_tenant_scope", :maxLength, deployment_name, 64) - OpenAPI.validate_param("deployment_name", "deployments_what_if_at_tenant_scope", :minLength, deployment_name, 1) - - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_deployments_what_if_at_tenant_scope_DeploymentsApi, "/providers/Microsoft.Resources/deployments/{deploymentName}/whatIf", ["azure_auth", ], parameters) - OpenAPI.Clients.set_param(_ctx.path, "deploymentName", deployment_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) - return _ctx -end - -@doc raw"""Returns changes that will be made by the deployment if executed at the scope of the tenant group. - -Params: -- deployment_name::String (required) -- api_version::String (required) -- parameters::ScopedDeploymentWhatIf (required) - -Return: WhatIfOperationResult, OpenAPI.Clients.ApiResponse -""" -function deployments_what_if_at_tenant_scope(_api::DeploymentsApi, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if_at_tenant_scope(_api, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx) -end - -function deployments_what_if_at_tenant_scope(_api::DeploymentsApi, response_stream::Channel, deployment_name::String, api_version::String, parameters::ScopedDeploymentWhatIf; _mediaType=nothing) - _ctx = _oacinternal_deployments_what_if_at_tenant_scope(_api, deployment_name, api_version, parameters; _mediaType=_mediaType) - return OpenAPI.Clients.exec(_ctx, response_stream) -end - -export deployments_calculate_template_hash -export deployments_cancel -export deployments_cancel_at_management_group_scope -export deployments_cancel_at_scope -export deployments_cancel_at_subscription_scope -export deployments_cancel_at_tenant_scope -export deployments_check_existence -export deployments_check_existence_at_management_group_scope -export deployments_check_existence_at_scope -export deployments_check_existence_at_subscription_scope -export deployments_check_existence_at_tenant_scope -export deployments_create_or_update -export deployments_create_or_update_at_management_group_scope -export deployments_create_or_update_at_scope -export deployments_create_or_update_at_subscription_scope -export deployments_create_or_update_at_tenant_scope -export deployments_delete -export deployments_delete_at_management_group_scope -export deployments_delete_at_scope -export deployments_delete_at_subscription_scope -export deployments_delete_at_tenant_scope -export deployments_export_template -export deployments_export_template_at_management_group_scope -export deployments_export_template_at_scope -export deployments_export_template_at_subscription_scope -export deployments_export_template_at_tenant_scope -export deployments_get -export deployments_get_at_management_group_scope -export deployments_get_at_scope -export deployments_get_at_subscription_scope -export deployments_get_at_tenant_scope -export deployments_list_at_management_group_scope -export deployments_list_at_scope -export deployments_list_at_subscription_scope -export deployments_list_at_tenant_scope -export deployments_list_by_resource_group -export deployments_validate -export deployments_validate_at_management_group_scope -export deployments_validate_at_scope -export deployments_validate_at_subscription_scope -export deployments_validate_at_tenant_scope -export deployments_what_if -export deployments_what_if_at_management_group_scope -export deployments_what_if_at_subscription_scope -export deployments_what_if_at_tenant_scope diff --git a/src/Resource/ResourceManagementClient/src/apis/api_OperationsApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_OperationsApi.jl index d2ddb37..401c96f 100644 --- a/src/Resource/ResourceManagementClient/src/apis/api_OperationsApi.jl +++ b/src/Resource/ResourceManagementClient/src/apis/api_OperationsApi.jl @@ -18,7 +18,7 @@ const _returntypes_operations_list_OperationsApi = Dict{Regex,Type}( function _oacinternal_operations_list(_api::OperationsApi, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_operations_list_OperationsApi, "/providers/Microsoft.Resources/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Resource/ResourceManagementClient/src/apis/api_ProvidersApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_ProvidersApi.jl index 30a0401..29d5f62 100644 --- a/src/Resource/ResourceManagementClient/src/apis/api_ProvidersApi.jl +++ b/src/Resource/ResourceManagementClient/src/apis/api_ProvidersApi.jl @@ -11,6 +11,42 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. """ basepath(::Type{ ProvidersApi }) = "https://management.azure.com" +const _returntypes_provider_resource_types_list_ProvidersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ProviderResourceTypeListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_provider_resource_types_list(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_provider_resource_types_list_ProvidersApi, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/resourceTypes", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""List the resource types for a specified resource provider. + +Params: +- resource_provider_namespace::String (required) +- api_version::String (required) +- subscription_id::String (required) +- expand::String + +Return: ProviderResourceTypeListResult, OpenAPI.Clients.ApiResponse +""" +function provider_resource_types_list(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_provider_resource_types_list(_api, resource_provider_namespace, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function provider_resource_types_list(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_provider_resource_types_list(_api, resource_provider_namespace, api_version, subscription_id; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_providers_get_ProvidersApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Provider, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, @@ -20,8 +56,8 @@ function _oacinternal_providers_get(_api::ProvidersApi, resource_provider_namesp _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_providers_get_ProvidersApi, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -55,8 +91,8 @@ const _returntypes_providers_get_at_tenant_scope_ProvidersApi = Dict{Regex,Type} function _oacinternal_providers_get_at_tenant_scope(_api::ProvidersApi, resource_provider_namespace::String, api_version::String; expand=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_providers_get_at_tenant_scope_ProvidersApi, "/providers/{resourceProviderNamespace}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -86,12 +122,11 @@ const _returntypes_providers_list_ProvidersApi = Dict{Regex,Type}( Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_providers_list(_api::ProvidersApi, api_version::String, subscription_id::String; top=nothing, expand=nothing, _mediaType=nothing) +function _oacinternal_providers_list(_api::ProvidersApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_providers_list_ProvidersApi, "/subscriptions/{subscriptionId}/providers", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -102,18 +137,17 @@ end Params: - api_version::String (required) - subscription_id::String (required) -- top::Int64 - expand::String Return: ProviderListResult, OpenAPI.Clients.ApiResponse """ -function providers_list(_api::ProvidersApi, api_version::String, subscription_id::String; top=nothing, expand=nothing, _mediaType=nothing) - _ctx = _oacinternal_providers_list(_api, api_version, subscription_id; top=top, expand=expand, _mediaType=_mediaType) +function providers_list(_api::ProvidersApi, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_providers_list(_api, api_version, subscription_id; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function providers_list(_api::ProvidersApi, response_stream::Channel, api_version::String, subscription_id::String; top=nothing, expand=nothing, _mediaType=nothing) - _ctx = _oacinternal_providers_list(_api, api_version, subscription_id; top=top, expand=expand, _mediaType=_mediaType) +function providers_list(_api::ProvidersApi, response_stream::Channel, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_providers_list(_api, api_version, subscription_id; expand=expand, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -122,11 +156,10 @@ const _returntypes_providers_list_at_tenant_scope_ProvidersApi = Dict{Regex,Type Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_providers_list_at_tenant_scope(_api::ProvidersApi, api_version::String; top=nothing, expand=nothing, _mediaType=nothing) +function _oacinternal_providers_list_at_tenant_scope(_api::ProvidersApi, api_version::String; expand=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_providers_list_at_tenant_scope_ProvidersApi, "/providers", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -136,18 +169,51 @@ end Params: - api_version::String (required) -- top::Int64 - expand::String Return: ProviderListResult, OpenAPI.Clients.ApiResponse """ -function providers_list_at_tenant_scope(_api::ProvidersApi, api_version::String; top=nothing, expand=nothing, _mediaType=nothing) - _ctx = _oacinternal_providers_list_at_tenant_scope(_api, api_version; top=top, expand=expand, _mediaType=_mediaType) +function providers_list_at_tenant_scope(_api::ProvidersApi, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_providers_list_at_tenant_scope(_api, api_version; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function providers_list_at_tenant_scope(_api::ProvidersApi, response_stream::Channel, api_version::String; expand=nothing, _mediaType=nothing) + _ctx = _oacinternal_providers_list_at_tenant_scope(_api, api_version; expand=expand, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_providers_provider_permissions_ProvidersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ProviderPermissionListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_providers_provider_permissions(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_providers_provider_permissions_ProvidersApi, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/providerPermissions", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Get the provider permissions. + +Params: +- resource_provider_namespace::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: ProviderPermissionListResult, OpenAPI.Clients.ApiResponse +""" +function providers_provider_permissions(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_providers_provider_permissions(_api, resource_provider_namespace, api_version, subscription_id; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function providers_list_at_tenant_scope(_api::ProvidersApi, response_stream::Channel, api_version::String; top=nothing, expand=nothing, _mediaType=nothing) - _ctx = _oacinternal_providers_list_at_tenant_scope(_api, api_version; top=top, expand=expand, _mediaType=_mediaType) +function providers_provider_permissions(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_providers_provider_permissions(_api, resource_provider_namespace, api_version, subscription_id; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -156,13 +222,13 @@ const _returntypes_providers_register_ProvidersApi = Dict{Regex,Type}( Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_providers_register(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_providers_register_ProvidersApi, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register", ["azure_auth", ]) +function _oacinternal_providers_register(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; properties=nothing, _mediaType=nothing) + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_providers_register_ProvidersApi, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/register", ["azure_auth", ], properties) OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) - OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx end @@ -172,16 +238,54 @@ Params: - resource_provider_namespace::String (required) - api_version::String (required) - subscription_id::String (required) +- properties::ProviderRegistrationRequest Return: Provider, OpenAPI.Clients.ApiResponse """ -function providers_register(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_providers_register(_api, resource_provider_namespace, api_version, subscription_id; _mediaType=_mediaType) +function providers_register(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, subscription_id::String; properties=nothing, _mediaType=nothing) + _ctx = _oacinternal_providers_register(_api, resource_provider_namespace, api_version, subscription_id; properties=properties, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function providers_register(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; properties=nothing, _mediaType=nothing) + _ctx = _oacinternal_providers_register(_api, resource_provider_namespace, api_version, subscription_id; properties=properties, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_providers_register_at_management_group_scope_ProvidersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_providers_register_at_management_group_scope(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, group_id::String; _mediaType=nothing) + OpenAPI.validate_param("group_id", "providers_register_at_management_group_scope", :maxLength, group_id, 90) + OpenAPI.validate_param("group_id", "providers_register_at_management_group_scope", :minLength, group_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_providers_register_at_management_group_scope_ProvidersApi, "/providers/Microsoft.Management/managementGroups/{groupId}/providers/{resourceProviderNamespace}/register", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String + OpenAPI.Clients.set_param(_ctx.path, "groupId", group_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Registers a management group with a resource provider. Use this operation to register a resource provider with resource types that can be deployed at the management group scope. It does not recursively register subscriptions within the management group. Instead, you must register subscriptions individually. + +Params: +- resource_provider_namespace::String (required) +- api_version::String (required) +- group_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function providers_register_at_management_group_scope(_api::ProvidersApi, resource_provider_namespace::String, api_version::String, group_id::String; _mediaType=nothing) + _ctx = _oacinternal_providers_register_at_management_group_scope(_api, resource_provider_namespace, api_version, group_id; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function providers_register(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_providers_register(_api, resource_provider_namespace, api_version, subscription_id; _mediaType=_mediaType) +function providers_register_at_management_group_scope(_api::ProvidersApi, response_stream::Channel, resource_provider_namespace::String, api_version::String, group_id::String; _mediaType=nothing) + _ctx = _oacinternal_providers_register_at_management_group_scope(_api, resource_provider_namespace, api_version, group_id; _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -194,7 +298,7 @@ function _oacinternal_providers_unregister(_api::ProvidersApi, resource_provider _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_providers_unregister_ProvidersApi, "/subscriptions/{subscriptionId}/providers/{resourceProviderNamespace}/unregister", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceProviderNamespace", resource_provider_namespace) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -219,9 +323,12 @@ function providers_unregister(_api::ProvidersApi, response_stream::Channel, reso return OpenAPI.Clients.exec(_ctx, response_stream) end +export provider_resource_types_list export providers_get export providers_get_at_tenant_scope export providers_list export providers_list_at_tenant_scope +export providers_provider_permissions export providers_register +export providers_register_at_management_group_scope export providers_unregister diff --git a/src/Resource/ResourceManagementClient/src/apis/api_ResourceGroupsApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_ResourceGroupsApi.jl index 3be376c..a4c43ca 100644 --- a/src/Resource/ResourceManagementClient/src/apis/api_ResourceGroupsApi.jl +++ b/src/Resource/ResourceManagementClient/src/apis/api_ResourceGroupsApi.jl @@ -20,11 +20,12 @@ const _returntypes_resource_groups_check_existence_ResourceGroupsApi = Dict{Rege function _oacinternal_resource_groups_check_existence(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resource_groups_check_existence", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resource_groups_check_existence", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resource_groups_check_existence", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_resource_groups_check_existence_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -58,11 +59,12 @@ const _returntypes_resource_groups_create_or_update_ResourceGroupsApi = Dict{Reg function _oacinternal_resource_groups_create_or_update(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String, parameters::ResourceGroup; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resource_groups_create_or_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resource_groups_create_or_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resource_groups_create_or_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_resource_groups_create_or_update_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -94,14 +96,16 @@ const _returntypes_resource_groups_delete_ResourceGroupsApi = Dict{Regex,Type}( Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_resource_groups_delete(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_resource_groups_delete(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; force_deletion_types=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resource_groups_delete", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resource_groups_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resource_groups_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_resource_groups_delete_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "forceDeletionTypes", force_deletion_types; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -115,16 +119,17 @@ Params: - resource_group_name::String (required) - api_version::String (required) - subscription_id::String (required) +- force_deletion_types::String Return: Nothing, OpenAPI.Clients.ApiResponse """ -function resource_groups_delete(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_resource_groups_delete(_api, resource_group_name, api_version, subscription_id; _mediaType=_mediaType) +function resource_groups_delete(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; force_deletion_types=nothing, _mediaType=nothing) + _ctx = _oacinternal_resource_groups_delete(_api, resource_group_name, api_version, subscription_id; force_deletion_types=force_deletion_types, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function resource_groups_delete(_api::ResourceGroupsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_resource_groups_delete(_api, resource_group_name, api_version, subscription_id; _mediaType=_mediaType) +function resource_groups_delete(_api::ResourceGroupsApi, response_stream::Channel, resource_group_name::String, api_version::String, subscription_id::String; force_deletion_types=nothing, _mediaType=nothing) + _ctx = _oacinternal_resource_groups_delete(_api, resource_group_name, api_version, subscription_id; force_deletion_types=force_deletion_types, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -135,17 +140,13 @@ const _returntypes_resource_groups_export_template_ResourceGroupsApi = Dict{Rege ) function _oacinternal_resource_groups_export_template(_api::ResourceGroupsApi, subscription_id::String, resource_group_name::String, api_version::String, parameters::ExportTemplateRequest; _mediaType=nothing) - OpenAPI.validate_param("subscription_id", "resource_groups_export_template", :minLength, subscription_id, 1) - OpenAPI.validate_param("resource_group_name", "resource_groups_export_template", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resource_groups_export_template", :minLength, resource_group_name, 1) - OpenAPI.validate_param("api_version", "resource_groups_export_template", :minLength, api_version, 1) - _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_resource_groups_export_template_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/exportTemplate", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -179,11 +180,12 @@ const _returntypes_resource_groups_get_ResourceGroupsApi = Dict{Regex,Type}( function _oacinternal_resource_groups_get(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resource_groups_get", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resource_groups_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resource_groups_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_resource_groups_get_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -216,9 +218,9 @@ const _returntypes_resource_groups_list_ResourceGroupsApi = Dict{Regex,Type}( function _oacinternal_resource_groups_list(_api::ResourceGroupsApi, api_version::String, subscription_id::String; filter=nothing, top=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_resource_groups_list_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -252,11 +254,12 @@ const _returntypes_resource_groups_update_ResourceGroupsApi = Dict{Regex,Type}( function _oacinternal_resource_groups_update(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String, parameters::ResourceGroupPatchable; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resource_groups_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resource_groups_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resource_groups_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_resource_groups_update_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -292,14 +295,15 @@ const _returntypes_resources_list_by_resource_group_ResourceGroupsApi = Dict{Reg function _oacinternal_resources_list_by_resource_group(_api::ResourceGroupsApi, resource_group_name::String, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resources_list_by_resource_group", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resources_list_by_resource_group", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resources_list_by_resource_group", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_resources_list_by_resource_group_ResourceGroupsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/resources", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Resource/ResourceManagementClient/src/apis/api_ResourcesApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_ResourcesApi.jl index 6147c1b..4f50681 100644 --- a/src/Resource/ResourceManagementClient/src/apis/api_ResourcesApi.jl +++ b/src/Resource/ResourceManagementClient/src/apis/api_ResourcesApi.jl @@ -20,6 +20,7 @@ const _returntypes_resources_check_existence_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_check_existence(_api::ResourcesApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resources_check_existence", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resources_check_existence", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resources_check_existence", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_resources_check_existence_ResourcesApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String @@ -28,7 +29,7 @@ function _oacinternal_resources_check_existence(_api::ResourcesApi, resource_gro OpenAPI.Clients.set_param(_ctx.path, "resourceType", resource_type) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceName", resource_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -66,13 +67,13 @@ const _returntypes_resources_check_existence_by_id_ResourcesApi = Dict{Regex,Typ function _oacinternal_resources_check_existence_by_id(_api::ResourcesApi, resource_id::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "HEAD", _returntypes_resources_check_existence_by_id_ResourcesApi, "/{resourceId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceId", resource_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""Checks by ID whether a resource exists. +@doc raw"""Checks by ID whether a resource exists. This API currently works only for a limited set of Resource providers. In the event that a Resource provider does not implement this API, ARM will respond with a 405. The alternative then is to use the GET API to check for the existence of the resource. Params: - resource_id::String (required) @@ -100,6 +101,7 @@ const _returntypes_resources_create_or_update_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_create_or_update(_api::ResourcesApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String, parameters::GenericResource; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resources_create_or_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resources_create_or_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resources_create_or_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_resources_create_or_update_ResourcesApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String @@ -108,7 +110,7 @@ function _oacinternal_resources_create_or_update(_api::ResourcesApi, resource_gr OpenAPI.Clients.set_param(_ctx.path, "resourceType", resource_type) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceName", resource_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -148,7 +150,7 @@ const _returntypes_resources_create_or_update_by_id_ResourcesApi = Dict{Regex,Ty function _oacinternal_resources_create_or_update_by_id(_api::ResourcesApi, resource_id::String, api_version::String, parameters::GenericResource; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_resources_create_or_update_by_id_ResourcesApi, "/{resourceId}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceId", resource_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -183,6 +185,7 @@ const _returntypes_resources_delete_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_delete(_api::ResourcesApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resources_delete", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resources_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resources_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_resources_delete_ResourcesApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String @@ -191,7 +194,7 @@ function _oacinternal_resources_delete(_api::ResourcesApi, resource_group_name:: OpenAPI.Clients.set_param(_ctx.path, "resourceType", resource_type) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceName", resource_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -230,7 +233,7 @@ const _returntypes_resources_delete_by_id_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_delete_by_id(_api::ResourcesApi, resource_id::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_resources_delete_by_id_ResourcesApi, "/{resourceId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceId", resource_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -262,6 +265,7 @@ const _returntypes_resources_get_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_get(_api::ResourcesApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resources_get", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resources_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resources_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_resources_get_ResourcesApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String @@ -270,7 +274,7 @@ function _oacinternal_resources_get(_api::ResourcesApi, resource_group_name::Str OpenAPI.Clients.set_param(_ctx.path, "resourceType", resource_type) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceName", resource_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -307,7 +311,7 @@ const _returntypes_resources_get_by_id_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_get_by_id(_api::ResourcesApi, resource_id::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_resources_get_by_id_ResourcesApi, "/{resourceId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceId", resource_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -339,10 +343,10 @@ const _returntypes_resources_list_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_list(_api::ResourcesApi, api_version::String, subscription_id::String; filter=nothing, expand=nothing, top=nothing, _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_resources_list_ResourcesApi, "/subscriptions/{subscriptionId}/resources", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$top", top) # type Int64 - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$top", top; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -378,11 +382,12 @@ const _returntypes_resources_move_resources_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_move_resources(_api::ResourcesApi, source_resource_group_name::String, api_version::String, subscription_id::String, parameters::ResourcesMoveInfo; _mediaType=nothing) OpenAPI.validate_param("source_resource_group_name", "resources_move_resources", :maxLength, source_resource_group_name, 90) OpenAPI.validate_param("source_resource_group_name", "resources_move_resources", :minLength, source_resource_group_name, 1) + OpenAPI.validate_param("source_resource_group_name", "resources_move_resources", :pattern, source_resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_resources_move_resources_ResourcesApi, "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/moveResources", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "sourceResourceGroupName", source_resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -390,7 +395,7 @@ end @doc raw"""Moves resources from one resource group to another resource group. -The resources to move must be in the same source resource group. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. +The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. When moving resources, both the source group and the target group are locked for the duration of the operation. Write and delete operations are blocked on the groups until the move completes. Params: - source_resource_group_name::String (required) @@ -419,6 +424,7 @@ const _returntypes_resources_update_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_update(_api::ResourcesApi, resource_group_name::String, resource_provider_namespace::String, parent_resource_path::String, resource_type::String, resource_name::String, api_version::String, subscription_id::String, parameters::GenericResource; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "resources_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "resources_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "resources_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_resources_update_ResourcesApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String @@ -427,7 +433,7 @@ function _oacinternal_resources_update(_api::ResourcesApi, resource_group_name:: OpenAPI.Clients.set_param(_ctx.path, "resourceType", resource_type) # type String OpenAPI.Clients.set_param(_ctx.path, "resourceName", resource_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -466,7 +472,7 @@ const _returntypes_resources_update_by_id_ResourcesApi = Dict{Regex,Type}( function _oacinternal_resources_update_by_id(_api::ResourcesApi, resource_id::String, api_version::String, parameters::GenericResource; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_resources_update_by_id_ResourcesApi, "/{resourceId}", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "resourceId", resource_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -500,11 +506,12 @@ const _returntypes_resources_validate_move_resources_ResourcesApi = Dict{Regex,T function _oacinternal_resources_validate_move_resources(_api::ResourcesApi, source_resource_group_name::String, api_version::String, subscription_id::String, parameters::ResourcesMoveInfo; _mediaType=nothing) OpenAPI.validate_param("source_resource_group_name", "resources_validate_move_resources", :maxLength, source_resource_group_name, 90) OpenAPI.validate_param("source_resource_group_name", "resources_validate_move_resources", :minLength, source_resource_group_name, 1) + OpenAPI.validate_param("source_resource_group_name", "resources_validate_move_resources", :pattern, source_resource_group_name, r"^[-\w\._\(\)]+$") _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_resources_validate_move_resources_ResourcesApi, "/subscriptions/{subscriptionId}/resourceGroups/{sourceResourceGroupName}/validateMoveResources", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "sourceResourceGroupName", source_resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -512,7 +519,7 @@ end @doc raw"""Validates whether resources can be moved from one resource group to another resource group. -This operation checks whether the specified resources can be moved to the target. The resources to move must be in the same source resource group. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. +This operation checks whether the specified resources can be moved to the target. The resources to be moved must be in the same source resource group in the source subscription being used. The target resource group may be in a different subscription. If validation succeeds, it returns HTTP response code 204 (no content). If validation fails, it returns HTTP response code 409 (Conflict) with an error message. Retrieve the URL in the Location header value to check the result of the long-running operation. Params: - source_resource_group_name::String (required) diff --git a/src/Resource/ResourceManagementClient/src/apis/api_TagsApi.jl b/src/Resource/ResourceManagementClient/src/apis/api_TagsApi.jl index d2ceea3..985c5de 100644 --- a/src/Resource/ResourceManagementClient/src/apis/api_TagsApi.jl +++ b/src/Resource/ResourceManagementClient/src/apis/api_TagsApi.jl @@ -21,7 +21,7 @@ function _oacinternal_tags_create_or_update(_api::TagsApi, tag_name::String, api _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_tags_create_or_update_TagsApi, "/subscriptions/{subscriptionId}/tagNames/{tagName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "tagName", tag_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -50,13 +50,14 @@ end const _returntypes_tags_create_or_update_at_scope_TagsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => TagsResource, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_tags_create_or_update_at_scope(_api::TagsApi, scope::String, api_version::String, parameters::TagsResource; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_tags_create_or_update_at_scope_TagsApi, "/{scope}/providers/Microsoft.Resources/tags/default", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -94,7 +95,7 @@ function _oacinternal_tags_create_or_update_value(_api::TagsApi, tag_name::Strin OpenAPI.Clients.set_param(_ctx.path, "tagName", tag_name) # type String OpenAPI.Clients.set_param(_ctx.path, "tagValue", tag_value) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -132,7 +133,7 @@ function _oacinternal_tags_delete(_api::TagsApi, tag_name::String, api_version:: _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_tags_delete_TagsApi, "/subscriptions/{subscriptionId}/tagNames/{tagName}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "tagName", tag_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -161,13 +162,14 @@ end const _returntypes_tags_delete_at_scope_TagsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_tags_delete_at_scope(_api::TagsApi, scope::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_tags_delete_at_scope_TagsApi, "/{scope}/providers/Microsoft.Resources/tags/default", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -202,7 +204,7 @@ function _oacinternal_tags_delete_value(_api::TagsApi, tag_name::String, tag_val OpenAPI.Clients.set_param(_ctx.path, "tagName", tag_name) # type String OpenAPI.Clients.set_param(_ctx.path, "tagValue", tag_value) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -238,7 +240,7 @@ const _returntypes_tags_get_at_scope_TagsApi = Dict{Regex,Type}( function _oacinternal_tags_get_at_scope(_api::TagsApi, scope::String, api_version::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_tags_get_at_scope_TagsApi, "/{scope}/providers/Microsoft.Resources/tags/default", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -270,7 +272,7 @@ const _returntypes_tags_list_TagsApi = Dict{Regex,Type}( function _oacinternal_tags_list(_api::TagsApi, api_version::String, subscription_id::String; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_tags_list_TagsApi, "/subscriptions/{subscriptionId}/tagNames", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -298,13 +300,14 @@ end const _returntypes_tags_update_at_scope_TagsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => TagsResource, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_tags_update_at_scope(_api::TagsApi, scope::String, api_version::String, parameters::TagsPatchResource; _mediaType=nothing) _ctx = OpenAPI.Clients.Ctx(_api.client, "PATCH", _returntypes_tags_update_at_scope_TagsApi, "/{scope}/providers/Microsoft.Resources/tags/default", ["azure_auth", ], parameters) OpenAPI.Clients.set_param(_ctx.path, "scope", scope) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Resource/ResourceManagementClient/src/modelincludes.jl b/src/Resource/ResourceManagementClient/src/modelincludes.jl index 1ded5b1..24a8d51 100644 --- a/src/Resource/ResourceManagementClient/src/modelincludes.jl +++ b/src/Resource/ResourceManagementClient/src/modelincludes.jl @@ -3,44 +3,33 @@ include("models/model_Alias.jl") include("models/model_AliasPath.jl") +include("models/model_AliasPathMetadata.jl") include("models/model_AliasPattern.jl") -include("models/model_BasicDependency.jl") +include("models/model_ApiProfile.jl") include("models/model_CloudError.jl") -include("models/model_DebugSetting.jl") -include("models/model_Dependency.jl") -include("models/model_Deployment.jl") -include("models/model_DeploymentExportResult.jl") -include("models/model_DeploymentExtended.jl") -include("models/model_DeploymentExtendedFilter.jl") -include("models/model_DeploymentListResult.jl") -include("models/model_DeploymentOperation.jl") -include("models/model_DeploymentOperationProperties.jl") -include("models/model_DeploymentOperationsListResult.jl") -include("models/model_DeploymentProperties.jl") -include("models/model_DeploymentPropertiesExtended.jl") -include("models/model_DeploymentValidateResult.jl") -include("models/model_DeploymentWhatIf.jl") -include("models/model_DeploymentWhatIfProperties.jl") -include("models/model_DeploymentWhatIfSettings.jl") include("models/model_ErrorAdditionalInfo.jl") include("models/model_ErrorResponse.jl") include("models/model_ExportTemplateRequest.jl") +include("models/model_ExtendedLocation.jl") include("models/model_GenericResource.jl") include("models/model_GenericResourceExpanded.jl") include("models/model_GenericResourceFilter.jl") -include("models/model_HttpMessage.jl") include("models/model_Identity.jl") include("models/model_IdentityUserAssignedIdentitiesValue.jl") -include("models/model_OnErrorDeployment.jl") -include("models/model_OnErrorDeploymentExtended.jl") include("models/model_Operation.jl") include("models/model_OperationDisplay.jl") include("models/model_OperationListResult.jl") -include("models/model_ParametersLink.jl") +include("models/model_Permission.jl") include("models/model_Plan.jl") include("models/model_Provider.jl") +include("models/model_ProviderConsentDefinition.jl") +include("models/model_ProviderExtendedLocation.jl") include("models/model_ProviderListResult.jl") +include("models/model_ProviderPermission.jl") +include("models/model_ProviderPermissionListResult.jl") +include("models/model_ProviderRegistrationRequest.jl") include("models/model_ProviderResourceType.jl") +include("models/model_ProviderResourceTypeListResult.jl") include("models/model_Resource.jl") include("models/model_ResourceGroup.jl") include("models/model_ResourceGroupExportResult.jl") @@ -50,12 +39,9 @@ include("models/model_ResourceGroupPatchable.jl") include("models/model_ResourceGroupProperties.jl") include("models/model_ResourceListResult.jl") include("models/model_ResourceProviderOperationDisplayProperties.jl") -include("models/model_ResourceReference.jl") include("models/model_ResourcesMoveInfo.jl") -include("models/model_ScopedDeployment.jl") -include("models/model_ScopedDeploymentWhatIf.jl") +include("models/model_RoleDefinition.jl") include("models/model_Sku.jl") -include("models/model_StatusMessage.jl") include("models/model_SubResource.jl") include("models/model_TagCount.jl") include("models/model_TagDetails.jl") @@ -64,10 +50,4 @@ include("models/model_Tags.jl") include("models/model_TagsListResult.jl") include("models/model_TagsPatchResource.jl") include("models/model_TagsResource.jl") -include("models/model_TargetResource.jl") -include("models/model_TemplateHashResult.jl") -include("models/model_TemplateLink.jl") -include("models/model_WhatIfChange.jl") -include("models/model_WhatIfOperationProperties.jl") -include("models/model_WhatIfOperationResult.jl") -include("models/model_WhatIfPropertyChange.jl") +include("models/model_ZoneMapping.jl") diff --git a/src/Resource/ResourceManagementClient/src/models/model_Alias.jl b/src/Resource/ResourceManagementClient/src/models/model_Alias.jl index d51f78b..a9ac0d7 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Alias.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Alias.jl @@ -11,6 +11,7 @@ The alias type. type=nothing, defaultPath=nothing, defaultPattern=nothing, + defaultMetadata=nothing, ) - name::String : The alias name. @@ -18,6 +19,7 @@ The alias type. - type::String : The type of the alias. - defaultPath::String : The default path for an alias. - defaultPattern::AliasPattern + - defaultMetadata::AliasPathMetadata """ Base.@kwdef mutable struct Alias <: OpenAPI.APIModel name::Union{Nothing, String} = nothing @@ -25,26 +27,40 @@ Base.@kwdef mutable struct Alias <: OpenAPI.APIModel type::Union{Nothing, String} = nothing defaultPath::Union{Nothing, String} = nothing defaultPattern = nothing # spec type: Union{ Nothing, AliasPattern } + defaultMetadata = nothing # spec type: Union{ Nothing, AliasPathMetadata } - function Alias(name, paths, type, defaultPath, defaultPattern, ) - OpenAPI.validate_property(Alias, Symbol("name"), name) - OpenAPI.validate_property(Alias, Symbol("paths"), paths) - OpenAPI.validate_property(Alias, Symbol("type"), type) - OpenAPI.validate_property(Alias, Symbol("defaultPath"), defaultPath) - OpenAPI.validate_property(Alias, Symbol("defaultPattern"), defaultPattern) - return new(name, paths, type, defaultPath, defaultPattern, ) + function Alias(name, paths, type, defaultPath, defaultPattern, defaultMetadata, ) + o = new(name, paths, type, defaultPath, defaultPattern, defaultMetadata, ) + OpenAPI.validate_properties(o) + return o end end # type Alias -const _property_types_Alias = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("paths")=>"Vector{AliasPath}", Symbol("type")=>"String", Symbol("defaultPath")=>"String", Symbol("defaultPattern")=>"AliasPattern", ) +const _property_types_Alias = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("paths")=>"Vector{AliasPath}", Symbol("type")=>"String", Symbol("defaultPath")=>"String", Symbol("defaultPattern")=>"AliasPattern", Symbol("defaultMetadata")=>"AliasPathMetadata", ) OpenAPI.property_type(::Type{ Alias }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Alias[name]))} -function check_required(o::Alias) +function OpenAPI.check_required(o::Alias) true end +function OpenAPI.validate_properties(o::Alias) + OpenAPI.validate_property(Alias, Symbol("name"), o.name) + OpenAPI.validate_property(Alias, Symbol("paths"), o.paths) + OpenAPI.validate_property(Alias, Symbol("type"), o.type) + OpenAPI.validate_property(Alias, Symbol("defaultPath"), o.defaultPath) + OpenAPI.validate_property(Alias, Symbol("defaultPattern"), o.defaultPattern) + OpenAPI.validate_property(Alias, Symbol("defaultMetadata"), o.defaultMetadata) +end + function OpenAPI.validate_property(::Type{ Alias }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "Alias", :enum, val, ["NotSpecified", "PlainText", "Mask"]) end + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_AliasPath.jl b/src/Resource/ResourceManagementClient/src/models/model_AliasPath.jl index e08248c..36d33b3 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_AliasPath.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_AliasPath.jl @@ -9,31 +9,44 @@ The type of the paths for alias. path=nothing, apiVersions=nothing, pattern=nothing, + metadata=nothing, ) - path::String : The path of an alias. - apiVersions::Vector{String} : The API versions. - pattern::AliasPattern + - metadata::AliasPathMetadata """ Base.@kwdef mutable struct AliasPath <: OpenAPI.APIModel path::Union{Nothing, String} = nothing apiVersions::Union{Nothing, Vector{String}} = nothing pattern = nothing # spec type: Union{ Nothing, AliasPattern } + metadata = nothing # spec type: Union{ Nothing, AliasPathMetadata } - function AliasPath(path, apiVersions, pattern, ) - OpenAPI.validate_property(AliasPath, Symbol("path"), path) - OpenAPI.validate_property(AliasPath, Symbol("apiVersions"), apiVersions) - OpenAPI.validate_property(AliasPath, Symbol("pattern"), pattern) - return new(path, apiVersions, pattern, ) + function AliasPath(path, apiVersions, pattern, metadata, ) + o = new(path, apiVersions, pattern, metadata, ) + OpenAPI.validate_properties(o) + return o end end # type AliasPath -const _property_types_AliasPath = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("apiVersions")=>"Vector{String}", Symbol("pattern")=>"AliasPattern", ) +const _property_types_AliasPath = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("apiVersions")=>"Vector{String}", Symbol("pattern")=>"AliasPattern", Symbol("metadata")=>"AliasPathMetadata", ) OpenAPI.property_type(::Type{ AliasPath }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AliasPath[name]))} -function check_required(o::AliasPath) +function OpenAPI.check_required(o::AliasPath) true end +function OpenAPI.validate_properties(o::AliasPath) + OpenAPI.validate_property(AliasPath, Symbol("path"), o.path) + OpenAPI.validate_property(AliasPath, Symbol("apiVersions"), o.apiVersions) + OpenAPI.validate_property(AliasPath, Symbol("pattern"), o.pattern) + OpenAPI.validate_property(AliasPath, Symbol("metadata"), o.metadata) +end + function OpenAPI.validate_property(::Type{ AliasPath }, name::Symbol, val) + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_AliasPathMetadata.jl b/src/Resource/ResourceManagementClient/src/models/model_AliasPathMetadata.jl new file mode 100644 index 0000000..42e56dc --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_AliasPathMetadata.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AliasPathMetadata + + AliasPathMetadata(; + type=nothing, + attributes=nothing, + ) + + - type::String : The type of the token that the alias path is referring to. + - attributes::String : The attributes of the token that the alias path is referring to. +""" +Base.@kwdef mutable struct AliasPathMetadata <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + attributes::Union{Nothing, String} = nothing + + function AliasPathMetadata(type, attributes, ) + o = new(type, attributes, ) + OpenAPI.validate_properties(o) + return o + end +end # type AliasPathMetadata + +const _property_types_AliasPathMetadata = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("attributes")=>"String", ) +OpenAPI.property_type(::Type{ AliasPathMetadata }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AliasPathMetadata[name]))} + +function OpenAPI.check_required(o::AliasPathMetadata) + true +end + +function OpenAPI.validate_properties(o::AliasPathMetadata) + OpenAPI.validate_property(AliasPathMetadata, Symbol("type"), o.type) + OpenAPI.validate_property(AliasPathMetadata, Symbol("attributes"), o.attributes) +end + +function OpenAPI.validate_property(::Type{ AliasPathMetadata }, name::Symbol, val) + + if name === Symbol("type") + OpenAPI.validate_param(name, "AliasPathMetadata", :enum, val, ["NotSpecified", "Any", "String", "Object", "Array", "Integer", "Number", "Boolean"]) + end + + + if name === Symbol("attributes") + OpenAPI.validate_param(name, "AliasPathMetadata", :enum, val, ["None", "Modifiable"]) + end + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_AliasPattern.jl b/src/Resource/ResourceManagementClient/src/models/model_AliasPattern.jl index 81144da..7f2709d 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_AliasPattern.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_AliasPattern.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct AliasPattern <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function AliasPattern(phrase, variable, type, ) - OpenAPI.validate_property(AliasPattern, Symbol("phrase"), phrase) - OpenAPI.validate_property(AliasPattern, Symbol("variable"), variable) - OpenAPI.validate_property(AliasPattern, Symbol("type"), type) - return new(phrase, variable, type, ) + o = new(phrase, variable, type, ) + OpenAPI.validate_properties(o) + return o end end # type AliasPattern const _property_types_AliasPattern = Dict{Symbol,String}(Symbol("phrase")=>"String", Symbol("variable")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ AliasPattern }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AliasPattern[name]))} -function check_required(o::AliasPattern) +function OpenAPI.check_required(o::AliasPattern) true end +function OpenAPI.validate_properties(o::AliasPattern) + OpenAPI.validate_property(AliasPattern, Symbol("phrase"), o.phrase) + OpenAPI.validate_property(AliasPattern, Symbol("variable"), o.variable) + OpenAPI.validate_property(AliasPattern, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ AliasPattern }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "AliasPattern", :enum, val, ["NotSpecified", "Extract"]) end + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ApiProfile.jl b/src/Resource/ResourceManagementClient/src/models/model_ApiProfile.jl new file mode 100644 index 0000000..d60611f --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ApiProfile.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ApiProfile + + ApiProfile(; + profileVersion=nothing, + apiVersion=nothing, + ) + + - profileVersion::String : The profile version. + - apiVersion::String : The API version. +""" +Base.@kwdef mutable struct ApiProfile <: OpenAPI.APIModel + profileVersion::Union{Nothing, String} = nothing + apiVersion::Union{Nothing, String} = nothing + + function ApiProfile(profileVersion, apiVersion, ) + o = new(profileVersion, apiVersion, ) + OpenAPI.validate_properties(o) + return o + end +end # type ApiProfile + +const _property_types_ApiProfile = Dict{Symbol,String}(Symbol("profileVersion")=>"String", Symbol("apiVersion")=>"String", ) +OpenAPI.property_type(::Type{ ApiProfile }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ApiProfile[name]))} + +function OpenAPI.check_required(o::ApiProfile) + true +end + +function OpenAPI.validate_properties(o::ApiProfile) + OpenAPI.validate_property(ApiProfile, Symbol("profileVersion"), o.profileVersion) + OpenAPI.validate_property(ApiProfile, Symbol("apiVersion"), o.apiVersion) +end + +function OpenAPI.validate_property(::Type{ ApiProfile }, name::Symbol, val) + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_BasicDependency.jl b/src/Resource/ResourceManagementClient/src/models/model_BasicDependency.jl deleted file mode 100644 index e1110da..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_BasicDependency.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""BasicDependency -Deployment dependency information. - - BasicDependency(; - id=nothing, - resourceType=nothing, - resourceName=nothing, - ) - - - id::String : The ID of the dependency. - - resourceType::String : The dependency resource type. - - resourceName::String : The dependency resource name. -""" -Base.@kwdef mutable struct BasicDependency <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - resourceType::Union{Nothing, String} = nothing - resourceName::Union{Nothing, String} = nothing - - function BasicDependency(id, resourceType, resourceName, ) - OpenAPI.validate_property(BasicDependency, Symbol("id"), id) - OpenAPI.validate_property(BasicDependency, Symbol("resourceType"), resourceType) - OpenAPI.validate_property(BasicDependency, Symbol("resourceName"), resourceName) - return new(id, resourceType, resourceName, ) - end -end # type BasicDependency - -const _property_types_BasicDependency = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("resourceType")=>"String", Symbol("resourceName")=>"String", ) -OpenAPI.property_type(::Type{ BasicDependency }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BasicDependency[name]))} - -function check_required(o::BasicDependency) - true -end - -function OpenAPI.validate_property(::Type{ BasicDependency }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_CloudError.jl b/src/Resource/ResourceManagementClient/src/models/model_CloudError.jl index dd845a8..ab581a5 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_CloudError.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_CloudError.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel error = nothing # spec type: Union{ Nothing, ErrorResponse } function CloudError(error, ) - OpenAPI.validate_property(CloudError, Symbol("error"), error) - return new(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type CloudError const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse", ) OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} -function check_required(o::CloudError) +function OpenAPI.check_required(o::CloudError) true end +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DebugSetting.jl b/src/Resource/ResourceManagementClient/src/models/model_DebugSetting.jl deleted file mode 100644 index 0049ba2..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DebugSetting.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DebugSetting -The debug setting. - - DebugSetting(; - detailLevel=nothing, - ) - - - detailLevel::String : Specifies the type of information to log for debugging. The permitted values are none, requestContent, responseContent, or both requestContent and responseContent separated by a comma. The default is none. When setting this value, carefully consider the type of information you are passing in during deployment. By logging information about the request or response, you could potentially expose sensitive data that is retrieved through the deployment operations. -""" -Base.@kwdef mutable struct DebugSetting <: OpenAPI.APIModel - detailLevel::Union{Nothing, String} = nothing - - function DebugSetting(detailLevel, ) - OpenAPI.validate_property(DebugSetting, Symbol("detailLevel"), detailLevel) - return new(detailLevel, ) - end -end # type DebugSetting - -const _property_types_DebugSetting = Dict{Symbol,String}(Symbol("detailLevel")=>"String", ) -OpenAPI.property_type(::Type{ DebugSetting }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DebugSetting[name]))} - -function check_required(o::DebugSetting) - true -end - -function OpenAPI.validate_property(::Type{ DebugSetting }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Dependency.jl b/src/Resource/ResourceManagementClient/src/models/model_Dependency.jl deleted file mode 100644 index c0f29f9..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_Dependency.jl +++ /dev/null @@ -1,43 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""Dependency -Deployment dependency information. - - Dependency(; - dependsOn=nothing, - id=nothing, - resourceType=nothing, - resourceName=nothing, - ) - - - dependsOn::Vector{BasicDependency} : The list of dependencies. - - id::String : The ID of the dependency. - - resourceType::String : The dependency resource type. - - resourceName::String : The dependency resource name. -""" -Base.@kwdef mutable struct Dependency <: OpenAPI.APIModel - dependsOn::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BasicDependency} } - id::Union{Nothing, String} = nothing - resourceType::Union{Nothing, String} = nothing - resourceName::Union{Nothing, String} = nothing - - function Dependency(dependsOn, id, resourceType, resourceName, ) - OpenAPI.validate_property(Dependency, Symbol("dependsOn"), dependsOn) - OpenAPI.validate_property(Dependency, Symbol("id"), id) - OpenAPI.validate_property(Dependency, Symbol("resourceType"), resourceType) - OpenAPI.validate_property(Dependency, Symbol("resourceName"), resourceName) - return new(dependsOn, id, resourceType, resourceName, ) - end -end # type Dependency - -const _property_types_Dependency = Dict{Symbol,String}(Symbol("dependsOn")=>"Vector{BasicDependency}", Symbol("id")=>"String", Symbol("resourceType")=>"String", Symbol("resourceName")=>"String", ) -OpenAPI.property_type(::Type{ Dependency }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Dependency[name]))} - -function check_required(o::Dependency) - true -end - -function OpenAPI.validate_property(::Type{ Dependency }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Deployment.jl b/src/Resource/ResourceManagementClient/src/models/model_Deployment.jl deleted file mode 100644 index f559583..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_Deployment.jl +++ /dev/null @@ -1,40 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""Deployment -Deployment operation parameters. - - Deployment(; - location=nothing, - properties=nothing, - tags=nothing, - ) - - - location::String : The location to store the deployment data. - - properties::DeploymentProperties - - tags::Dict{String, String} : Deployment tags -""" -Base.@kwdef mutable struct Deployment <: OpenAPI.APIModel - location::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, DeploymentProperties } - tags::Union{Nothing, Dict{String, String}} = nothing - - function Deployment(location, properties, tags, ) - OpenAPI.validate_property(Deployment, Symbol("location"), location) - OpenAPI.validate_property(Deployment, Symbol("properties"), properties) - OpenAPI.validate_property(Deployment, Symbol("tags"), tags) - return new(location, properties, tags, ) - end -end # type Deployment - -const _property_types_Deployment = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("properties")=>"DeploymentProperties", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ Deployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Deployment[name]))} - -function check_required(o::Deployment) - o.properties === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ Deployment }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentExportResult.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentExportResult.jl deleted file mode 100644 index 706766d..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentExportResult.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentExportResult -The deployment export result. - - DeploymentExportResult(; - template=nothing, - ) - - - template::Any : The template content. -""" -Base.@kwdef mutable struct DeploymentExportResult <: OpenAPI.APIModel - template::Union{Nothing, Any} = nothing - - function DeploymentExportResult(template, ) - OpenAPI.validate_property(DeploymentExportResult, Symbol("template"), template) - return new(template, ) - end -end # type DeploymentExportResult - -const _property_types_DeploymentExportResult = Dict{Symbol,String}(Symbol("template")=>"Any", ) -OpenAPI.property_type(::Type{ DeploymentExportResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentExportResult[name]))} - -function check_required(o::DeploymentExportResult) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentExportResult }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentExtended.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentExtended.jl deleted file mode 100644 index c9c66d5..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentExtended.jl +++ /dev/null @@ -1,51 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentExtended -Deployment information. - - DeploymentExtended(; - id=nothing, - name=nothing, - type=nothing, - location=nothing, - properties=nothing, - tags=nothing, - ) - - - id::String : The ID of the deployment. - - name::String : The name of the deployment. - - type::String : The type of the deployment. - - location::String : the location of the deployment. - - properties::DeploymentPropertiesExtended - - tags::Dict{String, String} : Deployment tags -""" -Base.@kwdef mutable struct DeploymentExtended <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - name::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - location::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, DeploymentPropertiesExtended } - tags::Union{Nothing, Dict{String, String}} = nothing - - function DeploymentExtended(id, name, type, location, properties, tags, ) - OpenAPI.validate_property(DeploymentExtended, Symbol("id"), id) - OpenAPI.validate_property(DeploymentExtended, Symbol("name"), name) - OpenAPI.validate_property(DeploymentExtended, Symbol("type"), type) - OpenAPI.validate_property(DeploymentExtended, Symbol("location"), location) - OpenAPI.validate_property(DeploymentExtended, Symbol("properties"), properties) - OpenAPI.validate_property(DeploymentExtended, Symbol("tags"), tags) - return new(id, name, type, location, properties, tags, ) - end -end # type DeploymentExtended - -const _property_types_DeploymentExtended = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("properties")=>"DeploymentPropertiesExtended", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ DeploymentExtended }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentExtended[name]))} - -function check_required(o::DeploymentExtended) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentExtended }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentExtendedFilter.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentExtendedFilter.jl deleted file mode 100644 index 18d7ab2..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentExtendedFilter.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentExtendedFilter -Deployment filter. - - DeploymentExtendedFilter(; - provisioningState=nothing, - ) - - - provisioningState::String : The provisioning state. -""" -Base.@kwdef mutable struct DeploymentExtendedFilter <: OpenAPI.APIModel - provisioningState::Union{Nothing, String} = nothing - - function DeploymentExtendedFilter(provisioningState, ) - OpenAPI.validate_property(DeploymentExtendedFilter, Symbol("provisioningState"), provisioningState) - return new(provisioningState, ) - end -end # type DeploymentExtendedFilter - -const _property_types_DeploymentExtendedFilter = Dict{Symbol,String}(Symbol("provisioningState")=>"String", ) -OpenAPI.property_type(::Type{ DeploymentExtendedFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentExtendedFilter[name]))} - -function check_required(o::DeploymentExtendedFilter) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentExtendedFilter }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentListResult.jl deleted file mode 100644 index 430cbcb..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentListResult.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentListResult -List of deployments. - - DeploymentListResult(; - value=nothing, - nextLink=nothing, - ) - - - value::Vector{DeploymentExtended} : An array of deployments. - - nextLink::String : The URL to use for getting the next set of results. -""" -Base.@kwdef mutable struct DeploymentListResult <: OpenAPI.APIModel - value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DeploymentExtended} } - nextLink::Union{Nothing, String} = nothing - - function DeploymentListResult(value, nextLink, ) - OpenAPI.validate_property(DeploymentListResult, Symbol("value"), value) - OpenAPI.validate_property(DeploymentListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) - end -end # type DeploymentListResult - -const _property_types_DeploymentListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{DeploymentExtended}", Symbol("nextLink")=>"String", ) -OpenAPI.property_type(::Type{ DeploymentListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentListResult[name]))} - -function check_required(o::DeploymentListResult) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentListResult }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperation.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperation.jl deleted file mode 100644 index 9b04faa..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperation.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentOperation -Deployment operation information. - - DeploymentOperation(; - id=nothing, - operationId=nothing, - properties=nothing, - ) - - - id::String : Full deployment operation ID. - - operationId::String : Deployment operation ID. - - properties::DeploymentOperationProperties -""" -Base.@kwdef mutable struct DeploymentOperation <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - operationId::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, DeploymentOperationProperties } - - function DeploymentOperation(id, operationId, properties, ) - OpenAPI.validate_property(DeploymentOperation, Symbol("id"), id) - OpenAPI.validate_property(DeploymentOperation, Symbol("operationId"), operationId) - OpenAPI.validate_property(DeploymentOperation, Symbol("properties"), properties) - return new(id, operationId, properties, ) - end -end # type DeploymentOperation - -const _property_types_DeploymentOperation = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("operationId")=>"String", Symbol("properties")=>"DeploymentOperationProperties", ) -OpenAPI.property_type(::Type{ DeploymentOperation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentOperation[name]))} - -function check_required(o::DeploymentOperation) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentOperation }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperationProperties.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperationProperties.jl deleted file mode 100644 index 25142b5..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperationProperties.jl +++ /dev/null @@ -1,73 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentOperationProperties -Deployment operation properties. - - DeploymentOperationProperties(; - provisioningOperation=nothing, - provisioningState=nothing, - timestamp=nothing, - duration=nothing, - serviceRequestId=nothing, - statusCode=nothing, - statusMessage=nothing, - targetResource=nothing, - request=nothing, - response=nothing, - ) - - - provisioningOperation::String : The name of the current provisioning operation. - - provisioningState::String : The state of the provisioning. - - timestamp::ZonedDateTime : The date and time of the operation. - - duration::String : The duration of the operation. - - serviceRequestId::String : Deployment operation service request id. - - statusCode::String : Operation status code from the resource provider. This property may not be set if a response has not yet been received. - - statusMessage::StatusMessage - - targetResource::TargetResource - - request::HttpMessage - - response::HttpMessage -""" -Base.@kwdef mutable struct DeploymentOperationProperties <: OpenAPI.APIModel - provisioningOperation::Union{Nothing, String} = nothing - provisioningState::Union{Nothing, String} = nothing - timestamp::Union{Nothing, ZonedDateTime} = nothing - duration::Union{Nothing, String} = nothing - serviceRequestId::Union{Nothing, String} = nothing - statusCode::Union{Nothing, String} = nothing - statusMessage = nothing # spec type: Union{ Nothing, StatusMessage } - targetResource = nothing # spec type: Union{ Nothing, TargetResource } - request = nothing # spec type: Union{ Nothing, HttpMessage } - response = nothing # spec type: Union{ Nothing, HttpMessage } - - function DeploymentOperationProperties(provisioningOperation, provisioningState, timestamp, duration, serviceRequestId, statusCode, statusMessage, targetResource, request, response, ) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("provisioningOperation"), provisioningOperation) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("timestamp"), timestamp) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("duration"), duration) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("serviceRequestId"), serviceRequestId) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("statusCode"), statusCode) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("statusMessage"), statusMessage) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("targetResource"), targetResource) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("request"), request) - OpenAPI.validate_property(DeploymentOperationProperties, Symbol("response"), response) - return new(provisioningOperation, provisioningState, timestamp, duration, serviceRequestId, statusCode, statusMessage, targetResource, request, response, ) - end -end # type DeploymentOperationProperties - -const _property_types_DeploymentOperationProperties = Dict{Symbol,String}(Symbol("provisioningOperation")=>"String", Symbol("provisioningState")=>"String", Symbol("timestamp")=>"ZonedDateTime", Symbol("duration")=>"String", Symbol("serviceRequestId")=>"String", Symbol("statusCode")=>"String", Symbol("statusMessage")=>"StatusMessage", Symbol("targetResource")=>"TargetResource", Symbol("request")=>"HttpMessage", Symbol("response")=>"HttpMessage", ) -OpenAPI.property_type(::Type{ DeploymentOperationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentOperationProperties[name]))} - -function check_required(o::DeploymentOperationProperties) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentOperationProperties }, name::Symbol, val) - if name === Symbol("provisioningOperation") - OpenAPI.validate_param(name, "DeploymentOperationProperties", :enum, val, ["NotSpecified", "Create", "Delete", "Waiting", "AzureAsyncOperationWaiting", "ResourceCacheWaiting", "Action", "Read", "EvaluateDeploymentOutput", "DeploymentCleanup"]) - end - if name === Symbol("timestamp") - OpenAPI.validate_param(name, "DeploymentOperationProperties", :format, val, "date-time") - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperationsListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperationsListResult.jl deleted file mode 100644 index ecc9e39..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentOperationsListResult.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentOperationsListResult -List of deployment operations. - - DeploymentOperationsListResult(; - value=nothing, - nextLink=nothing, - ) - - - value::Vector{DeploymentOperation} : An array of deployment operations. - - nextLink::String : The URL to use for getting the next set of results. -""" -Base.@kwdef mutable struct DeploymentOperationsListResult <: OpenAPI.APIModel - value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DeploymentOperation} } - nextLink::Union{Nothing, String} = nothing - - function DeploymentOperationsListResult(value, nextLink, ) - OpenAPI.validate_property(DeploymentOperationsListResult, Symbol("value"), value) - OpenAPI.validate_property(DeploymentOperationsListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) - end -end # type DeploymentOperationsListResult - -const _property_types_DeploymentOperationsListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{DeploymentOperation}", Symbol("nextLink")=>"String", ) -OpenAPI.property_type(::Type{ DeploymentOperationsListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentOperationsListResult[name]))} - -function check_required(o::DeploymentOperationsListResult) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentOperationsListResult }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentProperties.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentProperties.jl deleted file mode 100644 index 078f662..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentProperties.jl +++ /dev/null @@ -1,59 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentProperties -Deployment properties. - - DeploymentProperties(; - template=nothing, - templateLink=nothing, - parameters=nothing, - parametersLink=nothing, - mode=nothing, - debugSetting=nothing, - onErrorDeployment=nothing, - ) - - - template::Any : The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. - - templateLink::TemplateLink - - parameters::Any : Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. - - parametersLink::ParametersLink - - mode::String : The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. - - debugSetting::DebugSetting - - onErrorDeployment::OnErrorDeployment -""" -Base.@kwdef mutable struct DeploymentProperties <: OpenAPI.APIModel - template::Union{Nothing, Any} = nothing - templateLink = nothing # spec type: Union{ Nothing, TemplateLink } - parameters::Union{Nothing, Any} = nothing - parametersLink = nothing # spec type: Union{ Nothing, ParametersLink } - mode::Union{Nothing, String} = nothing - debugSetting = nothing # spec type: Union{ Nothing, DebugSetting } - onErrorDeployment = nothing # spec type: Union{ Nothing, OnErrorDeployment } - - function DeploymentProperties(template, templateLink, parameters, parametersLink, mode, debugSetting, onErrorDeployment, ) - OpenAPI.validate_property(DeploymentProperties, Symbol("template"), template) - OpenAPI.validate_property(DeploymentProperties, Symbol("templateLink"), templateLink) - OpenAPI.validate_property(DeploymentProperties, Symbol("parameters"), parameters) - OpenAPI.validate_property(DeploymentProperties, Symbol("parametersLink"), parametersLink) - OpenAPI.validate_property(DeploymentProperties, Symbol("mode"), mode) - OpenAPI.validate_property(DeploymentProperties, Symbol("debugSetting"), debugSetting) - OpenAPI.validate_property(DeploymentProperties, Symbol("onErrorDeployment"), onErrorDeployment) - return new(template, templateLink, parameters, parametersLink, mode, debugSetting, onErrorDeployment, ) - end -end # type DeploymentProperties - -const _property_types_DeploymentProperties = Dict{Symbol,String}(Symbol("template")=>"Any", Symbol("templateLink")=>"TemplateLink", Symbol("parameters")=>"Any", Symbol("parametersLink")=>"ParametersLink", Symbol("mode")=>"String", Symbol("debugSetting")=>"DebugSetting", Symbol("onErrorDeployment")=>"OnErrorDeployment", ) -OpenAPI.property_type(::Type{ DeploymentProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentProperties[name]))} - -function check_required(o::DeploymentProperties) - o.mode === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentProperties }, name::Symbol, val) - if name === Symbol("mode") - OpenAPI.validate_param(name, "DeploymentProperties", :enum, val, ["Incremental", "Complete"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentPropertiesExtended.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentPropertiesExtended.jl deleted file mode 100644 index 1d27c31..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentPropertiesExtended.jl +++ /dev/null @@ -1,104 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentPropertiesExtended -Deployment properties with additional details. - - DeploymentPropertiesExtended(; - provisioningState=nothing, - correlationId=nothing, - timestamp=nothing, - duration=nothing, - outputs=nothing, - providers=nothing, - dependencies=nothing, - templateLink=nothing, - parameters=nothing, - parametersLink=nothing, - mode=nothing, - debugSetting=nothing, - onErrorDeployment=nothing, - templateHash=nothing, - outputResources=nothing, - validatedResources=nothing, - error=nothing, - ) - - - provisioningState::String : Denotes the state of provisioning. - - correlationId::String : The correlation ID of the deployment. - - timestamp::ZonedDateTime : The timestamp of the template deployment. - - duration::String : The duration of the template deployment. - - outputs::Any : Key/value pairs that represent deployment output. - - providers::Vector{Provider} : The list of resource providers needed for the deployment. - - dependencies::Vector{Dependency} : The list of deployment dependencies. - - templateLink::TemplateLink - - parameters::Any : Deployment parameters. - - parametersLink::ParametersLink - - mode::String : The deployment mode. Possible values are Incremental and Complete. - - debugSetting::DebugSetting - - onErrorDeployment::OnErrorDeploymentExtended - - templateHash::String : The hash produced for the template. - - outputResources::Vector{ResourceReference} : Array of provisioned resources. - - validatedResources::Vector{ResourceReference} : Array of validated resources. - - error::ErrorResponse -""" -Base.@kwdef mutable struct DeploymentPropertiesExtended <: OpenAPI.APIModel - provisioningState::Union{Nothing, String} = nothing - correlationId::Union{Nothing, String} = nothing - timestamp::Union{Nothing, ZonedDateTime} = nothing - duration::Union{Nothing, String} = nothing - outputs::Union{Nothing, Any} = nothing - providers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Provider} } - dependencies::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Dependency} } - templateLink = nothing # spec type: Union{ Nothing, TemplateLink } - parameters::Union{Nothing, Any} = nothing - parametersLink = nothing # spec type: Union{ Nothing, ParametersLink } - mode::Union{Nothing, String} = nothing - debugSetting = nothing # spec type: Union{ Nothing, DebugSetting } - onErrorDeployment = nothing # spec type: Union{ Nothing, OnErrorDeploymentExtended } - templateHash::Union{Nothing, String} = nothing - outputResources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ResourceReference} } - validatedResources::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ResourceReference} } - error = nothing # spec type: Union{ Nothing, ErrorResponse } - - function DeploymentPropertiesExtended(provisioningState, correlationId, timestamp, duration, outputs, providers, dependencies, templateLink, parameters, parametersLink, mode, debugSetting, onErrorDeployment, templateHash, outputResources, validatedResources, error, ) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("correlationId"), correlationId) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("timestamp"), timestamp) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("duration"), duration) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("outputs"), outputs) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("providers"), providers) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("dependencies"), dependencies) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("templateLink"), templateLink) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("parameters"), parameters) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("parametersLink"), parametersLink) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("mode"), mode) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("debugSetting"), debugSetting) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("onErrorDeployment"), onErrorDeployment) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("templateHash"), templateHash) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("outputResources"), outputResources) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("validatedResources"), validatedResources) - OpenAPI.validate_property(DeploymentPropertiesExtended, Symbol("error"), error) - return new(provisioningState, correlationId, timestamp, duration, outputs, providers, dependencies, templateLink, parameters, parametersLink, mode, debugSetting, onErrorDeployment, templateHash, outputResources, validatedResources, error, ) - end -end # type DeploymentPropertiesExtended - -const _property_types_DeploymentPropertiesExtended = Dict{Symbol,String}(Symbol("provisioningState")=>"String", Symbol("correlationId")=>"String", Symbol("timestamp")=>"ZonedDateTime", Symbol("duration")=>"String", Symbol("outputs")=>"Any", Symbol("providers")=>"Vector{Provider}", Symbol("dependencies")=>"Vector{Dependency}", Symbol("templateLink")=>"TemplateLink", Symbol("parameters")=>"Any", Symbol("parametersLink")=>"ParametersLink", Symbol("mode")=>"String", Symbol("debugSetting")=>"DebugSetting", Symbol("onErrorDeployment")=>"OnErrorDeploymentExtended", Symbol("templateHash")=>"String", Symbol("outputResources")=>"Vector{ResourceReference}", Symbol("validatedResources")=>"Vector{ResourceReference}", Symbol("error")=>"ErrorResponse", ) -OpenAPI.property_type(::Type{ DeploymentPropertiesExtended }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentPropertiesExtended[name]))} - -function check_required(o::DeploymentPropertiesExtended) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentPropertiesExtended }, name::Symbol, val) - if name === Symbol("provisioningState") - OpenAPI.validate_param(name, "DeploymentPropertiesExtended", :enum, val, ["NotSpecified", "Accepted", "Running", "Ready", "Creating", "Created", "Deleting", "Deleted", "Canceled", "Failed", "Succeeded", "Updating"]) - end - if name === Symbol("timestamp") - OpenAPI.validate_param(name, "DeploymentPropertiesExtended", :format, val, "date-time") - end - if name === Symbol("mode") - OpenAPI.validate_param(name, "DeploymentPropertiesExtended", :enum, val, ["Incremental", "Complete"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentValidateResult.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentValidateResult.jl deleted file mode 100644 index 4f513d0..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentValidateResult.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentValidateResult -Information from validate template deployment response. - - DeploymentValidateResult(; - error=nothing, - properties=nothing, - ) - - - error::ErrorResponse - - properties::DeploymentPropertiesExtended -""" -Base.@kwdef mutable struct DeploymentValidateResult <: OpenAPI.APIModel - error = nothing # spec type: Union{ Nothing, ErrorResponse } - properties = nothing # spec type: Union{ Nothing, DeploymentPropertiesExtended } - - function DeploymentValidateResult(error, properties, ) - OpenAPI.validate_property(DeploymentValidateResult, Symbol("error"), error) - OpenAPI.validate_property(DeploymentValidateResult, Symbol("properties"), properties) - return new(error, properties, ) - end -end # type DeploymentValidateResult - -const _property_types_DeploymentValidateResult = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse", Symbol("properties")=>"DeploymentPropertiesExtended", ) -OpenAPI.property_type(::Type{ DeploymentValidateResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentValidateResult[name]))} - -function check_required(o::DeploymentValidateResult) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentValidateResult }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIf.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIf.jl deleted file mode 100644 index 25bab16..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIf.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentWhatIf -Deployment What-if operation parameters. - - DeploymentWhatIf(; - location=nothing, - properties=nothing, - ) - - - location::String : The location to store the deployment data. - - properties::DeploymentWhatIfProperties -""" -Base.@kwdef mutable struct DeploymentWhatIf <: OpenAPI.APIModel - location::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, DeploymentWhatIfProperties } - - function DeploymentWhatIf(location, properties, ) - OpenAPI.validate_property(DeploymentWhatIf, Symbol("location"), location) - OpenAPI.validate_property(DeploymentWhatIf, Symbol("properties"), properties) - return new(location, properties, ) - end -end # type DeploymentWhatIf - -const _property_types_DeploymentWhatIf = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("properties")=>"DeploymentWhatIfProperties", ) -OpenAPI.property_type(::Type{ DeploymentWhatIf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentWhatIf[name]))} - -function check_required(o::DeploymentWhatIf) - o.properties === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentWhatIf }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIfProperties.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIfProperties.jl deleted file mode 100644 index b9f9dd5..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIfProperties.jl +++ /dev/null @@ -1,63 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentWhatIfProperties -Deployment What-if properties. - - DeploymentWhatIfProperties(; - whatIfSettings=nothing, - template=nothing, - templateLink=nothing, - parameters=nothing, - parametersLink=nothing, - mode=nothing, - debugSetting=nothing, - onErrorDeployment=nothing, - ) - - - whatIfSettings::DeploymentWhatIfSettings - - template::Any : The template content. You use this element when you want to pass the template syntax directly in the request rather than link to an existing template. It can be a JObject or well-formed JSON string. Use either the templateLink property or the template property, but not both. - - templateLink::TemplateLink - - parameters::Any : Name and value pairs that define the deployment parameters for the template. You use this element when you want to provide the parameter values directly in the request rather than link to an existing parameter file. Use either the parametersLink property or the parameters property, but not both. It can be a JObject or a well formed JSON string. - - parametersLink::ParametersLink - - mode::String : The mode that is used to deploy resources. This value can be either Incremental or Complete. In Incremental mode, resources are deployed without deleting existing resources that are not included in the template. In Complete mode, resources are deployed and existing resources in the resource group that are not included in the template are deleted. Be careful when using Complete mode as you may unintentionally delete resources. - - debugSetting::DebugSetting - - onErrorDeployment::OnErrorDeployment -""" -Base.@kwdef mutable struct DeploymentWhatIfProperties <: OpenAPI.APIModel - whatIfSettings = nothing # spec type: Union{ Nothing, DeploymentWhatIfSettings } - template::Union{Nothing, Any} = nothing - templateLink = nothing # spec type: Union{ Nothing, TemplateLink } - parameters::Union{Nothing, Any} = nothing - parametersLink = nothing # spec type: Union{ Nothing, ParametersLink } - mode::Union{Nothing, String} = nothing - debugSetting = nothing # spec type: Union{ Nothing, DebugSetting } - onErrorDeployment = nothing # spec type: Union{ Nothing, OnErrorDeployment } - - function DeploymentWhatIfProperties(whatIfSettings, template, templateLink, parameters, parametersLink, mode, debugSetting, onErrorDeployment, ) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("whatIfSettings"), whatIfSettings) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("template"), template) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("templateLink"), templateLink) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("parameters"), parameters) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("parametersLink"), parametersLink) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("mode"), mode) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("debugSetting"), debugSetting) - OpenAPI.validate_property(DeploymentWhatIfProperties, Symbol("onErrorDeployment"), onErrorDeployment) - return new(whatIfSettings, template, templateLink, parameters, parametersLink, mode, debugSetting, onErrorDeployment, ) - end -end # type DeploymentWhatIfProperties - -const _property_types_DeploymentWhatIfProperties = Dict{Symbol,String}(Symbol("whatIfSettings")=>"DeploymentWhatIfSettings", Symbol("template")=>"Any", Symbol("templateLink")=>"TemplateLink", Symbol("parameters")=>"Any", Symbol("parametersLink")=>"ParametersLink", Symbol("mode")=>"String", Symbol("debugSetting")=>"DebugSetting", Symbol("onErrorDeployment")=>"OnErrorDeployment", ) -OpenAPI.property_type(::Type{ DeploymentWhatIfProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentWhatIfProperties[name]))} - -function check_required(o::DeploymentWhatIfProperties) - o.mode === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentWhatIfProperties }, name::Symbol, val) - if name === Symbol("mode") - OpenAPI.validate_param(name, "DeploymentWhatIfProperties", :enum, val, ["Incremental", "Complete"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIfSettings.jl b/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIfSettings.jl deleted file mode 100644 index 26358d4..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_DeploymentWhatIfSettings.jl +++ /dev/null @@ -1,34 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""DeploymentWhatIfSettings -Deployment What-If operation settings. - - DeploymentWhatIfSettings(; - resultFormat=nothing, - ) - - - resultFormat::String : The format of the What-If results -""" -Base.@kwdef mutable struct DeploymentWhatIfSettings <: OpenAPI.APIModel - resultFormat::Union{Nothing, String} = nothing - - function DeploymentWhatIfSettings(resultFormat, ) - OpenAPI.validate_property(DeploymentWhatIfSettings, Symbol("resultFormat"), resultFormat) - return new(resultFormat, ) - end -end # type DeploymentWhatIfSettings - -const _property_types_DeploymentWhatIfSettings = Dict{Symbol,String}(Symbol("resultFormat")=>"String", ) -OpenAPI.property_type(::Type{ DeploymentWhatIfSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeploymentWhatIfSettings[name]))} - -function check_required(o::DeploymentWhatIfSettings) - true -end - -function OpenAPI.validate_property(::Type{ DeploymentWhatIfSettings }, name::Symbol, val) - if name === Symbol("resultFormat") - OpenAPI.validate_param(name, "DeploymentWhatIfSettings", :enum, val, ["ResourceIdOnly", "FullResourcePayloads"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ErrorAdditionalInfo.jl b/src/Resource/ResourceManagementClient/src/models/model_ErrorAdditionalInfo.jl index bfc3b2f..134690a 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ErrorAdditionalInfo.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ErrorAdditionalInfo.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ErrorAdditionalInfo <: OpenAPI.APIModel info::Union{Nothing, Any} = nothing function ErrorAdditionalInfo(type, info, ) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), type) - OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), info) - return new(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorAdditionalInfo const _property_types_ErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) OpenAPI.property_type(::Type{ ErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo[name]))} -function check_required(o::ErrorAdditionalInfo) +function OpenAPI.check_required(o::ErrorAdditionalInfo) true end +function OpenAPI.validate_properties(o::ErrorAdditionalInfo) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), o.info) +end + function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ErrorResponse.jl b/src/Resource/ResourceManagementClient/src/models/model_ErrorResponse.jl index 7afb1a1..4490eab 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ErrorResponse.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ErrorResponse.jl @@ -3,7 +3,7 @@ @doc raw"""ErrorResponse -The resource management error response. +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) ErrorResponse(; code=nothing, @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } function ErrorResponse(code, message, target, details, additionalInfo, ) - OpenAPI.validate_property(ErrorResponse, Symbol("code"), code) - OpenAPI.validate_property(ErrorResponse, Symbol("message"), message) - OpenAPI.validate_property(ErrorResponse, Symbol("target"), target) - OpenAPI.validate_property(ErrorResponse, Symbol("details"), details) - OpenAPI.validate_property(ErrorResponse, Symbol("additionalInfo"), additionalInfo) - return new(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorResponse}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorResponse, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorResponse, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorResponse, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorResponse, Symbol("additionalInfo"), o.additionalInfo) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ExportTemplateRequest.jl b/src/Resource/ResourceManagementClient/src/models/model_ExportTemplateRequest.jl index 7272d6b..d2919f8 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ExportTemplateRequest.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ExportTemplateRequest.jl @@ -8,28 +8,44 @@ Export resource group template request parameters. ExportTemplateRequest(; resources=nothing, options=nothing, + outputFormat=nothing, ) - resources::Vector{String} : The IDs of the resources to filter the export by. To export all resources, supply an array with single entry '*'. - options::String : The export template options. A CSV-formatted list containing zero or more of the following: 'IncludeParameterDefaultValue', 'IncludeComments', 'SkipResourceNameParameterization', 'SkipAllParameterization' + - outputFormat::String : The output format for the exported resources. """ Base.@kwdef mutable struct ExportTemplateRequest <: OpenAPI.APIModel resources::Union{Nothing, Vector{String}} = nothing options::Union{Nothing, String} = nothing + outputFormat::Union{Nothing, String} = nothing - function ExportTemplateRequest(resources, options, ) - OpenAPI.validate_property(ExportTemplateRequest, Symbol("resources"), resources) - OpenAPI.validate_property(ExportTemplateRequest, Symbol("options"), options) - return new(resources, options, ) + function ExportTemplateRequest(resources, options, outputFormat, ) + o = new(resources, options, outputFormat, ) + OpenAPI.validate_properties(o) + return o end end # type ExportTemplateRequest -const _property_types_ExportTemplateRequest = Dict{Symbol,String}(Symbol("resources")=>"Vector{String}", Symbol("options")=>"String", ) +const _property_types_ExportTemplateRequest = Dict{Symbol,String}(Symbol("resources")=>"Vector{String}", Symbol("options")=>"String", Symbol("outputFormat")=>"String", ) OpenAPI.property_type(::Type{ ExportTemplateRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExportTemplateRequest[name]))} -function check_required(o::ExportTemplateRequest) +function OpenAPI.check_required(o::ExportTemplateRequest) true end +function OpenAPI.validate_properties(o::ExportTemplateRequest) + OpenAPI.validate_property(ExportTemplateRequest, Symbol("resources"), o.resources) + OpenAPI.validate_property(ExportTemplateRequest, Symbol("options"), o.options) + OpenAPI.validate_property(ExportTemplateRequest, Symbol("outputFormat"), o.outputFormat) +end + function OpenAPI.validate_property(::Type{ ExportTemplateRequest }, name::Symbol, val) + + + + if name === Symbol("outputFormat") + OpenAPI.validate_param(name, "ExportTemplateRequest", :enum, val, ["Json", "Bicep"]) + end + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ExtendedLocation.jl b/src/Resource/ResourceManagementClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..2608367 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +Resource extended location. + + ExtendedLocation(; + type=nothing, + name=nothing, + ) + + - type::String : The extended location type. + - name::String : The extended location name. +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + + function ExtendedLocation(type, name, ) + o = new(type, name, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("name")=>"String", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + if name === Symbol("type") + OpenAPI.validate_param(name, "ExtendedLocation", :enum, val, ["EdgeZone"]) + end + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_GenericResource.jl b/src/Resource/ResourceManagementClient/src/models/model_GenericResource.jl index be89202..95fbb24 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_GenericResource.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_GenericResource.jl @@ -16,6 +16,7 @@ Resource information. name=nothing, type=nothing, location=nothing, + extendedLocation=nothing, tags=nothing, ) @@ -29,6 +30,7 @@ Resource information. - name::String : Resource name - type::String : Resource type - location::String : Resource location + - extendedLocation::ExtendedLocation - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct GenericResource <: OpenAPI.APIModel @@ -42,33 +44,52 @@ Base.@kwdef mutable struct GenericResource <: OpenAPI.APIModel name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } tags::Union{Nothing, Dict{String, String}} = nothing - function GenericResource(plan, properties, kind, managedBy, sku, identity, id, name, type, location, tags, ) - OpenAPI.validate_property(GenericResource, Symbol("plan"), plan) - OpenAPI.validate_property(GenericResource, Symbol("properties"), properties) - OpenAPI.validate_property(GenericResource, Symbol("kind"), kind) - OpenAPI.validate_property(GenericResource, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(GenericResource, Symbol("sku"), sku) - OpenAPI.validate_property(GenericResource, Symbol("identity"), identity) - OpenAPI.validate_property(GenericResource, Symbol("id"), id) - OpenAPI.validate_property(GenericResource, Symbol("name"), name) - OpenAPI.validate_property(GenericResource, Symbol("type"), type) - OpenAPI.validate_property(GenericResource, Symbol("location"), location) - OpenAPI.validate_property(GenericResource, Symbol("tags"), tags) - return new(plan, properties, kind, managedBy, sku, identity, id, name, type, location, tags, ) + function GenericResource(plan, properties, kind, managedBy, sku, identity, id, name, type, location, extendedLocation, tags, ) + o = new(plan, properties, kind, managedBy, sku, identity, id, name, type, location, extendedLocation, tags, ) + OpenAPI.validate_properties(o) + return o end end # type GenericResource -const _property_types_GenericResource = Dict{Symbol,String}(Symbol("plan")=>"Plan", Symbol("properties")=>"Any", Symbol("kind")=>"String", Symbol("managedBy")=>"String", Symbol("sku")=>"Sku", Symbol("identity")=>"Identity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_GenericResource = Dict{Symbol,String}(Symbol("plan")=>"Plan", Symbol("properties")=>"Any", Symbol("kind")=>"String", Symbol("managedBy")=>"String", Symbol("sku")=>"Sku", Symbol("identity")=>"Identity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ GenericResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GenericResource[name]))} -function check_required(o::GenericResource) +function OpenAPI.check_required(o::GenericResource) true end +function OpenAPI.validate_properties(o::GenericResource) + OpenAPI.validate_property(GenericResource, Symbol("plan"), o.plan) + OpenAPI.validate_property(GenericResource, Symbol("properties"), o.properties) + OpenAPI.validate_property(GenericResource, Symbol("kind"), o.kind) + OpenAPI.validate_property(GenericResource, Symbol("managedBy"), o.managedBy) + OpenAPI.validate_property(GenericResource, Symbol("sku"), o.sku) + OpenAPI.validate_property(GenericResource, Symbol("identity"), o.identity) + OpenAPI.validate_property(GenericResource, Symbol("id"), o.id) + OpenAPI.validate_property(GenericResource, Symbol("name"), o.name) + OpenAPI.validate_property(GenericResource, Symbol("type"), o.type) + OpenAPI.validate_property(GenericResource, Symbol("location"), o.location) + OpenAPI.validate_property(GenericResource, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(GenericResource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ GenericResource }, name::Symbol, val) + + + if name === Symbol("kind") OpenAPI.validate_param(name, "GenericResource", :pattern, val, r"^[-\w\._,\(\)]+$") end + + + + + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_GenericResourceExpanded.jl b/src/Resource/ResourceManagementClient/src/models/model_GenericResourceExpanded.jl index 83b8a5e..e44c5a3 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_GenericResourceExpanded.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_GenericResourceExpanded.jl @@ -9,57 +9,108 @@ Resource information. createdTime=nothing, changedTime=nothing, provisioningState=nothing, + plan=nothing, + properties=nothing, + kind=nothing, + managedBy=nothing, + sku=nothing, + identity=nothing, id=nothing, name=nothing, type=nothing, location=nothing, + extendedLocation=nothing, tags=nothing, ) - createdTime::ZonedDateTime : The created time of the resource. This is only present if requested via the $expand query parameter. - changedTime::ZonedDateTime : The changed time of the resource. This is only present if requested via the $expand query parameter. - provisioningState::String : The provisioning state of the resource. This is only present if requested via the $expand query parameter. + - plan::Plan + - properties::Any : The resource properties. + - kind::String : The kind of the resource. + - managedBy::String : ID of the resource that manages this resource. + - sku::Sku + - identity::Identity - id::String : Resource ID - name::String : Resource name - type::String : Resource type - location::String : Resource location + - extendedLocation::ExtendedLocation - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct GenericResourceExpanded <: OpenAPI.APIModel createdTime::Union{Nothing, ZonedDateTime} = nothing changedTime::Union{Nothing, ZonedDateTime} = nothing provisioningState::Union{Nothing, String} = nothing + plan = nothing # spec type: Union{ Nothing, Plan } + properties::Union{Nothing, Any} = nothing + kind::Union{Nothing, String} = nothing + managedBy::Union{Nothing, String} = nothing + sku = nothing # spec type: Union{ Nothing, Sku } + identity = nothing # spec type: Union{ Nothing, Identity } id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } tags::Union{Nothing, Dict{String, String}} = nothing - function GenericResourceExpanded(createdTime, changedTime, provisioningState, id, name, type, location, tags, ) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("createdTime"), createdTime) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("changedTime"), changedTime) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("id"), id) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("name"), name) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("type"), type) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("location"), location) - OpenAPI.validate_property(GenericResourceExpanded, Symbol("tags"), tags) - return new(createdTime, changedTime, provisioningState, id, name, type, location, tags, ) + function GenericResourceExpanded(createdTime, changedTime, provisioningState, plan, properties, kind, managedBy, sku, identity, id, name, type, location, extendedLocation, tags, ) + o = new(createdTime, changedTime, provisioningState, plan, properties, kind, managedBy, sku, identity, id, name, type, location, extendedLocation, tags, ) + OpenAPI.validate_properties(o) + return o end end # type GenericResourceExpanded -const _property_types_GenericResourceExpanded = Dict{Symbol,String}(Symbol("createdTime")=>"ZonedDateTime", Symbol("changedTime")=>"ZonedDateTime", Symbol("provisioningState")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_GenericResourceExpanded = Dict{Symbol,String}(Symbol("createdTime")=>"ZonedDateTime", Symbol("changedTime")=>"ZonedDateTime", Symbol("provisioningState")=>"String", Symbol("plan")=>"Plan", Symbol("properties")=>"Any", Symbol("kind")=>"String", Symbol("managedBy")=>"String", Symbol("sku")=>"Sku", Symbol("identity")=>"Identity", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ GenericResourceExpanded }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GenericResourceExpanded[name]))} -function check_required(o::GenericResourceExpanded) +function OpenAPI.check_required(o::GenericResourceExpanded) true end +function OpenAPI.validate_properties(o::GenericResourceExpanded) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("createdTime"), o.createdTime) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("changedTime"), o.changedTime) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("plan"), o.plan) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("properties"), o.properties) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("kind"), o.kind) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("managedBy"), o.managedBy) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("sku"), o.sku) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("identity"), o.identity) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("id"), o.id) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("name"), o.name) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("type"), o.type) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("location"), o.location) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(GenericResourceExpanded, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ GenericResourceExpanded }, name::Symbol, val) + if name === Symbol("createdTime") OpenAPI.validate_param(name, "GenericResourceExpanded", :format, val, "date-time") end + if name === Symbol("changedTime") OpenAPI.validate_param(name, "GenericResourceExpanded", :format, val, "date-time") end + + + + + if name === Symbol("kind") + OpenAPI.validate_param(name, "GenericResourceExpanded", :pattern, val, r"^[-\w\._,\(\)]+$") + end + + + + + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_GenericResourceFilter.jl b/src/Resource/ResourceManagementClient/src/models/model_GenericResourceFilter.jl index ed1ed34..1701e9a 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_GenericResourceFilter.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_GenericResourceFilter.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct GenericResourceFilter <: OpenAPI.APIModel tagvalue::Union{Nothing, String} = nothing function GenericResourceFilter(resourceType, tagname, tagvalue, ) - OpenAPI.validate_property(GenericResourceFilter, Symbol("resourceType"), resourceType) - OpenAPI.validate_property(GenericResourceFilter, Symbol("tagname"), tagname) - OpenAPI.validate_property(GenericResourceFilter, Symbol("tagvalue"), tagvalue) - return new(resourceType, tagname, tagvalue, ) + o = new(resourceType, tagname, tagvalue, ) + OpenAPI.validate_properties(o) + return o end end # type GenericResourceFilter const _property_types_GenericResourceFilter = Dict{Symbol,String}(Symbol("resourceType")=>"String", Symbol("tagname")=>"String", Symbol("tagvalue")=>"String", ) OpenAPI.property_type(::Type{ GenericResourceFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GenericResourceFilter[name]))} -function check_required(o::GenericResourceFilter) +function OpenAPI.check_required(o::GenericResourceFilter) true end +function OpenAPI.validate_properties(o::GenericResourceFilter) + OpenAPI.validate_property(GenericResourceFilter, Symbol("resourceType"), o.resourceType) + OpenAPI.validate_property(GenericResourceFilter, Symbol("tagname"), o.tagname) + OpenAPI.validate_property(GenericResourceFilter, Symbol("tagvalue"), o.tagvalue) +end + function OpenAPI.validate_property(::Type{ GenericResourceFilter }, name::Symbol, val) + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_HttpMessage.jl b/src/Resource/ResourceManagementClient/src/models/model_HttpMessage.jl deleted file mode 100644 index 8e463a8..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_HttpMessage.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""HttpMessage -HTTP message. - - HttpMessage(; - content=nothing, - ) - - - content::Any : HTTP message content. -""" -Base.@kwdef mutable struct HttpMessage <: OpenAPI.APIModel - content::Union{Nothing, Any} = nothing - - function HttpMessage(content, ) - OpenAPI.validate_property(HttpMessage, Symbol("content"), content) - return new(content, ) - end -end # type HttpMessage - -const _property_types_HttpMessage = Dict{Symbol,String}(Symbol("content")=>"Any", ) -OpenAPI.property_type(::Type{ HttpMessage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_HttpMessage[name]))} - -function check_required(o::HttpMessage) - true -end - -function OpenAPI.validate_property(::Type{ HttpMessage }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Identity.jl b/src/Resource/ResourceManagementClient/src/models/model_Identity.jl index 6dab330..03c4b77 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Identity.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Identity.jl @@ -24,23 +24,33 @@ Base.@kwdef mutable struct Identity <: OpenAPI.APIModel userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, IdentityUserAssignedIdentitiesValue} } function Identity(principalId, tenantId, type, userAssignedIdentities, ) - OpenAPI.validate_property(Identity, Symbol("principalId"), principalId) - OpenAPI.validate_property(Identity, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(Identity, Symbol("type"), type) - OpenAPI.validate_property(Identity, Symbol("userAssignedIdentities"), userAssignedIdentities) - return new(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o end end # type Identity const _property_types_Identity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, IdentityUserAssignedIdentitiesValue}", ) OpenAPI.property_type(::Type{ Identity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Identity[name]))} -function check_required(o::Identity) +function OpenAPI.check_required(o::Identity) true end +function OpenAPI.validate_properties(o::Identity) + OpenAPI.validate_property(Identity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(Identity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(Identity, Symbol("type"), o.type) + OpenAPI.validate_property(Identity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + function OpenAPI.validate_property(::Type{ Identity }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "Identity", :enum, val, ["SystemAssigned", "UserAssigned", "SystemAssigned, UserAssigned", "None"]) end + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl b/src/Resource/ResourceManagementClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl index 6945385..05bb6e4 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_IdentityUserAssignedIdentitiesValue.jl @@ -17,18 +17,25 @@ Base.@kwdef mutable struct IdentityUserAssignedIdentitiesValue <: OpenAPI.APIMod clientId::Union{Nothing, String} = nothing function IdentityUserAssignedIdentitiesValue(principalId, clientId, ) - OpenAPI.validate_property(IdentityUserAssignedIdentitiesValue, Symbol("principalId"), principalId) - OpenAPI.validate_property(IdentityUserAssignedIdentitiesValue, Symbol("clientId"), clientId) - return new(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o end end # type IdentityUserAssignedIdentitiesValue const _property_types_IdentityUserAssignedIdentitiesValue = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) OpenAPI.property_type(::Type{ IdentityUserAssignedIdentitiesValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IdentityUserAssignedIdentitiesValue[name]))} -function check_required(o::IdentityUserAssignedIdentitiesValue) +function OpenAPI.check_required(o::IdentityUserAssignedIdentitiesValue) true end +function OpenAPI.validate_properties(o::IdentityUserAssignedIdentitiesValue) + OpenAPI.validate_property(IdentityUserAssignedIdentitiesValue, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(IdentityUserAssignedIdentitiesValue, Symbol("clientId"), o.clientId) +end + function OpenAPI.validate_property(::Type{ IdentityUserAssignedIdentitiesValue }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_OnErrorDeployment.jl b/src/Resource/ResourceManagementClient/src/models/model_OnErrorDeployment.jl deleted file mode 100644 index 564b16b..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_OnErrorDeployment.jl +++ /dev/null @@ -1,38 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""OnErrorDeployment -Deployment on error behavior. - - OnErrorDeployment(; - type=nothing, - deploymentName=nothing, - ) - - - type::String : The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. - - deploymentName::String : The deployment to be used on error case. -""" -Base.@kwdef mutable struct OnErrorDeployment <: OpenAPI.APIModel - type::Union{Nothing, String} = nothing - deploymentName::Union{Nothing, String} = nothing - - function OnErrorDeployment(type, deploymentName, ) - OpenAPI.validate_property(OnErrorDeployment, Symbol("type"), type) - OpenAPI.validate_property(OnErrorDeployment, Symbol("deploymentName"), deploymentName) - return new(type, deploymentName, ) - end -end # type OnErrorDeployment - -const _property_types_OnErrorDeployment = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("deploymentName")=>"String", ) -OpenAPI.property_type(::Type{ OnErrorDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OnErrorDeployment[name]))} - -function check_required(o::OnErrorDeployment) - true -end - -function OpenAPI.validate_property(::Type{ OnErrorDeployment }, name::Symbol, val) - if name === Symbol("type") - OpenAPI.validate_param(name, "OnErrorDeployment", :enum, val, ["LastSuccessful", "SpecificDeployment"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_OnErrorDeploymentExtended.jl b/src/Resource/ResourceManagementClient/src/models/model_OnErrorDeploymentExtended.jl deleted file mode 100644 index 011d4bb..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_OnErrorDeploymentExtended.jl +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""OnErrorDeploymentExtended -Deployment on error behavior with additional details. - - OnErrorDeploymentExtended(; - provisioningState=nothing, - type=nothing, - deploymentName=nothing, - ) - - - provisioningState::String : The state of the provisioning for the on error deployment. - - type::String : The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. - - deploymentName::String : The deployment to be used on error case. -""" -Base.@kwdef mutable struct OnErrorDeploymentExtended <: OpenAPI.APIModel - provisioningState::Union{Nothing, String} = nothing - type::Union{Nothing, String} = nothing - deploymentName::Union{Nothing, String} = nothing - - function OnErrorDeploymentExtended(provisioningState, type, deploymentName, ) - OpenAPI.validate_property(OnErrorDeploymentExtended, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(OnErrorDeploymentExtended, Symbol("type"), type) - OpenAPI.validate_property(OnErrorDeploymentExtended, Symbol("deploymentName"), deploymentName) - return new(provisioningState, type, deploymentName, ) - end -end # type OnErrorDeploymentExtended - -const _property_types_OnErrorDeploymentExtended = Dict{Symbol,String}(Symbol("provisioningState")=>"String", Symbol("type")=>"String", Symbol("deploymentName")=>"String", ) -OpenAPI.property_type(::Type{ OnErrorDeploymentExtended }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OnErrorDeploymentExtended[name]))} - -function check_required(o::OnErrorDeploymentExtended) - true -end - -function OpenAPI.validate_property(::Type{ OnErrorDeploymentExtended }, name::Symbol, val) - if name === Symbol("type") - OpenAPI.validate_param(name, "OnErrorDeploymentExtended", :enum, val, ["LastSuccessful", "SpecificDeployment"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Operation.jl b/src/Resource/ResourceManagementClient/src/models/model_Operation.jl index dae89f0..d9ab1d3 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Operation.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Operation.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct Operation <: OpenAPI.APIModel display = nothing # spec type: Union{ Nothing, OperationDisplay } function Operation(name, display, ) - OpenAPI.validate_property(Operation, Symbol("name"), name) - OpenAPI.validate_property(Operation, Symbol("display"), display) - return new(name, display, ) + o = new(name, display, ) + OpenAPI.validate_properties(o) + return o end end # type Operation const _property_types_Operation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("display")=>"OperationDisplay", ) OpenAPI.property_type(::Type{ Operation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Operation[name]))} -function check_required(o::Operation) +function OpenAPI.check_required(o::Operation) true end +function OpenAPI.validate_properties(o::Operation) + OpenAPI.validate_property(Operation, Symbol("name"), o.name) + OpenAPI.validate_property(Operation, Symbol("display"), o.display) +end + function OpenAPI.validate_property(::Type{ Operation }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_OperationDisplay.jl b/src/Resource/ResourceManagementClient/src/models/model_OperationDisplay.jl index e1ad55a..262a8ae 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_OperationDisplay.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_OperationDisplay.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct OperationDisplay <: OpenAPI.APIModel description::Union{Nothing, String} = nothing function OperationDisplay(provider, resource, operation, description, ) - OpenAPI.validate_property(OperationDisplay, Symbol("provider"), provider) - OpenAPI.validate_property(OperationDisplay, Symbol("resource"), resource) - OpenAPI.validate_property(OperationDisplay, Symbol("operation"), operation) - OpenAPI.validate_property(OperationDisplay, Symbol("description"), description) - return new(provider, resource, operation, description, ) + o = new(provider, resource, operation, description, ) + OpenAPI.validate_properties(o) + return o end end # type OperationDisplay const _property_types_OperationDisplay = Dict{Symbol,String}(Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ OperationDisplay }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationDisplay[name]))} -function check_required(o::OperationDisplay) +function OpenAPI.check_required(o::OperationDisplay) true end +function OpenAPI.validate_properties(o::OperationDisplay) + OpenAPI.validate_property(OperationDisplay, Symbol("provider"), o.provider) + OpenAPI.validate_property(OperationDisplay, Symbol("resource"), o.resource) + OpenAPI.validate_property(OperationDisplay, Symbol("operation"), o.operation) + OpenAPI.validate_property(OperationDisplay, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ OperationDisplay }, name::Symbol, val) + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_OperationListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_OperationListResult.jl index 76e638b..2678a42 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_OperationListResult.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_OperationListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct OperationListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function OperationListResult(value, nextLink, ) - OpenAPI.validate_property(OperationListResult, Symbol("value"), value) - OpenAPI.validate_property(OperationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type OperationListResult const _property_types_OperationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Operation}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ OperationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationListResult[name]))} -function check_required(o::OperationListResult) +function OpenAPI.check_required(o::OperationListResult) true end +function OpenAPI.validate_properties(o::OperationListResult) + OpenAPI.validate_property(OperationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(OperationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ OperationListResult }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ParametersLink.jl b/src/Resource/ResourceManagementClient/src/models/model_ParametersLink.jl deleted file mode 100644 index 4b72711..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_ParametersLink.jl +++ /dev/null @@ -1,36 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ParametersLink -Entity representing the reference to the deployment parameters. - - ParametersLink(; - uri=nothing, - contentVersion=nothing, - ) - - - uri::String : The URI of the parameters file. - - contentVersion::String : If included, must match the ContentVersion in the template. -""" -Base.@kwdef mutable struct ParametersLink <: OpenAPI.APIModel - uri::Union{Nothing, String} = nothing - contentVersion::Union{Nothing, String} = nothing - - function ParametersLink(uri, contentVersion, ) - OpenAPI.validate_property(ParametersLink, Symbol("uri"), uri) - OpenAPI.validate_property(ParametersLink, Symbol("contentVersion"), contentVersion) - return new(uri, contentVersion, ) - end -end # type ParametersLink - -const _property_types_ParametersLink = Dict{Symbol,String}(Symbol("uri")=>"String", Symbol("contentVersion")=>"String", ) -OpenAPI.property_type(::Type{ ParametersLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ParametersLink[name]))} - -function check_required(o::ParametersLink) - o.uri === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ ParametersLink }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Permission.jl b/src/Resource/ResourceManagementClient/src/models/model_Permission.jl new file mode 100644 index 0000000..e375926 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_Permission.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Permission +Role definition permissions. + + Permission(; + actions=nothing, + notActions=nothing, + dataActions=nothing, + notDataActions=nothing, + ) + + - actions::Vector{String} : Allowed actions. + - notActions::Vector{String} : Denied actions. + - dataActions::Vector{String} : Allowed Data actions. + - notDataActions::Vector{String} : Denied Data actions. +""" +Base.@kwdef mutable struct Permission <: OpenAPI.APIModel + actions::Union{Nothing, Vector{String}} = nothing + notActions::Union{Nothing, Vector{String}} = nothing + dataActions::Union{Nothing, Vector{String}} = nothing + notDataActions::Union{Nothing, Vector{String}} = nothing + + function Permission(actions, notActions, dataActions, notDataActions, ) + o = new(actions, notActions, dataActions, notDataActions, ) + OpenAPI.validate_properties(o) + return o + end +end # type Permission + +const _property_types_Permission = Dict{Symbol,String}(Symbol("actions")=>"Vector{String}", Symbol("notActions")=>"Vector{String}", Symbol("dataActions")=>"Vector{String}", Symbol("notDataActions")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ Permission }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Permission[name]))} + +function OpenAPI.check_required(o::Permission) + true +end + +function OpenAPI.validate_properties(o::Permission) + OpenAPI.validate_property(Permission, Symbol("actions"), o.actions) + OpenAPI.validate_property(Permission, Symbol("notActions"), o.notActions) + OpenAPI.validate_property(Permission, Symbol("dataActions"), o.dataActions) + OpenAPI.validate_property(Permission, Symbol("notDataActions"), o.notDataActions) +end + +function OpenAPI.validate_property(::Type{ Permission }, name::Symbol, val) + + + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Plan.jl b/src/Resource/ResourceManagementClient/src/models/model_Plan.jl index 6958a5a..cb00c5b 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Plan.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Plan.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct Plan <: OpenAPI.APIModel version::Union{Nothing, String} = nothing function Plan(name, publisher, product, promotionCode, version, ) - OpenAPI.validate_property(Plan, Symbol("name"), name) - OpenAPI.validate_property(Plan, Symbol("publisher"), publisher) - OpenAPI.validate_property(Plan, Symbol("product"), product) - OpenAPI.validate_property(Plan, Symbol("promotionCode"), promotionCode) - OpenAPI.validate_property(Plan, Symbol("version"), version) - return new(name, publisher, product, promotionCode, version, ) + o = new(name, publisher, product, promotionCode, version, ) + OpenAPI.validate_properties(o) + return o end end # type Plan const _property_types_Plan = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("publisher")=>"String", Symbol("product")=>"String", Symbol("promotionCode")=>"String", Symbol("version")=>"String", ) OpenAPI.property_type(::Type{ Plan }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Plan[name]))} -function check_required(o::Plan) +function OpenAPI.check_required(o::Plan) true end +function OpenAPI.validate_properties(o::Plan) + OpenAPI.validate_property(Plan, Symbol("name"), o.name) + OpenAPI.validate_property(Plan, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(Plan, Symbol("product"), o.product) + OpenAPI.validate_property(Plan, Symbol("promotionCode"), o.promotionCode) + OpenAPI.validate_property(Plan, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ Plan }, name::Symbol, val) + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Provider.jl b/src/Resource/ResourceManagementClient/src/models/model_Provider.jl index 51dc5a8..4745383 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Provider.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Provider.jl @@ -11,6 +11,7 @@ Resource provider information. registrationState=nothing, registrationPolicy=nothing, resourceTypes=nothing, + providerAuthorizationConsentState=nothing, ) - id::String : The provider ID. @@ -18,6 +19,7 @@ Resource provider information. - registrationState::String : The registration state of the resource provider. - registrationPolicy::String : The registration policy of the resource provider. - resourceTypes::Vector{ProviderResourceType} : The collection of provider resource types. + - providerAuthorizationConsentState::String : The provider authorization consent state. """ Base.@kwdef mutable struct Provider <: OpenAPI.APIModel id::Union{Nothing, String} = nothing @@ -25,23 +27,40 @@ Base.@kwdef mutable struct Provider <: OpenAPI.APIModel registrationState::Union{Nothing, String} = nothing registrationPolicy::Union{Nothing, String} = nothing resourceTypes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ProviderResourceType} } + providerAuthorizationConsentState::Union{Nothing, String} = nothing - function Provider(id, namespace, registrationState, registrationPolicy, resourceTypes, ) - OpenAPI.validate_property(Provider, Symbol("id"), id) - OpenAPI.validate_property(Provider, Symbol("namespace"), namespace) - OpenAPI.validate_property(Provider, Symbol("registrationState"), registrationState) - OpenAPI.validate_property(Provider, Symbol("registrationPolicy"), registrationPolicy) - OpenAPI.validate_property(Provider, Symbol("resourceTypes"), resourceTypes) - return new(id, namespace, registrationState, registrationPolicy, resourceTypes, ) + function Provider(id, namespace, registrationState, registrationPolicy, resourceTypes, providerAuthorizationConsentState, ) + o = new(id, namespace, registrationState, registrationPolicy, resourceTypes, providerAuthorizationConsentState, ) + OpenAPI.validate_properties(o) + return o end end # type Provider -const _property_types_Provider = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("namespace")=>"String", Symbol("registrationState")=>"String", Symbol("registrationPolicy")=>"String", Symbol("resourceTypes")=>"Vector{ProviderResourceType}", ) +const _property_types_Provider = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("namespace")=>"String", Symbol("registrationState")=>"String", Symbol("registrationPolicy")=>"String", Symbol("resourceTypes")=>"Vector{ProviderResourceType}", Symbol("providerAuthorizationConsentState")=>"String", ) OpenAPI.property_type(::Type{ Provider }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Provider[name]))} -function check_required(o::Provider) +function OpenAPI.check_required(o::Provider) true end +function OpenAPI.validate_properties(o::Provider) + OpenAPI.validate_property(Provider, Symbol("id"), o.id) + OpenAPI.validate_property(Provider, Symbol("namespace"), o.namespace) + OpenAPI.validate_property(Provider, Symbol("registrationState"), o.registrationState) + OpenAPI.validate_property(Provider, Symbol("registrationPolicy"), o.registrationPolicy) + OpenAPI.validate_property(Provider, Symbol("resourceTypes"), o.resourceTypes) + OpenAPI.validate_property(Provider, Symbol("providerAuthorizationConsentState"), o.providerAuthorizationConsentState) +end + function OpenAPI.validate_property(::Type{ Provider }, name::Symbol, val) + + + + + + + if name === Symbol("providerAuthorizationConsentState") + OpenAPI.validate_param(name, "Provider", :enum, val, ["NotSpecified", "Required", "NotRequired", "Consented"]) + end + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderConsentDefinition.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderConsentDefinition.jl new file mode 100644 index 0000000..38747c9 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderConsentDefinition.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProviderConsentDefinition +The provider consent. + + ProviderConsentDefinition(; + consentToAuthorization=nothing, + ) + + - consentToAuthorization::Bool : A value indicating whether authorization is consented or not. +""" +Base.@kwdef mutable struct ProviderConsentDefinition <: OpenAPI.APIModel + consentToAuthorization::Union{Nothing, Bool} = nothing + + function ProviderConsentDefinition(consentToAuthorization, ) + o = new(consentToAuthorization, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProviderConsentDefinition + +const _property_types_ProviderConsentDefinition = Dict{Symbol,String}(Symbol("consentToAuthorization")=>"Bool", ) +OpenAPI.property_type(::Type{ ProviderConsentDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderConsentDefinition[name]))} + +function OpenAPI.check_required(o::ProviderConsentDefinition) + true +end + +function OpenAPI.validate_properties(o::ProviderConsentDefinition) + OpenAPI.validate_property(ProviderConsentDefinition, Symbol("consentToAuthorization"), o.consentToAuthorization) +end + +function OpenAPI.validate_property(::Type{ ProviderConsentDefinition }, name::Symbol, val) + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderExtendedLocation.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderExtendedLocation.jl new file mode 100644 index 0000000..1a5ca80 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderExtendedLocation.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProviderExtendedLocation +The provider extended location. + + ProviderExtendedLocation(; + location=nothing, + type=nothing, + extendedLocations=nothing, + ) + + - location::String : The azure location. + - type::String : The extended location type. + - extendedLocations::Vector{String} : The extended locations for the azure location. +""" +Base.@kwdef mutable struct ProviderExtendedLocation <: OpenAPI.APIModel + location::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + extendedLocations::Union{Nothing, Vector{String}} = nothing + + function ProviderExtendedLocation(location, type, extendedLocations, ) + o = new(location, type, extendedLocations, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProviderExtendedLocation + +const _property_types_ProviderExtendedLocation = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("type")=>"String", Symbol("extendedLocations")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ProviderExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderExtendedLocation[name]))} + +function OpenAPI.check_required(o::ProviderExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ProviderExtendedLocation) + OpenAPI.validate_property(ProviderExtendedLocation, Symbol("location"), o.location) + OpenAPI.validate_property(ProviderExtendedLocation, Symbol("type"), o.type) + OpenAPI.validate_property(ProviderExtendedLocation, Symbol("extendedLocations"), o.extendedLocations) +end + +function OpenAPI.validate_property(::Type{ ProviderExtendedLocation }, name::Symbol, val) + + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderListResult.jl index 034e17b..dfb4ae7 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ProviderListResult.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ProviderListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ProviderListResult(value, nextLink, ) - OpenAPI.validate_property(ProviderListResult, Symbol("value"), value) - OpenAPI.validate_property(ProviderListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ProviderListResult const _property_types_ProviderListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Provider}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ProviderListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderListResult[name]))} -function check_required(o::ProviderListResult) +function OpenAPI.check_required(o::ProviderListResult) true end +function OpenAPI.validate_properties(o::ProviderListResult) + OpenAPI.validate_property(ProviderListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ProviderListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ProviderListResult }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderPermission.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderPermission.jl new file mode 100644 index 0000000..6a9cd4e --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderPermission.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProviderPermission +The provider permission + + ProviderPermission(; + applicationId=nothing, + roleDefinition=nothing, + managedByRoleDefinition=nothing, + providerAuthorizationConsentState=nothing, + ) + + - applicationId::String : The application id. + - roleDefinition::RoleDefinition + - managedByRoleDefinition::RoleDefinition + - providerAuthorizationConsentState::String : The provider authorization consent state. +""" +Base.@kwdef mutable struct ProviderPermission <: OpenAPI.APIModel + applicationId::Union{Nothing, String} = nothing + roleDefinition = nothing # spec type: Union{ Nothing, RoleDefinition } + managedByRoleDefinition = nothing # spec type: Union{ Nothing, RoleDefinition } + providerAuthorizationConsentState::Union{Nothing, String} = nothing + + function ProviderPermission(applicationId, roleDefinition, managedByRoleDefinition, providerAuthorizationConsentState, ) + o = new(applicationId, roleDefinition, managedByRoleDefinition, providerAuthorizationConsentState, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProviderPermission + +const _property_types_ProviderPermission = Dict{Symbol,String}(Symbol("applicationId")=>"String", Symbol("roleDefinition")=>"RoleDefinition", Symbol("managedByRoleDefinition")=>"RoleDefinition", Symbol("providerAuthorizationConsentState")=>"String", ) +OpenAPI.property_type(::Type{ ProviderPermission }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderPermission[name]))} + +function OpenAPI.check_required(o::ProviderPermission) + true +end + +function OpenAPI.validate_properties(o::ProviderPermission) + OpenAPI.validate_property(ProviderPermission, Symbol("applicationId"), o.applicationId) + OpenAPI.validate_property(ProviderPermission, Symbol("roleDefinition"), o.roleDefinition) + OpenAPI.validate_property(ProviderPermission, Symbol("managedByRoleDefinition"), o.managedByRoleDefinition) + OpenAPI.validate_property(ProviderPermission, Symbol("providerAuthorizationConsentState"), o.providerAuthorizationConsentState) +end + +function OpenAPI.validate_property(::Type{ ProviderPermission }, name::Symbol, val) + + + + + if name === Symbol("providerAuthorizationConsentState") + OpenAPI.validate_param(name, "ProviderPermission", :enum, val, ["NotSpecified", "Required", "NotRequired", "Consented"]) + end + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderPermissionListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderPermissionListResult.jl new file mode 100644 index 0000000..362ea65 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderPermissionListResult.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProviderPermissionListResult +List of provider permissions. + + ProviderPermissionListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{ProviderPermission} : An array of provider permissions. + - nextLink::String : The URL to use for getting the next set of results. +""" +Base.@kwdef mutable struct ProviderPermissionListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ProviderPermission} } + nextLink::Union{Nothing, String} = nothing + + function ProviderPermissionListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProviderPermissionListResult + +const _property_types_ProviderPermissionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ProviderPermission}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ ProviderPermissionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderPermissionListResult[name]))} + +function OpenAPI.check_required(o::ProviderPermissionListResult) + true +end + +function OpenAPI.validate_properties(o::ProviderPermissionListResult) + OpenAPI.validate_property(ProviderPermissionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ProviderPermissionListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ ProviderPermissionListResult }, name::Symbol, val) + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderRegistrationRequest.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderRegistrationRequest.jl new file mode 100644 index 0000000..cca5d82 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderRegistrationRequest.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProviderRegistrationRequest +The provider registration definition. + + ProviderRegistrationRequest(; + thirdPartyProviderConsent=nothing, + ) + + - thirdPartyProviderConsent::ProviderConsentDefinition +""" +Base.@kwdef mutable struct ProviderRegistrationRequest <: OpenAPI.APIModel + thirdPartyProviderConsent = nothing # spec type: Union{ Nothing, ProviderConsentDefinition } + + function ProviderRegistrationRequest(thirdPartyProviderConsent, ) + o = new(thirdPartyProviderConsent, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProviderRegistrationRequest + +const _property_types_ProviderRegistrationRequest = Dict{Symbol,String}(Symbol("thirdPartyProviderConsent")=>"ProviderConsentDefinition", ) +OpenAPI.property_type(::Type{ ProviderRegistrationRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderRegistrationRequest[name]))} + +function OpenAPI.check_required(o::ProviderRegistrationRequest) + true +end + +function OpenAPI.validate_properties(o::ProviderRegistrationRequest) + OpenAPI.validate_property(ProviderRegistrationRequest, Symbol("thirdPartyProviderConsent"), o.thirdPartyProviderConsent) +end + +function OpenAPI.validate_property(::Type{ ProviderRegistrationRequest }, name::Symbol, val) + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceType.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceType.jl index 49fe8cb..afc7e17 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceType.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceType.jl @@ -8,44 +8,75 @@ Resource type managed by the resource provider. ProviderResourceType(; resourceType=nothing, locations=nothing, + locationMappings=nothing, aliases=nothing, apiVersions=nothing, + defaultApiVersion=nothing, + zoneMappings=nothing, + apiProfiles=nothing, capabilities=nothing, properties=nothing, ) - resourceType::String : The resource type. - locations::Vector{String} : The collection of locations where this resource type can be created. + - locationMappings::Vector{ProviderExtendedLocation} : The location mappings that are supported by this resource type. - aliases::Vector{Alias} : The aliases that are supported by this resource type. - apiVersions::Vector{String} : The API version. + - defaultApiVersion::String : The default API version. + - zoneMappings::Vector{ZoneMapping} + - apiProfiles::Vector{ApiProfile} : The API profiles for the resource provider. - capabilities::String : The additional capabilities offered by this resource type. - properties::Dict{String, String} : The properties. """ Base.@kwdef mutable struct ProviderResourceType <: OpenAPI.APIModel resourceType::Union{Nothing, String} = nothing locations::Union{Nothing, Vector{String}} = nothing + locationMappings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ProviderExtendedLocation} } aliases::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Alias} } apiVersions::Union{Nothing, Vector{String}} = nothing + defaultApiVersion::Union{Nothing, String} = nothing + zoneMappings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ZoneMapping} } + apiProfiles::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ApiProfile} } capabilities::Union{Nothing, String} = nothing properties::Union{Nothing, Dict{String, String}} = nothing - function ProviderResourceType(resourceType, locations, aliases, apiVersions, capabilities, properties, ) - OpenAPI.validate_property(ProviderResourceType, Symbol("resourceType"), resourceType) - OpenAPI.validate_property(ProviderResourceType, Symbol("locations"), locations) - OpenAPI.validate_property(ProviderResourceType, Symbol("aliases"), aliases) - OpenAPI.validate_property(ProviderResourceType, Symbol("apiVersions"), apiVersions) - OpenAPI.validate_property(ProviderResourceType, Symbol("capabilities"), capabilities) - OpenAPI.validate_property(ProviderResourceType, Symbol("properties"), properties) - return new(resourceType, locations, aliases, apiVersions, capabilities, properties, ) + function ProviderResourceType(resourceType, locations, locationMappings, aliases, apiVersions, defaultApiVersion, zoneMappings, apiProfiles, capabilities, properties, ) + o = new(resourceType, locations, locationMappings, aliases, apiVersions, defaultApiVersion, zoneMappings, apiProfiles, capabilities, properties, ) + OpenAPI.validate_properties(o) + return o end end # type ProviderResourceType -const _property_types_ProviderResourceType = Dict{Symbol,String}(Symbol("resourceType")=>"String", Symbol("locations")=>"Vector{String}", Symbol("aliases")=>"Vector{Alias}", Symbol("apiVersions")=>"Vector{String}", Symbol("capabilities")=>"String", Symbol("properties")=>"Dict{String, String}", ) +const _property_types_ProviderResourceType = Dict{Symbol,String}(Symbol("resourceType")=>"String", Symbol("locations")=>"Vector{String}", Symbol("locationMappings")=>"Vector{ProviderExtendedLocation}", Symbol("aliases")=>"Vector{Alias}", Symbol("apiVersions")=>"Vector{String}", Symbol("defaultApiVersion")=>"String", Symbol("zoneMappings")=>"Vector{ZoneMapping}", Symbol("apiProfiles")=>"Vector{ApiProfile}", Symbol("capabilities")=>"String", Symbol("properties")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ProviderResourceType }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderResourceType[name]))} -function check_required(o::ProviderResourceType) +function OpenAPI.check_required(o::ProviderResourceType) true end +function OpenAPI.validate_properties(o::ProviderResourceType) + OpenAPI.validate_property(ProviderResourceType, Symbol("resourceType"), o.resourceType) + OpenAPI.validate_property(ProviderResourceType, Symbol("locations"), o.locations) + OpenAPI.validate_property(ProviderResourceType, Symbol("locationMappings"), o.locationMappings) + OpenAPI.validate_property(ProviderResourceType, Symbol("aliases"), o.aliases) + OpenAPI.validate_property(ProviderResourceType, Symbol("apiVersions"), o.apiVersions) + OpenAPI.validate_property(ProviderResourceType, Symbol("defaultApiVersion"), o.defaultApiVersion) + OpenAPI.validate_property(ProviderResourceType, Symbol("zoneMappings"), o.zoneMappings) + OpenAPI.validate_property(ProviderResourceType, Symbol("apiProfiles"), o.apiProfiles) + OpenAPI.validate_property(ProviderResourceType, Symbol("capabilities"), o.capabilities) + OpenAPI.validate_property(ProviderResourceType, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ ProviderResourceType }, name::Symbol, val) + + + + + + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceTypeListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceTypeListResult.jl new file mode 100644 index 0000000..ea85a01 --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ProviderResourceTypeListResult.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProviderResourceTypeListResult +List of resource types of a resource provider. + + ProviderResourceTypeListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{ProviderResourceType} : An array of resource types. + - nextLink::String : The URL to use for getting the next set of results. +""" +Base.@kwdef mutable struct ProviderResourceTypeListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ProviderResourceType} } + nextLink::Union{Nothing, String} = nothing + + function ProviderResourceTypeListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProviderResourceTypeListResult + +const _property_types_ProviderResourceTypeListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ProviderResourceType}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ ProviderResourceTypeListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProviderResourceTypeListResult[name]))} + +function OpenAPI.check_required(o::ProviderResourceTypeListResult) + true +end + +function OpenAPI.validate_properties(o::ProviderResourceTypeListResult) + OpenAPI.validate_property(ProviderResourceTypeListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ProviderResourceTypeListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ ProviderResourceTypeListResult }, name::Symbol, val) + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Resource.jl b/src/Resource/ResourceManagementClient/src/models/model_Resource.jl index 4d69c04..3ca58aa 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Resource.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Resource.jl @@ -10,6 +10,7 @@ Specified resource. name=nothing, type=nothing, location=nothing, + extendedLocation=nothing, tags=nothing, ) @@ -17,6 +18,7 @@ Specified resource. - name::String : Resource name - type::String : Resource type - location::String : Resource location + - extendedLocation::ExtendedLocation - tags::Dict{String, String} : Resource tags """ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel @@ -24,24 +26,37 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } tags::Union{Nothing, Dict{String, String}} = nothing - function Resource(id, name, type, location, tags, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - OpenAPI.validate_property(Resource, Symbol("location"), location) - OpenAPI.validate_property(Resource, Symbol("tags"), tags) - return new(id, name, type, location, tags, ) + function Resource(id, name, type, location, extendedLocation, tags, ) + o = new(id, name, type, location, extendedLocation, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Resource -const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", ) +const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("location")=>"String", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) + OpenAPI.validate_property(Resource, Symbol("location"), o.location) + OpenAPI.validate_property(Resource, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(Resource, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroup.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroup.jl index 903a3c4..6972e4c 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroup.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroup.jl @@ -33,24 +33,36 @@ Base.@kwdef mutable struct ResourceGroup <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ResourceGroup(id, name, type, properties, location, managedBy, tags, ) - OpenAPI.validate_property(ResourceGroup, Symbol("id"), id) - OpenAPI.validate_property(ResourceGroup, Symbol("name"), name) - OpenAPI.validate_property(ResourceGroup, Symbol("type"), type) - OpenAPI.validate_property(ResourceGroup, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceGroup, Symbol("location"), location) - OpenAPI.validate_property(ResourceGroup, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(ResourceGroup, Symbol("tags"), tags) - return new(id, name, type, properties, location, managedBy, tags, ) + o = new(id, name, type, properties, location, managedBy, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceGroup const _property_types_ResourceGroup = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"ResourceGroupProperties", Symbol("location")=>"String", Symbol("managedBy")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ResourceGroup }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceGroup[name]))} -function check_required(o::ResourceGroup) +function OpenAPI.check_required(o::ResourceGroup) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::ResourceGroup) + OpenAPI.validate_property(ResourceGroup, Symbol("id"), o.id) + OpenAPI.validate_property(ResourceGroup, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceGroup, Symbol("type"), o.type) + OpenAPI.validate_property(ResourceGroup, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceGroup, Symbol("location"), o.location) + OpenAPI.validate_property(ResourceGroup, Symbol("managedBy"), o.managedBy) + OpenAPI.validate_property(ResourceGroup, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ResourceGroup }, name::Symbol, val) + + + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupExportResult.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupExportResult.jl index e67df92..46f62ea 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupExportResult.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupExportResult.jl @@ -7,29 +7,41 @@ Resource group export result. ResourceGroupExportResult(; template=nothing, + output=nothing, error=nothing, ) - - template::Any : The template content. + - template::Any : The template content. Used if outputFormat is empty or set to 'Json'. + - output::String : The formatted export content. Used if outputFormat is set to 'Bicep'. - error::ErrorResponse """ Base.@kwdef mutable struct ResourceGroupExportResult <: OpenAPI.APIModel template::Union{Nothing, Any} = nothing + output::Union{Nothing, String} = nothing error = nothing # spec type: Union{ Nothing, ErrorResponse } - function ResourceGroupExportResult(template, error, ) - OpenAPI.validate_property(ResourceGroupExportResult, Symbol("template"), template) - OpenAPI.validate_property(ResourceGroupExportResult, Symbol("error"), error) - return new(template, error, ) + function ResourceGroupExportResult(template, output, error, ) + o = new(template, output, error, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceGroupExportResult -const _property_types_ResourceGroupExportResult = Dict{Symbol,String}(Symbol("template")=>"Any", Symbol("error")=>"ErrorResponse", ) +const _property_types_ResourceGroupExportResult = Dict{Symbol,String}(Symbol("template")=>"Any", Symbol("output")=>"String", Symbol("error")=>"ErrorResponse", ) OpenAPI.property_type(::Type{ ResourceGroupExportResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceGroupExportResult[name]))} -function check_required(o::ResourceGroupExportResult) +function OpenAPI.check_required(o::ResourceGroupExportResult) true end +function OpenAPI.validate_properties(o::ResourceGroupExportResult) + OpenAPI.validate_property(ResourceGroupExportResult, Symbol("template"), o.template) + OpenAPI.validate_property(ResourceGroupExportResult, Symbol("output"), o.output) + OpenAPI.validate_property(ResourceGroupExportResult, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ResourceGroupExportResult }, name::Symbol, val) + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupFilter.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupFilter.jl index 6060cc2..3dec792 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupFilter.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupFilter.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ResourceGroupFilter <: OpenAPI.APIModel tagValue::Union{Nothing, String} = nothing function ResourceGroupFilter(tagName, tagValue, ) - OpenAPI.validate_property(ResourceGroupFilter, Symbol("tagName"), tagName) - OpenAPI.validate_property(ResourceGroupFilter, Symbol("tagValue"), tagValue) - return new(tagName, tagValue, ) + o = new(tagName, tagValue, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceGroupFilter const _property_types_ResourceGroupFilter = Dict{Symbol,String}(Symbol("tagName")=>"String", Symbol("tagValue")=>"String", ) OpenAPI.property_type(::Type{ ResourceGroupFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceGroupFilter[name]))} -function check_required(o::ResourceGroupFilter) +function OpenAPI.check_required(o::ResourceGroupFilter) true end +function OpenAPI.validate_properties(o::ResourceGroupFilter) + OpenAPI.validate_property(ResourceGroupFilter, Symbol("tagName"), o.tagName) + OpenAPI.validate_property(ResourceGroupFilter, Symbol("tagValue"), o.tagValue) +end + function OpenAPI.validate_property(::Type{ ResourceGroupFilter }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupListResult.jl index e163be8..624872d 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupListResult.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ResourceGroupListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ResourceGroupListResult(value, nextLink, ) - OpenAPI.validate_property(ResourceGroupListResult, Symbol("value"), value) - OpenAPI.validate_property(ResourceGroupListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceGroupListResult const _property_types_ResourceGroupListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{ResourceGroup}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ResourceGroupListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceGroupListResult[name]))} -function check_required(o::ResourceGroupListResult) +function OpenAPI.check_required(o::ResourceGroupListResult) true end +function OpenAPI.validate_properties(o::ResourceGroupListResult) + OpenAPI.validate_property(ResourceGroupListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ResourceGroupListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ResourceGroupListResult }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupPatchable.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupPatchable.jl index 8814fa7..84424f4 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupPatchable.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupPatchable.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ResourceGroupPatchable <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function ResourceGroupPatchable(name, properties, managedBy, tags, ) - OpenAPI.validate_property(ResourceGroupPatchable, Symbol("name"), name) - OpenAPI.validate_property(ResourceGroupPatchable, Symbol("properties"), properties) - OpenAPI.validate_property(ResourceGroupPatchable, Symbol("managedBy"), managedBy) - OpenAPI.validate_property(ResourceGroupPatchable, Symbol("tags"), tags) - return new(name, properties, managedBy, tags, ) + o = new(name, properties, managedBy, tags, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceGroupPatchable const _property_types_ResourceGroupPatchable = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("properties")=>"ResourceGroupProperties", Symbol("managedBy")=>"String", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ ResourceGroupPatchable }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceGroupPatchable[name]))} -function check_required(o::ResourceGroupPatchable) +function OpenAPI.check_required(o::ResourceGroupPatchable) true end +function OpenAPI.validate_properties(o::ResourceGroupPatchable) + OpenAPI.validate_property(ResourceGroupPatchable, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceGroupPatchable, Symbol("properties"), o.properties) + OpenAPI.validate_property(ResourceGroupPatchable, Symbol("managedBy"), o.managedBy) + OpenAPI.validate_property(ResourceGroupPatchable, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ ResourceGroupPatchable }, name::Symbol, val) + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupProperties.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupProperties.jl index b60e9d2..e7766b9 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupProperties.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceGroupProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ResourceGroupProperties <: OpenAPI.APIModel provisioningState::Union{Nothing, String} = nothing function ResourceGroupProperties(provisioningState, ) - OpenAPI.validate_property(ResourceGroupProperties, Symbol("provisioningState"), provisioningState) - return new(provisioningState, ) + o = new(provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceGroupProperties const _property_types_ResourceGroupProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"String", ) OpenAPI.property_type(::Type{ ResourceGroupProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceGroupProperties[name]))} -function check_required(o::ResourceGroupProperties) +function OpenAPI.check_required(o::ResourceGroupProperties) true end +function OpenAPI.validate_properties(o::ResourceGroupProperties) + OpenAPI.validate_property(ResourceGroupProperties, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ ResourceGroupProperties }, name::Symbol, val) + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceListResult.jl index 0ae857f..90fff0a 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceListResult.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ResourceListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function ResourceListResult(value, nextLink, ) - OpenAPI.validate_property(ResourceListResult, Symbol("value"), value) - OpenAPI.validate_property(ResourceListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceListResult const _property_types_ResourceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{GenericResourceExpanded}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ ResourceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceListResult[name]))} -function check_required(o::ResourceListResult) +function OpenAPI.check_required(o::ResourceListResult) true end +function OpenAPI.validate_properties(o::ResourceListResult) + OpenAPI.validate_property(ResourceListResult, Symbol("value"), o.value) + OpenAPI.validate_property(ResourceListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ ResourceListResult }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceProviderOperationDisplayProperties.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceProviderOperationDisplayProperties.jl index 79688a8..6fbb4c2 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceProviderOperationDisplayProperties.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourceProviderOperationDisplayProperties.jl @@ -27,21 +27,31 @@ Base.@kwdef mutable struct ResourceProviderOperationDisplayProperties <: OpenAPI description::Union{Nothing, String} = nothing function ResourceProviderOperationDisplayProperties(publisher, provider, resource, operation, description, ) - OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("publisher"), publisher) - OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("provider"), provider) - OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("resource"), resource) - OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("operation"), operation) - OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("description"), description) - return new(publisher, provider, resource, operation, description, ) + o = new(publisher, provider, resource, operation, description, ) + OpenAPI.validate_properties(o) + return o end end # type ResourceProviderOperationDisplayProperties const _property_types_ResourceProviderOperationDisplayProperties = Dict{Symbol,String}(Symbol("publisher")=>"String", Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ ResourceProviderOperationDisplayProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceProviderOperationDisplayProperties[name]))} -function check_required(o::ResourceProviderOperationDisplayProperties) +function OpenAPI.check_required(o::ResourceProviderOperationDisplayProperties) true end +function OpenAPI.validate_properties(o::ResourceProviderOperationDisplayProperties) + OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("publisher"), o.publisher) + OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("provider"), o.provider) + OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("resource"), o.resource) + OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("operation"), o.operation) + OpenAPI.validate_property(ResourceProviderOperationDisplayProperties, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ ResourceProviderOperationDisplayProperties }, name::Symbol, val) + + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourceReference.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourceReference.jl deleted file mode 100644 index 8cf727a..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourceReference.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ResourceReference -The resource Id model. - - ResourceReference(; - id=nothing, - ) - - - id::String : The fully qualified resource Id. -""" -Base.@kwdef mutable struct ResourceReference <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - - function ResourceReference(id, ) - OpenAPI.validate_property(ResourceReference, Symbol("id"), id) - return new(id, ) - end -end # type ResourceReference - -const _property_types_ResourceReference = Dict{Symbol,String}(Symbol("id")=>"String", ) -OpenAPI.property_type(::Type{ ResourceReference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceReference[name]))} - -function check_required(o::ResourceReference) - true -end - -function OpenAPI.validate_property(::Type{ ResourceReference }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ResourcesMoveInfo.jl b/src/Resource/ResourceManagementClient/src/models/model_ResourcesMoveInfo.jl index 9ab1552..72762c5 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_ResourcesMoveInfo.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_ResourcesMoveInfo.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ResourcesMoveInfo <: OpenAPI.APIModel targetResourceGroup::Union{Nothing, String} = nothing function ResourcesMoveInfo(resources, targetResourceGroup, ) - OpenAPI.validate_property(ResourcesMoveInfo, Symbol("resources"), resources) - OpenAPI.validate_property(ResourcesMoveInfo, Symbol("targetResourceGroup"), targetResourceGroup) - return new(resources, targetResourceGroup, ) + o = new(resources, targetResourceGroup, ) + OpenAPI.validate_properties(o) + return o end end # type ResourcesMoveInfo const _property_types_ResourcesMoveInfo = Dict{Symbol,String}(Symbol("resources")=>"Vector{String}", Symbol("targetResourceGroup")=>"String", ) OpenAPI.property_type(::Type{ ResourcesMoveInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourcesMoveInfo[name]))} -function check_required(o::ResourcesMoveInfo) +function OpenAPI.check_required(o::ResourcesMoveInfo) true end +function OpenAPI.validate_properties(o::ResourcesMoveInfo) + OpenAPI.validate_property(ResourcesMoveInfo, Symbol("resources"), o.resources) + OpenAPI.validate_property(ResourcesMoveInfo, Symbol("targetResourceGroup"), o.targetResourceGroup) +end + function OpenAPI.validate_property(::Type{ ResourcesMoveInfo }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_RoleDefinition.jl b/src/Resource/ResourceManagementClient/src/models/model_RoleDefinition.jl new file mode 100644 index 0000000..fc5955d --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_RoleDefinition.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""RoleDefinition +Role definition properties. + + RoleDefinition(; + id=nothing, + name=nothing, + isServiceRole=nothing, + permissions=nothing, + scopes=nothing, + ) + + - id::String : The role definition ID. + - name::String : The role definition name. + - isServiceRole::Bool : If this is a service role. + - permissions::Vector{Permission} : Role definition permissions. + - scopes::Vector{String} : Role definition assignable scopes. +""" +Base.@kwdef mutable struct RoleDefinition <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + isServiceRole::Union{Nothing, Bool} = nothing + permissions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Permission} } + scopes::Union{Nothing, Vector{String}} = nothing + + function RoleDefinition(id, name, isServiceRole, permissions, scopes, ) + o = new(id, name, isServiceRole, permissions, scopes, ) + OpenAPI.validate_properties(o) + return o + end +end # type RoleDefinition + +const _property_types_RoleDefinition = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("isServiceRole")=>"Bool", Symbol("permissions")=>"Vector{Permission}", Symbol("scopes")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ RoleDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoleDefinition[name]))} + +function OpenAPI.check_required(o::RoleDefinition) + true +end + +function OpenAPI.validate_properties(o::RoleDefinition) + OpenAPI.validate_property(RoleDefinition, Symbol("id"), o.id) + OpenAPI.validate_property(RoleDefinition, Symbol("name"), o.name) + OpenAPI.validate_property(RoleDefinition, Symbol("isServiceRole"), o.isServiceRole) + OpenAPI.validate_property(RoleDefinition, Symbol("permissions"), o.permissions) + OpenAPI.validate_property(RoleDefinition, Symbol("scopes"), o.scopes) +end + +function OpenAPI.validate_property(::Type{ RoleDefinition }, name::Symbol, val) + + + + + +end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ScopedDeployment.jl b/src/Resource/ResourceManagementClient/src/models/model_ScopedDeployment.jl deleted file mode 100644 index 066b83d..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_ScopedDeployment.jl +++ /dev/null @@ -1,41 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ScopedDeployment -Deployment operation parameters. - - ScopedDeployment(; - location=nothing, - properties=nothing, - tags=nothing, - ) - - - location::String : The location to store the deployment data. - - properties::DeploymentProperties - - tags::Dict{String, String} : Deployment tags -""" -Base.@kwdef mutable struct ScopedDeployment <: OpenAPI.APIModel - location::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, DeploymentProperties } - tags::Union{Nothing, Dict{String, String}} = nothing - - function ScopedDeployment(location, properties, tags, ) - OpenAPI.validate_property(ScopedDeployment, Symbol("location"), location) - OpenAPI.validate_property(ScopedDeployment, Symbol("properties"), properties) - OpenAPI.validate_property(ScopedDeployment, Symbol("tags"), tags) - return new(location, properties, tags, ) - end -end # type ScopedDeployment - -const _property_types_ScopedDeployment = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("properties")=>"DeploymentProperties", Symbol("tags")=>"Dict{String, String}", ) -OpenAPI.property_type(::Type{ ScopedDeployment }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ScopedDeployment[name]))} - -function check_required(o::ScopedDeployment) - o.location === nothing && (return false) - o.properties === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ ScopedDeployment }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ScopedDeploymentWhatIf.jl b/src/Resource/ResourceManagementClient/src/models/model_ScopedDeploymentWhatIf.jl deleted file mode 100644 index c0bd39d..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_ScopedDeploymentWhatIf.jl +++ /dev/null @@ -1,37 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""ScopedDeploymentWhatIf -Deployment What-if operation parameters. - - ScopedDeploymentWhatIf(; - location=nothing, - properties=nothing, - ) - - - location::String : The location to store the deployment data. - - properties::DeploymentWhatIfProperties -""" -Base.@kwdef mutable struct ScopedDeploymentWhatIf <: OpenAPI.APIModel - location::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, DeploymentWhatIfProperties } - - function ScopedDeploymentWhatIf(location, properties, ) - OpenAPI.validate_property(ScopedDeploymentWhatIf, Symbol("location"), location) - OpenAPI.validate_property(ScopedDeploymentWhatIf, Symbol("properties"), properties) - return new(location, properties, ) - end -end # type ScopedDeploymentWhatIf - -const _property_types_ScopedDeploymentWhatIf = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("properties")=>"DeploymentWhatIfProperties", ) -OpenAPI.property_type(::Type{ ScopedDeploymentWhatIf }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ScopedDeploymentWhatIf[name]))} - -function check_required(o::ScopedDeploymentWhatIf) - o.location === nothing && (return false) - o.properties === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ ScopedDeploymentWhatIf }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Sku.jl b/src/Resource/ResourceManagementClient/src/models/model_Sku.jl index 9a14a22..a6ebfda 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Sku.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Sku.jl @@ -30,24 +30,35 @@ Base.@kwdef mutable struct Sku <: OpenAPI.APIModel capacity::Union{Nothing, Int64} = nothing function Sku(name, tier, size, family, model, capacity, ) - OpenAPI.validate_property(Sku, Symbol("name"), name) - OpenAPI.validate_property(Sku, Symbol("tier"), tier) - OpenAPI.validate_property(Sku, Symbol("size"), size) - OpenAPI.validate_property(Sku, Symbol("family"), family) - OpenAPI.validate_property(Sku, Symbol("model"), model) - OpenAPI.validate_property(Sku, Symbol("capacity"), capacity) - return new(name, tier, size, family, model, capacity, ) + o = new(name, tier, size, family, model, capacity, ) + OpenAPI.validate_properties(o) + return o end end # type Sku const _property_types_Sku = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("tier")=>"String", Symbol("size")=>"String", Symbol("family")=>"String", Symbol("model")=>"String", Symbol("capacity")=>"Int64", ) OpenAPI.property_type(::Type{ Sku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Sku[name]))} -function check_required(o::Sku) +function OpenAPI.check_required(o::Sku) true end +function OpenAPI.validate_properties(o::Sku) + OpenAPI.validate_property(Sku, Symbol("name"), o.name) + OpenAPI.validate_property(Sku, Symbol("tier"), o.tier) + OpenAPI.validate_property(Sku, Symbol("size"), o.size) + OpenAPI.validate_property(Sku, Symbol("family"), o.family) + OpenAPI.validate_property(Sku, Symbol("model"), o.model) + OpenAPI.validate_property(Sku, Symbol("capacity"), o.capacity) +end + function OpenAPI.validate_property(::Type{ Sku }, name::Symbol, val) + + + + + + if name === Symbol("capacity") OpenAPI.validate_param(name, "Sku", :format, val, "int32") end diff --git a/src/Resource/ResourceManagementClient/src/models/model_StatusMessage.jl b/src/Resource/ResourceManagementClient/src/models/model_StatusMessage.jl deleted file mode 100644 index 9cc9305..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_StatusMessage.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""StatusMessage -Operation status message object. - - StatusMessage(; - status=nothing, - error=nothing, - ) - - - status::String : Status of the deployment operation. - - error::ErrorResponse -""" -Base.@kwdef mutable struct StatusMessage <: OpenAPI.APIModel - status::Union{Nothing, String} = nothing - error = nothing # spec type: Union{ Nothing, ErrorResponse } - - function StatusMessage(status, error, ) - OpenAPI.validate_property(StatusMessage, Symbol("status"), status) - OpenAPI.validate_property(StatusMessage, Symbol("error"), error) - return new(status, error, ) - end -end # type StatusMessage - -const _property_types_StatusMessage = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("error")=>"ErrorResponse", ) -OpenAPI.property_type(::Type{ StatusMessage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StatusMessage[name]))} - -function check_required(o::StatusMessage) - true -end - -function OpenAPI.validate_property(::Type{ StatusMessage }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_SubResource.jl b/src/Resource/ResourceManagementClient/src/models/model_SubResource.jl index 17542bf..de67b75 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_SubResource.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_SubResource.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct SubResource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function SubResource(id, ) - OpenAPI.validate_property(SubResource, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type SubResource const _property_types_SubResource = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ SubResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubResource[name]))} -function check_required(o::SubResource) +function OpenAPI.check_required(o::SubResource) true end +function OpenAPI.validate_properties(o::SubResource) + OpenAPI.validate_property(SubResource, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ SubResource }, name::Symbol, val) + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TagCount.jl b/src/Resource/ResourceManagementClient/src/models/model_TagCount.jl index 0bbaa44..33b02ea 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_TagCount.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_TagCount.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct TagCount <: OpenAPI.APIModel value::Union{Nothing, Int64} = nothing function TagCount(type, value, ) - OpenAPI.validate_property(TagCount, Symbol("type"), type) - OpenAPI.validate_property(TagCount, Symbol("value"), value) - return new(type, value, ) + o = new(type, value, ) + OpenAPI.validate_properties(o) + return o end end # type TagCount const _property_types_TagCount = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("value")=>"Int64", ) OpenAPI.property_type(::Type{ TagCount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagCount[name]))} -function check_required(o::TagCount) +function OpenAPI.check_required(o::TagCount) true end +function OpenAPI.validate_properties(o::TagCount) + OpenAPI.validate_property(TagCount, Symbol("type"), o.type) + OpenAPI.validate_property(TagCount, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ TagCount }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TagDetails.jl b/src/Resource/ResourceManagementClient/src/models/model_TagDetails.jl index 85d3876..474fb13 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_TagDetails.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_TagDetails.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct TagDetails <: OpenAPI.APIModel values::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TagValue} } function TagDetails(id, tagName, count, values, ) - OpenAPI.validate_property(TagDetails, Symbol("id"), id) - OpenAPI.validate_property(TagDetails, Symbol("tagName"), tagName) - OpenAPI.validate_property(TagDetails, Symbol("count"), count) - OpenAPI.validate_property(TagDetails, Symbol("values"), values) - return new(id, tagName, count, values, ) + o = new(id, tagName, count, values, ) + OpenAPI.validate_properties(o) + return o end end # type TagDetails const _property_types_TagDetails = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("tagName")=>"String", Symbol("count")=>"TagCount", Symbol("values")=>"Vector{TagValue}", ) OpenAPI.property_type(::Type{ TagDetails }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagDetails[name]))} -function check_required(o::TagDetails) +function OpenAPI.check_required(o::TagDetails) true end +function OpenAPI.validate_properties(o::TagDetails) + OpenAPI.validate_property(TagDetails, Symbol("id"), o.id) + OpenAPI.validate_property(TagDetails, Symbol("tagName"), o.tagName) + OpenAPI.validate_property(TagDetails, Symbol("count"), o.count) + OpenAPI.validate_property(TagDetails, Symbol("values"), o.values) +end + function OpenAPI.validate_property(::Type{ TagDetails }, name::Symbol, val) + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TagValue.jl b/src/Resource/ResourceManagementClient/src/models/model_TagValue.jl index 5e88b98..b6278e8 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_TagValue.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_TagValue.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct TagValue <: OpenAPI.APIModel count = nothing # spec type: Union{ Nothing, TagCount } function TagValue(id, tagValue, count, ) - OpenAPI.validate_property(TagValue, Symbol("id"), id) - OpenAPI.validate_property(TagValue, Symbol("tagValue"), tagValue) - OpenAPI.validate_property(TagValue, Symbol("count"), count) - return new(id, tagValue, count, ) + o = new(id, tagValue, count, ) + OpenAPI.validate_properties(o) + return o end end # type TagValue const _property_types_TagValue = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("tagValue")=>"String", Symbol("count")=>"TagCount", ) OpenAPI.property_type(::Type{ TagValue }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagValue[name]))} -function check_required(o::TagValue) +function OpenAPI.check_required(o::TagValue) true end +function OpenAPI.validate_properties(o::TagValue) + OpenAPI.validate_property(TagValue, Symbol("id"), o.id) + OpenAPI.validate_property(TagValue, Symbol("tagValue"), o.tagValue) + OpenAPI.validate_property(TagValue, Symbol("count"), o.count) +end + function OpenAPI.validate_property(::Type{ TagValue }, name::Symbol, val) + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_Tags.jl b/src/Resource/ResourceManagementClient/src/models/model_Tags.jl index 1ac91b8..f2f27f1 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_Tags.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_Tags.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct Tags <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Tags(tags, ) - OpenAPI.validate_property(Tags, Symbol("tags"), tags) - return new(tags, ) + o = new(tags, ) + OpenAPI.validate_properties(o) + return o end end # type Tags const _property_types_Tags = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Tags }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Tags[name]))} -function check_required(o::Tags) +function OpenAPI.check_required(o::Tags) true end +function OpenAPI.validate_properties(o::Tags) + OpenAPI.validate_property(Tags, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Tags }, name::Symbol, val) + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TagsListResult.jl b/src/Resource/ResourceManagementClient/src/models/model_TagsListResult.jl index 316f810..cd81e31 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_TagsListResult.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_TagsListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct TagsListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function TagsListResult(value, nextLink, ) - OpenAPI.validate_property(TagsListResult, Symbol("value"), value) - OpenAPI.validate_property(TagsListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type TagsListResult const _property_types_TagsListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{TagDetails}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ TagsListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsListResult[name]))} -function check_required(o::TagsListResult) +function OpenAPI.check_required(o::TagsListResult) true end +function OpenAPI.validate_properties(o::TagsListResult) + OpenAPI.validate_property(TagsListResult, Symbol("value"), o.value) + OpenAPI.validate_property(TagsListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ TagsListResult }, name::Symbol, val) + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TagsPatchResource.jl b/src/Resource/ResourceManagementClient/src/models/model_TagsPatchResource.jl index be1e964..9b3c3e0 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_TagsPatchResource.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_TagsPatchResource.jl @@ -18,21 +18,29 @@ Base.@kwdef mutable struct TagsPatchResource <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, Tags } function TagsPatchResource(operation, properties, ) - OpenAPI.validate_property(TagsPatchResource, Symbol("operation"), operation) - OpenAPI.validate_property(TagsPatchResource, Symbol("properties"), properties) - return new(operation, properties, ) + o = new(operation, properties, ) + OpenAPI.validate_properties(o) + return o end end # type TagsPatchResource const _property_types_TagsPatchResource = Dict{Symbol,String}(Symbol("operation")=>"String", Symbol("properties")=>"Tags", ) OpenAPI.property_type(::Type{ TagsPatchResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsPatchResource[name]))} -function check_required(o::TagsPatchResource) +function OpenAPI.check_required(o::TagsPatchResource) true end +function OpenAPI.validate_properties(o::TagsPatchResource) + OpenAPI.validate_property(TagsPatchResource, Symbol("operation"), o.operation) + OpenAPI.validate_property(TagsPatchResource, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ TagsPatchResource }, name::Symbol, val) + if name === Symbol("operation") OpenAPI.validate_param(name, "TagsPatchResource", :enum, val, ["Replace", "Merge", "Delete"]) end + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TagsResource.jl b/src/Resource/ResourceManagementClient/src/models/model_TagsResource.jl index a3bad4e..b38e520 100644 --- a/src/Resource/ResourceManagementClient/src/models/model_TagsResource.jl +++ b/src/Resource/ResourceManagementClient/src/models/model_TagsResource.jl @@ -24,21 +24,30 @@ Base.@kwdef mutable struct TagsResource <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, Tags } function TagsResource(id, name, type, properties, ) - OpenAPI.validate_property(TagsResource, Symbol("id"), id) - OpenAPI.validate_property(TagsResource, Symbol("name"), name) - OpenAPI.validate_property(TagsResource, Symbol("type"), type) - OpenAPI.validate_property(TagsResource, Symbol("properties"), properties) - return new(id, name, type, properties, ) + o = new(id, name, type, properties, ) + OpenAPI.validate_properties(o) + return o end end # type TagsResource const _property_types_TagsResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"Tags", ) OpenAPI.property_type(::Type{ TagsResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagsResource[name]))} -function check_required(o::TagsResource) +function OpenAPI.check_required(o::TagsResource) o.properties === nothing && (return false) true end +function OpenAPI.validate_properties(o::TagsResource) + OpenAPI.validate_property(TagsResource, Symbol("id"), o.id) + OpenAPI.validate_property(TagsResource, Symbol("name"), o.name) + OpenAPI.validate_property(TagsResource, Symbol("type"), o.type) + OpenAPI.validate_property(TagsResource, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ TagsResource }, name::Symbol, val) + + + + end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TargetResource.jl b/src/Resource/ResourceManagementClient/src/models/model_TargetResource.jl deleted file mode 100644 index edb7ba2..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_TargetResource.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""TargetResource -Target resource. - - TargetResource(; - id=nothing, - resourceName=nothing, - resourceType=nothing, - ) - - - id::String : The ID of the resource. - - resourceName::String : The name of the resource. - - resourceType::String : The type of the resource. -""" -Base.@kwdef mutable struct TargetResource <: OpenAPI.APIModel - id::Union{Nothing, String} = nothing - resourceName::Union{Nothing, String} = nothing - resourceType::Union{Nothing, String} = nothing - - function TargetResource(id, resourceName, resourceType, ) - OpenAPI.validate_property(TargetResource, Symbol("id"), id) - OpenAPI.validate_property(TargetResource, Symbol("resourceName"), resourceName) - OpenAPI.validate_property(TargetResource, Symbol("resourceType"), resourceType) - return new(id, resourceName, resourceType, ) - end -end # type TargetResource - -const _property_types_TargetResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("resourceName")=>"String", Symbol("resourceType")=>"String", ) -OpenAPI.property_type(::Type{ TargetResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TargetResource[name]))} - -function check_required(o::TargetResource) - true -end - -function OpenAPI.validate_property(::Type{ TargetResource }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TemplateHashResult.jl b/src/Resource/ResourceManagementClient/src/models/model_TemplateHashResult.jl deleted file mode 100644 index c06d16f..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_TemplateHashResult.jl +++ /dev/null @@ -1,35 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""TemplateHashResult -Result of the request to calculate template hash. It contains a string of minified template and its hash. - - TemplateHashResult(; - minifiedTemplate=nothing, - templateHash=nothing, - ) - - - minifiedTemplate::String : The minified template string. - - templateHash::String : The template hash. -""" -Base.@kwdef mutable struct TemplateHashResult <: OpenAPI.APIModel - minifiedTemplate::Union{Nothing, String} = nothing - templateHash::Union{Nothing, String} = nothing - - function TemplateHashResult(minifiedTemplate, templateHash, ) - OpenAPI.validate_property(TemplateHashResult, Symbol("minifiedTemplate"), minifiedTemplate) - OpenAPI.validate_property(TemplateHashResult, Symbol("templateHash"), templateHash) - return new(minifiedTemplate, templateHash, ) - end -end # type TemplateHashResult - -const _property_types_TemplateHashResult = Dict{Symbol,String}(Symbol("minifiedTemplate")=>"String", Symbol("templateHash")=>"String", ) -OpenAPI.property_type(::Type{ TemplateHashResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TemplateHashResult[name]))} - -function check_required(o::TemplateHashResult) - true -end - -function OpenAPI.validate_property(::Type{ TemplateHashResult }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_TemplateLink.jl b/src/Resource/ResourceManagementClient/src/models/model_TemplateLink.jl deleted file mode 100644 index 48dadc4..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_TemplateLink.jl +++ /dev/null @@ -1,43 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""TemplateLink -Entity representing the reference to the template. - - TemplateLink(; - uri=nothing, - id=nothing, - relativePath=nothing, - contentVersion=nothing, - ) - - - uri::String : The URI of the template to deploy. Use either the uri or id property, but not both. - - id::String : The resource id of a Template Spec. Use either the id or uri property, but not both. - - relativePath::String : Applicable only if this template link references a Template Spec. This relativePath property can optionally be used to reference a Template Spec artifact by path. - - contentVersion::String : If included, must match the ContentVersion in the template. -""" -Base.@kwdef mutable struct TemplateLink <: OpenAPI.APIModel - uri::Union{Nothing, String} = nothing - id::Union{Nothing, String} = nothing - relativePath::Union{Nothing, String} = nothing - contentVersion::Union{Nothing, String} = nothing - - function TemplateLink(uri, id, relativePath, contentVersion, ) - OpenAPI.validate_property(TemplateLink, Symbol("uri"), uri) - OpenAPI.validate_property(TemplateLink, Symbol("id"), id) - OpenAPI.validate_property(TemplateLink, Symbol("relativePath"), relativePath) - OpenAPI.validate_property(TemplateLink, Symbol("contentVersion"), contentVersion) - return new(uri, id, relativePath, contentVersion, ) - end -end # type TemplateLink - -const _property_types_TemplateLink = Dict{Symbol,String}(Symbol("uri")=>"String", Symbol("id")=>"String", Symbol("relativePath")=>"String", Symbol("contentVersion")=>"String", ) -OpenAPI.property_type(::Type{ TemplateLink }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TemplateLink[name]))} - -function check_required(o::TemplateLink) - true -end - -function OpenAPI.validate_property(::Type{ TemplateLink }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_WhatIfChange.jl b/src/Resource/ResourceManagementClient/src/models/model_WhatIfChange.jl deleted file mode 100644 index 1c0f896..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_WhatIfChange.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""WhatIfChange -Information about a single resource change predicted by What-If operation. - - WhatIfChange(; - resourceId=nothing, - changeType=nothing, - before=nothing, - after=nothing, - delta=nothing, - ) - - - resourceId::String : Resource ID - - changeType::String : Type of change that will be made to the resource when the deployment is executed. - - before::Any : The snapshot of the resource before the deployment is executed. - - after::Any : The predicted snapshot of the resource after the deployment is executed. - - delta::Vector{WhatIfPropertyChange} : The predicted changes to resource properties. -""" -Base.@kwdef mutable struct WhatIfChange <: OpenAPI.APIModel - resourceId::Union{Nothing, String} = nothing - changeType::Union{Nothing, String} = nothing - before::Union{Nothing, Any} = nothing - after::Union{Nothing, Any} = nothing - delta::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{WhatIfPropertyChange} } - - function WhatIfChange(resourceId, changeType, before, after, delta, ) - OpenAPI.validate_property(WhatIfChange, Symbol("resourceId"), resourceId) - OpenAPI.validate_property(WhatIfChange, Symbol("changeType"), changeType) - OpenAPI.validate_property(WhatIfChange, Symbol("before"), before) - OpenAPI.validate_property(WhatIfChange, Symbol("after"), after) - OpenAPI.validate_property(WhatIfChange, Symbol("delta"), delta) - return new(resourceId, changeType, before, after, delta, ) - end -end # type WhatIfChange - -const _property_types_WhatIfChange = Dict{Symbol,String}(Symbol("resourceId")=>"String", Symbol("changeType")=>"String", Symbol("before")=>"Any", Symbol("after")=>"Any", Symbol("delta")=>"Vector{WhatIfPropertyChange}", ) -OpenAPI.property_type(::Type{ WhatIfChange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WhatIfChange[name]))} - -function check_required(o::WhatIfChange) - o.resourceId === nothing && (return false) - o.changeType === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ WhatIfChange }, name::Symbol, val) - if name === Symbol("changeType") - OpenAPI.validate_param(name, "WhatIfChange", :enum, val, ["Create", "Delete", "Ignore", "Deploy", "NoChange", "Modify"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_WhatIfOperationProperties.jl b/src/Resource/ResourceManagementClient/src/models/model_WhatIfOperationProperties.jl deleted file mode 100644 index 2cf092a..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_WhatIfOperationProperties.jl +++ /dev/null @@ -1,31 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""WhatIfOperationProperties -Deployment operation properties. - - WhatIfOperationProperties(; - changes=nothing, - ) - - - changes::Vector{WhatIfChange} : List of resource changes predicted by What-If operation. -""" -Base.@kwdef mutable struct WhatIfOperationProperties <: OpenAPI.APIModel - changes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{WhatIfChange} } - - function WhatIfOperationProperties(changes, ) - OpenAPI.validate_property(WhatIfOperationProperties, Symbol("changes"), changes) - return new(changes, ) - end -end # type WhatIfOperationProperties - -const _property_types_WhatIfOperationProperties = Dict{Symbol,String}(Symbol("changes")=>"Vector{WhatIfChange}", ) -OpenAPI.property_type(::Type{ WhatIfOperationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WhatIfOperationProperties[name]))} - -function check_required(o::WhatIfOperationProperties) - true -end - -function OpenAPI.validate_property(::Type{ WhatIfOperationProperties }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_WhatIfOperationResult.jl b/src/Resource/ResourceManagementClient/src/models/model_WhatIfOperationResult.jl deleted file mode 100644 index 7a89b24..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_WhatIfOperationResult.jl +++ /dev/null @@ -1,39 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""WhatIfOperationResult -Result of the What-If operation. Contains a list of predicted changes and a URL link to get to the next set of results. - - WhatIfOperationResult(; - status=nothing, - properties=nothing, - error=nothing, - ) - - - status::String : Status of the What-If operation. - - properties::WhatIfOperationProperties - - error::ErrorResponse -""" -Base.@kwdef mutable struct WhatIfOperationResult <: OpenAPI.APIModel - status::Union{Nothing, String} = nothing - properties = nothing # spec type: Union{ Nothing, WhatIfOperationProperties } - error = nothing # spec type: Union{ Nothing, ErrorResponse } - - function WhatIfOperationResult(status, properties, error, ) - OpenAPI.validate_property(WhatIfOperationResult, Symbol("status"), status) - OpenAPI.validate_property(WhatIfOperationResult, Symbol("properties"), properties) - OpenAPI.validate_property(WhatIfOperationResult, Symbol("error"), error) - return new(status, properties, error, ) - end -end # type WhatIfOperationResult - -const _property_types_WhatIfOperationResult = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("properties")=>"WhatIfOperationProperties", Symbol("error")=>"ErrorResponse", ) -OpenAPI.property_type(::Type{ WhatIfOperationResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WhatIfOperationResult[name]))} - -function check_required(o::WhatIfOperationResult) - true -end - -function OpenAPI.validate_property(::Type{ WhatIfOperationResult }, name::Symbol, val) -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_WhatIfPropertyChange.jl b/src/Resource/ResourceManagementClient/src/models/model_WhatIfPropertyChange.jl deleted file mode 100644 index 24441ff..0000000 --- a/src/Resource/ResourceManagementClient/src/models/model_WhatIfPropertyChange.jl +++ /dev/null @@ -1,52 +0,0 @@ -# This file was generated by the Julia OpenAPI Code Generator -# Do not modify this file directly. Modify the OpenAPI specification instead. - - -@doc raw"""WhatIfPropertyChange -The predicted change to the resource property. - - WhatIfPropertyChange(; - path=nothing, - propertyChangeType=nothing, - before=nothing, - after=nothing, - children=nothing, - ) - - - path::String : The path of the property. - - propertyChangeType::String : The type of property change. - - before::Any : The value of the property before the deployment is executed. - - after::Any : The value of the property after the deployment is executed. - - children::Vector{WhatIfPropertyChange} : Nested property changes. -""" -Base.@kwdef mutable struct WhatIfPropertyChange <: OpenAPI.APIModel - path::Union{Nothing, String} = nothing - propertyChangeType::Union{Nothing, String} = nothing - before::Union{Nothing, Any} = nothing - after::Union{Nothing, Any} = nothing - children::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{WhatIfPropertyChange} } - - function WhatIfPropertyChange(path, propertyChangeType, before, after, children, ) - OpenAPI.validate_property(WhatIfPropertyChange, Symbol("path"), path) - OpenAPI.validate_property(WhatIfPropertyChange, Symbol("propertyChangeType"), propertyChangeType) - OpenAPI.validate_property(WhatIfPropertyChange, Symbol("before"), before) - OpenAPI.validate_property(WhatIfPropertyChange, Symbol("after"), after) - OpenAPI.validate_property(WhatIfPropertyChange, Symbol("children"), children) - return new(path, propertyChangeType, before, after, children, ) - end -end # type WhatIfPropertyChange - -const _property_types_WhatIfPropertyChange = Dict{Symbol,String}(Symbol("path")=>"String", Symbol("propertyChangeType")=>"String", Symbol("before")=>"Any", Symbol("after")=>"Any", Symbol("children")=>"Vector{WhatIfPropertyChange}", ) -OpenAPI.property_type(::Type{ WhatIfPropertyChange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_WhatIfPropertyChange[name]))} - -function check_required(o::WhatIfPropertyChange) - o.path === nothing && (return false) - o.propertyChangeType === nothing && (return false) - true -end - -function OpenAPI.validate_property(::Type{ WhatIfPropertyChange }, name::Symbol, val) - if name === Symbol("propertyChangeType") - OpenAPI.validate_param(name, "WhatIfPropertyChange", :enum, val, ["Create", "Delete", "Modify", "Array"]) - end -end diff --git a/src/Resource/ResourceManagementClient/src/models/model_ZoneMapping.jl b/src/Resource/ResourceManagementClient/src/models/model_ZoneMapping.jl new file mode 100644 index 0000000..54d186a --- /dev/null +++ b/src/Resource/ResourceManagementClient/src/models/model_ZoneMapping.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ZoneMapping + + ZoneMapping(; + location=nothing, + zones=nothing, + ) + + - location::String : The location of the zone mapping. + - zones::Vector{String} +""" +Base.@kwdef mutable struct ZoneMapping <: OpenAPI.APIModel + location::Union{Nothing, String} = nothing + zones::Union{Nothing, Vector{String}} = nothing + + function ZoneMapping(location, zones, ) + o = new(location, zones, ) + OpenAPI.validate_properties(o) + return o + end +end # type ZoneMapping + +const _property_types_ZoneMapping = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("zones")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ ZoneMapping }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ZoneMapping[name]))} + +function OpenAPI.check_required(o::ZoneMapping) + true +end + +function OpenAPI.validate_properties(o::ZoneMapping) + OpenAPI.validate_property(ZoneMapping, Symbol("location"), o.location) + OpenAPI.validate_property(ZoneMapping, Symbol("zones"), o.zones) +end + +function OpenAPI.validate_property(::Type{ ZoneMapping }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/.openapi-generator/FILES b/src/Resource/SubscriptionClient/.openapi-generator/FILES index fe8a2ea..ae8837b 100644 --- a/src/Resource/SubscriptionClient/.openapi-generator/FILES +++ b/src/Resource/SubscriptionClient/.openapi-generator/FILES @@ -1,14 +1,30 @@ .openapi-generator-ignore README.md +docs/AvailabilityZoneMappings.md +docs/AvailabilityZonePeers.md +docs/CheckResourceNameResult.md +docs/CheckZonePeersRequest.md +docs/CheckZonePeersResult.md +docs/CloudError.md +docs/ErrorAdditionalInfo.md +docs/ErrorAdditionalInfo2.md +docs/ErrorDetail.md +docs/ErrorResponse.md +docs/ErrorResponse2.md docs/Location.md docs/LocationListResult.md docs/LocationMetadata.md docs/ManagedByTenant.md docs/Operation.md +docs/Operation2.md +docs/Operation2Display.md docs/OperationDisplay.md docs/OperationListResult.md +docs/OperationListResult2.md docs/OperationsApi.md docs/PairedRegion.md +docs/Peers.md +docs/ResourceName.md docs/Subscription.md docs/SubscriptionListResult.md docs/SubscriptionPolicies.md @@ -21,14 +37,30 @@ src/apis/api_OperationsApi.jl src/apis/api_SubscriptionsApi.jl src/apis/api_TenantsApi.jl src/modelincludes.jl +src/models/model_AvailabilityZoneMappings.jl +src/models/model_AvailabilityZonePeers.jl +src/models/model_CheckResourceNameResult.jl +src/models/model_CheckZonePeersRequest.jl +src/models/model_CheckZonePeersResult.jl +src/models/model_CloudError.jl +src/models/model_ErrorAdditionalInfo.jl +src/models/model_ErrorAdditionalInfo2.jl +src/models/model_ErrorDetail.jl +src/models/model_ErrorResponse.jl +src/models/model_ErrorResponse2.jl src/models/model_Location.jl src/models/model_LocationListResult.jl src/models/model_LocationMetadata.jl src/models/model_ManagedByTenant.jl src/models/model_Operation.jl +src/models/model_Operation2.jl +src/models/model_Operation2Display.jl src/models/model_OperationDisplay.jl src/models/model_OperationListResult.jl +src/models/model_OperationListResult2.jl src/models/model_PairedRegion.jl +src/models/model_Peers.jl +src/models/model_ResourceName.jl src/models/model_Subscription.jl src/models/model_SubscriptionListResult.jl src/models/model_SubscriptionPolicies.jl diff --git a/src/Resource/SubscriptionClient/.openapi-generator/VERSION b/src/Resource/SubscriptionClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Resource/SubscriptionClient/.openapi-generator/VERSION +++ b/src/Resource/SubscriptionClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Resource/SubscriptionClient/README.md b/src/Resource/SubscriptionClient/README.md index e08fdf9..f05d2b0 100644 --- a/src/Resource/SubscriptionClient/README.md +++ b/src/Resource/SubscriptionClient/README.md @@ -5,7 +5,8 @@ All resource groups and resources exist within subscriptions. These operation en ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2020-01-01 +- API version: 2022-12-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -21,22 +22,40 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- *OperationsApi* | [**operations_list**](docs/OperationsApi.md#operations_list)
**GET** /providers/Microsoft.Resources/operations
+*SubscriptionsApi* | [**subscriptions_check_zone_peers**](docs/SubscriptionsApi.md#subscriptions_check_zone_peers)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/
*SubscriptionsApi* | [**subscriptions_get**](docs/SubscriptionsApi.md#subscriptions_get)
**GET** /subscriptions/{subscriptionId}
*SubscriptionsApi* | [**subscriptions_list**](docs/SubscriptionsApi.md#subscriptions_list)
**GET** /subscriptions
*SubscriptionsApi* | [**subscriptions_list_locations**](docs/SubscriptionsApi.md#subscriptions_list_locations)
**GET** /subscriptions/{subscriptionId}/locations
Gets all available geo-locations. +*TenantsApi* | [**check_resource_name**](docs/TenantsApi.md#check_resource_name)
**POST** /providers/Microsoft.Resources/checkResourceName
Checks resource name validity *TenantsApi* | [**tenants_list**](docs/TenantsApi.md#tenants_list)
**GET** /tenants
## Models + - [AvailabilityZoneMappings](docs/AvailabilityZoneMappings.md) + - [AvailabilityZonePeers](docs/AvailabilityZonePeers.md) + - [CheckResourceNameResult](docs/CheckResourceNameResult.md) + - [CheckZonePeersRequest](docs/CheckZonePeersRequest.md) + - [CheckZonePeersResult](docs/CheckZonePeersResult.md) + - [CloudError](docs/CloudError.md) + - [ErrorAdditionalInfo](docs/ErrorAdditionalInfo.md) + - [ErrorAdditionalInfo2](docs/ErrorAdditionalInfo2.md) + - [ErrorDetail](docs/ErrorDetail.md) + - [ErrorResponse](docs/ErrorResponse.md) + - [ErrorResponse2](docs/ErrorResponse2.md) - [Location](docs/Location.md) - [LocationListResult](docs/LocationListResult.md) - [LocationMetadata](docs/LocationMetadata.md) - [ManagedByTenant](docs/ManagedByTenant.md) - [Operation](docs/Operation.md) + - [Operation2](docs/Operation2.md) + - [Operation2Display](docs/Operation2Display.md) - [OperationDisplay](docs/OperationDisplay.md) - [OperationListResult](docs/OperationListResult.md) + - [OperationListResult2](docs/OperationListResult2.md) - [PairedRegion](docs/PairedRegion.md) + - [Peers](docs/Peers.md) + - [ResourceName](docs/ResourceName.md) - [Subscription](docs/Subscription.md) - [SubscriptionListResult](docs/SubscriptionListResult.md) - [SubscriptionPolicies](docs/SubscriptionPolicies.md) @@ -44,9 +63,12 @@ Class | Method - [TenantListResult](docs/TenantListResult.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Resource/SubscriptionClient/docs/AvailabilityZoneMappings.md b/src/Resource/SubscriptionClient/docs/AvailabilityZoneMappings.md new file mode 100644 index 0000000..5590423 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/AvailabilityZoneMappings.md @@ -0,0 +1,13 @@ +# AvailabilityZoneMappings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**logicalZone** | **String** | The logical zone id for the availability zone | [optional] [readonly] [default to nothing] +**physicalZone** | **String** | The fully qualified physical zone id of availability zone to which logical zone id is mapped to | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/AvailabilityZonePeers.md b/src/Resource/SubscriptionClient/docs/AvailabilityZonePeers.md new file mode 100644 index 0000000..53ce83a --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/AvailabilityZonePeers.md @@ -0,0 +1,13 @@ +# AvailabilityZonePeers + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**availabilityZone** | **String** | The availabilityZone. | [optional] [readonly] [default to nothing] +**peers** | [**Vector{Peers}**](Peers.md) | Details of shared availability zone. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/CheckResourceNameResult.md b/src/Resource/SubscriptionClient/docs/CheckResourceNameResult.md new file mode 100644 index 0000000..f09d8c0 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/CheckResourceNameResult.md @@ -0,0 +1,14 @@ +# CheckResourceNameResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of Resource | [optional] [default to nothing] +**type** | **String** | Type of Resource | [optional] [default to nothing] +**status** | **String** | Is the resource name Allowed or Reserved | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/CheckZonePeersRequest.md b/src/Resource/SubscriptionClient/docs/CheckZonePeersRequest.md new file mode 100644 index 0000000..d177298 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/CheckZonePeersRequest.md @@ -0,0 +1,13 @@ +# CheckZonePeersRequest + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **String** | The Microsoft location. | [optional] [default to nothing] +**subscriptionIds** | **Vector{String}** | The peer Microsoft Azure subscription ID. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/CheckZonePeersResult.md b/src/Resource/SubscriptionClient/docs/CheckZonePeersResult.md new file mode 100644 index 0000000..5314902 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/CheckZonePeersResult.md @@ -0,0 +1,14 @@ +# CheckZonePeersResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptionId** | **String** | The subscription ID. | [optional] [readonly] [default to nothing] +**location** | **String** | the location of the subscription. | [optional] [default to nothing] +**availabilityZonePeers** | [**Vector{AvailabilityZonePeers}**](AvailabilityZonePeers.md) | The Availability Zones shared by the subscriptions. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/CloudError.md b/src/Resource/SubscriptionClient/docs/CloudError.md new file mode 100644 index 0000000..ca53419 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/CloudError.md @@ -0,0 +1,12 @@ +# CloudError + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***ErrorResponse2**](ErrorResponse2.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/ErrorAdditionalInfo.md b/src/Resource/SubscriptionClient/docs/ErrorAdditionalInfo.md new file mode 100644 index 0000000..73141a3 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/ErrorAdditionalInfo.md @@ -0,0 +1,13 @@ +# ErrorAdditionalInfo + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The additional info type. | [optional] [readonly] [default to nothing] +**info** | **Any** | The additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/ErrorAdditionalInfo2.md b/src/Resource/SubscriptionClient/docs/ErrorAdditionalInfo2.md new file mode 100644 index 0000000..3025717 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/ErrorAdditionalInfo2.md @@ -0,0 +1,13 @@ +# ErrorAdditionalInfo2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The additional info type. | [optional] [readonly] [default to nothing] +**info** | **Any** | The additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/ErrorDetail.md b/src/Resource/SubscriptionClient/docs/ErrorDetail.md new file mode 100644 index 0000000..40b8a90 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/ErrorDetail.md @@ -0,0 +1,16 @@ +# ErrorDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{ErrorDetail}**](ErrorDetail.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/ErrorResponse.md b/src/Resource/SubscriptionClient/docs/ErrorResponse.md new file mode 100644 index 0000000..11650bb --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/ErrorResponse.md @@ -0,0 +1,12 @@ +# ErrorResponse + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***ErrorDetail**](ErrorDetail.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/ErrorResponse2.md b/src/Resource/SubscriptionClient/docs/ErrorResponse2.md new file mode 100644 index 0000000..98ea3fe --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/ErrorResponse2.md @@ -0,0 +1,16 @@ +# ErrorResponse2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{ErrorResponse2}**](ErrorResponse2.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{ErrorAdditionalInfo2}**](ErrorAdditionalInfo2.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/Location.md b/src/Resource/SubscriptionClient/docs/Location.md index aa2640b..343acf1 100644 --- a/src/Resource/SubscriptionClient/docs/Location.md +++ b/src/Resource/SubscriptionClient/docs/Location.md @@ -4,12 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. | [optional] [readonly] [default to nothing] +**id** | **String** | The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus. | [optional] [readonly] [default to nothing] **subscriptionId** | **String** | The subscription ID. | [optional] [readonly] [default to nothing] **name** | **String** | The location name. | [optional] [readonly] [default to nothing] +**type** | **String** | The location type. | [optional] [readonly] [default to nothing] **displayName** | **String** | The display name of the location. | [optional] [readonly] [default to nothing] **regionalDisplayName** | **String** | The display name of the location and its region. | [optional] [readonly] [default to nothing] **metadata** | [***LocationMetadata**](LocationMetadata.md) | | [optional] [default to nothing] +**availabilityZoneMappings** | [**Vector{AvailabilityZoneMappings}**](AvailabilityZoneMappings.md) | The availability zone mappings for this region. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/SubscriptionClient/docs/LocationMetadata.md b/src/Resource/SubscriptionClient/docs/LocationMetadata.md index f6c9203..514f59c 100644 --- a/src/Resource/SubscriptionClient/docs/LocationMetadata.md +++ b/src/Resource/SubscriptionClient/docs/LocationMetadata.md @@ -6,11 +6,13 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **regionType** | **String** | The type of the region. | [optional] [readonly] [default to nothing] **regionCategory** | **String** | The category of the region. | [optional] [readonly] [default to nothing] +**geography** | **String** | The geography of the location. | [optional] [readonly] [default to nothing] **geographyGroup** | **String** | The geography group of the location. | [optional] [readonly] [default to nothing] **longitude** | **String** | The longitude of the location. | [optional] [readonly] [default to nothing] **latitude** | **String** | The latitude of the location. | [optional] [readonly] [default to nothing] **physicalLocation** | **String** | The physical location of the Azure location. | [optional] [readonly] [default to nothing] **pairedRegion** | [**Vector{PairedRegion}**](PairedRegion.md) | The regions paired to this region. | [optional] [default to nothing] +**homeLocation** | **String** | The home location of an edge zone. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/SubscriptionClient/docs/Operation.md b/src/Resource/SubscriptionClient/docs/Operation.md index 4d2b9ef..e943258 100644 --- a/src/Resource/SubscriptionClient/docs/Operation.md +++ b/src/Resource/SubscriptionClient/docs/Operation.md @@ -5,7 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | Operation name: {provider}/{resource}/{operation} | [optional] [default to nothing] +**isDataAction** | **Bool** | Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations. | [optional] [readonly] [default to nothing] **display** | [***OperationDisplay**](OperationDisplay.md) | | [optional] [default to nothing] +**origin** | **String** | The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" | [optional] [readonly] [default to nothing] +**actionType** | **String** | Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/SubscriptionClient/docs/Operation2.md b/src/Resource/SubscriptionClient/docs/Operation2.md new file mode 100644 index 0000000..7a208ee --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/Operation2.md @@ -0,0 +1,16 @@ +# Operation2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" | [optional] [readonly] [default to nothing] +**isDataAction** | **Bool** | Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations. | [optional] [readonly] [default to nothing] +**display** | [***Operation2Display**](Operation2Display.md) | | [optional] [default to nothing] +**origin** | **String** | The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" | [optional] [readonly] [default to nothing] +**actionType** | **String** | Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/Operation2Display.md b/src/Resource/SubscriptionClient/docs/Operation2Display.md new file mode 100644 index 0000000..1f03968 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/Operation2Display.md @@ -0,0 +1,15 @@ +# Operation2Display + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**provider** | **String** | The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". | [optional] [readonly] [default to nothing] +**resource** | **String** | The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". | [optional] [readonly] [default to nothing] +**operation** | **String** | The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". | [optional] [readonly] [default to nothing] +**description** | **String** | The short, localized friendly description of the operation; suitable for tool tips and detailed views. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/OperationListResult.md b/src/Resource/SubscriptionClient/docs/OperationListResult.md index 4c32a37..706b0a4 100644 --- a/src/Resource/SubscriptionClient/docs/OperationListResult.md +++ b/src/Resource/SubscriptionClient/docs/OperationListResult.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | [**Vector{Operation}**](Operation.md) | List of Microsoft.Resources operations. | [optional] [default to nothing] -**nextLink** | **String** | URL to get the next set of operation list results if there are any. | [optional] [default to nothing] +**value** | [**Vector{Operation}**](Operation.md) | List of operations supported by the resource provider | [optional] [default to nothing] +**nextLink** | **String** | URL to get the next set of operation list results (if there are any). | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Resource/SubscriptionClient/docs/OperationListResult2.md b/src/Resource/SubscriptionClient/docs/OperationListResult2.md new file mode 100644 index 0000000..640f490 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/OperationListResult2.md @@ -0,0 +1,13 @@ +# OperationListResult2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{Operation2}**](Operation2.md) | List of operations supported by the resource provider | [optional] [readonly] [default to nothing] +**nextLink** | **String** | URL to get the next set of operation list results (if there are any). | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/OperationsApi.md b/src/Resource/SubscriptionClient/docs/OperationsApi.md index b56994d..2baabd2 100644 --- a/src/Resource/SubscriptionClient/docs/OperationsApi.md +++ b/src/Resource/SubscriptionClient/docs/OperationsApi.md @@ -8,8 +8,8 @@ Method | HTTP request | Description # **operations_list** -> operations_list(_api::OperationsApi, api_version::String; _mediaType=nothing) -> OperationListResult, OpenAPI.Clients.ApiResponse
-> operations_list(_api::OperationsApi, response_stream::Channel, api_version::String; _mediaType=nothing) -> Channel{ OperationListResult }, OpenAPI.Clients.ApiResponse +> operations_list(_api::OperationsApi, api_version::String; _mediaType=nothing) -> OperationListResult2, OpenAPI.Clients.ApiResponse
+> operations_list(_api::OperationsApi, response_stream::Channel, api_version::String; _mediaType=nothing) -> Channel{ OperationListResult2 }, OpenAPI.Clients.ApiResponse @@ -20,11 +20,11 @@ Lists all of the available Microsoft.Resources REST API operations. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **OperationsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | ### Return type -[**OperationListResult**](OperationListResult.md) +[**OperationListResult2**](OperationListResult2.md) ### Authorization diff --git a/src/Resource/SubscriptionClient/docs/PairedRegion.md b/src/Resource/SubscriptionClient/docs/PairedRegion.md index c8d3028..cc5b855 100644 --- a/src/Resource/SubscriptionClient/docs/PairedRegion.md +++ b/src/Resource/SubscriptionClient/docs/PairedRegion.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **String** | The name of the paired region. | [optional] [readonly] [default to nothing] -**id** | **String** | The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. | [optional] [readonly] [default to nothing] +**id** | **String** | The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus. | [optional] [readonly] [default to nothing] **subscriptionId** | **String** | The subscription ID. | [optional] [readonly] [default to nothing] diff --git a/src/Resource/SubscriptionClient/docs/Peers.md b/src/Resource/SubscriptionClient/docs/Peers.md new file mode 100644 index 0000000..64d011f --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/Peers.md @@ -0,0 +1,13 @@ +# Peers + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**subscriptionId** | **String** | The subscription ID. | [optional] [readonly] [default to nothing] +**availabilityZone** | **String** | The availabilityZone. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/ResourceName.md b/src/Resource/SubscriptionClient/docs/ResourceName.md new file mode 100644 index 0000000..6a71cd7 --- /dev/null +++ b/src/Resource/SubscriptionClient/docs/ResourceName.md @@ -0,0 +1,13 @@ +# ResourceName + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | Name of the resource | [default to nothing] +**type** | **String** | The type of the resource | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Resource/SubscriptionClient/docs/Subscription.md b/src/Resource/SubscriptionClient/docs/Subscription.md index ad92b8d..b298466 100644 --- a/src/Resource/SubscriptionClient/docs/Subscription.md +++ b/src/Resource/SubscriptionClient/docs/Subscription.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000. | [optional] [readonly] [default to nothing] +**id** | **String** | The fully qualified ID for the subscription. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74 | [optional] [readonly] [default to nothing] **subscriptionId** | **String** | The subscription ID. | [optional] [readonly] [default to nothing] **displayName** | **String** | The subscription display name. | [optional] [readonly] [default to nothing] **tenantId** | **String** | The subscription tenant ID. | [optional] [readonly] [default to nothing] diff --git a/src/Resource/SubscriptionClient/docs/SubscriptionsApi.md b/src/Resource/SubscriptionClient/docs/SubscriptionsApi.md index 51bb8fd..cc22c1f 100644 --- a/src/Resource/SubscriptionClient/docs/SubscriptionsApi.md +++ b/src/Resource/SubscriptionClient/docs/SubscriptionsApi.md @@ -4,11 +4,44 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**subscriptions_check_zone_peers**](SubscriptionsApi.md#subscriptions_check_zone_peers) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/ | [**subscriptions_get**](SubscriptionsApi.md#subscriptions_get) | **GET** /subscriptions/{subscriptionId} | [**subscriptions_list**](SubscriptionsApi.md#subscriptions_list) | **GET** /subscriptions | [**subscriptions_list_locations**](SubscriptionsApi.md#subscriptions_list_locations) | **GET** /subscriptions/{subscriptionId}/locations | Gets all available geo-locations. +# **subscriptions_check_zone_peers** +> subscriptions_check_zone_peers(_api::SubscriptionsApi, subscription_id::String, api_version::String, parameters::CheckZonePeersRequest; _mediaType=nothing) -> CheckZonePeersResult, OpenAPI.Clients.ApiResponse
+> subscriptions_check_zone_peers(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String, parameters::CheckZonePeersRequest; _mediaType=nothing) -> Channel{ CheckZonePeersResult }, OpenAPI.Clients.ApiResponse + + + +Compares a subscriptions logical zone mapping + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **SubscriptionsApi** | API context | +**subscription_id** | **String** | The ID of the target subscription. | +**api_version** | **String** | The API version to use for this operation. | +**parameters** | [**CheckZonePeersRequest**](CheckZonePeersRequest.md) | Parameters for checking zone peers. | + +### Return type + +[**CheckZonePeersResult**](CheckZonePeersResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **subscriptions_get** > subscriptions_get(_api::SubscriptionsApi, subscription_id::String, api_version::String; _mediaType=nothing) -> Subscription, OpenAPI.Clients.ApiResponse
> subscriptions_get(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) -> Channel{ Subscription }, OpenAPI.Clients.ApiResponse @@ -22,8 +55,8 @@ Gets details about a specified subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubscriptionsApi** | API context | -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. | +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -53,7 +86,7 @@ Gets all subscriptions for a tenant. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubscriptionsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | ### Return type @@ -71,8 +104,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **subscriptions_list_locations** -> subscriptions_list_locations(_api::SubscriptionsApi, subscription_id::String, api_version::String; _mediaType=nothing) -> LocationListResult, OpenAPI.Clients.ApiResponse
-> subscriptions_list_locations(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) -> Channel{ LocationListResult }, OpenAPI.Clients.ApiResponse +> subscriptions_list_locations(_api::SubscriptionsApi, subscription_id::String, api_version::String; include_extended_locations=nothing, _mediaType=nothing) -> LocationListResult, OpenAPI.Clients.ApiResponse
+> subscriptions_list_locations(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String; include_extended_locations=nothing, _mediaType=nothing) -> Channel{ LocationListResult }, OpenAPI.Clients.ApiResponse Gets all available geo-locations. @@ -83,8 +116,14 @@ This operation provides all the locations that are available for resource provid Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SubscriptionsApi** | API context | -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**subscription_id** | **String** | The ID of the target subscription. | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **include_extended_locations** | **Bool** | Whether to include extended locations. | [default to nothing] ### Return type diff --git a/src/Resource/SubscriptionClient/docs/TenantIdDescription.md b/src/Resource/SubscriptionClient/docs/TenantIdDescription.md index aee1767..16dc9e2 100644 --- a/src/Resource/SubscriptionClient/docs/TenantIdDescription.md +++ b/src/Resource/SubscriptionClient/docs/TenantIdDescription.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000. | [optional] [readonly] [default to nothing] -**tenantId** | **String** | The tenant ID. For example, 00000000-0000-0000-0000-000000000000. | [optional] [readonly] [default to nothing] +**id** | **String** | The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74 | [optional] [readonly] [default to nothing] +**tenantId** | **String** | The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74 | [optional] [readonly] [default to nothing] **tenantCategory** | **String** | Category of the tenant. | [optional] [readonly] [default to nothing] **country** | **String** | Country/region name of the address for the tenant. | [optional] [readonly] [default to nothing] **countryCode** | **String** | Country/region abbreviation for the tenant. | [optional] [readonly] [default to nothing] diff --git a/src/Resource/SubscriptionClient/docs/TenantsApi.md b/src/Resource/SubscriptionClient/docs/TenantsApi.md index 621565c..b48c378 100644 --- a/src/Resource/SubscriptionClient/docs/TenantsApi.md +++ b/src/Resource/SubscriptionClient/docs/TenantsApi.md @@ -4,9 +4,46 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**check_resource_name**](TenantsApi.md#check_resource_name) | **POST** /providers/Microsoft.Resources/checkResourceName | Checks resource name validity [**tenants_list**](TenantsApi.md#tenants_list) | **GET** /tenants | +# **check_resource_name** +> check_resource_name(_api::TenantsApi, api_version::String; resource_name_definition=nothing, _mediaType=nothing) -> CheckResourceNameResult, OpenAPI.Clients.ApiResponse
+> check_resource_name(_api::TenantsApi, response_stream::Channel, api_version::String; resource_name_definition=nothing, _mediaType=nothing) -> Channel{ CheckResourceNameResult }, OpenAPI.Clients.ApiResponse + +Checks resource name validity + +A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **TenantsApi** | API context | +**api_version** | **String** | The API version to use for this operation. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **resource_name_definition** | [**ResourceName**](ResourceName.md) | Resource object with values for resource name and resource type | + +### Return type + +[**CheckResourceNameResult**](CheckResourceNameResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **tenants_list** > tenants_list(_api::TenantsApi, api_version::String; _mediaType=nothing) -> TenantListResult, OpenAPI.Clients.ApiResponse
> tenants_list(_api::TenantsApi, response_stream::Channel, api_version::String; _mediaType=nothing) -> Channel{ TenantListResult }, OpenAPI.Clients.ApiResponse @@ -20,7 +57,7 @@ Gets the tenants for your account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **TenantsApi** | API context | -**api_version** | **String**| The API version to use for the operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | ### Return type diff --git a/src/Resource/SubscriptionClient/src/SubscriptionClient.jl b/src/Resource/SubscriptionClient/src/SubscriptionClient.jl index 0e77f25..74398e9 100644 --- a/src/Resource/SubscriptionClient/src/SubscriptionClient.jl +++ b/src/Resource/SubscriptionClient/src/SubscriptionClient.jl @@ -7,7 +7,7 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2020-01-01" +const API_VERSION = "2022-12-01" include("modelincludes.jl") diff --git a/src/Resource/SubscriptionClient/src/apis/api_OperationsApi.jl b/src/Resource/SubscriptionClient/src/apis/api_OperationsApi.jl index 2aaba64..2da64f9 100644 --- a/src/Resource/SubscriptionClient/src/apis/api_OperationsApi.jl +++ b/src/Resource/SubscriptionClient/src/apis/api_OperationsApi.jl @@ -12,12 +12,15 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. basepath(::Type{ OperationsApi }) = "https://management.azure.com" const _returntypes_operations_list_OperationsApi = Dict{Regex,Type}( - Regex("^" * replace("200", "x"=>".") * "\$") => OperationListResult, + Regex("^" * replace("200", "x"=>".") * "\$") => OperationListResult2, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_operations_list(_api::OperationsApi, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "operations_list", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_operations_list_OperationsApi, "/providers/Microsoft.Resources/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -28,7 +31,7 @@ end Params: - api_version::String (required) -Return: OperationListResult, OpenAPI.Clients.ApiResponse +Return: OperationListResult2, OpenAPI.Clients.ApiResponse """ function operations_list(_api::OperationsApi, api_version::String; _mediaType=nothing) _ctx = _oacinternal_operations_list(_api, api_version; _mediaType=_mediaType) diff --git a/src/Resource/SubscriptionClient/src/apis/api_SubscriptionsApi.jl b/src/Resource/SubscriptionClient/src/apis/api_SubscriptionsApi.jl index aae40d8..e1b4df9 100644 --- a/src/Resource/SubscriptionClient/src/apis/api_SubscriptionsApi.jl +++ b/src/Resource/SubscriptionClient/src/apis/api_SubscriptionsApi.jl @@ -11,14 +11,52 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. """ basepath(::Type{ SubscriptionsApi }) = "https://management.azure.com" +const _returntypes_subscriptions_check_zone_peers_SubscriptionsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CheckZonePeersResult, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_subscriptions_check_zone_peers(_api::SubscriptionsApi, subscription_id::String, api_version::String, parameters::CheckZonePeersRequest; _mediaType=nothing) + OpenAPI.validate_param("api_version", "subscriptions_check_zone_peers", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_subscriptions_check_zone_peers_SubscriptionsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Resources/checkZonePeers/", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Compares a subscriptions logical zone mapping + +Params: +- subscription_id::String (required) +- api_version::String (required) +- parameters::CheckZonePeersRequest (required) + +Return: CheckZonePeersResult, OpenAPI.Clients.ApiResponse +""" +function subscriptions_check_zone_peers(_api::SubscriptionsApi, subscription_id::String, api_version::String, parameters::CheckZonePeersRequest; _mediaType=nothing) + _ctx = _oacinternal_subscriptions_check_zone_peers(_api, subscription_id, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function subscriptions_check_zone_peers(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String, parameters::CheckZonePeersRequest; _mediaType=nothing) + _ctx = _oacinternal_subscriptions_check_zone_peers(_api, subscription_id, api_version, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_subscriptions_get_SubscriptionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => Subscription, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_subscriptions_get(_api::SubscriptionsApi, subscription_id::String, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "subscriptions_get", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_subscriptions_get_SubscriptionsApi, "/subscriptions/{subscriptionId}", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -44,11 +82,14 @@ end const _returntypes_subscriptions_list_SubscriptionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => SubscriptionListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_subscriptions_list(_api::SubscriptionsApi, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "subscriptions_list", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_subscriptions_list_SubscriptionsApi, "/subscriptions", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -73,12 +114,16 @@ end const _returntypes_subscriptions_list_locations_SubscriptionsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => LocationListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) -function _oacinternal_subscriptions_list_locations(_api::SubscriptionsApi, subscription_id::String, api_version::String; _mediaType=nothing) +function _oacinternal_subscriptions_list_locations(_api::SubscriptionsApi, subscription_id::String, api_version::String; include_extended_locations=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "subscriptions_list_locations", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_subscriptions_list_locations_SubscriptionsApi, "/subscriptions/{subscriptionId}/locations", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "includeExtendedLocations", include_extended_locations; style="", is_explode=false) # type Bool OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -91,19 +136,21 @@ This operation provides all the locations that are available for resource provid Params: - subscription_id::String (required) - api_version::String (required) +- include_extended_locations::Bool Return: LocationListResult, OpenAPI.Clients.ApiResponse """ -function subscriptions_list_locations(_api::SubscriptionsApi, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_subscriptions_list_locations(_api, subscription_id, api_version; _mediaType=_mediaType) +function subscriptions_list_locations(_api::SubscriptionsApi, subscription_id::String, api_version::String; include_extended_locations=nothing, _mediaType=nothing) + _ctx = _oacinternal_subscriptions_list_locations(_api, subscription_id, api_version; include_extended_locations=include_extended_locations, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function subscriptions_list_locations(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String; _mediaType=nothing) - _ctx = _oacinternal_subscriptions_list_locations(_api, subscription_id, api_version; _mediaType=_mediaType) +function subscriptions_list_locations(_api::SubscriptionsApi, response_stream::Channel, subscription_id::String, api_version::String; include_extended_locations=nothing, _mediaType=nothing) + _ctx = _oacinternal_subscriptions_list_locations(_api, subscription_id, api_version; include_extended_locations=include_extended_locations, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end +export subscriptions_check_zone_peers export subscriptions_get export subscriptions_list export subscriptions_list_locations diff --git a/src/Resource/SubscriptionClient/src/apis/api_TenantsApi.jl b/src/Resource/SubscriptionClient/src/apis/api_TenantsApi.jl index ca59482..a1c50fd 100644 --- a/src/Resource/SubscriptionClient/src/apis/api_TenantsApi.jl +++ b/src/Resource/SubscriptionClient/src/apis/api_TenantsApi.jl @@ -11,13 +11,51 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. """ basepath(::Type{ TenantsApi }) = "https://management.azure.com" +const _returntypes_check_resource_name_TenantsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => CheckResourceNameResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_check_resource_name(_api::TenantsApi, api_version::String; resource_name_definition=nothing, _mediaType=nothing) + OpenAPI.validate_param("api_version", "check_resource_name", :minLength, api_version, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_check_resource_name_TenantsApi, "/providers/Microsoft.Resources/checkResourceName", ["azure_auth", ], resource_name_definition) + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Checks resource name validity + +A resource name is valid if it is not a reserved word, does not contains a reserved word and does not start with a reserved word + +Params: +- api_version::String (required) +- resource_name_definition::ResourceName + +Return: CheckResourceNameResult, OpenAPI.Clients.ApiResponse +""" +function check_resource_name(_api::TenantsApi, api_version::String; resource_name_definition=nothing, _mediaType=nothing) + _ctx = _oacinternal_check_resource_name(_api, api_version; resource_name_definition=resource_name_definition, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function check_resource_name(_api::TenantsApi, response_stream::Channel, api_version::String; resource_name_definition=nothing, _mediaType=nothing) + _ctx = _oacinternal_check_resource_name(_api, api_version; resource_name_definition=resource_name_definition, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_tenants_list_TenantsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => TenantListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, ) function _oacinternal_tenants_list(_api::TenantsApi, api_version::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "tenants_list", :minLength, api_version, 1) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_tenants_list_TenantsApi, "/tenants", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -40,4 +78,5 @@ function tenants_list(_api::TenantsApi, response_stream::Channel, api_version::S return OpenAPI.Clients.exec(_ctx, response_stream) end +export check_resource_name export tenants_list diff --git a/src/Resource/SubscriptionClient/src/modelincludes.jl b/src/Resource/SubscriptionClient/src/modelincludes.jl index 7e0b29c..b209966 100644 --- a/src/Resource/SubscriptionClient/src/modelincludes.jl +++ b/src/Resource/SubscriptionClient/src/modelincludes.jl @@ -1,14 +1,30 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. +include("models/model_AvailabilityZoneMappings.jl") +include("models/model_AvailabilityZonePeers.jl") +include("models/model_CheckResourceNameResult.jl") +include("models/model_CheckZonePeersRequest.jl") +include("models/model_CheckZonePeersResult.jl") +include("models/model_CloudError.jl") +include("models/model_ErrorAdditionalInfo.jl") +include("models/model_ErrorAdditionalInfo2.jl") +include("models/model_ErrorDetail.jl") +include("models/model_ErrorResponse.jl") +include("models/model_ErrorResponse2.jl") include("models/model_Location.jl") include("models/model_LocationListResult.jl") include("models/model_LocationMetadata.jl") include("models/model_ManagedByTenant.jl") include("models/model_Operation.jl") +include("models/model_Operation2.jl") +include("models/model_Operation2Display.jl") include("models/model_OperationDisplay.jl") include("models/model_OperationListResult.jl") +include("models/model_OperationListResult2.jl") include("models/model_PairedRegion.jl") +include("models/model_Peers.jl") +include("models/model_ResourceName.jl") include("models/model_Subscription.jl") include("models/model_SubscriptionListResult.jl") include("models/model_SubscriptionPolicies.jl") diff --git a/src/Resource/SubscriptionClient/src/models/model_AvailabilityZoneMappings.jl b/src/Resource/SubscriptionClient/src/models/model_AvailabilityZoneMappings.jl new file mode 100644 index 0000000..4b42d27 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_AvailabilityZoneMappings.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AvailabilityZoneMappings +Availability zone mappings for the region + + AvailabilityZoneMappings(; + logicalZone=nothing, + physicalZone=nothing, + ) + + - logicalZone::String : The logical zone id for the availability zone + - physicalZone::String : The fully qualified physical zone id of availability zone to which logical zone id is mapped to +""" +Base.@kwdef mutable struct AvailabilityZoneMappings <: OpenAPI.APIModel + logicalZone::Union{Nothing, String} = nothing + physicalZone::Union{Nothing, String} = nothing + + function AvailabilityZoneMappings(logicalZone, physicalZone, ) + o = new(logicalZone, physicalZone, ) + OpenAPI.validate_properties(o) + return o + end +end # type AvailabilityZoneMappings + +const _property_types_AvailabilityZoneMappings = Dict{Symbol,String}(Symbol("logicalZone")=>"String", Symbol("physicalZone")=>"String", ) +OpenAPI.property_type(::Type{ AvailabilityZoneMappings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilityZoneMappings[name]))} + +function OpenAPI.check_required(o::AvailabilityZoneMappings) + true +end + +function OpenAPI.validate_properties(o::AvailabilityZoneMappings) + OpenAPI.validate_property(AvailabilityZoneMappings, Symbol("logicalZone"), o.logicalZone) + OpenAPI.validate_property(AvailabilityZoneMappings, Symbol("physicalZone"), o.physicalZone) +end + +function OpenAPI.validate_property(::Type{ AvailabilityZoneMappings }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_AvailabilityZonePeers.jl b/src/Resource/SubscriptionClient/src/models/model_AvailabilityZonePeers.jl new file mode 100644 index 0000000..88e9d39 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_AvailabilityZonePeers.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AvailabilityZonePeers +List of availability zones shared by the subscriptions. + + AvailabilityZonePeers(; + availabilityZone=nothing, + peers=nothing, + ) + + - availabilityZone::String : The availabilityZone. + - peers::Vector{Peers} : Details of shared availability zone. +""" +Base.@kwdef mutable struct AvailabilityZonePeers <: OpenAPI.APIModel + availabilityZone::Union{Nothing, String} = nothing + peers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Peers} } + + function AvailabilityZonePeers(availabilityZone, peers, ) + o = new(availabilityZone, peers, ) + OpenAPI.validate_properties(o) + return o + end +end # type AvailabilityZonePeers + +const _property_types_AvailabilityZonePeers = Dict{Symbol,String}(Symbol("availabilityZone")=>"String", Symbol("peers")=>"Vector{Peers}", ) +OpenAPI.property_type(::Type{ AvailabilityZonePeers }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AvailabilityZonePeers[name]))} + +function OpenAPI.check_required(o::AvailabilityZonePeers) + true +end + +function OpenAPI.validate_properties(o::AvailabilityZonePeers) + OpenAPI.validate_property(AvailabilityZonePeers, Symbol("availabilityZone"), o.availabilityZone) + OpenAPI.validate_property(AvailabilityZonePeers, Symbol("peers"), o.peers) +end + +function OpenAPI.validate_property(::Type{ AvailabilityZonePeers }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_CheckResourceNameResult.jl b/src/Resource/SubscriptionClient/src/models/model_CheckResourceNameResult.jl new file mode 100644 index 0000000..994153a --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_CheckResourceNameResult.jl @@ -0,0 +1,51 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CheckResourceNameResult +Resource Name valid if not a reserved word, does not contain a reserved word and does not start with a reserved word + + CheckResourceNameResult(; + name=nothing, + type=nothing, + status=nothing, + ) + + - name::String : Name of Resource + - type::String : Type of Resource + - status::String : Is the resource name Allowed or Reserved +""" +Base.@kwdef mutable struct CheckResourceNameResult <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + status::Union{Nothing, String} = nothing + + function CheckResourceNameResult(name, type, status, ) + o = new(name, type, status, ) + OpenAPI.validate_properties(o) + return o + end +end # type CheckResourceNameResult + +const _property_types_CheckResourceNameResult = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", Symbol("status")=>"String", ) +OpenAPI.property_type(::Type{ CheckResourceNameResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CheckResourceNameResult[name]))} + +function OpenAPI.check_required(o::CheckResourceNameResult) + true +end + +function OpenAPI.validate_properties(o::CheckResourceNameResult) + OpenAPI.validate_property(CheckResourceNameResult, Symbol("name"), o.name) + OpenAPI.validate_property(CheckResourceNameResult, Symbol("type"), o.type) + OpenAPI.validate_property(CheckResourceNameResult, Symbol("status"), o.status) +end + +function OpenAPI.validate_property(::Type{ CheckResourceNameResult }, name::Symbol, val) + + + + if name === Symbol("status") + OpenAPI.validate_param(name, "CheckResourceNameResult", :enum, val, ["Allowed", "Reserved"]) + end + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_CheckZonePeersRequest.jl b/src/Resource/SubscriptionClient/src/models/model_CheckZonePeersRequest.jl new file mode 100644 index 0000000..0b445e9 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_CheckZonePeersRequest.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CheckZonePeersRequest +Check zone peers request parameters. + + CheckZonePeersRequest(; + location=nothing, + subscriptionIds=nothing, + ) + + - location::String : The Microsoft location. + - subscriptionIds::Vector{String} : The peer Microsoft Azure subscription ID. +""" +Base.@kwdef mutable struct CheckZonePeersRequest <: OpenAPI.APIModel + location::Union{Nothing, String} = nothing + subscriptionIds::Union{Nothing, Vector{String}} = nothing + + function CheckZonePeersRequest(location, subscriptionIds, ) + o = new(location, subscriptionIds, ) + OpenAPI.validate_properties(o) + return o + end +end # type CheckZonePeersRequest + +const _property_types_CheckZonePeersRequest = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("subscriptionIds")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ CheckZonePeersRequest }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CheckZonePeersRequest[name]))} + +function OpenAPI.check_required(o::CheckZonePeersRequest) + true +end + +function OpenAPI.validate_properties(o::CheckZonePeersRequest) + OpenAPI.validate_property(CheckZonePeersRequest, Symbol("location"), o.location) + OpenAPI.validate_property(CheckZonePeersRequest, Symbol("subscriptionIds"), o.subscriptionIds) +end + +function OpenAPI.validate_property(::Type{ CheckZonePeersRequest }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_CheckZonePeersResult.jl b/src/Resource/SubscriptionClient/src/models/model_CheckZonePeersResult.jl new file mode 100644 index 0000000..9ebb973 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_CheckZonePeersResult.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CheckZonePeersResult +Result of the Check zone peers operation. + + CheckZonePeersResult(; + subscriptionId=nothing, + location=nothing, + availabilityZonePeers=nothing, + ) + + - subscriptionId::String : The subscription ID. + - location::String : the location of the subscription. + - availabilityZonePeers::Vector{AvailabilityZonePeers} : The Availability Zones shared by the subscriptions. +""" +Base.@kwdef mutable struct CheckZonePeersResult <: OpenAPI.APIModel + subscriptionId::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + availabilityZonePeers::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AvailabilityZonePeers} } + + function CheckZonePeersResult(subscriptionId, location, availabilityZonePeers, ) + o = new(subscriptionId, location, availabilityZonePeers, ) + OpenAPI.validate_properties(o) + return o + end +end # type CheckZonePeersResult + +const _property_types_CheckZonePeersResult = Dict{Symbol,String}(Symbol("subscriptionId")=>"String", Symbol("location")=>"String", Symbol("availabilityZonePeers")=>"Vector{AvailabilityZonePeers}", ) +OpenAPI.property_type(::Type{ CheckZonePeersResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CheckZonePeersResult[name]))} + +function OpenAPI.check_required(o::CheckZonePeersResult) + true +end + +function OpenAPI.validate_properties(o::CheckZonePeersResult) + OpenAPI.validate_property(CheckZonePeersResult, Symbol("subscriptionId"), o.subscriptionId) + OpenAPI.validate_property(CheckZonePeersResult, Symbol("location"), o.location) + OpenAPI.validate_property(CheckZonePeersResult, Symbol("availabilityZonePeers"), o.availabilityZonePeers) +end + +function OpenAPI.validate_property(::Type{ CheckZonePeersResult }, name::Symbol, val) + + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_CloudError.jl b/src/Resource/SubscriptionClient/src/models/model_CloudError.jl new file mode 100644 index 0000000..77ef8d7 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_CloudError.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CloudError +An error response for a resource management request. + + CloudError(; + error=nothing, + ) + + - error::ErrorResponse2 +""" +Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, ErrorResponse2 } + + function CloudError(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type CloudError + +const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"ErrorResponse2", ) +OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} + +function OpenAPI.check_required(o::CloudError) + true +end + +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_ErrorAdditionalInfo.jl b/src/Resource/SubscriptionClient/src/models/model_ErrorAdditionalInfo.jl new file mode 100644 index 0000000..134690a --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_ErrorAdditionalInfo.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorAdditionalInfo +The resource management error additional info. + + ErrorAdditionalInfo(; + type=nothing, + info=nothing, + ) + + - type::String : The additional info type. + - info::Any : The additional info. +""" +Base.@kwdef mutable struct ErrorAdditionalInfo <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + info::Union{Nothing, Any} = nothing + + function ErrorAdditionalInfo(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorAdditionalInfo + +const _property_types_ErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) +OpenAPI.property_type(::Type{ ErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo[name]))} + +function OpenAPI.check_required(o::ErrorAdditionalInfo) + true +end + +function OpenAPI.validate_properties(o::ErrorAdditionalInfo) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), o.info) +end + +function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_ErrorAdditionalInfo2.jl b/src/Resource/SubscriptionClient/src/models/model_ErrorAdditionalInfo2.jl new file mode 100644 index 0000000..9ea6edf --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_ErrorAdditionalInfo2.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorAdditionalInfo_2 +The resource management error additional info. + + ErrorAdditionalInfo2(; + type=nothing, + info=nothing, + ) + + - type::String : The additional info type. + - info::Any : The additional info. +""" +Base.@kwdef mutable struct ErrorAdditionalInfo2 <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + info::Union{Nothing, Any} = nothing + + function ErrorAdditionalInfo2(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorAdditionalInfo2 + +const _property_types_ErrorAdditionalInfo2 = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) +OpenAPI.property_type(::Type{ ErrorAdditionalInfo2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo2[name]))} + +function OpenAPI.check_required(o::ErrorAdditionalInfo2) + true +end + +function OpenAPI.validate_properties(o::ErrorAdditionalInfo2) + OpenAPI.validate_property(ErrorAdditionalInfo2, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo2, Symbol("info"), o.info) +end + +function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo2 }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_ErrorDetail.jl b/src/Resource/SubscriptionClient/src/models/model_ErrorDetail.jl new file mode 100644 index 0000000..a2d4570 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_ErrorDetail.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorDetail +The error detail. + + ErrorDetail(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{ErrorDetail} : The error details. + - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. +""" +Base.@kwdef mutable struct ErrorDetail <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorDetail} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } + + function ErrorDetail(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorDetail + +const _property_types_ErrorDetail = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetail}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +OpenAPI.property_type(::Type{ ErrorDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetail[name]))} + +function OpenAPI.check_required(o::ErrorDetail) + true +end + +function OpenAPI.validate_properties(o::ErrorDetail) + OpenAPI.validate_property(ErrorDetail, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetail, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorDetail, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetail, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorDetail, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ ErrorDetail }, name::Symbol, val) + + + + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_ErrorResponse.jl b/src/Resource/SubscriptionClient/src/models/model_ErrorResponse.jl new file mode 100644 index 0000000..fffc54e --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_ErrorResponse.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorResponse +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + + ErrorResponse(; + error=nothing, + ) + + - error::ErrorDetail +""" +Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, ErrorDetail } + + function ErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorResponse + +const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorDetail", ) +OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} + +function OpenAPI.check_required(o::ErrorResponse) + true +end + +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_ErrorResponse2.jl b/src/Resource/SubscriptionClient/src/models/model_ErrorResponse2.jl new file mode 100644 index 0000000..29b1db0 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_ErrorResponse2.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorResponse_2 +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.) + + ErrorResponse2(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{ErrorResponse2} : The error details. + - additionalInfo::Vector{ErrorAdditionalInfo2} : The error additional info. +""" +Base.@kwdef mutable struct ErrorResponse2 <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorResponse2} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo2} } + + function ErrorResponse2(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorResponse2 + +const _property_types_ErrorResponse2 = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorResponse2}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo2}", ) +OpenAPI.property_type(::Type{ ErrorResponse2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse2[name]))} + +function OpenAPI.check_required(o::ErrorResponse2) + true +end + +function OpenAPI.validate_properties(o::ErrorResponse2) + OpenAPI.validate_property(ErrorResponse2, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorResponse2, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorResponse2, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorResponse2, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorResponse2, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ ErrorResponse2 }, name::Symbol, val) + + + + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_Location.jl b/src/Resource/SubscriptionClient/src/models/model_Location.jl index bbb1d5e..b195abe 100644 --- a/src/Resource/SubscriptionClient/src/models/model_Location.jl +++ b/src/Resource/SubscriptionClient/src/models/model_Location.jl @@ -9,43 +9,68 @@ Location information. id=nothing, subscriptionId=nothing, name=nothing, + type=nothing, displayName=nothing, regionalDisplayName=nothing, metadata=nothing, + availabilityZoneMappings=nothing, ) - - id::String : The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. + - id::String : The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus. - subscriptionId::String : The subscription ID. - name::String : The location name. + - type::String : The location type. - displayName::String : The display name of the location. - regionalDisplayName::String : The display name of the location and its region. - metadata::LocationMetadata + - availabilityZoneMappings::Vector{AvailabilityZoneMappings} : The availability zone mappings for this region. """ Base.@kwdef mutable struct Location <: OpenAPI.APIModel id::Union{Nothing, String} = nothing subscriptionId::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing displayName::Union{Nothing, String} = nothing regionalDisplayName::Union{Nothing, String} = nothing metadata = nothing # spec type: Union{ Nothing, LocationMetadata } + availabilityZoneMappings::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{AvailabilityZoneMappings} } - function Location(id, subscriptionId, name, displayName, regionalDisplayName, metadata, ) - OpenAPI.validate_property(Location, Symbol("id"), id) - OpenAPI.validate_property(Location, Symbol("subscriptionId"), subscriptionId) - OpenAPI.validate_property(Location, Symbol("name"), name) - OpenAPI.validate_property(Location, Symbol("displayName"), displayName) - OpenAPI.validate_property(Location, Symbol("regionalDisplayName"), regionalDisplayName) - OpenAPI.validate_property(Location, Symbol("metadata"), metadata) - return new(id, subscriptionId, name, displayName, regionalDisplayName, metadata, ) + function Location(id, subscriptionId, name, type, displayName, regionalDisplayName, metadata, availabilityZoneMappings, ) + o = new(id, subscriptionId, name, type, displayName, regionalDisplayName, metadata, availabilityZoneMappings, ) + OpenAPI.validate_properties(o) + return o end end # type Location -const _property_types_Location = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("subscriptionId")=>"String", Symbol("name")=>"String", Symbol("displayName")=>"String", Symbol("regionalDisplayName")=>"String", Symbol("metadata")=>"LocationMetadata", ) +const _property_types_Location = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("subscriptionId")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("displayName")=>"String", Symbol("regionalDisplayName")=>"String", Symbol("metadata")=>"LocationMetadata", Symbol("availabilityZoneMappings")=>"Vector{AvailabilityZoneMappings}", ) OpenAPI.property_type(::Type{ Location }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Location[name]))} -function check_required(o::Location) +function OpenAPI.check_required(o::Location) true end +function OpenAPI.validate_properties(o::Location) + OpenAPI.validate_property(Location, Symbol("id"), o.id) + OpenAPI.validate_property(Location, Symbol("subscriptionId"), o.subscriptionId) + OpenAPI.validate_property(Location, Symbol("name"), o.name) + OpenAPI.validate_property(Location, Symbol("type"), o.type) + OpenAPI.validate_property(Location, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(Location, Symbol("regionalDisplayName"), o.regionalDisplayName) + OpenAPI.validate_property(Location, Symbol("metadata"), o.metadata) + OpenAPI.validate_property(Location, Symbol("availabilityZoneMappings"), o.availabilityZoneMappings) +end + function OpenAPI.validate_property(::Type{ Location }, name::Symbol, val) + + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "Location", :enum, val, ["Region", "EdgeZone"]) + end + + + + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_LocationListResult.jl b/src/Resource/SubscriptionClient/src/models/model_LocationListResult.jl index d93b3e9..af87b75 100644 --- a/src/Resource/SubscriptionClient/src/models/model_LocationListResult.jl +++ b/src/Resource/SubscriptionClient/src/models/model_LocationListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct LocationListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Location} } function LocationListResult(value, ) - OpenAPI.validate_property(LocationListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type LocationListResult const _property_types_LocationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Location}", ) OpenAPI.property_type(::Type{ LocationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocationListResult[name]))} -function check_required(o::LocationListResult) +function OpenAPI.check_required(o::LocationListResult) true end +function OpenAPI.validate_properties(o::LocationListResult) + OpenAPI.validate_property(LocationListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ LocationListResult }, name::Symbol, val) + end diff --git a/src/Resource/SubscriptionClient/src/models/model_LocationMetadata.jl b/src/Resource/SubscriptionClient/src/models/model_LocationMetadata.jl index dfee55c..2102f7f 100644 --- a/src/Resource/SubscriptionClient/src/models/model_LocationMetadata.jl +++ b/src/Resource/SubscriptionClient/src/models/model_LocationMetadata.jl @@ -8,54 +8,78 @@ Location metadata information LocationMetadata(; regionType=nothing, regionCategory=nothing, + geography=nothing, geographyGroup=nothing, longitude=nothing, latitude=nothing, physicalLocation=nothing, pairedRegion=nothing, + homeLocation=nothing, ) - regionType::String : The type of the region. - regionCategory::String : The category of the region. + - geography::String : The geography of the location. - geographyGroup::String : The geography group of the location. - longitude::String : The longitude of the location. - latitude::String : The latitude of the location. - physicalLocation::String : The physical location of the Azure location. - pairedRegion::Vector{PairedRegion} : The regions paired to this region. + - homeLocation::String : The home location of an edge zone. """ Base.@kwdef mutable struct LocationMetadata <: OpenAPI.APIModel regionType::Union{Nothing, String} = nothing regionCategory::Union{Nothing, String} = nothing + geography::Union{Nothing, String} = nothing geographyGroup::Union{Nothing, String} = nothing longitude::Union{Nothing, String} = nothing latitude::Union{Nothing, String} = nothing physicalLocation::Union{Nothing, String} = nothing pairedRegion::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PairedRegion} } + homeLocation::Union{Nothing, String} = nothing - function LocationMetadata(regionType, regionCategory, geographyGroup, longitude, latitude, physicalLocation, pairedRegion, ) - OpenAPI.validate_property(LocationMetadata, Symbol("regionType"), regionType) - OpenAPI.validate_property(LocationMetadata, Symbol("regionCategory"), regionCategory) - OpenAPI.validate_property(LocationMetadata, Symbol("geographyGroup"), geographyGroup) - OpenAPI.validate_property(LocationMetadata, Symbol("longitude"), longitude) - OpenAPI.validate_property(LocationMetadata, Symbol("latitude"), latitude) - OpenAPI.validate_property(LocationMetadata, Symbol("physicalLocation"), physicalLocation) - OpenAPI.validate_property(LocationMetadata, Symbol("pairedRegion"), pairedRegion) - return new(regionType, regionCategory, geographyGroup, longitude, latitude, physicalLocation, pairedRegion, ) + function LocationMetadata(regionType, regionCategory, geography, geographyGroup, longitude, latitude, physicalLocation, pairedRegion, homeLocation, ) + o = new(regionType, regionCategory, geography, geographyGroup, longitude, latitude, physicalLocation, pairedRegion, homeLocation, ) + OpenAPI.validate_properties(o) + return o end end # type LocationMetadata -const _property_types_LocationMetadata = Dict{Symbol,String}(Symbol("regionType")=>"String", Symbol("regionCategory")=>"String", Symbol("geographyGroup")=>"String", Symbol("longitude")=>"String", Symbol("latitude")=>"String", Symbol("physicalLocation")=>"String", Symbol("pairedRegion")=>"Vector{PairedRegion}", ) +const _property_types_LocationMetadata = Dict{Symbol,String}(Symbol("regionType")=>"String", Symbol("regionCategory")=>"String", Symbol("geography")=>"String", Symbol("geographyGroup")=>"String", Symbol("longitude")=>"String", Symbol("latitude")=>"String", Symbol("physicalLocation")=>"String", Symbol("pairedRegion")=>"Vector{PairedRegion}", Symbol("homeLocation")=>"String", ) OpenAPI.property_type(::Type{ LocationMetadata }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocationMetadata[name]))} -function check_required(o::LocationMetadata) +function OpenAPI.check_required(o::LocationMetadata) true end +function OpenAPI.validate_properties(o::LocationMetadata) + OpenAPI.validate_property(LocationMetadata, Symbol("regionType"), o.regionType) + OpenAPI.validate_property(LocationMetadata, Symbol("regionCategory"), o.regionCategory) + OpenAPI.validate_property(LocationMetadata, Symbol("geography"), o.geography) + OpenAPI.validate_property(LocationMetadata, Symbol("geographyGroup"), o.geographyGroup) + OpenAPI.validate_property(LocationMetadata, Symbol("longitude"), o.longitude) + OpenAPI.validate_property(LocationMetadata, Symbol("latitude"), o.latitude) + OpenAPI.validate_property(LocationMetadata, Symbol("physicalLocation"), o.physicalLocation) + OpenAPI.validate_property(LocationMetadata, Symbol("pairedRegion"), o.pairedRegion) + OpenAPI.validate_property(LocationMetadata, Symbol("homeLocation"), o.homeLocation) +end + function OpenAPI.validate_property(::Type{ LocationMetadata }, name::Symbol, val) + if name === Symbol("regionType") OpenAPI.validate_param(name, "LocationMetadata", :enum, val, ["Physical", "Logical"]) end + + if name === Symbol("regionCategory") - OpenAPI.validate_param(name, "LocationMetadata", :enum, val, ["Recommended", "Other"]) + OpenAPI.validate_param(name, "LocationMetadata", :enum, val, ["Recommended", "Extended", "Other"]) end + + + + + + + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_ManagedByTenant.jl b/src/Resource/SubscriptionClient/src/models/model_ManagedByTenant.jl index 43dd90b..39c3879 100644 --- a/src/Resource/SubscriptionClient/src/models/model_ManagedByTenant.jl +++ b/src/Resource/SubscriptionClient/src/models/model_ManagedByTenant.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ManagedByTenant <: OpenAPI.APIModel tenantId::Union{Nothing, String} = nothing function ManagedByTenant(tenantId, ) - OpenAPI.validate_property(ManagedByTenant, Symbol("tenantId"), tenantId) - return new(tenantId, ) + o = new(tenantId, ) + OpenAPI.validate_properties(o) + return o end end # type ManagedByTenant const _property_types_ManagedByTenant = Dict{Symbol,String}(Symbol("tenantId")=>"String", ) OpenAPI.property_type(::Type{ ManagedByTenant }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagedByTenant[name]))} -function check_required(o::ManagedByTenant) +function OpenAPI.check_required(o::ManagedByTenant) true end +function OpenAPI.validate_properties(o::ManagedByTenant) + OpenAPI.validate_property(ManagedByTenant, Symbol("tenantId"), o.tenantId) +end + function OpenAPI.validate_property(::Type{ ManagedByTenant }, name::Symbol, val) + end diff --git a/src/Resource/SubscriptionClient/src/models/model_Operation.jl b/src/Resource/SubscriptionClient/src/models/model_Operation.jl index dae89f0..d9cef5b 100644 --- a/src/Resource/SubscriptionClient/src/models/model_Operation.jl +++ b/src/Resource/SubscriptionClient/src/models/model_Operation.jl @@ -3,33 +3,63 @@ @doc raw"""Operation -Microsoft.Resources operation +Details of a REST API operation, returned from the Resource Provider Operations API Operation(; name=nothing, + isDataAction=nothing, display=nothing, + origin=nothing, + actionType=nothing, ) - name::String : Operation name: {provider}/{resource}/{operation} + - isDataAction::Bool : Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations. - display::OperationDisplay + - origin::String : The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" + - actionType::String : Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. """ Base.@kwdef mutable struct Operation <: OpenAPI.APIModel name::Union{Nothing, String} = nothing + isDataAction::Union{Nothing, Bool} = nothing display = nothing # spec type: Union{ Nothing, OperationDisplay } + origin::Union{Nothing, String} = nothing + actionType::Union{Nothing, String} = nothing - function Operation(name, display, ) - OpenAPI.validate_property(Operation, Symbol("name"), name) - OpenAPI.validate_property(Operation, Symbol("display"), display) - return new(name, display, ) + function Operation(name, isDataAction, display, origin, actionType, ) + o = new(name, isDataAction, display, origin, actionType, ) + OpenAPI.validate_properties(o) + return o end end # type Operation -const _property_types_Operation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("display")=>"OperationDisplay", ) +const _property_types_Operation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("isDataAction")=>"Bool", Symbol("display")=>"OperationDisplay", Symbol("origin")=>"String", Symbol("actionType")=>"String", ) OpenAPI.property_type(::Type{ Operation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Operation[name]))} -function check_required(o::Operation) +function OpenAPI.check_required(o::Operation) true end +function OpenAPI.validate_properties(o::Operation) + OpenAPI.validate_property(Operation, Symbol("name"), o.name) + OpenAPI.validate_property(Operation, Symbol("isDataAction"), o.isDataAction) + OpenAPI.validate_property(Operation, Symbol("display"), o.display) + OpenAPI.validate_property(Operation, Symbol("origin"), o.origin) + OpenAPI.validate_property(Operation, Symbol("actionType"), o.actionType) +end + function OpenAPI.validate_property(::Type{ Operation }, name::Symbol, val) + + + + + if name === Symbol("origin") + OpenAPI.validate_param(name, "Operation", :enum, val, ["user", "system", "user,system"]) + end + + + if name === Symbol("actionType") + OpenAPI.validate_param(name, "Operation", :enum, val, ["Internal"]) + end + end diff --git a/src/Resource/SubscriptionClient/src/models/model_Operation2.jl b/src/Resource/SubscriptionClient/src/models/model_Operation2.jl new file mode 100644 index 0000000..d980caa --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_Operation2.jl @@ -0,0 +1,65 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Operation_2 +Details of a REST API operation, returned from the Resource Provider Operations API + + Operation2(; + name=nothing, + isDataAction=nothing, + display=nothing, + origin=nothing, + actionType=nothing, + ) + + - name::String : The name of the operation, as per Resource-Based Access Control (RBAC). Examples: \"Microsoft.Compute/virtualMachines/write\", \"Microsoft.Compute/virtualMachines/capture/action\" + - isDataAction::Bool : Whether the operation applies to data-plane. This is \"true\" for data-plane operations and \"false\" for ARM/control-plane operations. + - display::Operation2Display + - origin::String : The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is \"user,system\" + - actionType::String : Enum. Indicates the action type. \"Internal\" refers to actions that are for internal only APIs. +""" +Base.@kwdef mutable struct Operation2 <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + isDataAction::Union{Nothing, Bool} = nothing + display = nothing # spec type: Union{ Nothing, Operation2Display } + origin::Union{Nothing, String} = nothing + actionType::Union{Nothing, String} = nothing + + function Operation2(name, isDataAction, display, origin, actionType, ) + o = new(name, isDataAction, display, origin, actionType, ) + OpenAPI.validate_properties(o) + return o + end +end # type Operation2 + +const _property_types_Operation2 = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("isDataAction")=>"Bool", Symbol("display")=>"Operation2Display", Symbol("origin")=>"String", Symbol("actionType")=>"String", ) +OpenAPI.property_type(::Type{ Operation2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Operation2[name]))} + +function OpenAPI.check_required(o::Operation2) + true +end + +function OpenAPI.validate_properties(o::Operation2) + OpenAPI.validate_property(Operation2, Symbol("name"), o.name) + OpenAPI.validate_property(Operation2, Symbol("isDataAction"), o.isDataAction) + OpenAPI.validate_property(Operation2, Symbol("display"), o.display) + OpenAPI.validate_property(Operation2, Symbol("origin"), o.origin) + OpenAPI.validate_property(Operation2, Symbol("actionType"), o.actionType) +end + +function OpenAPI.validate_property(::Type{ Operation2 }, name::Symbol, val) + + + + + if name === Symbol("origin") + OpenAPI.validate_param(name, "Operation2", :enum, val, ["user", "system", "user,system"]) + end + + + if name === Symbol("actionType") + OpenAPI.validate_param(name, "Operation2", :enum, val, ["Internal"]) + end + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_Operation2Display.jl b/src/Resource/SubscriptionClient/src/models/model_Operation2Display.jl new file mode 100644 index 0000000..8baaebe --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_Operation2Display.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Operation_2_display +Localized display information for this particular operation. + + Operation2Display(; + provider=nothing, + resource=nothing, + operation=nothing, + description=nothing, + ) + + - provider::String : The localized friendly form of the resource provider name, e.g. \"Microsoft Monitoring Insights\" or \"Microsoft Compute\". + - resource::String : The localized friendly name of the resource type related to this operation. E.g. \"Virtual Machines\" or \"Job Schedule Collections\". + - operation::String : The concise, localized friendly name for the operation; suitable for dropdowns. E.g. \"Create or Update Virtual Machine\", \"Restart Virtual Machine\". + - description::String : The short, localized friendly description of the operation; suitable for tool tips and detailed views. +""" +Base.@kwdef mutable struct Operation2Display <: OpenAPI.APIModel + provider::Union{Nothing, String} = nothing + resource::Union{Nothing, String} = nothing + operation::Union{Nothing, String} = nothing + description::Union{Nothing, String} = nothing + + function Operation2Display(provider, resource, operation, description, ) + o = new(provider, resource, operation, description, ) + OpenAPI.validate_properties(o) + return o + end +end # type Operation2Display + +const _property_types_Operation2Display = Dict{Symbol,String}(Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String", ) +OpenAPI.property_type(::Type{ Operation2Display }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Operation2Display[name]))} + +function OpenAPI.check_required(o::Operation2Display) + true +end + +function OpenAPI.validate_properties(o::Operation2Display) + OpenAPI.validate_property(Operation2Display, Symbol("provider"), o.provider) + OpenAPI.validate_property(Operation2Display, Symbol("resource"), o.resource) + OpenAPI.validate_property(Operation2Display, Symbol("operation"), o.operation) + OpenAPI.validate_property(Operation2Display, Symbol("description"), o.description) +end + +function OpenAPI.validate_property(::Type{ Operation2Display }, name::Symbol, val) + + + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_OperationDisplay.jl b/src/Resource/SubscriptionClient/src/models/model_OperationDisplay.jl index e1ad55a..45571b2 100644 --- a/src/Resource/SubscriptionClient/src/models/model_OperationDisplay.jl +++ b/src/Resource/SubscriptionClient/src/models/model_OperationDisplay.jl @@ -3,7 +3,7 @@ @doc raw"""Operation_display -The object that represents the operation. +Localized display information for this particular operation. OperationDisplay(; provider=nothing, @@ -24,20 +24,29 @@ Base.@kwdef mutable struct OperationDisplay <: OpenAPI.APIModel description::Union{Nothing, String} = nothing function OperationDisplay(provider, resource, operation, description, ) - OpenAPI.validate_property(OperationDisplay, Symbol("provider"), provider) - OpenAPI.validate_property(OperationDisplay, Symbol("resource"), resource) - OpenAPI.validate_property(OperationDisplay, Symbol("operation"), operation) - OpenAPI.validate_property(OperationDisplay, Symbol("description"), description) - return new(provider, resource, operation, description, ) + o = new(provider, resource, operation, description, ) + OpenAPI.validate_properties(o) + return o end end # type OperationDisplay const _property_types_OperationDisplay = Dict{Symbol,String}(Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ OperationDisplay }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationDisplay[name]))} -function check_required(o::OperationDisplay) +function OpenAPI.check_required(o::OperationDisplay) true end +function OpenAPI.validate_properties(o::OperationDisplay) + OpenAPI.validate_property(OperationDisplay, Symbol("provider"), o.provider) + OpenAPI.validate_property(OperationDisplay, Symbol("resource"), o.resource) + OpenAPI.validate_property(OperationDisplay, Symbol("operation"), o.operation) + OpenAPI.validate_property(OperationDisplay, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ OperationDisplay }, name::Symbol, val) + + + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_OperationListResult.jl b/src/Resource/SubscriptionClient/src/models/model_OperationListResult.jl index 76e638b..96053cf 100644 --- a/src/Resource/SubscriptionClient/src/models/model_OperationListResult.jl +++ b/src/Resource/SubscriptionClient/src/models/model_OperationListResult.jl @@ -3,33 +3,40 @@ @doc raw"""OperationListResult -Result of the request to list Microsoft.Resources operations. It contains a list of operations and a URL link to get the next set of results. +A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. OperationListResult(; value=nothing, nextLink=nothing, ) - - value::Vector{Operation} : List of Microsoft.Resources operations. - - nextLink::String : URL to get the next set of operation list results if there are any. + - value::Vector{Operation} : List of operations supported by the resource provider + - nextLink::String : URL to get the next set of operation list results (if there are any). """ Base.@kwdef mutable struct OperationListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Operation} } nextLink::Union{Nothing, String} = nothing function OperationListResult(value, nextLink, ) - OpenAPI.validate_property(OperationListResult, Symbol("value"), value) - OpenAPI.validate_property(OperationListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type OperationListResult const _property_types_OperationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Operation}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ OperationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationListResult[name]))} -function check_required(o::OperationListResult) +function OpenAPI.check_required(o::OperationListResult) true end +function OpenAPI.validate_properties(o::OperationListResult) + OpenAPI.validate_property(OperationListResult, Symbol("value"), o.value) + OpenAPI.validate_property(OperationListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ OperationListResult }, name::Symbol, val) + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_OperationListResult2.jl b/src/Resource/SubscriptionClient/src/models/model_OperationListResult2.jl new file mode 100644 index 0000000..914c298 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_OperationListResult2.jl @@ -0,0 +1,45 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""OperationListResult_2 +A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. + + OperationListResult2(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{Operation2} : List of operations supported by the resource provider + - nextLink::String : URL to get the next set of operation list results (if there are any). +""" +Base.@kwdef mutable struct OperationListResult2 <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Operation2} } + nextLink::Union{Nothing, String} = nothing + + function OperationListResult2(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type OperationListResult2 + +const _property_types_OperationListResult2 = Dict{Symbol,String}(Symbol("value")=>"Vector{Operation2}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ OperationListResult2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationListResult2[name]))} + +function OpenAPI.check_required(o::OperationListResult2) + true +end + +function OpenAPI.validate_properties(o::OperationListResult2) + OpenAPI.validate_property(OperationListResult2, Symbol("value"), o.value) + OpenAPI.validate_property(OperationListResult2, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ OperationListResult2 }, name::Symbol, val) + + + if name === Symbol("nextLink") + OpenAPI.validate_param(name, "OperationListResult2", :format, val, "uri") + end +end diff --git a/src/Resource/SubscriptionClient/src/models/model_PairedRegion.jl b/src/Resource/SubscriptionClient/src/models/model_PairedRegion.jl index 9cf9689..60777ab 100644 --- a/src/Resource/SubscriptionClient/src/models/model_PairedRegion.jl +++ b/src/Resource/SubscriptionClient/src/models/model_PairedRegion.jl @@ -12,7 +12,7 @@ Information regarding paired region. ) - name::String : The name of the paired region. - - id::String : The fully qualified ID of the location. For example, /subscriptions/00000000-0000-0000-0000-000000000000/locations/westus. + - id::String : The fully qualified ID of the location. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74/locations/westus. - subscriptionId::String : The subscription ID. """ Base.@kwdef mutable struct PairedRegion <: OpenAPI.APIModel @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PairedRegion <: OpenAPI.APIModel subscriptionId::Union{Nothing, String} = nothing function PairedRegion(name, id, subscriptionId, ) - OpenAPI.validate_property(PairedRegion, Symbol("name"), name) - OpenAPI.validate_property(PairedRegion, Symbol("id"), id) - OpenAPI.validate_property(PairedRegion, Symbol("subscriptionId"), subscriptionId) - return new(name, id, subscriptionId, ) + o = new(name, id, subscriptionId, ) + OpenAPI.validate_properties(o) + return o end end # type PairedRegion const _property_types_PairedRegion = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("id")=>"String", Symbol("subscriptionId")=>"String", ) OpenAPI.property_type(::Type{ PairedRegion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PairedRegion[name]))} -function check_required(o::PairedRegion) +function OpenAPI.check_required(o::PairedRegion) true end +function OpenAPI.validate_properties(o::PairedRegion) + OpenAPI.validate_property(PairedRegion, Symbol("name"), o.name) + OpenAPI.validate_property(PairedRegion, Symbol("id"), o.id) + OpenAPI.validate_property(PairedRegion, Symbol("subscriptionId"), o.subscriptionId) +end + function OpenAPI.validate_property(::Type{ PairedRegion }, name::Symbol, val) + + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_Peers.jl b/src/Resource/SubscriptionClient/src/models/model_Peers.jl new file mode 100644 index 0000000..3b91500 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_Peers.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Peers +Information about shared availability zone. + + Peers(; + subscriptionId=nothing, + availabilityZone=nothing, + ) + + - subscriptionId::String : The subscription ID. + - availabilityZone::String : The availabilityZone. +""" +Base.@kwdef mutable struct Peers <: OpenAPI.APIModel + subscriptionId::Union{Nothing, String} = nothing + availabilityZone::Union{Nothing, String} = nothing + + function Peers(subscriptionId, availabilityZone, ) + o = new(subscriptionId, availabilityZone, ) + OpenAPI.validate_properties(o) + return o + end +end # type Peers + +const _property_types_Peers = Dict{Symbol,String}(Symbol("subscriptionId")=>"String", Symbol("availabilityZone")=>"String", ) +OpenAPI.property_type(::Type{ Peers }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Peers[name]))} + +function OpenAPI.check_required(o::Peers) + true +end + +function OpenAPI.validate_properties(o::Peers) + OpenAPI.validate_property(Peers, Symbol("subscriptionId"), o.subscriptionId) + OpenAPI.validate_property(Peers, Symbol("availabilityZone"), o.availabilityZone) +end + +function OpenAPI.validate_property(::Type{ Peers }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_ResourceName.jl b/src/Resource/SubscriptionClient/src/models/model_ResourceName.jl new file mode 100644 index 0000000..759ade5 --- /dev/null +++ b/src/Resource/SubscriptionClient/src/models/model_ResourceName.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceName +Name and Type of the Resource + + ResourceName(; + name=nothing, + type=nothing, + ) + + - name::String : Name of the resource + - type::String : The type of the resource +""" +Base.@kwdef mutable struct ResourceName <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function ResourceName(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceName + +const _property_types_ResourceName = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ ResourceName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceName[name]))} + +function OpenAPI.check_required(o::ResourceName) + o.name === nothing && (return false) + o.type === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::ResourceName) + OpenAPI.validate_property(ResourceName, Symbol("name"), o.name) + OpenAPI.validate_property(ResourceName, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ResourceName }, name::Symbol, val) + + +end diff --git a/src/Resource/SubscriptionClient/src/models/model_Subscription.jl b/src/Resource/SubscriptionClient/src/models/model_Subscription.jl index 73deb46..6a8d798 100644 --- a/src/Resource/SubscriptionClient/src/models/model_Subscription.jl +++ b/src/Resource/SubscriptionClient/src/models/model_Subscription.jl @@ -17,7 +17,7 @@ Subscription information. tags=nothing, ) - - id::String : The fully qualified ID for the subscription. For example, /subscriptions/00000000-0000-0000-0000-000000000000. + - id::String : The fully qualified ID for the subscription. For example, /subscriptions/8d65815f-a5b6-402f-9298-045155da7d74 - subscriptionId::String : The subscription ID. - displayName::String : The subscription display name. - tenantId::String : The subscription tenant ID. @@ -39,28 +39,43 @@ Base.@kwdef mutable struct Subscription <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing function Subscription(id, subscriptionId, displayName, tenantId, state, subscriptionPolicies, authorizationSource, managedByTenants, tags, ) - OpenAPI.validate_property(Subscription, Symbol("id"), id) - OpenAPI.validate_property(Subscription, Symbol("subscriptionId"), subscriptionId) - OpenAPI.validate_property(Subscription, Symbol("displayName"), displayName) - OpenAPI.validate_property(Subscription, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(Subscription, Symbol("state"), state) - OpenAPI.validate_property(Subscription, Symbol("subscriptionPolicies"), subscriptionPolicies) - OpenAPI.validate_property(Subscription, Symbol("authorizationSource"), authorizationSource) - OpenAPI.validate_property(Subscription, Symbol("managedByTenants"), managedByTenants) - OpenAPI.validate_property(Subscription, Symbol("tags"), tags) - return new(id, subscriptionId, displayName, tenantId, state, subscriptionPolicies, authorizationSource, managedByTenants, tags, ) + o = new(id, subscriptionId, displayName, tenantId, state, subscriptionPolicies, authorizationSource, managedByTenants, tags, ) + OpenAPI.validate_properties(o) + return o end end # type Subscription const _property_types_Subscription = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("subscriptionId")=>"String", Symbol("displayName")=>"String", Symbol("tenantId")=>"String", Symbol("state")=>"String", Symbol("subscriptionPolicies")=>"SubscriptionPolicies", Symbol("authorizationSource")=>"String", Symbol("managedByTenants")=>"Vector{ManagedByTenant}", Symbol("tags")=>"Dict{String, String}", ) OpenAPI.property_type(::Type{ Subscription }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Subscription[name]))} -function check_required(o::Subscription) +function OpenAPI.check_required(o::Subscription) true end +function OpenAPI.validate_properties(o::Subscription) + OpenAPI.validate_property(Subscription, Symbol("id"), o.id) + OpenAPI.validate_property(Subscription, Symbol("subscriptionId"), o.subscriptionId) + OpenAPI.validate_property(Subscription, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(Subscription, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(Subscription, Symbol("state"), o.state) + OpenAPI.validate_property(Subscription, Symbol("subscriptionPolicies"), o.subscriptionPolicies) + OpenAPI.validate_property(Subscription, Symbol("authorizationSource"), o.authorizationSource) + OpenAPI.validate_property(Subscription, Symbol("managedByTenants"), o.managedByTenants) + OpenAPI.validate_property(Subscription, Symbol("tags"), o.tags) +end + function OpenAPI.validate_property(::Type{ Subscription }, name::Symbol, val) + + + + + if name === Symbol("state") OpenAPI.validate_param(name, "Subscription", :enum, val, ["Enabled", "Warned", "PastDue", "Disabled", "Deleted"]) end + + + + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_SubscriptionListResult.jl b/src/Resource/SubscriptionClient/src/models/model_SubscriptionListResult.jl index c75c6d7..64ee74d 100644 --- a/src/Resource/SubscriptionClient/src/models/model_SubscriptionListResult.jl +++ b/src/Resource/SubscriptionClient/src/models/model_SubscriptionListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct SubscriptionListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function SubscriptionListResult(value, nextLink, ) - OpenAPI.validate_property(SubscriptionListResult, Symbol("value"), value) - OpenAPI.validate_property(SubscriptionListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type SubscriptionListResult const _property_types_SubscriptionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Subscription}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ SubscriptionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubscriptionListResult[name]))} -function check_required(o::SubscriptionListResult) +function OpenAPI.check_required(o::SubscriptionListResult) o.nextLink === nothing && (return false) true end +function OpenAPI.validate_properties(o::SubscriptionListResult) + OpenAPI.validate_property(SubscriptionListResult, Symbol("value"), o.value) + OpenAPI.validate_property(SubscriptionListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ SubscriptionListResult }, name::Symbol, val) + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_SubscriptionPolicies.jl b/src/Resource/SubscriptionClient/src/models/model_SubscriptionPolicies.jl index 04d5bde..0371827 100644 --- a/src/Resource/SubscriptionClient/src/models/model_SubscriptionPolicies.jl +++ b/src/Resource/SubscriptionClient/src/models/model_SubscriptionPolicies.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct SubscriptionPolicies <: OpenAPI.APIModel spendingLimit::Union{Nothing, String} = nothing function SubscriptionPolicies(locationPlacementId, quotaId, spendingLimit, ) - OpenAPI.validate_property(SubscriptionPolicies, Symbol("locationPlacementId"), locationPlacementId) - OpenAPI.validate_property(SubscriptionPolicies, Symbol("quotaId"), quotaId) - OpenAPI.validate_property(SubscriptionPolicies, Symbol("spendingLimit"), spendingLimit) - return new(locationPlacementId, quotaId, spendingLimit, ) + o = new(locationPlacementId, quotaId, spendingLimit, ) + OpenAPI.validate_properties(o) + return o end end # type SubscriptionPolicies const _property_types_SubscriptionPolicies = Dict{Symbol,String}(Symbol("locationPlacementId")=>"String", Symbol("quotaId")=>"String", Symbol("spendingLimit")=>"String", ) OpenAPI.property_type(::Type{ SubscriptionPolicies }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SubscriptionPolicies[name]))} -function check_required(o::SubscriptionPolicies) +function OpenAPI.check_required(o::SubscriptionPolicies) true end +function OpenAPI.validate_properties(o::SubscriptionPolicies) + OpenAPI.validate_property(SubscriptionPolicies, Symbol("locationPlacementId"), o.locationPlacementId) + OpenAPI.validate_property(SubscriptionPolicies, Symbol("quotaId"), o.quotaId) + OpenAPI.validate_property(SubscriptionPolicies, Symbol("spendingLimit"), o.spendingLimit) +end + function OpenAPI.validate_property(::Type{ SubscriptionPolicies }, name::Symbol, val) + + + if name === Symbol("spendingLimit") OpenAPI.validate_param(name, "SubscriptionPolicies", :enum, val, ["On", "Off", "CurrentPeriodOff"]) end + end diff --git a/src/Resource/SubscriptionClient/src/models/model_TenantIdDescription.jl b/src/Resource/SubscriptionClient/src/models/model_TenantIdDescription.jl index 319fcd7..dd66892 100644 --- a/src/Resource/SubscriptionClient/src/models/model_TenantIdDescription.jl +++ b/src/Resource/SubscriptionClient/src/models/model_TenantIdDescription.jl @@ -18,8 +18,8 @@ Tenant Id information. tenantBrandingLogoUrl=nothing, ) - - id::String : The fully qualified ID of the tenant. For example, /tenants/00000000-0000-0000-0000-000000000000. - - tenantId::String : The tenant ID. For example, 00000000-0000-0000-0000-000000000000. + - id::String : The fully qualified ID of the tenant. For example, /tenants/8d65815f-a5b6-402f-9298-045155da7d74 + - tenantId::String : The tenant ID. For example, 8d65815f-a5b6-402f-9298-045155da7d74 - tenantCategory::String : Category of the tenant. - country::String : Country/region name of the address for the tenant. - countryCode::String : Country/region abbreviation for the tenant. @@ -42,29 +42,45 @@ Base.@kwdef mutable struct TenantIdDescription <: OpenAPI.APIModel tenantBrandingLogoUrl::Union{Nothing, String} = nothing function TenantIdDescription(id, tenantId, tenantCategory, country, countryCode, displayName, domains, defaultDomain, tenantType, tenantBrandingLogoUrl, ) - OpenAPI.validate_property(TenantIdDescription, Symbol("id"), id) - OpenAPI.validate_property(TenantIdDescription, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(TenantIdDescription, Symbol("tenantCategory"), tenantCategory) - OpenAPI.validate_property(TenantIdDescription, Symbol("country"), country) - OpenAPI.validate_property(TenantIdDescription, Symbol("countryCode"), countryCode) - OpenAPI.validate_property(TenantIdDescription, Symbol("displayName"), displayName) - OpenAPI.validate_property(TenantIdDescription, Symbol("domains"), domains) - OpenAPI.validate_property(TenantIdDescription, Symbol("defaultDomain"), defaultDomain) - OpenAPI.validate_property(TenantIdDescription, Symbol("tenantType"), tenantType) - OpenAPI.validate_property(TenantIdDescription, Symbol("tenantBrandingLogoUrl"), tenantBrandingLogoUrl) - return new(id, tenantId, tenantCategory, country, countryCode, displayName, domains, defaultDomain, tenantType, tenantBrandingLogoUrl, ) + o = new(id, tenantId, tenantCategory, country, countryCode, displayName, domains, defaultDomain, tenantType, tenantBrandingLogoUrl, ) + OpenAPI.validate_properties(o) + return o end end # type TenantIdDescription const _property_types_TenantIdDescription = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("tenantId")=>"String", Symbol("tenantCategory")=>"String", Symbol("country")=>"String", Symbol("countryCode")=>"String", Symbol("displayName")=>"String", Symbol("domains")=>"Vector{String}", Symbol("defaultDomain")=>"String", Symbol("tenantType")=>"String", Symbol("tenantBrandingLogoUrl")=>"String", ) OpenAPI.property_type(::Type{ TenantIdDescription }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TenantIdDescription[name]))} -function check_required(o::TenantIdDescription) +function OpenAPI.check_required(o::TenantIdDescription) true end +function OpenAPI.validate_properties(o::TenantIdDescription) + OpenAPI.validate_property(TenantIdDescription, Symbol("id"), o.id) + OpenAPI.validate_property(TenantIdDescription, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(TenantIdDescription, Symbol("tenantCategory"), o.tenantCategory) + OpenAPI.validate_property(TenantIdDescription, Symbol("country"), o.country) + OpenAPI.validate_property(TenantIdDescription, Symbol("countryCode"), o.countryCode) + OpenAPI.validate_property(TenantIdDescription, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(TenantIdDescription, Symbol("domains"), o.domains) + OpenAPI.validate_property(TenantIdDescription, Symbol("defaultDomain"), o.defaultDomain) + OpenAPI.validate_property(TenantIdDescription, Symbol("tenantType"), o.tenantType) + OpenAPI.validate_property(TenantIdDescription, Symbol("tenantBrandingLogoUrl"), o.tenantBrandingLogoUrl) +end + function OpenAPI.validate_property(::Type{ TenantIdDescription }, name::Symbol, val) + + + if name === Symbol("tenantCategory") OpenAPI.validate_param(name, "TenantIdDescription", :enum, val, ["Home", "ProjectedBy", "ManagedBy"]) end + + + + + + + + end diff --git a/src/Resource/SubscriptionClient/src/models/model_TenantListResult.jl b/src/Resource/SubscriptionClient/src/models/model_TenantListResult.jl index 00cbae4..d29554b 100644 --- a/src/Resource/SubscriptionClient/src/models/model_TenantListResult.jl +++ b/src/Resource/SubscriptionClient/src/models/model_TenantListResult.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct TenantListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function TenantListResult(value, nextLink, ) - OpenAPI.validate_property(TenantListResult, Symbol("value"), value) - OpenAPI.validate_property(TenantListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type TenantListResult const _property_types_TenantListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{TenantIdDescription}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ TenantListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TenantListResult[name]))} -function check_required(o::TenantListResult) +function OpenAPI.check_required(o::TenantListResult) o.nextLink === nothing && (return false) true end +function OpenAPI.validate_properties(o::TenantListResult) + OpenAPI.validate_property(TenantListResult, Symbol("value"), o.value) + OpenAPI.validate_property(TenantListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ TenantListResult }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/.openapi-generator/FILES b/src/Storage/StorageManagementClient/.openapi-generator/FILES index 2be5370..25c395a 100644 --- a/src/Storage/StorageManagementClient/.openapi-generator/FILES +++ b/src/Storage/StorageManagementClient/.openapi-generator/FILES @@ -1,17 +1,35 @@ .openapi-generator-ignore README.md +docs/AccountImmutabilityPolicyProperties.md +docs/AccountMigrationsApi.md docs/AccountSasParameters.md docs/ActiveDirectoryProperties.md docs/AzureFilesIdentityBasedAuthentication.md +docs/BlobInventoryCreationTime.md +docs/BlobInventoryPoliciesApi.md +docs/BlobInventoryPolicy.md +docs/BlobInventoryPolicyDefinition.md +docs/BlobInventoryPolicyFilter.md +docs/BlobInventoryPolicyProperties.md +docs/BlobInventoryPolicyRule.md +docs/BlobInventoryPolicySchema.md docs/BlobRestoreParameters.md docs/BlobRestoreRange.md docs/BlobRestoreStatus.md docs/CheckNameAvailabilityResult.md +docs/CloudError.md +docs/CloudErrorBody.md docs/CustomDomain.md docs/DateAfterCreation.md docs/DateAfterModification.md +docs/DeletedAccount.md +docs/DeletedAccountListResult.md +docs/DeletedAccountProperties.md +docs/DeletedAccountsApi.md docs/Dimension.md +docs/DualStackEndpointPreference.md docs/Encryption.md +docs/EncryptionIdentity.md docs/EncryptionScope.md docs/EncryptionScopeKeyVaultProperties.md docs/EncryptionScopeListResult.md @@ -20,13 +38,29 @@ docs/EncryptionScopesApi.md docs/EncryptionService.md docs/EncryptionServices.md docs/Endpoints.md +docs/ErrorAdditionalInfo.md +docs/ErrorDetail.md docs/ErrorResponse.md +docs/ErrorResponse2.md +docs/ErrorResponseBody.md +docs/ExtendedLocation.md +docs/ExtendedLocationType.md docs/GeoReplicationStats.md docs/IPRule.md docs/Identity.md +docs/ImmutableStorageAccount.md +docs/KeyCreationTime.md +docs/KeyPolicy.md docs/KeyVaultProperties.md docs/ListAccountSasResponse.md +docs/ListBlobInventoryPolicy.md docs/ListServiceSasResponse.md +docs/LocalUser.md +docs/LocalUserKeys.md +docs/LocalUserProperties.md +docs/LocalUserRegeneratePasswordResult.md +docs/LocalUsers.md +docs/LocalUsersApi.md docs/LocationUsageApi.md docs/ManagementPoliciesApi.md docs/ManagementPolicy.md @@ -38,6 +72,7 @@ docs/ManagementPolicyProperties.md docs/ManagementPolicyRule.md docs/ManagementPolicySchema.md docs/ManagementPolicySnapShot.md +docs/ManagementPolicyVersion.md docs/MetricSpecification.md docs/NetworkRuleSet.md docs/ObjectReplicationPolicies.md @@ -45,12 +80,15 @@ docs/ObjectReplicationPoliciesApi.md docs/ObjectReplicationPolicy.md docs/ObjectReplicationPolicyFilter.md docs/ObjectReplicationPolicyProperties.md +docs/ObjectReplicationPolicyPropertiesMetrics.md docs/ObjectReplicationPolicyRule.md docs/Operation.md docs/OperationDisplay.md docs/OperationListResult.md docs/OperationProperties.md docs/OperationsApi.md +docs/PermissionScope.md +docs/Placement.md docs/PrivateEndpoint.md docs/PrivateEndpointConnection.md docs/PrivateEndpointConnectionListResult.md @@ -63,40 +101,57 @@ docs/PrivateLinkResourceListResult.md docs/PrivateLinkResourceProperties.md docs/PrivateLinkResourcesApi.md docs/PrivateLinkServiceConnectionState.md +docs/ProxyResource.md +docs/PublicNetworkAccess.md docs/Resource.md +docs/ResourceAccessRule.md docs/Restriction.md docs/RoutingPreference.md docs/SKUCapability.md +docs/SasPolicy.md docs/ServiceSasParameters.md docs/ServiceSpecification.md docs/Sku.md docs/SkuInformation.md +docs/SkuInformationLocationInfoInner.md docs/SkuName.md docs/SkusApi.md +docs/SmbOAuthSettings.md +docs/SshPublicKey.md docs/StorageAccount.md docs/StorageAccountCheckNameAvailabilityParameters.md docs/StorageAccountCreateParameters.md docs/StorageAccountInternetEndpoints.md +docs/StorageAccountIpv6Endpoints.md docs/StorageAccountKey.md docs/StorageAccountListKeysResult.md docs/StorageAccountListResult.md docs/StorageAccountMicrosoftEndpoints.md +docs/StorageAccountMigration.md +docs/StorageAccountMigrationProperties.md docs/StorageAccountProperties.md docs/StorageAccountPropertiesCreateParameters.md docs/StorageAccountPropertiesUpdateParameters.md docs/StorageAccountRegenerateKeyParameters.md +docs/StorageAccountSkuConversionStatus.md docs/StorageAccountUpdateParameters.md docs/StorageAccountsApi.md docs/StorageSkuListResult.md +docs/SystemData.md docs/TagFilter.md docs/Tier.md docs/TrackedResource.md docs/Usage.md docs/UsageListResult.md docs/UsageName.md +docs/UserAssignedIdentity.md docs/VirtualNetworkRule.md src/StorageManagementClient.jl +src/apis/api_AccountMigrationsApi.jl +src/apis/api_BlobInventoryPoliciesApi.jl +src/apis/api_DeletedAccountsApi.jl src/apis/api_EncryptionScopesApi.jl +src/apis/api_LocalUsersApi.jl src/apis/api_LocationUsageApi.jl src/apis/api_ManagementPoliciesApi.jl src/apis/api_ObjectReplicationPoliciesApi.jl @@ -106,18 +161,33 @@ src/apis/api_PrivateLinkResourcesApi.jl src/apis/api_SkusApi.jl src/apis/api_StorageAccountsApi.jl src/modelincludes.jl +src/models/model_AccountImmutabilityPolicyProperties.jl src/models/model_AccountSasParameters.jl src/models/model_ActiveDirectoryProperties.jl src/models/model_AzureFilesIdentityBasedAuthentication.jl +src/models/model_BlobInventoryCreationTime.jl +src/models/model_BlobInventoryPolicy.jl +src/models/model_BlobInventoryPolicyDefinition.jl +src/models/model_BlobInventoryPolicyFilter.jl +src/models/model_BlobInventoryPolicyProperties.jl +src/models/model_BlobInventoryPolicyRule.jl +src/models/model_BlobInventoryPolicySchema.jl src/models/model_BlobRestoreParameters.jl src/models/model_BlobRestoreRange.jl src/models/model_BlobRestoreStatus.jl src/models/model_CheckNameAvailabilityResult.jl +src/models/model_CloudError.jl +src/models/model_CloudErrorBody.jl src/models/model_CustomDomain.jl src/models/model_DateAfterCreation.jl src/models/model_DateAfterModification.jl +src/models/model_DeletedAccount.jl +src/models/model_DeletedAccountListResult.jl +src/models/model_DeletedAccountProperties.jl src/models/model_Dimension.jl +src/models/model_DualStackEndpointPreference.jl src/models/model_Encryption.jl +src/models/model_EncryptionIdentity.jl src/models/model_EncryptionScope.jl src/models/model_EncryptionScopeKeyVaultProperties.jl src/models/model_EncryptionScopeListResult.jl @@ -125,13 +195,28 @@ src/models/model_EncryptionScopeProperties.jl src/models/model_EncryptionService.jl src/models/model_EncryptionServices.jl src/models/model_Endpoints.jl +src/models/model_ErrorAdditionalInfo.jl +src/models/model_ErrorDetail.jl src/models/model_ErrorResponse.jl +src/models/model_ErrorResponse2.jl +src/models/model_ErrorResponseBody.jl +src/models/model_ExtendedLocation.jl +src/models/model_ExtendedLocationType.jl src/models/model_GeoReplicationStats.jl src/models/model_IPRule.jl src/models/model_Identity.jl +src/models/model_ImmutableStorageAccount.jl +src/models/model_KeyCreationTime.jl +src/models/model_KeyPolicy.jl src/models/model_KeyVaultProperties.jl src/models/model_ListAccountSasResponse.jl +src/models/model_ListBlobInventoryPolicy.jl src/models/model_ListServiceSasResponse.jl +src/models/model_LocalUser.jl +src/models/model_LocalUserKeys.jl +src/models/model_LocalUserProperties.jl +src/models/model_LocalUserRegeneratePasswordResult.jl +src/models/model_LocalUsers.jl src/models/model_ManagementPolicy.jl src/models/model_ManagementPolicyAction.jl src/models/model_ManagementPolicyBaseBlob.jl @@ -141,17 +226,21 @@ src/models/model_ManagementPolicyProperties.jl src/models/model_ManagementPolicyRule.jl src/models/model_ManagementPolicySchema.jl src/models/model_ManagementPolicySnapShot.jl +src/models/model_ManagementPolicyVersion.jl src/models/model_MetricSpecification.jl src/models/model_NetworkRuleSet.jl src/models/model_ObjectReplicationPolicies.jl src/models/model_ObjectReplicationPolicy.jl src/models/model_ObjectReplicationPolicyFilter.jl src/models/model_ObjectReplicationPolicyProperties.jl +src/models/model_ObjectReplicationPolicyPropertiesMetrics.jl src/models/model_ObjectReplicationPolicyRule.jl src/models/model_Operation.jl src/models/model_OperationDisplay.jl src/models/model_OperationListResult.jl src/models/model_OperationProperties.jl +src/models/model_PermissionScope.jl +src/models/model_Placement.jl src/models/model_PrivateEndpoint.jl src/models/model_PrivateEndpointConnection.jl src/models/model_PrivateEndpointConnectionListResult.jl @@ -162,33 +251,46 @@ src/models/model_PrivateLinkResource.jl src/models/model_PrivateLinkResourceListResult.jl src/models/model_PrivateLinkResourceProperties.jl src/models/model_PrivateLinkServiceConnectionState.jl +src/models/model_ProxyResource.jl +src/models/model_PublicNetworkAccess.jl src/models/model_Resource.jl +src/models/model_ResourceAccessRule.jl src/models/model_Restriction.jl src/models/model_RoutingPreference.jl src/models/model_SKUCapability.jl +src/models/model_SasPolicy.jl src/models/model_ServiceSasParameters.jl src/models/model_ServiceSpecification.jl src/models/model_Sku.jl src/models/model_SkuInformation.jl +src/models/model_SkuInformationLocationInfoInner.jl src/models/model_SkuName.jl +src/models/model_SmbOAuthSettings.jl +src/models/model_SshPublicKey.jl src/models/model_StorageAccount.jl src/models/model_StorageAccountCheckNameAvailabilityParameters.jl src/models/model_StorageAccountCreateParameters.jl src/models/model_StorageAccountInternetEndpoints.jl +src/models/model_StorageAccountIpv6Endpoints.jl src/models/model_StorageAccountKey.jl src/models/model_StorageAccountListKeysResult.jl src/models/model_StorageAccountListResult.jl src/models/model_StorageAccountMicrosoftEndpoints.jl +src/models/model_StorageAccountMigration.jl +src/models/model_StorageAccountMigrationProperties.jl src/models/model_StorageAccountProperties.jl src/models/model_StorageAccountPropertiesCreateParameters.jl src/models/model_StorageAccountPropertiesUpdateParameters.jl src/models/model_StorageAccountRegenerateKeyParameters.jl +src/models/model_StorageAccountSkuConversionStatus.jl src/models/model_StorageAccountUpdateParameters.jl src/models/model_StorageSkuListResult.jl +src/models/model_SystemData.jl src/models/model_TagFilter.jl src/models/model_Tier.jl src/models/model_TrackedResource.jl src/models/model_Usage.jl src/models/model_UsageListResult.jl src/models/model_UsageName.jl +src/models/model_UserAssignedIdentity.jl src/models/model_VirtualNetworkRule.jl diff --git a/src/Storage/StorageManagementClient/.openapi-generator/VERSION b/src/Storage/StorageManagementClient/.openapi-generator/VERSION index d6b4ec4..e465da4 100644 --- a/src/Storage/StorageManagementClient/.openapi-generator/VERSION +++ b/src/Storage/StorageManagementClient/.openapi-generator/VERSION @@ -1 +1 @@ -6.3.0-SNAPSHOT \ No newline at end of file +7.14.0 diff --git a/src/Storage/StorageManagementClient/README.md b/src/Storage/StorageManagementClient/README.md index cd3cce8..c68c7bb 100644 --- a/src/Storage/StorageManagementClient/README.md +++ b/src/Storage/StorageManagementClient/README.md @@ -5,7 +5,8 @@ The Azure Storage Management API. ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. -- API version: 2019-06-01 +- API version: 2025-01-01 +- Generator version: 7.14.0 - Build package: org.openapitools.codegen.languages.JuliaClientCodegen @@ -20,10 +21,24 @@ Documentation is also embedded in Julia which can be used with a Julia specific Class | Method ------------ | ------------- +*AccountMigrationsApi* | [**storage_accounts_customer_initiated_migration**](docs/AccountMigrationsApi.md#storage_accounts_customer_initiated_migration)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration
+*AccountMigrationsApi* | [**storage_accounts_get_customer_initiated_migration**](docs/AccountMigrationsApi.md#storage_accounts_get_customer_initiated_migration)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}
+*BlobInventoryPoliciesApi* | [**blob_inventory_policies_create_or_update**](docs/BlobInventoryPoliciesApi.md#blob_inventory_policies_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
+*BlobInventoryPoliciesApi* | [**blob_inventory_policies_delete**](docs/BlobInventoryPoliciesApi.md#blob_inventory_policies_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
+*BlobInventoryPoliciesApi* | [**blob_inventory_policies_get**](docs/BlobInventoryPoliciesApi.md#blob_inventory_policies_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}
+*BlobInventoryPoliciesApi* | [**blob_inventory_policies_list**](docs/BlobInventoryPoliciesApi.md#blob_inventory_policies_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies
+*DeletedAccountsApi* | [**deleted_accounts_get**](docs/DeletedAccountsApi.md#deleted_accounts_get)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}
+*DeletedAccountsApi* | [**deleted_accounts_list**](docs/DeletedAccountsApi.md#deleted_accounts_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts
*EncryptionScopesApi* | [**encryption_scopes_get**](docs/EncryptionScopesApi.md#encryption_scopes_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
*EncryptionScopesApi* | [**encryption_scopes_list**](docs/EncryptionScopesApi.md#encryption_scopes_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes
*EncryptionScopesApi* | [**encryption_scopes_patch**](docs/EncryptionScopesApi.md#encryption_scopes_patch)
**PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
*EncryptionScopesApi* | [**encryption_scopes_put**](docs/EncryptionScopesApi.md#encryption_scopes_put)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes/{encryptionScopeName}
+*LocalUsersApi* | [**local_users_create_or_update**](docs/LocalUsersApi.md#local_users_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
+*LocalUsersApi* | [**local_users_delete**](docs/LocalUsersApi.md#local_users_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
+*LocalUsersApi* | [**local_users_get**](docs/LocalUsersApi.md#local_users_get)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}
+*LocalUsersApi* | [**local_users_list**](docs/LocalUsersApi.md#local_users_list)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers
+*LocalUsersApi* | [**local_users_list_keys**](docs/LocalUsersApi.md#local_users_list_keys)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys
+*LocalUsersApi* | [**local_users_regenerate_password**](docs/LocalUsersApi.md#local_users_regenerate_password)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword
*LocationUsageApi* | [**usages_list_by_location**](docs/LocationUsageApi.md#usages_list_by_location)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages
*ManagementPoliciesApi* | [**management_policies_create_or_update**](docs/ManagementPoliciesApi.md#management_policies_create_or_update)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
*ManagementPoliciesApi* | [**management_policies_delete**](docs/ManagementPoliciesApi.md#management_policies_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/managementPolicies/{managementPolicyName}
@@ -39,11 +54,13 @@ Class | Method *PrivateEndpointConnectionsApi* | [**private_endpoint_connections_put**](docs/PrivateEndpointConnectionsApi.md#private_endpoint_connections_put)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateEndpointConnections/{privateEndpointConnectionName}
*PrivateLinkResourcesApi* | [**private_link_resources_list_by_storage_account**](docs/PrivateLinkResourcesApi.md#private_link_resources_list_by_storage_account)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/privateLinkResources
*SkusApi* | [**skus_list**](docs/SkusApi.md#skus_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus
+*StorageAccountsApi* | [**storage_accounts_abort_hierarchical_namespace_migration**](docs/StorageAccountsApi.md#storage_accounts_abort_hierarchical_namespace_migration)
**POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration
*StorageAccountsApi* | [**storage_accounts_check_name_availability**](docs/StorageAccountsApi.md#storage_accounts_check_name_availability)
**POST** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability
*StorageAccountsApi* | [**storage_accounts_create**](docs/StorageAccountsApi.md#storage_accounts_create)
**PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
*StorageAccountsApi* | [**storage_accounts_delete**](docs/StorageAccountsApi.md#storage_accounts_delete)
**DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
*StorageAccountsApi* | [**storage_accounts_failover**](docs/StorageAccountsApi.md#storage_accounts_failover)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover
*StorageAccountsApi* | [**storage_accounts_get_properties**](docs/StorageAccountsApi.md#storage_accounts_get_properties)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}
+*StorageAccountsApi* | [**storage_accounts_hierarchical_namespace_migration**](docs/StorageAccountsApi.md#storage_accounts_hierarchical_namespace_migration)
**POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration
*StorageAccountsApi* | [**storage_accounts_list**](docs/StorageAccountsApi.md#storage_accounts_list)
**GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts
*StorageAccountsApi* | [**storage_accounts_list_account_s_a_s**](docs/StorageAccountsApi.md#storage_accounts_list_account_s_a_s)
**POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas
*StorageAccountsApi* | [**storage_accounts_list_by_resource_group**](docs/StorageAccountsApi.md#storage_accounts_list_by_resource_group)
**GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts
@@ -57,18 +74,33 @@ Class | Method ## Models + - [AccountImmutabilityPolicyProperties](docs/AccountImmutabilityPolicyProperties.md) - [AccountSasParameters](docs/AccountSasParameters.md) - [ActiveDirectoryProperties](docs/ActiveDirectoryProperties.md) - [AzureFilesIdentityBasedAuthentication](docs/AzureFilesIdentityBasedAuthentication.md) + - [BlobInventoryCreationTime](docs/BlobInventoryCreationTime.md) + - [BlobInventoryPolicy](docs/BlobInventoryPolicy.md) + - [BlobInventoryPolicyDefinition](docs/BlobInventoryPolicyDefinition.md) + - [BlobInventoryPolicyFilter](docs/BlobInventoryPolicyFilter.md) + - [BlobInventoryPolicyProperties](docs/BlobInventoryPolicyProperties.md) + - [BlobInventoryPolicyRule](docs/BlobInventoryPolicyRule.md) + - [BlobInventoryPolicySchema](docs/BlobInventoryPolicySchema.md) - [BlobRestoreParameters](docs/BlobRestoreParameters.md) - [BlobRestoreRange](docs/BlobRestoreRange.md) - [BlobRestoreStatus](docs/BlobRestoreStatus.md) - [CheckNameAvailabilityResult](docs/CheckNameAvailabilityResult.md) + - [CloudError](docs/CloudError.md) + - [CloudErrorBody](docs/CloudErrorBody.md) - [CustomDomain](docs/CustomDomain.md) - [DateAfterCreation](docs/DateAfterCreation.md) - [DateAfterModification](docs/DateAfterModification.md) + - [DeletedAccount](docs/DeletedAccount.md) + - [DeletedAccountListResult](docs/DeletedAccountListResult.md) + - [DeletedAccountProperties](docs/DeletedAccountProperties.md) - [Dimension](docs/Dimension.md) + - [DualStackEndpointPreference](docs/DualStackEndpointPreference.md) - [Encryption](docs/Encryption.md) + - [EncryptionIdentity](docs/EncryptionIdentity.md) - [EncryptionScope](docs/EncryptionScope.md) - [EncryptionScopeKeyVaultProperties](docs/EncryptionScopeKeyVaultProperties.md) - [EncryptionScopeListResult](docs/EncryptionScopeListResult.md) @@ -76,13 +108,28 @@ Class | Method - [EncryptionService](docs/EncryptionService.md) - [EncryptionServices](docs/EncryptionServices.md) - [Endpoints](docs/Endpoints.md) + - [ErrorAdditionalInfo](docs/ErrorAdditionalInfo.md) + - [ErrorDetail](docs/ErrorDetail.md) - [ErrorResponse](docs/ErrorResponse.md) + - [ErrorResponse2](docs/ErrorResponse2.md) + - [ErrorResponseBody](docs/ErrorResponseBody.md) + - [ExtendedLocation](docs/ExtendedLocation.md) + - [ExtendedLocationType](docs/ExtendedLocationType.md) - [GeoReplicationStats](docs/GeoReplicationStats.md) - [IPRule](docs/IPRule.md) - [Identity](docs/Identity.md) + - [ImmutableStorageAccount](docs/ImmutableStorageAccount.md) + - [KeyCreationTime](docs/KeyCreationTime.md) + - [KeyPolicy](docs/KeyPolicy.md) - [KeyVaultProperties](docs/KeyVaultProperties.md) - [ListAccountSasResponse](docs/ListAccountSasResponse.md) + - [ListBlobInventoryPolicy](docs/ListBlobInventoryPolicy.md) - [ListServiceSasResponse](docs/ListServiceSasResponse.md) + - [LocalUser](docs/LocalUser.md) + - [LocalUserKeys](docs/LocalUserKeys.md) + - [LocalUserProperties](docs/LocalUserProperties.md) + - [LocalUserRegeneratePasswordResult](docs/LocalUserRegeneratePasswordResult.md) + - [LocalUsers](docs/LocalUsers.md) - [ManagementPolicy](docs/ManagementPolicy.md) - [ManagementPolicyAction](docs/ManagementPolicyAction.md) - [ManagementPolicyBaseBlob](docs/ManagementPolicyBaseBlob.md) @@ -92,17 +139,21 @@ Class | Method - [ManagementPolicyRule](docs/ManagementPolicyRule.md) - [ManagementPolicySchema](docs/ManagementPolicySchema.md) - [ManagementPolicySnapShot](docs/ManagementPolicySnapShot.md) + - [ManagementPolicyVersion](docs/ManagementPolicyVersion.md) - [MetricSpecification](docs/MetricSpecification.md) - [NetworkRuleSet](docs/NetworkRuleSet.md) - [ObjectReplicationPolicies](docs/ObjectReplicationPolicies.md) - [ObjectReplicationPolicy](docs/ObjectReplicationPolicy.md) - [ObjectReplicationPolicyFilter](docs/ObjectReplicationPolicyFilter.md) - [ObjectReplicationPolicyProperties](docs/ObjectReplicationPolicyProperties.md) + - [ObjectReplicationPolicyPropertiesMetrics](docs/ObjectReplicationPolicyPropertiesMetrics.md) - [ObjectReplicationPolicyRule](docs/ObjectReplicationPolicyRule.md) - [Operation](docs/Operation.md) - [OperationDisplay](docs/OperationDisplay.md) - [OperationListResult](docs/OperationListResult.md) - [OperationProperties](docs/OperationProperties.md) + - [PermissionScope](docs/PermissionScope.md) + - [Placement](docs/Placement.md) - [PrivateEndpoint](docs/PrivateEndpoint.md) - [PrivateEndpointConnection](docs/PrivateEndpointConnection.md) - [PrivateEndpointConnectionListResult](docs/PrivateEndpointConnectionListResult.md) @@ -113,41 +164,57 @@ Class | Method - [PrivateLinkResourceListResult](docs/PrivateLinkResourceListResult.md) - [PrivateLinkResourceProperties](docs/PrivateLinkResourceProperties.md) - [PrivateLinkServiceConnectionState](docs/PrivateLinkServiceConnectionState.md) + - [ProxyResource](docs/ProxyResource.md) + - [PublicNetworkAccess](docs/PublicNetworkAccess.md) - [Resource](docs/Resource.md) + - [ResourceAccessRule](docs/ResourceAccessRule.md) - [Restriction](docs/Restriction.md) - [RoutingPreference](docs/RoutingPreference.md) - [SKUCapability](docs/SKUCapability.md) + - [SasPolicy](docs/SasPolicy.md) - [ServiceSasParameters](docs/ServiceSasParameters.md) - [ServiceSpecification](docs/ServiceSpecification.md) - [Sku](docs/Sku.md) - [SkuInformation](docs/SkuInformation.md) + - [SkuInformationLocationInfoInner](docs/SkuInformationLocationInfoInner.md) - [SkuName](docs/SkuName.md) + - [SmbOAuthSettings](docs/SmbOAuthSettings.md) + - [SshPublicKey](docs/SshPublicKey.md) - [StorageAccount](docs/StorageAccount.md) - [StorageAccountCheckNameAvailabilityParameters](docs/StorageAccountCheckNameAvailabilityParameters.md) - [StorageAccountCreateParameters](docs/StorageAccountCreateParameters.md) - [StorageAccountInternetEndpoints](docs/StorageAccountInternetEndpoints.md) + - [StorageAccountIpv6Endpoints](docs/StorageAccountIpv6Endpoints.md) - [StorageAccountKey](docs/StorageAccountKey.md) - [StorageAccountListKeysResult](docs/StorageAccountListKeysResult.md) - [StorageAccountListResult](docs/StorageAccountListResult.md) - [StorageAccountMicrosoftEndpoints](docs/StorageAccountMicrosoftEndpoints.md) + - [StorageAccountMigration](docs/StorageAccountMigration.md) + - [StorageAccountMigrationProperties](docs/StorageAccountMigrationProperties.md) - [StorageAccountProperties](docs/StorageAccountProperties.md) - [StorageAccountPropertiesCreateParameters](docs/StorageAccountPropertiesCreateParameters.md) - [StorageAccountPropertiesUpdateParameters](docs/StorageAccountPropertiesUpdateParameters.md) - [StorageAccountRegenerateKeyParameters](docs/StorageAccountRegenerateKeyParameters.md) + - [StorageAccountSkuConversionStatus](docs/StorageAccountSkuConversionStatus.md) - [StorageAccountUpdateParameters](docs/StorageAccountUpdateParameters.md) - [StorageSkuListResult](docs/StorageSkuListResult.md) + - [SystemData](docs/SystemData.md) - [TagFilter](docs/TagFilter.md) - [Tier](docs/Tier.md) - [TrackedResource](docs/TrackedResource.md) - [Usage](docs/Usage.md) - [UsageListResult](docs/UsageListResult.md) - [UsageName](docs/UsageName.md) + - [UserAssignedIdentity](docs/UserAssignedIdentity.md) - [VirtualNetworkRule](docs/VirtualNetworkRule.md) + ## Authorization -## azure_auth +Authentication schemes defined for the API: + +### azure_auth - **Type**: OAuth - **Flow**: implicit - **Authorization URL**: https://login.microsoftonline.com/common/oauth2/authorize diff --git a/src/Storage/StorageManagementClient/docs/AccountImmutabilityPolicyProperties.md b/src/Storage/StorageManagementClient/docs/AccountImmutabilityPolicyProperties.md new file mode 100644 index 0000000..e3dd98f --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/AccountImmutabilityPolicyProperties.md @@ -0,0 +1,14 @@ +# AccountImmutabilityPolicyProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**immutabilityPeriodSinceCreationInDays** | **Int64** | The immutability period for the blobs in the container since the policy creation, in days. | [optional] [default to nothing] +**state** | **String** | The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted. | [optional] [default to nothing] +**allowProtectedAppendWrites** | **Bool** | This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/AccountMigrationsApi.md b/src/Storage/StorageManagementClient/docs/AccountMigrationsApi.md new file mode 100644 index 0000000..47763d0 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/AccountMigrationsApi.md @@ -0,0 +1,78 @@ +# AccountMigrationsApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**storage_accounts_customer_initiated_migration**](AccountMigrationsApi.md#storage_accounts_customer_initiated_migration) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration | +[**storage_accounts_get_customer_initiated_migration**](AccountMigrationsApi.md#storage_accounts_get_customer_initiated_migration) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName} | + + +# **storage_accounts_customer_initiated_migration** +> storage_accounts_customer_initiated_migration(_api::AccountMigrationsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountMigration; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> storage_accounts_customer_initiated_migration(_api::AccountMigrationsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountMigration; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **AccountMigrationsApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**parameters** | [**StorageAccountMigration**](StorageAccountMigration.md) | The request parameters required to perform storage account migration. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **storage_accounts_get_customer_initiated_migration** +> storage_accounts_get_customer_initiated_migration(_api::AccountMigrationsApi, resource_group_name::String, account_name::String, migration_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> StorageAccountMigration, OpenAPI.Clients.ApiResponse
+> storage_accounts_get_customer_initiated_migration(_api::AccountMigrationsApi, response_stream::Channel, resource_group_name::String, account_name::String, migration_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ StorageAccountMigration }, OpenAPI.Clients.ApiResponse + + + +Gets the status of the ongoing migration for the specified storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **AccountMigrationsApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**migration_name** | **String** | The name of the Storage Account Migration. It should always be 'default' | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Return type + +[**StorageAccountMigration**](StorageAccountMigration.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Storage/StorageManagementClient/docs/ActiveDirectoryProperties.md b/src/Storage/StorageManagementClient/docs/ActiveDirectoryProperties.md index d50273e..ce9ae74 100644 --- a/src/Storage/StorageManagementClient/docs/ActiveDirectoryProperties.md +++ b/src/Storage/StorageManagementClient/docs/ActiveDirectoryProperties.md @@ -4,12 +4,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**domainName** | **String** | Specifies the primary domain that the AD DNS server is authoritative for. | [default to nothing] -**netBiosDomainName** | **String** | Specifies the NetBIOS domain name. | [default to nothing] -**forestName** | **String** | Specifies the Active Directory forest to get. | [default to nothing] -**domainGuid** | **String** | Specifies the domain GUID. | [default to nothing] -**domainSid** | **String** | Specifies the security identifier (SID). | [default to nothing] -**azureStorageSid** | **String** | Specifies the security identifier (SID) for Azure Storage. | [default to nothing] +**domainName** | **String** | Specifies the primary domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication. | [optional] [default to nothing] +**netBiosDomainName** | **String** | Specifies the NetBIOS domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. | [optional] [default to nothing] +**forestName** | **String** | Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. | [optional] [default to nothing] +**domainGuid** | **String** | Specifies the domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication. | [optional] [default to nothing] +**domainSid** | **String** | Specifies the security identifier (SID) of the AD domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. | [optional] [default to nothing] +**azureStorageSid** | **String** | Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. | [optional] [default to nothing] +**samAccountName** | **String** | Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. | [optional] [default to nothing] +**accountType** | **String** | Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/AzureFilesIdentityBasedAuthentication.md b/src/Storage/StorageManagementClient/docs/AzureFilesIdentityBasedAuthentication.md index 3c879dc..6b907c6 100644 --- a/src/Storage/StorageManagementClient/docs/AzureFilesIdentityBasedAuthentication.md +++ b/src/Storage/StorageManagementClient/docs/AzureFilesIdentityBasedAuthentication.md @@ -4,8 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**directoryServiceOptions** | **String** | Indicates the directory service used. | [default to nothing] +**directoryServiceOptions** | **String** | Indicates the directory service used. Note that this enum may be extended in the future. | [default to nothing] **activeDirectoryProperties** | [***ActiveDirectoryProperties**](ActiveDirectoryProperties.md) | | [optional] [default to nothing] +**defaultSharePermission** | **String** | Default share permission for users using Kerberos authentication if RBAC role is not assigned. | [optional] [default to nothing] +**smbOAuthSettings** | [***SmbOAuthSettings**](SmbOAuthSettings.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryCreationTime.md b/src/Storage/StorageManagementClient/docs/BlobInventoryCreationTime.md new file mode 100644 index 0000000..3d58c0e --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryCreationTime.md @@ -0,0 +1,12 @@ +# BlobInventoryCreationTime + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastNDays** | **Int64** | When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPoliciesApi.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPoliciesApi.md new file mode 100644 index 0000000..51f6c98 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPoliciesApi.md @@ -0,0 +1,148 @@ +# BlobInventoryPoliciesApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**blob_inventory_policies_create_or_update**](BlobInventoryPoliciesApi.md#blob_inventory_policies_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName} | +[**blob_inventory_policies_delete**](BlobInventoryPoliciesApi.md#blob_inventory_policies_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName} | +[**blob_inventory_policies_get**](BlobInventoryPoliciesApi.md#blob_inventory_policies_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName} | +[**blob_inventory_policies_list**](BlobInventoryPoliciesApi.md#blob_inventory_policies_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies | + + +# **blob_inventory_policies_create_or_update** +> blob_inventory_policies_create_or_update(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String, properties::BlobInventoryPolicy; _mediaType=nothing) -> BlobInventoryPolicy, OpenAPI.Clients.ApiResponse
+> blob_inventory_policies_create_or_update(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String, properties::BlobInventoryPolicy; _mediaType=nothing) -> Channel{ BlobInventoryPolicy }, OpenAPI.Clients.ApiResponse + + + +Sets the blob inventory policy to the specified storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **BlobInventoryPoliciesApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**blob_inventory_policy_name** | **String** | The name of the storage account blob inventory policy. It should always be 'default' | +**properties** | [**BlobInventoryPolicy**](BlobInventoryPolicy.md) | The blob inventory policy set to a storage account. | + +### Return type + +[**BlobInventoryPolicy**](BlobInventoryPolicy.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **blob_inventory_policies_delete** +> blob_inventory_policies_delete(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> blob_inventory_policies_delete(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Deletes the blob inventory policy associated with the specified storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **BlobInventoryPoliciesApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**blob_inventory_policy_name** | **String** | The name of the storage account blob inventory policy. It should always be 'default' | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **blob_inventory_policies_get** +> blob_inventory_policies_get(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) -> BlobInventoryPolicy, OpenAPI.Clients.ApiResponse
+> blob_inventory_policies_get(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) -> Channel{ BlobInventoryPolicy }, OpenAPI.Clients.ApiResponse + + + +Gets the blob inventory policy associated with the specified storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **BlobInventoryPoliciesApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**blob_inventory_policy_name** | **String** | The name of the storage account blob inventory policy. It should always be 'default' | + +### Return type + +[**BlobInventoryPolicy**](BlobInventoryPolicy.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **blob_inventory_policies_list** +> blob_inventory_policies_list(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> ListBlobInventoryPolicy, OpenAPI.Clients.ApiResponse
+> blob_inventory_policies_list(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ ListBlobInventoryPolicy }, OpenAPI.Clients.ApiResponse + + + +Gets the blob inventory policy associated with the specified storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **BlobInventoryPoliciesApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Return type + +[**ListBlobInventoryPolicy**](ListBlobInventoryPolicy.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPolicy.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicy.md new file mode 100644 index 0000000..9c28077 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicy.md @@ -0,0 +1,16 @@ +# BlobInventoryPolicy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***BlobInventoryPolicyProperties**](BlobInventoryPolicyProperties.md) | | [optional] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyDefinition.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyDefinition.md new file mode 100644 index 0000000..0030475 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyDefinition.md @@ -0,0 +1,16 @@ +# BlobInventoryPolicyDefinition + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**filters** | [***BlobInventoryPolicyFilter**](BlobInventoryPolicyFilter.md) | | [optional] [default to nothing] +**format** | **String** | This is a required field, it specifies the format for the inventory files. | [default to nothing] +**schedule** | **String** | This is a required field. This field is used to schedule an inventory formation. | [default to nothing] +**objectType** | **String** | This is a required field. This field specifies the scope of the inventory created either at the blob or container level. | [default to nothing] +**schemaFields** | **Vector{String}** | This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts. | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyFilter.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyFilter.md new file mode 100644 index 0000000..bfef2fe --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyFilter.md @@ -0,0 +1,18 @@ +# BlobInventoryPolicyFilter + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**prefixMatch** | **Vector{String}** | An array of strings with maximum 10 blob prefixes to be included in the inventory. | [optional] [default to nothing] +**excludePrefix** | **Vector{String}** | An array of strings with maximum 10 blob prefixes to be excluded from the inventory. | [optional] [default to nothing] +**blobTypes** | **Vector{String}** | An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'. | [optional] [default to nothing] +**includeBlobVersions** | **Bool** | Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded. | [optional] [default to nothing] +**includeSnapshots** | **Bool** | Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded. | [optional] [default to nothing] +**includeDeleted** | **Bool** | For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded. | [optional] [default to nothing] +**creationTime** | [***BlobInventoryCreationTime**](BlobInventoryCreationTime.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyProperties.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyProperties.md new file mode 100644 index 0000000..fea0ac6 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyProperties.md @@ -0,0 +1,13 @@ +# BlobInventoryPolicyProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**lastModifiedTime** | **ZonedDateTime** | Returns the last modified date and time of the blob inventory policy. | [optional] [readonly] [default to nothing] +**policy** | [***BlobInventoryPolicySchema**](BlobInventoryPolicySchema.md) | | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyRule.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyRule.md new file mode 100644 index 0000000..8f2c8ac --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicyRule.md @@ -0,0 +1,15 @@ +# BlobInventoryPolicyRule + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Bool** | Rule is enabled when set to true. | [default to nothing] +**name** | **String** | A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. | [default to nothing] +**destination** | **String** | Container name where blob inventory files are stored. Must be pre-created. | [default to nothing] +**definition** | [***BlobInventoryPolicyDefinition**](BlobInventoryPolicyDefinition.md) | | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/BlobInventoryPolicySchema.md b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicySchema.md new file mode 100644 index 0000000..5402f04 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/BlobInventoryPolicySchema.md @@ -0,0 +1,15 @@ +# BlobInventoryPolicySchema + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Bool** | Policy is enabled if set to true. | [default to nothing] +**destination** | **String** | Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination' | [optional] [readonly] [default to nothing] +**type** | **String** | The valid value is Inventory | [default to nothing] +**rules** | [**Vector{BlobInventoryPolicyRule}**](BlobInventoryPolicyRule.md) | The storage account blob inventory policy rules. The rule is applied when it is enabled. | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/CloudError.md b/src/Storage/StorageManagementClient/docs/CloudError.md new file mode 100644 index 0000000..7e4ee83 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/CloudError.md @@ -0,0 +1,12 @@ +# CloudError + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***CloudErrorBody**](CloudErrorBody.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/CloudErrorBody.md b/src/Storage/StorageManagementClient/docs/CloudErrorBody.md new file mode 100644 index 0000000..a58f166 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/CloudErrorBody.md @@ -0,0 +1,15 @@ +# CloudErrorBody + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | An identifier for the error. Codes are invariant and are intended to be consumed programmatically. | [optional] [default to nothing] +**message** | **String** | A message describing the error, intended to be suitable for display in a user interface. | [optional] [default to nothing] +**target** | **String** | The target of the particular error. For example, the name of the property in error. | [optional] [default to nothing] +**details** | [**Vector{CloudErrorBody}**](CloudErrorBody.md) | A list of additional details about the error. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/DateAfterCreation.md b/src/Storage/StorageManagementClient/docs/DateAfterCreation.md index 516e551..95ada6b 100644 --- a/src/Storage/StorageManagementClient/docs/DateAfterCreation.md +++ b/src/Storage/StorageManagementClient/docs/DateAfterCreation.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **daysAfterCreationGreaterThan** | **Float64** | Value indicating the age in days after creation | [default to nothing] +**daysAfterLastTierChangeGreaterThan** | **Float64** | Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/DateAfterModification.md b/src/Storage/StorageManagementClient/docs/DateAfterModification.md index 77236dc..e2ab4e0 100644 --- a/src/Storage/StorageManagementClient/docs/DateAfterModification.md +++ b/src/Storage/StorageManagementClient/docs/DateAfterModification.md @@ -4,7 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**daysAfterModificationGreaterThan** | **Float64** | Value indicating the age in days after last modification | [default to nothing] +**daysAfterModificationGreaterThan** | **Float64** | Value indicating the age in days after last modification | [optional] [default to nothing] +**daysAfterLastAccessTimeGreaterThan** | **Float64** | Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy | [optional] [default to nothing] +**daysAfterLastTierChangeGreaterThan** | **Float64** | Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied. | [optional] [default to nothing] +**daysAfterCreationGreaterThan** | **Float64** | Value indicating the age in days after blob creation. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/DeletedAccount.md b/src/Storage/StorageManagementClient/docs/DeletedAccount.md new file mode 100644 index 0000000..b1d4c15 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/DeletedAccount.md @@ -0,0 +1,15 @@ +# DeletedAccount + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***DeletedAccountProperties**](DeletedAccountProperties.md) | | [optional] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/DeletedAccountListResult.md b/src/Storage/StorageManagementClient/docs/DeletedAccountListResult.md new file mode 100644 index 0000000..e1aeeb5 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/DeletedAccountListResult.md @@ -0,0 +1,13 @@ +# DeletedAccountListResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{DeletedAccount}**](DeletedAccount.md) | Gets the list of deleted accounts and their properties. | [optional] [readonly] [default to nothing] +**nextLink** | **String** | Request URL that can be used to query next page of deleted accounts. Returned when total number of requested deleted accounts exceed maximum page size. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/DeletedAccountProperties.md b/src/Storage/StorageManagementClient/docs/DeletedAccountProperties.md new file mode 100644 index 0000000..81c89fe --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/DeletedAccountProperties.md @@ -0,0 +1,16 @@ +# DeletedAccountProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**storageAccountResourceId** | **String** | Full resource id of the original storage account. | [optional] [readonly] [default to nothing] +**location** | **String** | Location of the deleted account. | [optional] [readonly] [default to nothing] +**restoreReference** | **String** | Can be used to attempt recovering this deleted account via PutStorageAccount API. | [optional] [readonly] [default to nothing] +**creationTime** | **String** | Creation time of the deleted account. | [optional] [readonly] [default to nothing] +**deletionTime** | **String** | Deletion time of the deleted account. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/DeletedAccountsApi.md b/src/Storage/StorageManagementClient/docs/DeletedAccountsApi.md new file mode 100644 index 0000000..7c523ca --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/DeletedAccountsApi.md @@ -0,0 +1,74 @@ +# DeletedAccountsApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**deleted_accounts_get**](DeletedAccountsApi.md#deleted_accounts_get) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName} | +[**deleted_accounts_list**](DeletedAccountsApi.md#deleted_accounts_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts | + + +# **deleted_accounts_get** +> deleted_accounts_get(_api::DeletedAccountsApi, deleted_account_name::String, location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> DeletedAccount, OpenAPI.Clients.ApiResponse
+> deleted_accounts_get(_api::DeletedAccountsApi, response_stream::Channel, deleted_account_name::String, location::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeletedAccount }, OpenAPI.Clients.ApiResponse + + + +Get properties of specified deleted account resource. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DeletedAccountsApi** | API context | +**deleted_account_name** | **String** | Name of the deleted storage account. | +**location** | **String** | The location of the deleted storage account. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Return type + +[**DeletedAccount**](DeletedAccount.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **deleted_accounts_list** +> deleted_accounts_list(_api::DeletedAccountsApi, api_version::String, subscription_id::String; _mediaType=nothing) -> DeletedAccountListResult, OpenAPI.Clients.ApiResponse
+> deleted_accounts_list(_api::DeletedAccountsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ DeletedAccountListResult }, OpenAPI.Clients.ApiResponse + + + +Lists deleted accounts under the subscription. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **DeletedAccountsApi** | API context | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Return type + +[**DeletedAccountListResult**](DeletedAccountListResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Storage/StorageManagementClient/docs/DualStackEndpointPreference.md b/src/Storage/StorageManagementClient/docs/DualStackEndpointPreference.md new file mode 100644 index 0000000..8109ee1 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/DualStackEndpointPreference.md @@ -0,0 +1,12 @@ +# DualStackEndpointPreference + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**publishIpv6Endpoint** | **Bool** | A boolean flag which indicates whether IPv6 storage endpoints are to be published. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/Encryption.md b/src/Storage/StorageManagementClient/docs/Encryption.md index 45edce5..7a14b75 100644 --- a/src/Storage/StorageManagementClient/docs/Encryption.md +++ b/src/Storage/StorageManagementClient/docs/Encryption.md @@ -5,9 +5,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **services** | [***EncryptionServices**](EncryptionServices.md) | | [optional] [default to nothing] -**keySource** | **String** | The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault | [default to Microsoft.Storage] +**keySource** | **String** | The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault | [optional] [default to "Microsoft.Storage"] **requireInfrastructureEncryption** | **Bool** | A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. | [optional] [default to nothing] **keyvaultproperties** | [***KeyVaultProperties**](KeyVaultProperties.md) | | [optional] [default to nothing] +**identity** | [***EncryptionIdentity**](EncryptionIdentity.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/EncryptionIdentity.md b/src/Storage/StorageManagementClient/docs/EncryptionIdentity.md new file mode 100644 index 0000000..82f032e --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/EncryptionIdentity.md @@ -0,0 +1,13 @@ +# EncryptionIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**userAssignedIdentity** | **String** | Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account. | [optional] [default to nothing] +**federatedIdentityClientId** | **String** | ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/EncryptionScope.md b/src/Storage/StorageManagementClient/docs/EncryptionScope.md index ee4e1d7..ca4b047 100644 --- a/src/Storage/StorageManagementClient/docs/EncryptionScope.md +++ b/src/Storage/StorageManagementClient/docs/EncryptionScope.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***EncryptionScopeProperties**](EncryptionScopeProperties.md) | | [optional] [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/EncryptionScopeKeyVaultProperties.md b/src/Storage/StorageManagementClient/docs/EncryptionScopeKeyVaultProperties.md index 2fd92d4..66f9ca7 100644 --- a/src/Storage/StorageManagementClient/docs/EncryptionScopeKeyVaultProperties.md +++ b/src/Storage/StorageManagementClient/docs/EncryptionScopeKeyVaultProperties.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **keyUri** | **String** | The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. | [optional] [default to nothing] +**currentVersionedKeyIdentifier** | **String** | The object identifier of the current versioned Key Vault Key in use. | [optional] [readonly] [default to nothing] +**lastKeyRotationTimestamp** | **ZonedDateTime** | Timestamp of last rotation of the Key Vault Key. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/EncryptionScopeProperties.md b/src/Storage/StorageManagementClient/docs/EncryptionScopeProperties.md index c2a4361..6e85bee 100644 --- a/src/Storage/StorageManagementClient/docs/EncryptionScopeProperties.md +++ b/src/Storage/StorageManagementClient/docs/EncryptionScopeProperties.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **creationTime** | **ZonedDateTime** | Gets the creation date and time of the encryption scope in UTC. | [optional] [readonly] [default to nothing] **lastModifiedTime** | **ZonedDateTime** | Gets the last modification date and time of the encryption scope in UTC. | [optional] [readonly] [default to nothing] **keyVaultProperties** | [***EncryptionScopeKeyVaultProperties**](EncryptionScopeKeyVaultProperties.md) | | [optional] [default to nothing] +**requireInfrastructureEncryption** | **Bool** | A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/EncryptionScopesApi.md b/src/Storage/StorageManagementClient/docs/EncryptionScopesApi.md index bd9ec40..edb85ec 100644 --- a/src/Storage/StorageManagementClient/docs/EncryptionScopesApi.md +++ b/src/Storage/StorageManagementClient/docs/EncryptionScopesApi.md @@ -23,11 +23,11 @@ Returns the properties for the specified encryption scope. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **EncryptionScopesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**encryption_scope_name** | **String**| The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**encryption_scope_name** | **String** | The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. | ### Return type @@ -45,8 +45,8 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **encryption_scopes_list** -> encryption_scopes_list(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> EncryptionScopeListResult, OpenAPI.Clients.ApiResponse
-> encryption_scopes_list(_api::EncryptionScopesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ EncryptionScopeListResult }, OpenAPI.Clients.ApiResponse +> encryption_scopes_list(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) -> EncryptionScopeListResult, OpenAPI.Clients.ApiResponse
+> encryption_scopes_list(_api::EncryptionScopesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) -> Channel{ EncryptionScopeListResult }, OpenAPI.Clients.ApiResponse @@ -57,10 +57,18 @@ Lists all the encryption scopes available under the specified storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **EncryptionScopesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **maxpagesize** | **Int64** | Optional, specifies the maximum number of encryption scopes that will be included in the list response. | [default to nothing] + **filter** | **String** | Optional. When specified, only encryption scope names starting with the filter will be listed. | [default to nothing] + **include** | **String** | Optional, when specified, will list encryption scopes with the specific state. Defaults to All | [default to nothing] ### Return type @@ -90,12 +98,12 @@ Update encryption scope properties as specified in the request body. Update fail Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **EncryptionScopesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**encryption_scope_name** | **String**| The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. | [default to nothing] -**encryption_scope** | [**EncryptionScope**](EncryptionScope.md)| Encryption scope properties to be used for the update. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**encryption_scope_name** | **String** | The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. | +**encryption_scope** | [**EncryptionScope**](EncryptionScope.md) | Encryption scope properties to be used for the update. | ### Return type @@ -125,12 +133,12 @@ Synchronously creates or updates an encryption scope under the specified storage Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **EncryptionScopesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**encryption_scope_name** | **String**| The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. | [default to nothing] -**encryption_scope** | [**EncryptionScope**](EncryptionScope.md)| Encryption scope properties to be used for the create or update. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**encryption_scope_name** | **String** | The name of the encryption scope within the specified storage account. Encryption scope names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. | +**encryption_scope** | [**EncryptionScope**](EncryptionScope.md) | Encryption scope properties to be used for the create or update. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/EncryptionService.md b/src/Storage/StorageManagementClient/docs/EncryptionService.md index 13744f1..b9595dc 100644 --- a/src/Storage/StorageManagementClient/docs/EncryptionService.md +++ b/src/Storage/StorageManagementClient/docs/EncryptionService.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**enabled** | **Bool** | A boolean indicating whether or not the service encrypts the data as it is stored. | [optional] [default to nothing] -**lastEnabledTime** | **ZonedDateTime** | Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate. | [optional] [readonly] [default to nothing] +**enabled** | **Bool** | A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled. | [optional] [default to nothing] +**lastEnabledTime** | **ZonedDateTime** | Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled. | [optional] [readonly] [default to nothing] **keyType** | **String** | Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. | [optional] [default to nothing] diff --git a/src/Storage/StorageManagementClient/docs/Endpoints.md b/src/Storage/StorageManagementClient/docs/Endpoints.md index 303a799..50173fb 100644 --- a/src/Storage/StorageManagementClient/docs/Endpoints.md +++ b/src/Storage/StorageManagementClient/docs/Endpoints.md @@ -12,6 +12,7 @@ Name | Type | Description | Notes **dfs** | **String** | Gets the dfs endpoint. | [optional] [readonly] [default to nothing] **microsoftEndpoints** | [***StorageAccountMicrosoftEndpoints**](StorageAccountMicrosoftEndpoints.md) | | [optional] [default to nothing] **internetEndpoints** | [***StorageAccountInternetEndpoints**](StorageAccountInternetEndpoints.md) | | [optional] [default to nothing] +**ipv6Endpoints** | [***StorageAccountIpv6Endpoints**](StorageAccountIpv6Endpoints.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ErrorAdditionalInfo.md b/src/Storage/StorageManagementClient/docs/ErrorAdditionalInfo.md new file mode 100644 index 0000000..73141a3 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ErrorAdditionalInfo.md @@ -0,0 +1,13 @@ +# ErrorAdditionalInfo + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**type** | **String** | The additional info type. | [optional] [readonly] [default to nothing] +**info** | **Any** | The additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/ErrorDetail.md b/src/Storage/StorageManagementClient/docs/ErrorDetail.md new file mode 100644 index 0000000..40b8a90 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ErrorDetail.md @@ -0,0 +1,16 @@ +# ErrorDetail + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | The error code. | [optional] [readonly] [default to nothing] +**message** | **String** | The error message. | [optional] [readonly] [default to nothing] +**target** | **String** | The error target. | [optional] [readonly] [default to nothing] +**details** | [**Vector{ErrorDetail}**](ErrorDetail.md) | The error details. | [optional] [readonly] [default to nothing] +**additionalInfo** | [**Vector{ErrorAdditionalInfo}**](ErrorAdditionalInfo.md) | The error additional info. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/ErrorResponse.md b/src/Storage/StorageManagementClient/docs/ErrorResponse.md index 163f4ea..59743eb 100644 --- a/src/Storage/StorageManagementClient/docs/ErrorResponse.md +++ b/src/Storage/StorageManagementClient/docs/ErrorResponse.md @@ -4,8 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**code** | **String** | An identifier for the error. Codes are invariant and are intended to be consumed programmatically. | [optional] [default to nothing] -**message** | **String** | A message describing the error, intended to be suitable for display in a user interface. | [optional] [default to nothing] +**error** | [***ErrorResponseBody**](ErrorResponseBody.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ErrorResponse2.md b/src/Storage/StorageManagementClient/docs/ErrorResponse2.md new file mode 100644 index 0000000..568223e --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ErrorResponse2.md @@ -0,0 +1,12 @@ +# ErrorResponse2 + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**error** | [***ErrorDetail**](ErrorDetail.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/ErrorResponseBody.md b/src/Storage/StorageManagementClient/docs/ErrorResponseBody.md new file mode 100644 index 0000000..cb35912 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ErrorResponseBody.md @@ -0,0 +1,13 @@ +# ErrorResponseBody + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**code** | **String** | An identifier for the error. Codes are invariant and are intended to be consumed programmatically. | [optional] [default to nothing] +**message** | **String** | A message describing the error, intended to be suitable for display in a user interface. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/ExtendedLocation.md b/src/Storage/StorageManagementClient/docs/ExtendedLocation.md new file mode 100644 index 0000000..906137b --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ExtendedLocation.md @@ -0,0 +1,13 @@ +# ExtendedLocation + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**name** | **String** | The name of the extended location. | [optional] [default to nothing] +**type** | [***ExtendedLocationType**](ExtendedLocationType.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/ExtendedLocationType.md b/src/Storage/StorageManagementClient/docs/ExtendedLocationType.md new file mode 100644 index 0000000..3a70481 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ExtendedLocationType.md @@ -0,0 +1,11 @@ +# ExtendedLocationType + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/GeoReplicationStats.md b/src/Storage/StorageManagementClient/docs/GeoReplicationStats.md index 0a8ef08..7ea3880 100644 --- a/src/Storage/StorageManagementClient/docs/GeoReplicationStats.md +++ b/src/Storage/StorageManagementClient/docs/GeoReplicationStats.md @@ -7,6 +7,9 @@ Name | Type | Description | Notes **status** | **String** | The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. | [optional] [readonly] [default to nothing] **lastSyncTime** | **ZonedDateTime** | All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap. | [optional] [readonly] [default to nothing] **canFailover** | **Bool** | A boolean flag which indicates whether or not account failover is supported for the account. | [optional] [readonly] [default to nothing] +**canPlannedFailover** | **Bool** | A boolean flag which indicates whether or not planned account failover is supported for the account. | [optional] [readonly] [default to nothing] +**postFailoverRedundancy** | **String** | The redundancy type of the account after an account failover is performed. | [optional] [readonly] [default to nothing] +**postPlannedFailoverRedundancy** | **String** | The redundancy type of the account after a planned account failover is performed. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/IPRule.md b/src/Storage/StorageManagementClient/docs/IPRule.md index c96b11e..33a7203 100644 --- a/src/Storage/StorageManagementClient/docs/IPRule.md +++ b/src/Storage/StorageManagementClient/docs/IPRule.md @@ -4,8 +4,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**value** | **String** | Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. | [default to nothing] -**action** | **String** | The action of IP ACL rule. | [optional] [default to Allow] +**value** | **String** | Specifies the IP or IP range in CIDR format. | [default to nothing] +**action** | **String** | The action of IP ACL rule. | [optional] [default to "Allow"] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/Identity.md b/src/Storage/StorageManagementClient/docs/Identity.md index a2fac0d..a984311 100644 --- a/src/Storage/StorageManagementClient/docs/Identity.md +++ b/src/Storage/StorageManagementClient/docs/Identity.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **principalId** | **String** | The principal ID of resource identity. | [optional] [readonly] [default to nothing] **tenantId** | **String** | The tenant ID of resource. | [optional] [readonly] [default to nothing] **type** | **String** | The identity type. | [default to nothing] +**userAssignedIdentities** | [**Dict{String, UserAssignedIdentity}**](UserAssignedIdentity.md) | Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ImmutableStorageAccount.md b/src/Storage/StorageManagementClient/docs/ImmutableStorageAccount.md new file mode 100644 index 0000000..797ab84 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ImmutableStorageAccount.md @@ -0,0 +1,13 @@ +# ImmutableStorageAccount + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Bool** | A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default. | [optional] [default to nothing] +**immutabilityPolicy** | [***AccountImmutabilityPolicyProperties**](AccountImmutabilityPolicyProperties.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/KeyCreationTime.md b/src/Storage/StorageManagementClient/docs/KeyCreationTime.md new file mode 100644 index 0000000..43f6a8f --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/KeyCreationTime.md @@ -0,0 +1,13 @@ +# KeyCreationTime + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**key1** | **ZonedDateTime** | | [optional] [default to nothing] +**key2** | **ZonedDateTime** | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/KeyPolicy.md b/src/Storage/StorageManagementClient/docs/KeyPolicy.md new file mode 100644 index 0000000..bf10f2a --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/KeyPolicy.md @@ -0,0 +1,12 @@ +# KeyPolicy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**keyExpirationPeriodInDays** | **Int64** | The key expiration period in days. | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/KeyVaultProperties.md b/src/Storage/StorageManagementClient/docs/KeyVaultProperties.md index 0212f05..06d4156 100644 --- a/src/Storage/StorageManagementClient/docs/KeyVaultProperties.md +++ b/src/Storage/StorageManagementClient/docs/KeyVaultProperties.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **keyvaulturi** | **String** | The Uri of KeyVault. | [optional] [default to nothing] **currentVersionedKeyIdentifier** | **String** | The object identifier of the current versioned Key Vault Key in use. | [optional] [readonly] [default to nothing] **lastKeyRotationTimestamp** | **ZonedDateTime** | Timestamp of last rotation of the Key Vault Key. | [optional] [readonly] [default to nothing] +**currentVersionedKeyExpirationTimestamp** | **ZonedDateTime** | This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ListBlobInventoryPolicy.md b/src/Storage/StorageManagementClient/docs/ListBlobInventoryPolicy.md new file mode 100644 index 0000000..a04ac91 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ListBlobInventoryPolicy.md @@ -0,0 +1,12 @@ +# ListBlobInventoryPolicy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{BlobInventoryPolicy}**](BlobInventoryPolicy.md) | List of blob inventory policies. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/LocalUser.md b/src/Storage/StorageManagementClient/docs/LocalUser.md new file mode 100644 index 0000000..41f1da4 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/LocalUser.md @@ -0,0 +1,16 @@ +# LocalUser + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**properties** | [***LocalUserProperties**](LocalUserProperties.md) | | [optional] [default to nothing] +**systemData** | [***SystemData**](SystemData.md) | | [optional] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/LocalUserKeys.md b/src/Storage/StorageManagementClient/docs/LocalUserKeys.md new file mode 100644 index 0000000..2b0bfa6 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/LocalUserKeys.md @@ -0,0 +1,13 @@ +# LocalUserKeys + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sshAuthorizedKeys** | [**Vector{SshPublicKey}**](SshPublicKey.md) | Optional, local user ssh authorized keys for SFTP. | [optional] [default to nothing] +**sharedKey** | **String** | Auto generated by the server for SMB authentication. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/LocalUserProperties.md b/src/Storage/StorageManagementClient/docs/LocalUserProperties.md new file mode 100644 index 0000000..3c3dfb1 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/LocalUserProperties.md @@ -0,0 +1,23 @@ +# LocalUserProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**permissionScopes** | [**Vector{PermissionScope}**](PermissionScope.md) | The permission scopes of the local user. | [optional] [default to nothing] +**homeDirectory** | **String** | Optional, local user home directory. | [optional] [default to nothing] +**sshAuthorizedKeys** | [**Vector{SshPublicKey}**](SshPublicKey.md) | Optional, local user ssh authorized keys for SFTP. | [optional] [default to nothing] +**sid** | **String** | A unique Security Identifier that is generated by the server. | [optional] [readonly] [default to nothing] +**hasSharedKey** | **Bool** | Indicates whether shared key exists. Set it to false to remove existing shared key. | [optional] [default to nothing] +**hasSshKey** | **Bool** | Indicates whether ssh key exists. Set it to false to remove existing SSH key. | [optional] [default to nothing] +**hasSshPassword** | **Bool** | Indicates whether ssh password exists. Set it to false to remove existing SSH password. | [optional] [default to nothing] +**userId** | **Int64** | A unique Identifier that is generated by the server. | [optional] [readonly] [default to nothing] +**groupId** | **Int64** | An identifier for associating a group of users. | [optional] [default to nothing] +**allowAclAuthorization** | **Bool** | Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization. | [optional] [default to nothing] +**extendedGroups** | **Vector{Int64}** | Supplementary group membership. Only applicable for local users enabled for NFSv3 access. | [optional] [default to nothing] +**isNFSv3Enabled** | **Bool** | Indicates if the local user is enabled for access with NFSv3 protocol. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/LocalUserRegeneratePasswordResult.md b/src/Storage/StorageManagementClient/docs/LocalUserRegeneratePasswordResult.md new file mode 100644 index 0000000..58adad1 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/LocalUserRegeneratePasswordResult.md @@ -0,0 +1,12 @@ +# LocalUserRegeneratePasswordResult + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sshPassword** | **String** | Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/LocalUsers.md b/src/Storage/StorageManagementClient/docs/LocalUsers.md new file mode 100644 index 0000000..5281d9e --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/LocalUsers.md @@ -0,0 +1,13 @@ +# LocalUsers + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**value** | [**Vector{LocalUser}**](LocalUser.md) | The list of local users associated with the storage account. | [optional] [default to nothing] +**nextLink** | **String** | Request URL that can be used to query next page of local users. Returned when total number of requested local users exceeds the maximum page size. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/LocalUsersApi.md b/src/Storage/StorageManagementClient/docs/LocalUsersApi.md new file mode 100644 index 0000000..f51c0da --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/LocalUsersApi.md @@ -0,0 +1,226 @@ +# LocalUsersApi + +All URIs are relative to *https://management.azure.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**local_users_create_or_update**](LocalUsersApi.md#local_users_create_or_update) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username} | +[**local_users_delete**](LocalUsersApi.md#local_users_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username} | +[**local_users_get**](LocalUsersApi.md#local_users_get) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username} | +[**local_users_list**](LocalUsersApi.md#local_users_list) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers | +[**local_users_list_keys**](LocalUsersApi.md#local_users_list_keys) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys | +[**local_users_regenerate_password**](LocalUsersApi.md#local_users_regenerate_password) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword | + + +# **local_users_create_or_update** +> local_users_create_or_update(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String, properties::LocalUser; _mediaType=nothing) -> LocalUser, OpenAPI.Clients.ApiResponse
+> local_users_create_or_update(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String, properties::LocalUser; _mediaType=nothing) -> Channel{ LocalUser }, OpenAPI.Clients.ApiResponse + + + +Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LocalUsersApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**username** | **String** | The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account. | +**properties** | [**LocalUser**](LocalUser.md) | The local user associated with a storage account. | + +### Return type + +[**LocalUser**](LocalUser.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: application/json + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **local_users_delete** +> local_users_delete(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> local_users_delete(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Deletes the local user associated with the specified storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LocalUsersApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**username** | **String** | The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **local_users_get** +> local_users_get(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> LocalUser, OpenAPI.Clients.ApiResponse
+> local_users_get(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> Channel{ LocalUser }, OpenAPI.Clients.ApiResponse + + + +Get the local user of the storage account by username. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LocalUsersApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**username** | **String** | The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account. | + +### Return type + +[**LocalUser**](LocalUser.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **local_users_list** +> local_users_list(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) -> LocalUsers, OpenAPI.Clients.ApiResponse
+> local_users_list(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) -> Channel{ LocalUsers }, OpenAPI.Clients.ApiResponse + + + +List the local users associated with the storage account. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LocalUsersApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **maxpagesize** | **Int64** | Optional, specifies the maximum number of local users that will be included in the list response. | [default to nothing] + **filter** | **String** | Optional. When specified, only local user names starting with the filter will be listed. | [default to nothing] + **include** | **String** | Optional, when specified, will list local users enabled for the specific protocol. Lists all users by default. | [default to nothing] + +### Return type + +[**LocalUsers**](LocalUsers.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **local_users_list_keys** +> local_users_list_keys(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> LocalUserKeys, OpenAPI.Clients.ApiResponse
+> local_users_list_keys(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> Channel{ LocalUserKeys }, OpenAPI.Clients.ApiResponse + + + +List SSH authorized keys and shared key of the local user. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LocalUsersApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**username** | **String** | The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account. | + +### Return type + +[**LocalUserKeys**](LocalUserKeys.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + +# **local_users_regenerate_password** +> local_users_regenerate_password(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> LocalUserRegeneratePasswordResult, OpenAPI.Clients.ApiResponse
+> local_users_regenerate_password(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) -> Channel{ LocalUserRegeneratePasswordResult }, OpenAPI.Clients.ApiResponse + + + +Regenerate the local user SSH password. + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **LocalUsersApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**username** | **String** | The name of local user. The username must contain lowercase letters and numbers only. It must be unique only within the storage account. | + +### Return type + +[**LocalUserRegeneratePasswordResult**](LocalUserRegeneratePasswordResult.md) + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + diff --git a/src/Storage/StorageManagementClient/docs/LocationUsageApi.md b/src/Storage/StorageManagementClient/docs/LocationUsageApi.md index b657508..c02b280 100644 --- a/src/Storage/StorageManagementClient/docs/LocationUsageApi.md +++ b/src/Storage/StorageManagementClient/docs/LocationUsageApi.md @@ -20,9 +20,9 @@ Gets the current usage count and the limit for the resources of the location und Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **LocationUsageApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**location** | **String**| The location of the Azure Storage resource. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**location** | **String** | The location of the Azure Storage resource. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/ManagementPoliciesApi.md b/src/Storage/StorageManagementClient/docs/ManagementPoliciesApi.md index c6dacad..eb33279 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPoliciesApi.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPoliciesApi.md @@ -22,12 +22,12 @@ Sets the managementpolicy to the specified storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ManagementPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**management_policy_name** | **String**| The name of the Storage Account Management Policy. It should always be 'default' | [default to nothing] -**properties** | [**ManagementPolicy**](ManagementPolicy.md)| The ManagementPolicy set to a storage account. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**management_policy_name** | **String** | The name of the Storage Account Management Policy. It should always be 'default' | +**properties** | [**ManagementPolicy**](ManagementPolicy.md) | The ManagementPolicy set to a storage account. | ### Return type @@ -57,11 +57,11 @@ Deletes the managementpolicy associated with the specified storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ManagementPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**management_policy_name** | **String**| The name of the Storage Account Management Policy. It should always be 'default' | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**management_policy_name** | **String** | The name of the Storage Account Management Policy. It should always be 'default' | ### Return type @@ -91,11 +91,11 @@ Gets the managementpolicy associated with the specified storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ManagementPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**management_policy_name** | **String**| The name of the Storage Account Management Policy. It should always be 'default' | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**management_policy_name** | **String** | The name of the Storage Account Management Policy. It should always be 'default' | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicy.md b/src/Storage/StorageManagementClient/docs/ManagementPolicy.md index 17b8eab..5f220df 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPolicy.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicy.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ManagementPolicyProperties**](ManagementPolicyProperties.md) | | [optional] [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicyAction.md b/src/Storage/StorageManagementClient/docs/ManagementPolicyAction.md index b33c80b..f432513 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPolicyAction.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicyAction.md @@ -6,6 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **baseBlob** | [***ManagementPolicyBaseBlob**](ManagementPolicyBaseBlob.md) | | [optional] [default to nothing] **snapshot** | [***ManagementPolicySnapShot**](ManagementPolicySnapShot.md) | | [optional] [default to nothing] +**version** | [***ManagementPolicyVersion**](ManagementPolicyVersion.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicyBaseBlob.md b/src/Storage/StorageManagementClient/docs/ManagementPolicyBaseBlob.md index 6a0a646..0ab6ee9 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPolicyBaseBlob.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicyBaseBlob.md @@ -6,7 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tierToCool** | [***DateAfterModification**](DateAfterModification.md) | | [optional] [default to nothing] **tierToArchive** | [***DateAfterModification**](DateAfterModification.md) | | [optional] [default to nothing] +**tierToCold** | [***DateAfterModification**](DateAfterModification.md) | | [optional] [default to nothing] +**tierToHot** | [***DateAfterModification**](DateAfterModification.md) | | [optional] [default to nothing] **delete** | [***DateAfterModification**](DateAfterModification.md) | | [optional] [default to nothing] +**enableAutoTierToHotFromCool** | **Bool** | This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicyFilter.md b/src/Storage/StorageManagementClient/docs/ManagementPolicyFilter.md index bc95cfd..9f0c140 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPolicyFilter.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicyFilter.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **prefixMatch** | **Vector{String}** | An array of strings for prefixes to be match. | [optional] [default to nothing] -**blobTypes** | **Vector{String}** | An array of predefined enum values. Only blockBlob is supported. | [default to nothing] +**blobTypes** | **Vector{String}** | An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. | [default to nothing] **blobIndexMatch** | [**Vector{TagFilter}**](TagFilter.md) | An array of blob index tag based filters, there can be at most 10 tag filters | [optional] [default to nothing] diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicySchema.md b/src/Storage/StorageManagementClient/docs/ManagementPolicySchema.md index 1dc1c61..9ba92a5 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPolicySchema.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicySchema.md @@ -4,7 +4,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**rules** | [**Vector{ManagementPolicyRule}**](ManagementPolicyRule.md) | The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. | [default to nothing] +**rules** | [**Vector{ManagementPolicyRule}**](ManagementPolicyRule.md) | The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. | [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicySnapShot.md b/src/Storage/StorageManagementClient/docs/ManagementPolicySnapShot.md index a0d5be1..e54d96d 100644 --- a/src/Storage/StorageManagementClient/docs/ManagementPolicySnapShot.md +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicySnapShot.md @@ -4,6 +4,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**tierToCool** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**tierToArchive** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**tierToCold** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**tierToHot** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] **delete** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] diff --git a/src/Storage/StorageManagementClient/docs/ManagementPolicyVersion.md b/src/Storage/StorageManagementClient/docs/ManagementPolicyVersion.md new file mode 100644 index 0000000..c666eae --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ManagementPolicyVersion.md @@ -0,0 +1,16 @@ +# ManagementPolicyVersion + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tierToCool** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**tierToArchive** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**tierToCold** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**tierToHot** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] +**delete** | [***DateAfterCreation**](DateAfterCreation.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/NetworkRuleSet.md b/src/Storage/StorageManagementClient/docs/NetworkRuleSet.md index e7805b0..df0e3cc 100644 --- a/src/Storage/StorageManagementClient/docs/NetworkRuleSet.md +++ b/src/Storage/StorageManagementClient/docs/NetworkRuleSet.md @@ -4,10 +4,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**bypass** | **String** | Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics. | [optional] [default to AzureServices] +**bypass** | **String** | Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics. | [optional] [default to "AzureServices"] +**resourceAccessRules** | [**Vector{ResourceAccessRule}**](ResourceAccessRule.md) | Sets the resource access rules | [optional] [default to nothing] **virtualNetworkRules** | [**Vector{VirtualNetworkRule}**](VirtualNetworkRule.md) | Sets the virtual network rules | [optional] [default to nothing] **ipRules** | [**Vector{IPRule}**](IPRule.md) | Sets the IP ACL rules | [optional] [default to nothing] -**defaultAction** | **String** | Specifies the default action of allow or deny when no other rules match. | [default to Allow] +**ipv6Rules** | [**Vector{IPRule}**](IPRule.md) | Sets the IPv6 ACL rules. | [optional] [default to nothing] +**defaultAction** | **String** | Specifies the default action of allow or deny when no other rules match. | [default to "Allow"] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ObjectReplicationPoliciesApi.md b/src/Storage/StorageManagementClient/docs/ObjectReplicationPoliciesApi.md index 426753c..cbc9545 100644 --- a/src/Storage/StorageManagementClient/docs/ObjectReplicationPoliciesApi.md +++ b/src/Storage/StorageManagementClient/docs/ObjectReplicationPoliciesApi.md @@ -23,12 +23,12 @@ Create or update the object replication policy of the storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ObjectReplicationPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**object_replication_policy_id** | **String**| The ID of object replication policy or 'default' if the policy ID is unknown. | [default to nothing] -**properties** | [**ObjectReplicationPolicy**](ObjectReplicationPolicy.md)| The object replication policy set to a storage account. A unique policy ID will be created if absent. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**object_replication_policy_id** | **String** | For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file. | +**properties** | [**ObjectReplicationPolicy**](ObjectReplicationPolicy.md) | The object replication policy set to a storage account. A unique policy ID will be created if absent. | ### Return type @@ -58,11 +58,11 @@ Deletes the object replication policy associated with the specified storage acco Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ObjectReplicationPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**object_replication_policy_id** | **String**| The ID of object replication policy or 'default' if the policy ID is unknown. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**object_replication_policy_id** | **String** | For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file. | ### Return type @@ -92,11 +92,11 @@ Get the object replication policy of the storage account by policy ID. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ObjectReplicationPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**object_replication_policy_id** | **String**| The ID of object replication policy or 'default' if the policy ID is unknown. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**object_replication_policy_id** | **String** | For the destination account, provide the value 'default'. Configure the policy on the destination account first. For the source account, provide the value of the policy ID that is returned when you download the policy that was defined on the destination account. The policy is downloaded as a JSON file. | ### Return type @@ -126,10 +126,10 @@ List the object replication policies associated with the storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **ObjectReplicationPoliciesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicy.md b/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicy.md index f2ed3c2..752cd33 100644 --- a/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicy.md +++ b/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicy.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***ObjectReplicationPolicyProperties**](ObjectReplicationPolicyProperties.md) | | [optional] [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyProperties.md b/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyProperties.md index f6084e9..3e6a354 100644 --- a/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyProperties.md +++ b/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyProperties.md @@ -6,9 +6,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **policyId** | **String** | A unique id for object replication policy. | [optional] [readonly] [default to nothing] **enabledTime** | **ZonedDateTime** | Indicates when the policy is enabled on the source account. | [optional] [readonly] [default to nothing] -**sourceAccount** | **String** | Required. Source account name. | [default to nothing] -**destinationAccount** | **String** | Required. Destination account name. | [default to nothing] +**sourceAccount** | **String** | Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. | [default to nothing] +**destinationAccount** | **String** | Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. | [default to nothing] **rules** | [**Vector{ObjectReplicationPolicyRule}**](ObjectReplicationPolicyRule.md) | The storage account object replication rules. | [optional] [default to nothing] +**metrics** | [***ObjectReplicationPolicyPropertiesMetrics**](ObjectReplicationPolicyPropertiesMetrics.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyPropertiesMetrics.md b/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyPropertiesMetrics.md new file mode 100644 index 0000000..8a05313 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ObjectReplicationPolicyPropertiesMetrics.md @@ -0,0 +1,12 @@ +# ObjectReplicationPolicyPropertiesMetrics + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**enabled** | **Bool** | Indicates whether object replication metrics feature is enabled for the policy. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/OperationsApi.md b/src/Storage/StorageManagementClient/docs/OperationsApi.md index 66d30cf..9d2d4e2 100644 --- a/src/Storage/StorageManagementClient/docs/OperationsApi.md +++ b/src/Storage/StorageManagementClient/docs/OperationsApi.md @@ -20,7 +20,7 @@ Lists all of the available Storage Rest API operations. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **OperationsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/PermissionScope.md b/src/Storage/StorageManagementClient/docs/PermissionScope.md new file mode 100644 index 0000000..d946fd4 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/PermissionScope.md @@ -0,0 +1,14 @@ +# PermissionScope + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**permissions** | **String** | The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create (c), Modify Ownership (o), and Modify Permissions (p). | [default to nothing] +**service** | **String** | The service used by the local user, e.g. blob, file. | [default to nothing] +**resourceName** | **String** | The name of resource, normally the container name or the file share name, used by the local user. | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/Placement.md b/src/Storage/StorageManagementClient/docs/Placement.md new file mode 100644 index 0000000..e60476b --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/Placement.md @@ -0,0 +1,12 @@ +# Placement + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**zonePlacementPolicy** | **String** | The availability zone pinning policy for the storage account. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/PrivateEndpointConnection.md b/src/Storage/StorageManagementClient/docs/PrivateEndpointConnection.md index d3665fc..1840767 100644 --- a/src/Storage/StorageManagementClient/docs/PrivateEndpointConnection.md +++ b/src/Storage/StorageManagementClient/docs/PrivateEndpointConnection.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***PrivateEndpointConnectionProperties**](PrivateEndpointConnectionProperties.md) | | [optional] [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/PrivateEndpointConnectionsApi.md b/src/Storage/StorageManagementClient/docs/PrivateEndpointConnectionsApi.md index 6e1df0b..1ff7abb 100644 --- a/src/Storage/StorageManagementClient/docs/PrivateEndpointConnectionsApi.md +++ b/src/Storage/StorageManagementClient/docs/PrivateEndpointConnectionsApi.md @@ -23,11 +23,11 @@ Deletes the specified private endpoint connection associated with the storage ac Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**private_endpoint_connection_name** | **String**| The name of the private endpoint connection associated with the Azure resource | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**private_endpoint_connection_name** | **String** | The name of the private endpoint connection associated with the Azure resource | ### Return type @@ -57,11 +57,11 @@ Gets the specified private endpoint connection associated with the storage accou Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**private_endpoint_connection_name** | **String**| The name of the private endpoint connection associated with the Azure resource | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**private_endpoint_connection_name** | **String** | The name of the private endpoint connection associated with the Azure resource | ### Return type @@ -91,10 +91,10 @@ List all the private endpoint connections associated with the storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type @@ -124,12 +124,12 @@ Update the state of specified private endpoint connection associated with the st Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PrivateEndpointConnectionsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**private_endpoint_connection_name** | **String**| The name of the private endpoint connection associated with the Azure resource | [default to nothing] -**properties** | [**PrivateEndpointConnection**](PrivateEndpointConnection.md)| The private endpoint connection properties. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**private_endpoint_connection_name** | **String** | The name of the private endpoint connection associated with the Azure resource | +**properties** | [**PrivateEndpointConnection**](PrivateEndpointConnection.md) | The private endpoint connection properties. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/PrivateLinkResource.md b/src/Storage/StorageManagementClient/docs/PrivateLinkResource.md index acbfb88..ff36a89 100644 --- a/src/Storage/StorageManagementClient/docs/PrivateLinkResource.md +++ b/src/Storage/StorageManagementClient/docs/PrivateLinkResource.md @@ -5,9 +5,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **properties** | [***PrivateLinkResourceProperties**](PrivateLinkResourceProperties.md) | | [optional] [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/PrivateLinkResourcesApi.md b/src/Storage/StorageManagementClient/docs/PrivateLinkResourcesApi.md index d7112df..5226ad6 100644 --- a/src/Storage/StorageManagementClient/docs/PrivateLinkResourcesApi.md +++ b/src/Storage/StorageManagementClient/docs/PrivateLinkResourcesApi.md @@ -20,10 +20,10 @@ Gets the private link resources that need to be created for a storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **PrivateLinkResourcesApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/ProxyResource.md b/src/Storage/StorageManagementClient/docs/ProxyResource.md new file mode 100644 index 0000000..132167a --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ProxyResource.md @@ -0,0 +1,14 @@ +# ProxyResource + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/PublicNetworkAccess.md b/src/Storage/StorageManagementClient/docs/PublicNetworkAccess.md new file mode 100644 index 0000000..836025c --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/PublicNetworkAccess.md @@ -0,0 +1,11 @@ +# PublicNetworkAccess + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/Resource.md b/src/Storage/StorageManagementClient/docs/Resource.md index 97057ff..66403e3 100644 --- a/src/Storage/StorageManagementClient/docs/Resource.md +++ b/src/Storage/StorageManagementClient/docs/Resource.md @@ -4,9 +4,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/ResourceAccessRule.md b/src/Storage/StorageManagementClient/docs/ResourceAccessRule.md new file mode 100644 index 0000000..601f1b2 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/ResourceAccessRule.md @@ -0,0 +1,13 @@ +# ResourceAccessRule + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**tenantId** | **String** | Tenant Id | [optional] [default to nothing] +**resourceId** | **String** | Resource Id | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/SasPolicy.md b/src/Storage/StorageManagementClient/docs/SasPolicy.md new file mode 100644 index 0000000..5e188df --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/SasPolicy.md @@ -0,0 +1,13 @@ +# SasPolicy + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**sasExpirationPeriod** | **String** | The SAS expiration period, DD.HH:MM:SS. | [default to nothing] +**expirationAction** | **String** | The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period. | [default to "Log"] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/SkuInformation.md b/src/Storage/StorageManagementClient/docs/SkuInformation.md index 4d1ec6c..02ae7ff 100644 --- a/src/Storage/StorageManagementClient/docs/SkuInformation.md +++ b/src/Storage/StorageManagementClient/docs/SkuInformation.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **resourceType** | **String** | The type of the resource, usually it is 'storageAccounts'. | [optional] [readonly] [default to nothing] **kind** | **String** | Indicates the type of storage account. | [optional] [readonly] [default to nothing] **locations** | **Vector{String}** | The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). | [optional] [readonly] [default to nothing] +**locationInfo** | [**Vector{SkuInformationLocationInfoInner}**](SkuInformationLocationInfoInner.md) | | [optional] [default to nothing] **capabilities** | [**Vector{SKUCapability}**](SKUCapability.md) | The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. | [optional] [readonly] [default to nothing] **restrictions** | [**Vector{Restriction}**](Restriction.md) | The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. | [optional] [default to nothing] diff --git a/src/Storage/StorageManagementClient/docs/SkuInformationLocationInfoInner.md b/src/Storage/StorageManagementClient/docs/SkuInformationLocationInfoInner.md new file mode 100644 index 0000000..a7f1ea6 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/SkuInformationLocationInfoInner.md @@ -0,0 +1,13 @@ +# SkuInformationLocationInfoInner + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**location** | **String** | Describes the location for the product where storage account resource can be created. | [optional] [readonly] [default to nothing] +**zones** | **Vector{String}** | Describes the available zones for the product where storage account resource can be created. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/SkusApi.md b/src/Storage/StorageManagementClient/docs/SkusApi.md index 65673d7..5cb9e9b 100644 --- a/src/Storage/StorageManagementClient/docs/SkusApi.md +++ b/src/Storage/StorageManagementClient/docs/SkusApi.md @@ -20,8 +20,8 @@ Lists the available SKUs supported by Microsoft.Storage for given subscription. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **SkusApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/SmbOAuthSettings.md b/src/Storage/StorageManagementClient/docs/SmbOAuthSettings.md new file mode 100644 index 0000000..357c2d3 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/SmbOAuthSettings.md @@ -0,0 +1,12 @@ +# SmbOAuthSettings + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**isSmbOAuthEnabled** | **Bool** | Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property. | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/SshPublicKey.md b/src/Storage/StorageManagementClient/docs/SshPublicKey.md new file mode 100644 index 0000000..bd373f8 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/SshPublicKey.md @@ -0,0 +1,13 @@ +# SshPublicKey + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**description** | **String** | Optional. It is used to store the function/usage of the key | [optional] [default to nothing] +**key** | **String** | Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', e.g. ssh-rsa AAAABBBB | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/StorageAccount.md b/src/Storage/StorageManagementClient/docs/StorageAccount.md index cf0eeb7..b12acee 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccount.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccount.md @@ -4,13 +4,18 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**sku** | **Any** | | [optional] [default to nothing] +**sku** | [***Sku**](Sku.md) | | [optional] [default to nothing] **kind** | **String** | Gets the Kind. | [optional] [readonly] [default to nothing] **identity** | [***Identity**](Identity.md) | | [optional] [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | Optional. Gets or sets the pinned logical availability zone for the storage account. | [optional] [default to nothing] +**placement** | [***Placement**](Placement.md) | | [optional] [default to nothing] **properties** | [***StorageAccountProperties**](StorageAccountProperties.md) | | [optional] [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] +**location** | **String** | The geo-location where the resource lives | [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountCreateParameters.md b/src/Storage/StorageManagementClient/docs/StorageAccountCreateParameters.md index 0ac4de0..25741f5 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountCreateParameters.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountCreateParameters.md @@ -7,6 +7,9 @@ Name | Type | Description | Notes **sku** | [***Sku**](Sku.md) | | [default to nothing] **kind** | **String** | Required. Indicates the type of storage account. | [default to nothing] **location** | **String** | Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. | [default to nothing] +**extendedLocation** | [***ExtendedLocation**](ExtendedLocation.md) | | [optional] [default to nothing] +**zones** | **Vector{String}** | Optional. Gets or sets the pinned logical availability zone for the storage account. | [optional] [default to nothing] +**placement** | [***Placement**](Placement.md) | | [optional] [default to nothing] **tags** | **Dict{String, String}** | Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. | [optional] [default to nothing] **identity** | [***Identity**](Identity.md) | | [optional] [default to nothing] **properties** | [***StorageAccountPropertiesCreateParameters**](StorageAccountPropertiesCreateParameters.md) | | [optional] [default to nothing] diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountIpv6Endpoints.md b/src/Storage/StorageManagementClient/docs/StorageAccountIpv6Endpoints.md new file mode 100644 index 0000000..59841b6 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/StorageAccountIpv6Endpoints.md @@ -0,0 +1,19 @@ +# StorageAccountIpv6Endpoints + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**blob** | **String** | Gets the blob endpoint. | [optional] [readonly] [default to nothing] +**queue** | **String** | Gets the queue endpoint. | [optional] [readonly] [default to nothing] +**table** | **String** | Gets the table endpoint. | [optional] [readonly] [default to nothing] +**file** | **String** | Gets the file endpoint. | [optional] [readonly] [default to nothing] +**web** | **String** | Gets the web endpoint. | [optional] [readonly] [default to nothing] +**dfs** | **String** | Gets the dfs endpoint. | [optional] [readonly] [default to nothing] +**microsoftEndpoints** | [***StorageAccountMicrosoftEndpoints**](StorageAccountMicrosoftEndpoints.md) | | [optional] [default to nothing] +**internetEndpoints** | [***StorageAccountInternetEndpoints**](StorageAccountInternetEndpoints.md) | | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountKey.md b/src/Storage/StorageManagementClient/docs/StorageAccountKey.md index 90cf4e1..53f0c1f 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountKey.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountKey.md @@ -7,6 +7,7 @@ Name | Type | Description | Notes **keyName** | **String** | Name of the key. | [optional] [readonly] [default to nothing] **value** | **String** | Base 64-encoded value of the key. | [optional] [readonly] [default to nothing] **permissions** | **String** | Permissions for the key -- read-only or full permissions. | [optional] [readonly] [default to nothing] +**creationTime** | **ZonedDateTime** | Creation time of the key, in round trip date format. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountMigration.md b/src/Storage/StorageManagementClient/docs/StorageAccountMigration.md new file mode 100644 index 0000000..a6770c8 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/StorageAccountMigration.md @@ -0,0 +1,15 @@ +# StorageAccountMigration + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**id** | **String** | Migration Resource Id | [optional] [readonly] [default to nothing] +**name** | **String** | current value is 'default' for customer initiated migration | [optional] [default to nothing] +**type** | **String** | SrpAccountMigrationType in ARM contract which is 'accountMigrations' | [optional] [default to nothing] +**properties** | [***StorageAccountMigrationProperties**](StorageAccountMigrationProperties.md) | | [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountMigrationProperties.md b/src/Storage/StorageManagementClient/docs/StorageAccountMigrationProperties.md new file mode 100644 index 0000000..272a622 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/StorageAccountMigrationProperties.md @@ -0,0 +1,15 @@ +# StorageAccountMigrationProperties + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**targetSkuName** | [***SkuName**](SkuName.md) | | [default to nothing] +**migrationStatus** | **String** | Current status of migration | [optional] [readonly] [default to nothing] +**migrationFailedReason** | **String** | Error code for migration failure | [optional] [readonly] [default to nothing] +**migrationFailedDetailedReason** | **String** | Reason for migration failure | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountProperties.md b/src/Storage/StorageManagementClient/docs/StorageAccountProperties.md index 52b610a..fd9a12d 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountProperties.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountProperties.md @@ -13,21 +13,39 @@ Name | Type | Description | Notes **statusOfSecondary** | **String** | Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. | [optional] [readonly] [default to nothing] **creationTime** | **ZonedDateTime** | Gets the creation date and time of the storage account in UTC. | [optional] [readonly] [default to nothing] **customDomain** | [***CustomDomain**](CustomDomain.md) | | [optional] [default to nothing] +**sasPolicy** | [***SasPolicy**](SasPolicy.md) | | [optional] [default to nothing] +**keyPolicy** | [***KeyPolicy**](KeyPolicy.md) | | [optional] [default to nothing] +**keyCreationTime** | [***KeyCreationTime**](KeyCreationTime.md) | | [optional] [default to nothing] **secondaryEndpoints** | [***Endpoints**](Endpoints.md) | | [optional] [default to nothing] **encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] -**accessTier** | **String** | Required for storage accounts where kind = BlobStorage. The access tier used for billing. | [optional] [readonly] [default to nothing] +**accessTier** | **String** | Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. | [optional] [readonly] [default to nothing] **azureFilesIdentityBasedAuthentication** | [***AzureFilesIdentityBasedAuthentication**](AzureFilesIdentityBasedAuthentication.md) | | [optional] [default to nothing] **supportsHttpsTrafficOnly** | **Bool** | Allows https traffic only to storage service if sets to true. | [optional] [default to nothing] **networkAcls** | [***NetworkRuleSet**](NetworkRuleSet.md) | | [optional] [default to nothing] +**isSftpEnabled** | **Bool** | Enables Secure File Transfer Protocol, if set to true | [optional] [default to nothing] +**isLocalUserEnabled** | **Bool** | Enables local users feature, if set to true | [optional] [default to nothing] +**enableExtendedGroups** | **Bool** | Enables extended group support with local users feature, if set to true | [optional] [default to nothing] **isHnsEnabled** | **Bool** | Account HierarchicalNamespace enabled if sets to true. | [optional] [default to nothing] **geoReplicationStats** | [***GeoReplicationStats**](GeoReplicationStats.md) | | [optional] [default to nothing] **failoverInProgress** | **Bool** | If the failover is in progress, the value will be true, otherwise, it will be null. | [optional] [readonly] [default to nothing] **largeFileSharesState** | **String** | Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. | [optional] [default to nothing] **privateEndpointConnections** | [**Vector{PrivateEndpointConnection}**](PrivateEndpointConnection.md) | List of private endpoint connection associated with the specified storage account | [optional] [readonly] [default to nothing] **routingPreference** | [***RoutingPreference**](RoutingPreference.md) | | [optional] [default to nothing] +**dualStackEndpointPreference** | [***DualStackEndpointPreference**](DualStackEndpointPreference.md) | | [optional] [default to nothing] **blobRestoreStatus** | [***BlobRestoreStatus**](BlobRestoreStatus.md) | | [optional] [default to nothing] -**allowBlobPublicAccess** | **Bool** | Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. | [optional] [default to nothing] +**allowBlobPublicAccess** | **Bool** | Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. | [optional] [default to nothing] **minimumTlsVersion** | **String** | Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. | [optional] [default to nothing] +**allowSharedKeyAccess** | **Bool** | Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. | [optional] [default to nothing] +**isNfsV3Enabled** | **Bool** | NFS 3.0 protocol support enabled if set to true. | [optional] [default to nothing] +**allowCrossTenantReplication** | **Bool** | Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. | [optional] [default to nothing] +**defaultToOAuthAuthentication** | **Bool** | A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. | [optional] [default to nothing] +**publicNetworkAccess** | [***PublicNetworkAccess**](PublicNetworkAccess.md) | | [optional] [default to nothing] +**immutableStorageWithVersioning** | [***ImmutableStorageAccount**](ImmutableStorageAccount.md) | | [optional] [default to nothing] +**allowedCopyScope** | **String** | Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. | [optional] [default to nothing] +**storageAccountSkuConversionStatus** | [***StorageAccountSkuConversionStatus**](StorageAccountSkuConversionStatus.md) | | [optional] [default to nothing] +**dnsEndpointType** | **String** | Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. | [optional] [default to nothing] +**isSkuConversionBlocked** | **Bool** | This property will be set to true or false on an event of ongoing migration. Default value is null. | [optional] [readonly] [default to nothing] +**accountMigrationInProgress** | **Bool** | If customer initiated account migration is in progress, the value will be true else it will be null. | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesCreateParameters.md b/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesCreateParameters.md index a760a57..f05703b 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesCreateParameters.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesCreateParameters.md @@ -4,17 +4,31 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**allowedCopyScope** | **String** | Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. | [optional] [default to nothing] +**publicNetworkAccess** | [***PublicNetworkAccess**](PublicNetworkAccess.md) | | [optional] [default to nothing] +**sasPolicy** | [***SasPolicy**](SasPolicy.md) | | [optional] [default to nothing] +**keyPolicy** | [***KeyPolicy**](KeyPolicy.md) | | [optional] [default to nothing] **customDomain** | [***CustomDomain**](CustomDomain.md) | | [optional] [default to nothing] **encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] **networkAcls** | [***NetworkRuleSet**](NetworkRuleSet.md) | | [optional] [default to nothing] -**accessTier** | **String** | Required for storage accounts where kind = BlobStorage. The access tier used for billing. | [optional] [default to nothing] +**accessTier** | **String** | Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. | [optional] [default to nothing] **azureFilesIdentityBasedAuthentication** | [***AzureFilesIdentityBasedAuthentication**](AzureFilesIdentityBasedAuthentication.md) | | [optional] [default to nothing] **supportsHttpsTrafficOnly** | **Bool** | Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. | [optional] [default to nothing] +**isSftpEnabled** | **Bool** | Enables Secure File Transfer Protocol, if set to true | [optional] [default to nothing] +**isLocalUserEnabled** | **Bool** | Enables local users feature, if set to true | [optional] [default to nothing] +**enableExtendedGroups** | **Bool** | Enables extended group support with local users feature, if set to true | [optional] [default to nothing] **isHnsEnabled** | **Bool** | Account HierarchicalNamespace enabled if sets to true. | [optional] [default to nothing] **largeFileSharesState** | **String** | Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. | [optional] [default to nothing] **routingPreference** | [***RoutingPreference**](RoutingPreference.md) | | [optional] [default to nothing] -**allowBlobPublicAccess** | **Bool** | Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. | [optional] [default to nothing] +**dualStackEndpointPreference** | [***DualStackEndpointPreference**](DualStackEndpointPreference.md) | | [optional] [default to nothing] +**allowBlobPublicAccess** | **Bool** | Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. | [optional] [default to nothing] **minimumTlsVersion** | **String** | Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. | [optional] [default to nothing] +**allowSharedKeyAccess** | **Bool** | Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. | [optional] [default to nothing] +**isNfsV3Enabled** | **Bool** | NFS 3.0 protocol support enabled if set to true. | [optional] [default to nothing] +**allowCrossTenantReplication** | **Bool** | Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. | [optional] [default to nothing] +**defaultToOAuthAuthentication** | **Bool** | A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. | [optional] [default to nothing] +**immutableStorageWithVersioning** | [***ImmutableStorageAccount**](ImmutableStorageAccount.md) | | [optional] [default to nothing] +**dnsEndpointType** | **String** | Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesUpdateParameters.md b/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesUpdateParameters.md index c93ead5..7b1d460 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesUpdateParameters.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountPropertiesUpdateParameters.md @@ -6,14 +6,27 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **customDomain** | [***CustomDomain**](CustomDomain.md) | | [optional] [default to nothing] **encryption** | [***Encryption**](Encryption.md) | | [optional] [default to nothing] -**accessTier** | **String** | Required for storage accounts where kind = BlobStorage. The access tier used for billing. | [optional] [default to nothing] +**sasPolicy** | [***SasPolicy**](SasPolicy.md) | | [optional] [default to nothing] +**keyPolicy** | [***KeyPolicy**](KeyPolicy.md) | | [optional] [default to nothing] +**accessTier** | **String** | Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. | [optional] [default to nothing] **azureFilesIdentityBasedAuthentication** | [***AzureFilesIdentityBasedAuthentication**](AzureFilesIdentityBasedAuthentication.md) | | [optional] [default to nothing] **supportsHttpsTrafficOnly** | **Bool** | Allows https traffic only to storage service if sets to true. | [optional] [default to nothing] +**isSftpEnabled** | **Bool** | Enables Secure File Transfer Protocol, if set to true | [optional] [default to nothing] +**isLocalUserEnabled** | **Bool** | Enables local users feature, if set to true | [optional] [default to nothing] +**enableExtendedGroups** | **Bool** | Enables extended group support with local users feature, if set to true | [optional] [default to nothing] **networkAcls** | [***NetworkRuleSet**](NetworkRuleSet.md) | | [optional] [default to nothing] **largeFileSharesState** | **String** | Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. | [optional] [default to nothing] **routingPreference** | [***RoutingPreference**](RoutingPreference.md) | | [optional] [default to nothing] -**allowBlobPublicAccess** | **Bool** | Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. | [optional] [default to nothing] +**dualStackEndpointPreference** | [***DualStackEndpointPreference**](DualStackEndpointPreference.md) | | [optional] [default to nothing] +**allowBlobPublicAccess** | **Bool** | Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. | [optional] [default to nothing] **minimumTlsVersion** | **String** | Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. | [optional] [default to nothing] +**allowSharedKeyAccess** | **Bool** | Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. | [optional] [default to nothing] +**allowCrossTenantReplication** | **Bool** | Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. | [optional] [default to nothing] +**defaultToOAuthAuthentication** | **Bool** | A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. | [optional] [default to nothing] +**publicNetworkAccess** | [***PublicNetworkAccess**](PublicNetworkAccess.md) | | [optional] [default to nothing] +**immutableStorageWithVersioning** | [***ImmutableStorageAccount**](ImmutableStorageAccount.md) | | [optional] [default to nothing] +**allowedCopyScope** | **String** | Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. | [optional] [default to nothing] +**dnsEndpointType** | **String** | Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountSkuConversionStatus.md b/src/Storage/StorageManagementClient/docs/StorageAccountSkuConversionStatus.md new file mode 100644 index 0000000..e9e9563 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/StorageAccountSkuConversionStatus.md @@ -0,0 +1,15 @@ +# StorageAccountSkuConversionStatus + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**skuConversionStatus** | **String** | This property indicates the current sku conversion status. | [optional] [readonly] [default to nothing] +**targetSkuName** | [***SkuName**](SkuName.md) | | [optional] [default to nothing] +**startTime** | **String** | This property represents the sku conversion start time. | [optional] [readonly] [default to nothing] +**endTime** | **String** | This property represents the sku conversion end time. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountUpdateParameters.md b/src/Storage/StorageManagementClient/docs/StorageAccountUpdateParameters.md index bf2fbfb..13de070 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountUpdateParameters.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountUpdateParameters.md @@ -9,6 +9,8 @@ Name | Type | Description | Notes **identity** | [***Identity**](Identity.md) | | [optional] [default to nothing] **properties** | [***StorageAccountPropertiesUpdateParameters**](StorageAccountPropertiesUpdateParameters.md) | | [optional] [default to nothing] **kind** | **String** | Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. | [optional] [default to nothing] +**zones** | **Vector{String}** | Optional. Gets or sets the pinned logical availability zone for the storage account. | [optional] [default to nothing] +**placement** | [***Placement**](Placement.md) | | [optional] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/StorageAccountsApi.md b/src/Storage/StorageManagementClient/docs/StorageAccountsApi.md index e7c04ff..de30506 100644 --- a/src/Storage/StorageManagementClient/docs/StorageAccountsApi.md +++ b/src/Storage/StorageManagementClient/docs/StorageAccountsApi.md @@ -4,11 +4,13 @@ All URIs are relative to *https://management.azure.com* Method | HTTP request | Description ------------- | ------------- | ------------- +[**storage_accounts_abort_hierarchical_namespace_migration**](StorageAccountsApi.md#storage_accounts_abort_hierarchical_namespace_migration) | **POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration | [**storage_accounts_check_name_availability**](StorageAccountsApi.md#storage_accounts_check_name_availability) | **POST** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability | [**storage_accounts_create**](StorageAccountsApi.md#storage_accounts_create) | **PUT** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName} | [**storage_accounts_delete**](StorageAccountsApi.md#storage_accounts_delete) | **DELETE** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName} | [**storage_accounts_failover**](StorageAccountsApi.md#storage_accounts_failover) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/failover | [**storage_accounts_get_properties**](StorageAccountsApi.md#storage_accounts_get_properties) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName} | +[**storage_accounts_hierarchical_namespace_migration**](StorageAccountsApi.md#storage_accounts_hierarchical_namespace_migration) | **POST** /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration | [**storage_accounts_list**](StorageAccountsApi.md#storage_accounts_list) | **GET** /subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts | [**storage_accounts_list_account_s_a_s**](StorageAccountsApi.md#storage_accounts_list_account_s_a_s) | **POST** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/ListAccountSas | [**storage_accounts_list_by_resource_group**](StorageAccountsApi.md#storage_accounts_list_by_resource_group) | **GET** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts | @@ -20,6 +22,39 @@ Method | HTTP request | Description [**storage_accounts_update**](StorageAccountsApi.md#storage_accounts_update) | **PATCH** /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName} | +# **storage_accounts_abort_hierarchical_namespace_migration** +> storage_accounts_abort_hierarchical_namespace_migration(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> storage_accounts_abort_hierarchical_namespace_migration(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Abort live Migration of storage account to enable Hns + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **StorageAccountsApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **storage_accounts_check_name_availability** > storage_accounts_check_name_availability(_api::StorageAccountsApi, api_version::String, subscription_id::String, account_name::StorageAccountCheckNameAvailabilityParameters; _mediaType=nothing) -> CheckNameAvailabilityResult, OpenAPI.Clients.ApiResponse
> storage_accounts_check_name_availability(_api::StorageAccountsApi, response_stream::Channel, api_version::String, subscription_id::String, account_name::StorageAccountCheckNameAvailabilityParameters; _mediaType=nothing) -> Channel{ CheckNameAvailabilityResult }, OpenAPI.Clients.ApiResponse @@ -33,9 +68,9 @@ Checks that the storage account name is valid and is not already in use. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**account_name** | [**StorageAccountCheckNameAvailabilityParameters**](StorageAccountCheckNameAvailabilityParameters.md)| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**account_name** | [**StorageAccountCheckNameAvailabilityParameters**](StorageAccountCheckNameAvailabilityParameters.md) | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | ### Return type @@ -65,11 +100,11 @@ Asynchronously creates a new storage account with the specified parameters. If a Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**StorageAccountCreateParameters**](StorageAccountCreateParameters.md)| The parameters to provide for the created account. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**parameters** | [**StorageAccountCreateParameters**](StorageAccountCreateParameters.md) | The parameters to provide for the created account. | ### Return type @@ -99,10 +134,10 @@ Deletes a storage account in Microsoft Azure. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type @@ -120,22 +155,28 @@ Nothing [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) # **storage_accounts_failover** -> storage_accounts_failover(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
-> storage_accounts_failover(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse +> storage_accounts_failover(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; failover_type=nothing, _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> storage_accounts_failover(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; failover_type=nothing, _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse -Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. +A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance ### Required Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | + +### Optional Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **failover_type** | **String** | The parameter is set to 'Planned' to indicate whether a Planned failover is requested. | [default to nothing] ### Return type @@ -165,16 +206,16 @@ Returns the properties for the specified storage account including but not limit Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. | [default to nothing] + **expand** | **String** | May be used to expand the properties within account's properties. By default, data is not included when fetching properties. Currently we only support geoReplicationStats and blobRestoreStatus. | [default to nothing] ### Return type @@ -191,6 +232,40 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) +# **storage_accounts_hierarchical_namespace_migration** +> storage_accounts_hierarchical_namespace_migration(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, request_type::String; _mediaType=nothing) -> Nothing, OpenAPI.Clients.ApiResponse
+> storage_accounts_hierarchical_namespace_migration(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, request_type::String; _mediaType=nothing) -> Channel{ Nothing }, OpenAPI.Clients.ApiResponse + + + +Live Migration of storage account to enable Hns + +### Required Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **_api** | **StorageAccountsApi** | API context | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**request_type** | **String** | Required. Hierarchical namespace migration type can either be a hierarchical namespace validation request 'HnsOnValidationRequest' or a hydration request 'HnsOnHydrationRequest'. The validation request will validate the migration whereas the hydration request will migrate the account. | + +### Return type + +Nothing + +### Authorization + +[azure_auth](../README.md#azure_auth) + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md) + # **storage_accounts_list** > storage_accounts_list(_api::StorageAccountsApi, api_version::String, subscription_id::String; _mediaType=nothing) -> StorageAccountListResult, OpenAPI.Clients.ApiResponse
> storage_accounts_list(_api::StorageAccountsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) -> Channel{ StorageAccountListResult }, OpenAPI.Clients.ApiResponse @@ -204,8 +279,8 @@ Lists all the storage accounts available under the subscription. Note that stora Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type @@ -235,11 +310,11 @@ List SAS credentials of a storage account. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**AccountSasParameters**](AccountSasParameters.md)| The parameters to provide to list SAS credentials for the storage account. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**parameters** | [**AccountSasParameters**](AccountSasParameters.md) | The parameters to provide to list SAS credentials for the storage account. | ### Return type @@ -269,9 +344,9 @@ Lists all the storage accounts available under the given resource group. Note th Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type @@ -301,16 +376,16 @@ Lists the access keys or Kerberos keys (if active directory enabled) for the spe Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Optional Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **expand** | **String**| Specifies type of the key to be listed. Possible value is kerb. | [default to nothing] + **expand** | **String** | Specifies type of the key to be listed. Possible value is kerb. | [default to nothing] ### Return type @@ -340,11 +415,11 @@ List service SAS credentials of a specific resource. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**ServiceSasParameters**](ServiceSasParameters.md)| The parameters to provide to list service SAS credentials. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**parameters** | [**ServiceSasParameters**](ServiceSasParameters.md) | The parameters to provide to list service SAS credentials. | ### Return type @@ -374,11 +449,11 @@ Regenerates one of the access keys or Kerberos keys for the specified storage ac Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**regenerate_key** | [**StorageAccountRegenerateKeyParameters**](StorageAccountRegenerateKeyParameters.md)| Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**regenerate_key** | [**StorageAccountRegenerateKeyParameters**](StorageAccountRegenerateKeyParameters.md) | Specifies name of the key which should be regenerated -- key1, key2, kerb1, kerb2. | ### Return type @@ -408,11 +483,11 @@ Restore blobs in the specified blob ranges Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**BlobRestoreParameters**](BlobRestoreParameters.md)| The parameters to provide for restore blob ranges. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**parameters** | [**BlobRestoreParameters**](BlobRestoreParameters.md) | The parameters to provide for restore blob ranges. | ### Return type @@ -442,10 +517,10 @@ Revoke user delegation keys. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | ### Return type @@ -475,11 +550,11 @@ The update operation can be used to update the SKU, encryption, access tier, or Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **_api** | **StorageAccountsApi** | API context | -**resource_group_name** | **String**| The name of the resource group within the user's subscription. The name is case insensitive. | [default to nothing] -**account_name** | **String**| The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | [default to nothing] -**api_version** | **String**| The API version to use for this operation. | [default to nothing] -**subscription_id** | **String**| The ID of the target subscription. | [default to nothing] -**parameters** | [**StorageAccountUpdateParameters**](StorageAccountUpdateParameters.md)| The parameters to provide for the updated account. | +**resource_group_name** | **String** | The name of the resource group within the user's subscription. The name is case insensitive. | +**account_name** | **String** | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. | +**api_version** | **String** | The API version to use for this operation. | +**subscription_id** | **String** | The ID of the target subscription. | +**parameters** | [**StorageAccountUpdateParameters**](StorageAccountUpdateParameters.md) | The parameters to provide for the updated account. | ### Return type diff --git a/src/Storage/StorageManagementClient/docs/SystemData.md b/src/Storage/StorageManagementClient/docs/SystemData.md new file mode 100644 index 0000000..6037fd9 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/SystemData.md @@ -0,0 +1,17 @@ +# SystemData + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**createdBy** | **String** | The identity that created the resource. | [optional] [default to nothing] +**createdByType** | **String** | The type of identity that created the resource. | [optional] [default to nothing] +**createdAt** | **ZonedDateTime** | The timestamp of resource creation (UTC). | [optional] [default to nothing] +**lastModifiedBy** | **String** | The identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedByType** | **String** | The type of identity that last modified the resource. | [optional] [default to nothing] +**lastModifiedAt** | **ZonedDateTime** | The timestamp of resource last modification (UTC) | [optional] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/TrackedResource.md b/src/Storage/StorageManagementClient/docs/TrackedResource.md index e9dc396..f45fa87 100644 --- a/src/Storage/StorageManagementClient/docs/TrackedResource.md +++ b/src/Storage/StorageManagementClient/docs/TrackedResource.md @@ -6,9 +6,9 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tags** | **Dict{String, String}** | Resource tags. | [optional] [default to nothing] **location** | **String** | The geo-location where the resource lives | [default to nothing] -**id** | **String** | Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] +**id** | **String** | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} | [optional] [readonly] [default to nothing] **name** | **String** | The name of the resource | [optional] [readonly] [default to nothing] -**type** | **String** | The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. | [optional] [readonly] [default to nothing] +**type** | **String** | The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" | [optional] [readonly] [default to nothing] [[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) diff --git a/src/Storage/StorageManagementClient/docs/UserAssignedIdentity.md b/src/Storage/StorageManagementClient/docs/UserAssignedIdentity.md new file mode 100644 index 0000000..7a5a700 --- /dev/null +++ b/src/Storage/StorageManagementClient/docs/UserAssignedIdentity.md @@ -0,0 +1,13 @@ +# UserAssignedIdentity + + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**principalId** | **String** | The principal ID of the identity. | [optional] [readonly] [default to nothing] +**clientId** | **String** | The client ID of the identity. | [optional] [readonly] [default to nothing] + + +[[Back to Model list]](../README.md#models) [[Back to API list]](../README.md#api-endpoints) [[Back to README]](../README.md) + + diff --git a/src/Storage/StorageManagementClient/docs/VirtualNetworkRule.md b/src/Storage/StorageManagementClient/docs/VirtualNetworkRule.md index eac1e52..3b0f8a3 100644 --- a/src/Storage/StorageManagementClient/docs/VirtualNetworkRule.md +++ b/src/Storage/StorageManagementClient/docs/VirtualNetworkRule.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **String** | Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. | [default to nothing] -**action** | **String** | The action of virtual network rule. | [optional] [default to Allow] +**action** | **String** | The action of virtual network rule. | [optional] [default to "Allow"] **state** | **String** | Gets the state of virtual network rule. | [optional] [default to nothing] diff --git a/src/Storage/StorageManagementClient/src/StorageManagementClient.jl b/src/Storage/StorageManagementClient/src/StorageManagementClient.jl index 0314a79..e2655cb 100644 --- a/src/Storage/StorageManagementClient/src/StorageManagementClient.jl +++ b/src/Storage/StorageManagementClient/src/StorageManagementClient.jl @@ -7,11 +7,15 @@ using Dates, TimeZones using OpenAPI using OpenAPI.Clients -const API_VERSION = "2019-06-01" +const API_VERSION = "2025-01-01" include("modelincludes.jl") +include("apis/api_AccountMigrationsApi.jl") +include("apis/api_BlobInventoryPoliciesApi.jl") +include("apis/api_DeletedAccountsApi.jl") include("apis/api_EncryptionScopesApi.jl") +include("apis/api_LocalUsersApi.jl") include("apis/api_LocationUsageApi.jl") include("apis/api_ManagementPoliciesApi.jl") include("apis/api_ObjectReplicationPoliciesApi.jl") diff --git a/src/Storage/StorageManagementClient/src/apis/api_AccountMigrationsApi.jl b/src/Storage/StorageManagementClient/src/apis/api_AccountMigrationsApi.jl new file mode 100644 index 0000000..c0ff3c4 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/apis/api_AccountMigrationsApi.jl @@ -0,0 +1,117 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct AccountMigrationsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `AccountMigrationsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ AccountMigrationsApi }) = "https://management.azure.com" + +const _returntypes_storage_accounts_customer_initiated_migration_AccountMigrationsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse2, +) + +function _oacinternal_storage_accounts_customer_initiated_migration(_api::AccountMigrationsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountMigration; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "storage_accounts_customer_initiated_migration", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "storage_accounts_customer_initiated_migration", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_customer_initiated_migration", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "storage_accounts_customer_initiated_migration", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "storage_accounts_customer_initiated_migration", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_customer_initiated_migration", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "storage_accounts_customer_initiated_migration", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "storage_accounts_customer_initiated_migration", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_storage_accounts_customer_initiated_migration_AccountMigrationsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/startAccountMigration", ["azure_auth", ], parameters) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Account Migration request can be triggered for a storage account to change its redundancy level. The migration updates the non-zonal redundant storage account to a zonal redundant account or vice-versa in order to have better reliability and availability. Zone-redundant storage (ZRS) replicates your storage account synchronously across three Azure availability zones in the primary region. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- parameters::StorageAccountMigration (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function storage_accounts_customer_initiated_migration(_api::AccountMigrationsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountMigration; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_customer_initiated_migration(_api, resource_group_name, account_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function storage_accounts_customer_initiated_migration(_api::AccountMigrationsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountMigration; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_customer_initiated_migration(_api, resource_group_name, account_name, api_version, subscription_id, parameters; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_storage_accounts_get_customer_initiated_migration_AccountMigrationsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => StorageAccountMigration, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse2, +) + +function _oacinternal_storage_accounts_get_customer_initiated_migration(_api::AccountMigrationsApi, resource_group_name::String, account_name::String, migration_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "storage_accounts_get_customer_initiated_migration", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "storage_accounts_get_customer_initiated_migration", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_get_customer_initiated_migration", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "storage_accounts_get_customer_initiated_migration", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "storage_accounts_get_customer_initiated_migration", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_get_customer_initiated_migration", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("migration_name", "storage_accounts_get_customer_initiated_migration", :pattern, migration_name, r"^[a-z][a-z0-9]*$") + + OpenAPI.validate_param("api_version", "storage_accounts_get_customer_initiated_migration", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "storage_accounts_get_customer_initiated_migration", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_storage_accounts_get_customer_initiated_migration_AccountMigrationsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/accountMigrations/{migrationName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "migrationName", migration_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the status of the ongoing migration for the specified storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- migration_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: StorageAccountMigration, OpenAPI.Clients.ApiResponse +""" +function storage_accounts_get_customer_initiated_migration(_api::AccountMigrationsApi, resource_group_name::String, account_name::String, migration_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_get_customer_initiated_migration(_api, resource_group_name, account_name, migration_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function storage_accounts_get_customer_initiated_migration(_api::AccountMigrationsApi, response_stream::Channel, resource_group_name::String, account_name::String, migration_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_get_customer_initiated_migration(_api, resource_group_name, account_name, migration_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export storage_accounts_customer_initiated_migration +export storage_accounts_get_customer_initiated_migration diff --git a/src/Storage/StorageManagementClient/src/apis/api_BlobInventoryPoliciesApi.jl b/src/Storage/StorageManagementClient/src/apis/api_BlobInventoryPoliciesApi.jl new file mode 100644 index 0000000..7b0aa75 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/apis/api_BlobInventoryPoliciesApi.jl @@ -0,0 +1,217 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct BlobInventoryPoliciesApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `BlobInventoryPoliciesApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ BlobInventoryPoliciesApi }) = "https://management.azure.com" + +const _returntypes_blob_inventory_policies_create_or_update_BlobInventoryPoliciesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => BlobInventoryPolicy, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_blob_inventory_policies_create_or_update(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String, properties::BlobInventoryPolicy; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_create_or_update", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_create_or_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_create_or_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "blob_inventory_policies_create_or_update", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "blob_inventory_policies_create_or_update", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "blob_inventory_policies_create_or_update", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "blob_inventory_policies_create_or_update", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "blob_inventory_policies_create_or_update", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_blob_inventory_policies_create_or_update_BlobInventoryPoliciesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}", ["azure_auth", ], properties) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "blobInventoryPolicyName", blob_inventory_policy_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Sets the blob inventory policy to the specified storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- blob_inventory_policy_name::String (required) +- properties::BlobInventoryPolicy (required) + +Return: BlobInventoryPolicy, OpenAPI.Clients.ApiResponse +""" +function blob_inventory_policies_create_or_update(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String, properties::BlobInventoryPolicy; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_create_or_update(_api, resource_group_name, account_name, api_version, subscription_id, blob_inventory_policy_name, properties; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function blob_inventory_policies_create_or_update(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String, properties::BlobInventoryPolicy; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_create_or_update(_api, resource_group_name, account_name, api_version, subscription_id, blob_inventory_policy_name, properties; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_blob_inventory_policies_delete_BlobInventoryPoliciesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_blob_inventory_policies_delete(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_delete", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "blob_inventory_policies_delete", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "blob_inventory_policies_delete", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "blob_inventory_policies_delete", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "blob_inventory_policies_delete", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "blob_inventory_policies_delete", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_blob_inventory_policies_delete_BlobInventoryPoliciesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "blobInventoryPolicyName", blob_inventory_policy_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Deletes the blob inventory policy associated with the specified storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- blob_inventory_policy_name::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function blob_inventory_policies_delete(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_delete(_api, resource_group_name, account_name, api_version, subscription_id, blob_inventory_policy_name; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function blob_inventory_policies_delete(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_delete(_api, resource_group_name, account_name, api_version, subscription_id, blob_inventory_policy_name; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_blob_inventory_policies_get_BlobInventoryPoliciesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => BlobInventoryPolicy, + Regex("^" * replace("0", "x"=>".") * "\$") => CloudError, +) + +function _oacinternal_blob_inventory_policies_get(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_get", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "blob_inventory_policies_get", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "blob_inventory_policies_get", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "blob_inventory_policies_get", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "blob_inventory_policies_get", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "blob_inventory_policies_get", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_blob_inventory_policies_get_BlobInventoryPoliciesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies/{blobInventoryPolicyName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "blobInventoryPolicyName", blob_inventory_policy_name) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the blob inventory policy associated with the specified storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- blob_inventory_policy_name::String (required) + +Return: BlobInventoryPolicy, OpenAPI.Clients.ApiResponse +""" +function blob_inventory_policies_get(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_get(_api, resource_group_name, account_name, api_version, subscription_id, blob_inventory_policy_name; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function blob_inventory_policies_get(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, blob_inventory_policy_name::String; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_get(_api, resource_group_name, account_name, api_version, subscription_id, blob_inventory_policy_name; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_blob_inventory_policies_list_BlobInventoryPoliciesApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => ListBlobInventoryPolicy, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_blob_inventory_policies_list(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_list", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_list", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "blob_inventory_policies_list", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "blob_inventory_policies_list", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "blob_inventory_policies_list", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "blob_inventory_policies_list", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "blob_inventory_policies_list", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "blob_inventory_policies_list", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_blob_inventory_policies_list_BlobInventoryPoliciesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/inventoryPolicies", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Gets the blob inventory policy associated with the specified storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: ListBlobInventoryPolicy, OpenAPI.Clients.ApiResponse +""" +function blob_inventory_policies_list(_api::BlobInventoryPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_list(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function blob_inventory_policies_list(_api::BlobInventoryPoliciesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_blob_inventory_policies_list(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export blob_inventory_policies_create_or_update +export blob_inventory_policies_delete +export blob_inventory_policies_get +export blob_inventory_policies_list diff --git a/src/Storage/StorageManagementClient/src/apis/api_DeletedAccountsApi.jl b/src/Storage/StorageManagementClient/src/apis/api_DeletedAccountsApi.jl new file mode 100644 index 0000000..f83141a --- /dev/null +++ b/src/Storage/StorageManagementClient/src/apis/api_DeletedAccountsApi.jl @@ -0,0 +1,94 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct DeletedAccountsApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `DeletedAccountsApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ DeletedAccountsApi }) = "https://management.azure.com" + +const _returntypes_deleted_accounts_get_DeletedAccountsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => DeletedAccount, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_deleted_accounts_get(_api::DeletedAccountsApi, deleted_account_name::String, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("deleted_account_name", "deleted_accounts_get", :maxLength, deleted_account_name, 24) + OpenAPI.validate_param("deleted_account_name", "deleted_accounts_get", :minLength, deleted_account_name, 3) + + OpenAPI.validate_param("api_version", "deleted_accounts_get", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "deleted_accounts_get", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deleted_accounts_get_DeletedAccountsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/deletedAccounts/{deletedAccountName}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "deletedAccountName", deleted_account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Get properties of specified deleted account resource. + +Params: +- deleted_account_name::String (required) +- location::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: DeletedAccount, OpenAPI.Clients.ApiResponse +""" +function deleted_accounts_get(_api::DeletedAccountsApi, deleted_account_name::String, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_deleted_accounts_get(_api, deleted_account_name, location, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function deleted_accounts_get(_api::DeletedAccountsApi, response_stream::Channel, deleted_account_name::String, location::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_deleted_accounts_get(_api, deleted_account_name, location, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_deleted_accounts_list_DeletedAccountsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => DeletedAccountListResult, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_deleted_accounts_list(_api::DeletedAccountsApi, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("api_version", "deleted_accounts_list", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "deleted_accounts_list", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_deleted_accounts_list_DeletedAccountsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/deletedAccounts", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Lists deleted accounts under the subscription. + +Params: +- api_version::String (required) +- subscription_id::String (required) + +Return: DeletedAccountListResult, OpenAPI.Clients.ApiResponse +""" +function deleted_accounts_list(_api::DeletedAccountsApi, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_deleted_accounts_list(_api, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function deleted_accounts_list(_api::DeletedAccountsApi, response_stream::Channel, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_deleted_accounts_list(_api, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export deleted_accounts_get +export deleted_accounts_list diff --git a/src/Storage/StorageManagementClient/src/apis/api_EncryptionScopesApi.jl b/src/Storage/StorageManagementClient/src/apis/api_EncryptionScopesApi.jl index 6f4cd15..45e074f 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_EncryptionScopesApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_EncryptionScopesApi.jl @@ -19,9 +19,11 @@ const _returntypes_encryption_scopes_get_EncryptionScopesApi = Dict{Regex,Type}( function _oacinternal_encryption_scopes_get(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, encryption_scope_name::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "encryption_scopes_get", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "encryption_scopes_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "encryption_scopes_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "encryption_scopes_get", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "encryption_scopes_get", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "encryption_scopes_get", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "encryption_scopes_get", :minLength, api_version, 1) @@ -35,7 +37,7 @@ function _oacinternal_encryption_scopes_get(_api::EncryptionScopesApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "encryptionScopeName", encryption_scope_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -66,22 +68,30 @@ const _returntypes_encryption_scopes_list_EncryptionScopesApi = Dict{Regex,Type} Regex("^" * replace("200", "x"=>".") * "\$") => EncryptionScopeListResult, ) -function _oacinternal_encryption_scopes_list(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_encryption_scopes_list(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "encryption_scopes_list", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "encryption_scopes_list", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "encryption_scopes_list", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "encryption_scopes_list", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "encryption_scopes_list", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "encryption_scopes_list", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "encryption_scopes_list", :minLength, api_version, 1) OpenAPI.validate_param("subscription_id", "encryption_scopes_list", :minLength, subscription_id, 1) + OpenAPI.validate_param("maxpagesize", "encryption_scopes_list", :maximum, maxpagesize, 5000, false) + OpenAPI.validate_param("maxpagesize", "encryption_scopes_list", :minimum, maxpagesize, 1, false) + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_encryption_scopes_list_EncryptionScopesApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/encryptionScopes", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$maxpagesize", maxpagesize; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$include", include; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -94,16 +104,19 @@ Params: - account_name::String (required) - api_version::String (required) - subscription_id::String (required) +- maxpagesize::Int64 +- filter::String +- include::String Return: EncryptionScopeListResult, OpenAPI.Clients.ApiResponse """ -function encryption_scopes_list(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_encryption_scopes_list(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) +function encryption_scopes_list(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) + _ctx = _oacinternal_encryption_scopes_list(_api, resource_group_name, account_name, api_version, subscription_id; maxpagesize=maxpagesize, filter=filter, include=include, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function encryption_scopes_list(_api::EncryptionScopesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_encryption_scopes_list(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) +function encryption_scopes_list(_api::EncryptionScopesApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) + _ctx = _oacinternal_encryption_scopes_list(_api, resource_group_name, account_name, api_version, subscription_id; maxpagesize=maxpagesize, filter=filter, include=include, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -115,9 +128,11 @@ const _returntypes_encryption_scopes_patch_EncryptionScopesApi = Dict{Regex,Type function _oacinternal_encryption_scopes_patch(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, encryption_scope_name::String, encryption_scope::EncryptionScope; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "encryption_scopes_patch", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "encryption_scopes_patch", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "encryption_scopes_patch", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "encryption_scopes_patch", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "encryption_scopes_patch", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "encryption_scopes_patch", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "encryption_scopes_patch", :minLength, api_version, 1) @@ -131,7 +146,7 @@ function _oacinternal_encryption_scopes_patch(_api::EncryptionScopesApi, resourc OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "encryptionScopeName", encryption_scope_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -168,9 +183,11 @@ const _returntypes_encryption_scopes_put_EncryptionScopesApi = Dict{Regex,Type}( function _oacinternal_encryption_scopes_put(_api::EncryptionScopesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, encryption_scope_name::String, encryption_scope::EncryptionScope; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "encryption_scopes_put", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "encryption_scopes_put", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "encryption_scopes_put", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "encryption_scopes_put", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "encryption_scopes_put", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "encryption_scopes_put", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "encryption_scopes_put", :minLength, api_version, 1) @@ -184,7 +201,7 @@ function _oacinternal_encryption_scopes_put(_api::EncryptionScopesApi, resource_ OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "encryptionScopeName", encryption_scope_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_LocalUsersApi.jl b/src/Storage/StorageManagementClient/src/apis/api_LocalUsersApi.jl new file mode 100644 index 0000000..06b5f93 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/apis/api_LocalUsersApi.jl @@ -0,0 +1,343 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + +struct LocalUsersApi <: OpenAPI.APIClientImpl + client::OpenAPI.Clients.Client +end + +""" +The default API base path for APIs in `LocalUsersApi`. +This can be used to construct the `OpenAPI.Clients.Client` instance. +""" +basepath(::Type{ LocalUsersApi }) = "https://management.azure.com" + +const _returntypes_local_users_create_or_update_LocalUsersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => LocalUser, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_local_users_create_or_update(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String, properties::LocalUser; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "local_users_create_or_update", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "local_users_create_or_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "local_users_create_or_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "local_users_create_or_update", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "local_users_create_or_update", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "local_users_create_or_update", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "local_users_create_or_update", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "local_users_create_or_update", :minLength, subscription_id, 1) + + OpenAPI.validate_param("username", "local_users_create_or_update", :maxLength, username, 64) + OpenAPI.validate_param("username", "local_users_create_or_update", :minLength, username, 3) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "PUT", _returntypes_local_users_create_or_update_LocalUsersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}", ["azure_auth", ], properties) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "username", username) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) + return _ctx +end + +@doc raw"""Create or update the properties of a local user associated with the storage account. Properties for NFSv3 enablement and extended groups cannot be set with other properties. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- username::String (required) +- properties::LocalUser (required) + +Return: LocalUser, OpenAPI.Clients.ApiResponse +""" +function local_users_create_or_update(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String, properties::LocalUser; _mediaType=nothing) + _ctx = _oacinternal_local_users_create_or_update(_api, resource_group_name, account_name, api_version, subscription_id, username, properties; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function local_users_create_or_update(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String, properties::LocalUser; _mediaType=nothing) + _ctx = _oacinternal_local_users_create_or_update(_api, resource_group_name, account_name, api_version, subscription_id, username, properties; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_local_users_delete_LocalUsersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("204", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_local_users_delete(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "local_users_delete", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "local_users_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "local_users_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "local_users_delete", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "local_users_delete", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "local_users_delete", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "local_users_delete", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "local_users_delete", :minLength, subscription_id, 1) + + OpenAPI.validate_param("username", "local_users_delete", :maxLength, username, 64) + OpenAPI.validate_param("username", "local_users_delete", :minLength, username, 3) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "DELETE", _returntypes_local_users_delete_LocalUsersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "username", username) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Deletes the local user associated with the specified storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- username::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function local_users_delete(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_delete(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function local_users_delete(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_delete(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_local_users_get_LocalUsersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => LocalUser, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_local_users_get(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "local_users_get", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "local_users_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "local_users_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "local_users_get", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "local_users_get", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "local_users_get", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "local_users_get", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "local_users_get", :minLength, subscription_id, 1) + + OpenAPI.validate_param("username", "local_users_get", :maxLength, username, 64) + OpenAPI.validate_param("username", "local_users_get", :minLength, username, 3) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_local_users_get_LocalUsersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "username", username) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Get the local user of the storage account by username. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- username::String (required) + +Return: LocalUser, OpenAPI.Clients.ApiResponse +""" +function local_users_get(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_get(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function local_users_get(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_get(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_local_users_list_LocalUsersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => LocalUsers, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_local_users_list(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "local_users_list", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "local_users_list", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "local_users_list", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "local_users_list", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "local_users_list", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "local_users_list", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "local_users_list", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "local_users_list", :minLength, subscription_id, 1) + + OpenAPI.validate_param("maxpagesize", "local_users_list", :maximum, maxpagesize, 5000, false) + OpenAPI.validate_param("maxpagesize", "local_users_list", :minimum, maxpagesize, 1, false) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_local_users_list_LocalUsersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$maxpagesize", maxpagesize; style="", is_explode=false) # type Int64 + OpenAPI.Clients.set_param(_ctx.query, "\$filter", filter; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$include", include; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""List the local users associated with the storage account. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- maxpagesize::Int64 +- filter::String +- include::String + +Return: LocalUsers, OpenAPI.Clients.ApiResponse +""" +function local_users_list(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) + _ctx = _oacinternal_local_users_list(_api, resource_group_name, account_name, api_version, subscription_id; maxpagesize=maxpagesize, filter=filter, include=include, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function local_users_list(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; maxpagesize=nothing, filter=nothing, include=nothing, _mediaType=nothing) + _ctx = _oacinternal_local_users_list(_api, resource_group_name, account_name, api_version, subscription_id; maxpagesize=maxpagesize, filter=filter, include=include, _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_local_users_list_keys_LocalUsersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => LocalUserKeys, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_local_users_list_keys(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "local_users_list_keys", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "local_users_list_keys", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "local_users_list_keys", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "local_users_list_keys", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "local_users_list_keys", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "local_users_list_keys", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "local_users_list_keys", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "local_users_list_keys", :minLength, subscription_id, 1) + + OpenAPI.validate_param("username", "local_users_list_keys", :maxLength, username, 64) + OpenAPI.validate_param("username", "local_users_list_keys", :minLength, username, 3) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_local_users_list_keys_LocalUsersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/listKeys", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "username", username) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""List SSH authorized keys and shared key of the local user. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- username::String (required) + +Return: LocalUserKeys, OpenAPI.Clients.ApiResponse +""" +function local_users_list_keys(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_list_keys(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function local_users_list_keys(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_list_keys(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +const _returntypes_local_users_regenerate_password_LocalUsersApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => LocalUserRegeneratePasswordResult, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_local_users_regenerate_password(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "local_users_regenerate_password", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "local_users_regenerate_password", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "local_users_regenerate_password", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "local_users_regenerate_password", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "local_users_regenerate_password", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "local_users_regenerate_password", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "local_users_regenerate_password", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "local_users_regenerate_password", :minLength, subscription_id, 1) + + OpenAPI.validate_param("username", "local_users_regenerate_password", :maxLength, username, 64) + OpenAPI.validate_param("username", "local_users_regenerate_password", :minLength, username, 3) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_local_users_regenerate_password_LocalUsersApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/localUsers/{username}/regeneratePassword", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.path, "username", username) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Regenerate the local user SSH password. + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- username::String (required) + +Return: LocalUserRegeneratePasswordResult, OpenAPI.Clients.ApiResponse +""" +function local_users_regenerate_password(_api::LocalUsersApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_regenerate_password(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function local_users_regenerate_password(_api::LocalUsersApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, username::String; _mediaType=nothing) + _ctx = _oacinternal_local_users_regenerate_password(_api, resource_group_name, account_name, api_version, subscription_id, username; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + +export local_users_create_or_update +export local_users_delete +export local_users_get +export local_users_list +export local_users_list_keys +export local_users_regenerate_password diff --git a/src/Storage/StorageManagementClient/src/apis/api_LocationUsageApi.jl b/src/Storage/StorageManagementClient/src/apis/api_LocationUsageApi.jl index ffcdd95..12a8d53 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_LocationUsageApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_LocationUsageApi.jl @@ -23,7 +23,7 @@ function _oacinternal_usages_list_by_location(_api::LocationUsageApi, api_versio _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_usages_list_by_location_LocationUsageApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/locations/{location}/usages", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "location", location) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_ManagementPoliciesApi.jl b/src/Storage/StorageManagementClient/src/apis/api_ManagementPoliciesApi.jl index b21f377..36e8975 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_ManagementPoliciesApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_ManagementPoliciesApi.jl @@ -18,9 +18,11 @@ const _returntypes_management_policies_create_or_update_ManagementPoliciesApi = function _oacinternal_management_policies_create_or_update(_api::ManagementPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, management_policy_name::String, properties::ManagementPolicy; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "management_policies_create_or_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "management_policies_create_or_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "management_policies_create_or_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "management_policies_create_or_update", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "management_policies_create_or_update", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "management_policies_create_or_update", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "management_policies_create_or_update", :minLength, api_version, 1) @@ -31,7 +33,7 @@ function _oacinternal_management_policies_create_or_update(_api::ManagementPolic OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "managementPolicyName", management_policy_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -67,9 +69,11 @@ const _returntypes_management_policies_delete_ManagementPoliciesApi = Dict{Regex function _oacinternal_management_policies_delete(_api::ManagementPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, management_policy_name::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "management_policies_delete", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "management_policies_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "management_policies_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "management_policies_delete", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "management_policies_delete", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "management_policies_delete", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "management_policies_delete", :minLength, api_version, 1) @@ -80,7 +84,7 @@ function _oacinternal_management_policies_delete(_api::ManagementPoliciesApi, re OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "managementPolicyName", management_policy_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -114,9 +118,11 @@ const _returntypes_management_policies_get_ManagementPoliciesApi = Dict{Regex,Ty function _oacinternal_management_policies_get(_api::ManagementPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, management_policy_name::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "management_policies_get", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "management_policies_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "management_policies_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "management_policies_get", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "management_policies_get", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "management_policies_get", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "management_policies_get", :minLength, api_version, 1) @@ -127,7 +133,7 @@ function _oacinternal_management_policies_get(_api::ManagementPoliciesApi, resou OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "managementPolicyName", management_policy_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_ObjectReplicationPoliciesApi.jl b/src/Storage/StorageManagementClient/src/apis/api_ObjectReplicationPoliciesApi.jl index 156d0f5..085b83c 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_ObjectReplicationPoliciesApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_ObjectReplicationPoliciesApi.jl @@ -19,9 +19,11 @@ const _returntypes_object_replication_policies_create_or_update_ObjectReplicatio function _oacinternal_object_replication_policies_create_or_update(_api::ObjectReplicationPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, object_replication_policy_id::String, properties::ObjectReplicationPolicy; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "object_replication_policies_create_or_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "object_replication_policies_create_or_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "object_replication_policies_create_or_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "object_replication_policies_create_or_update", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "object_replication_policies_create_or_update", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "object_replication_policies_create_or_update", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "object_replication_policies_create_or_update", :minLength, api_version, 1) @@ -34,7 +36,7 @@ function _oacinternal_object_replication_policies_create_or_update(_api::ObjectR OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "objectReplicationPolicyId", object_replication_policy_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -71,9 +73,11 @@ const _returntypes_object_replication_policies_delete_ObjectReplicationPoliciesA function _oacinternal_object_replication_policies_delete(_api::ObjectReplicationPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, object_replication_policy_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "object_replication_policies_delete", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "object_replication_policies_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "object_replication_policies_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "object_replication_policies_delete", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "object_replication_policies_delete", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "object_replication_policies_delete", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "object_replication_policies_delete", :minLength, api_version, 1) @@ -86,7 +90,7 @@ function _oacinternal_object_replication_policies_delete(_api::ObjectReplication OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "objectReplicationPolicyId", object_replication_policy_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -121,9 +125,11 @@ const _returntypes_object_replication_policies_get_ObjectReplicationPoliciesApi function _oacinternal_object_replication_policies_get(_api::ObjectReplicationPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, object_replication_policy_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "object_replication_policies_get", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "object_replication_policies_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "object_replication_policies_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "object_replication_policies_get", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "object_replication_policies_get", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "object_replication_policies_get", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "object_replication_policies_get", :minLength, api_version, 1) @@ -136,7 +142,7 @@ function _oacinternal_object_replication_policies_get(_api::ObjectReplicationPol OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "objectReplicationPolicyId", object_replication_policy_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -171,9 +177,11 @@ const _returntypes_object_replication_policies_list_ObjectReplicationPoliciesApi function _oacinternal_object_replication_policies_list(_api::ObjectReplicationPoliciesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "object_replication_policies_list", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "object_replication_policies_list", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "object_replication_policies_list", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "object_replication_policies_list", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "object_replication_policies_list", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "object_replication_policies_list", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "object_replication_policies_list", :minLength, api_version, 1) @@ -183,7 +191,7 @@ function _oacinternal_object_replication_policies_list(_api::ObjectReplicationPo OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_OperationsApi.jl b/src/Storage/StorageManagementClient/src/apis/api_OperationsApi.jl index 4db62e9..3b9a4c2 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_OperationsApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_OperationsApi.jl @@ -19,7 +19,7 @@ function _oacinternal_operations_list(_api::OperationsApi, api_version::String; OpenAPI.validate_param("api_version", "operations_list", :minLength, api_version, 1) _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_operations_list_OperationsApi, "/providers/Microsoft.Storage/operations", ["azure_auth", ]) - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_PrivateEndpointConnectionsApi.jl b/src/Storage/StorageManagementClient/src/apis/api_PrivateEndpointConnectionsApi.jl index 16f9b81..fbeb7df 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_PrivateEndpointConnectionsApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_PrivateEndpointConnectionsApi.jl @@ -20,9 +20,11 @@ const _returntypes_private_endpoint_connections_delete_PrivateEndpointConnection function _oacinternal_private_endpoint_connections_delete(_api::PrivateEndpointConnectionsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, private_endpoint_connection_name::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_delete", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "private_endpoint_connections_delete", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "private_endpoint_connections_delete", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "private_endpoint_connections_delete", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "private_endpoint_connections_delete", :minLength, api_version, 1) @@ -33,7 +35,7 @@ function _oacinternal_private_endpoint_connections_delete(_api::PrivateEndpointC OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "privateEndpointConnectionName", private_endpoint_connection_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -68,9 +70,11 @@ const _returntypes_private_endpoint_connections_get_PrivateEndpointConnectionsAp function _oacinternal_private_endpoint_connections_get(_api::PrivateEndpointConnectionsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, private_endpoint_connection_name::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_get", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_get", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_get", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "private_endpoint_connections_get", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "private_endpoint_connections_get", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "private_endpoint_connections_get", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "private_endpoint_connections_get", :minLength, api_version, 1) @@ -81,7 +85,7 @@ function _oacinternal_private_endpoint_connections_get(_api::PrivateEndpointConn OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "privateEndpointConnectionName", private_endpoint_connection_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -115,9 +119,11 @@ const _returntypes_private_endpoint_connections_list_PrivateEndpointConnectionsA function _oacinternal_private_endpoint_connections_list(_api::PrivateEndpointConnectionsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_list", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_list", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_list", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "private_endpoint_connections_list", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "private_endpoint_connections_list", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "private_endpoint_connections_list", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "private_endpoint_connections_list", :minLength, api_version, 1) @@ -127,7 +133,7 @@ function _oacinternal_private_endpoint_connections_list(_api::PrivateEndpointCon OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -161,9 +167,11 @@ const _returntypes_private_endpoint_connections_put_PrivateEndpointConnectionsAp function _oacinternal_private_endpoint_connections_put(_api::PrivateEndpointConnectionsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, private_endpoint_connection_name::String, properties::PrivateEndpointConnection; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_put", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_put", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "private_endpoint_connections_put", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "private_endpoint_connections_put", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "private_endpoint_connections_put", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "private_endpoint_connections_put", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "private_endpoint_connections_put", :minLength, api_version, 1) @@ -174,7 +182,7 @@ function _oacinternal_private_endpoint_connections_put(_api::PrivateEndpointConn OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String OpenAPI.Clients.set_param(_ctx.path, "privateEndpointConnectionName", private_endpoint_connection_name) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_PrivateLinkResourcesApi.jl b/src/Storage/StorageManagementClient/src/apis/api_PrivateLinkResourcesApi.jl index 8b5a620..4822c6c 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_PrivateLinkResourcesApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_PrivateLinkResourcesApi.jl @@ -18,9 +18,11 @@ const _returntypes_private_link_resources_list_by_storage_account_PrivateLinkRes function _oacinternal_private_link_resources_list_by_storage_account(_api::PrivateLinkResourcesApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "private_link_resources_list_by_storage_account", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "private_link_resources_list_by_storage_account", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "private_link_resources_list_by_storage_account", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "private_link_resources_list_by_storage_account", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "private_link_resources_list_by_storage_account", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "private_link_resources_list_by_storage_account", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "private_link_resources_list_by_storage_account", :minLength, api_version, 1) @@ -30,7 +32,7 @@ function _oacinternal_private_link_resources_list_by_storage_account(_api::Priva OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_SkusApi.jl b/src/Storage/StorageManagementClient/src/apis/api_SkusApi.jl index 85b364c..f2e5962 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_SkusApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_SkusApi.jl @@ -22,7 +22,7 @@ function _oacinternal_skus_list(_api::SkusApi, api_version::String, subscription _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_skus_list_SkusApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/skus", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx diff --git a/src/Storage/StorageManagementClient/src/apis/api_StorageAccountsApi.jl b/src/Storage/StorageManagementClient/src/apis/api_StorageAccountsApi.jl index 5696c6d..6bf87e9 100644 --- a/src/Storage/StorageManagementClient/src/apis/api_StorageAccountsApi.jl +++ b/src/Storage/StorageManagementClient/src/apis/api_StorageAccountsApi.jl @@ -11,6 +11,55 @@ This can be used to construct the `OpenAPI.Clients.Client` instance. """ basepath(::Type{ StorageAccountsApi }) = "https://management.azure.com" +const _returntypes_storage_accounts_abort_hierarchical_namespace_migration_StorageAccountsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_storage_accounts_abort_hierarchical_namespace_migration(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "storage_accounts_abort_hierarchical_namespace_migration", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "storage_accounts_abort_hierarchical_namespace_migration", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_abort_hierarchical_namespace_migration", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "storage_accounts_abort_hierarchical_namespace_migration", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "storage_accounts_abort_hierarchical_namespace_migration", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_abort_hierarchical_namespace_migration", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "storage_accounts_abort_hierarchical_namespace_migration", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "storage_accounts_abort_hierarchical_namespace_migration", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_storage_accounts_abort_hierarchical_namespace_migration_StorageAccountsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/aborthnsonmigration", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Abort live Migration of storage account to enable Hns + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function storage_accounts_abort_hierarchical_namespace_migration(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_abort_hierarchical_namespace_migration(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function storage_accounts_abort_hierarchical_namespace_migration(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_abort_hierarchical_namespace_migration(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_storage_accounts_check_name_availability_StorageAccountsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => CheckNameAvailabilityResult, ) @@ -22,7 +71,7 @@ function _oacinternal_storage_accounts_check_name_availability(_api::StorageAcco _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_storage_accounts_check_name_availability_StorageAccountsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/checkNameAvailability", ["azure_auth", ], account_name) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -55,9 +104,11 @@ const _returntypes_storage_accounts_create_StorageAccountsApi = Dict{Regex,Type} function _oacinternal_storage_accounts_create(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountCreateParameters; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_create", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_create", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_create", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_create", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_create", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_create", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_create", :minLength, api_version, 1) @@ -67,7 +118,7 @@ function _oacinternal_storage_accounts_create(_api::StorageAccountsApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -102,9 +153,11 @@ const _returntypes_storage_accounts_delete_StorageAccountsApi = Dict{Regex,Type} function _oacinternal_storage_accounts_delete(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_delete", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_delete", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_delete", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_delete", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_delete", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_delete", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_delete", :minLength, api_version, 1) @@ -114,7 +167,7 @@ function _oacinternal_storage_accounts_delete(_api::StorageAccountsApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -145,12 +198,14 @@ const _returntypes_storage_accounts_failover_StorageAccountsApi = Dict{Regex,Typ Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, ) -function _oacinternal_storage_accounts_failover(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) +function _oacinternal_storage_accounts_failover(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; failover_type=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_failover", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_failover", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_failover", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_failover", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_failover", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_failover", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_failover", :minLength, api_version, 1) @@ -160,29 +215,31 @@ function _oacinternal_storage_accounts_failover(_api::StorageAccountsApi, resour OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "failoverType", failover_type; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx end -@doc raw"""Failover request can be triggered for a storage account in case of availability issues. The failover occurs from the storage account's primary cluster to secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover. +@doc raw"""A failover request can be triggered for a storage account in the event a primary endpoint becomes unavailable for any reason. The failover occurs from the storage account's primary cluster to the secondary cluster for RA-GRS accounts. The secondary cluster will become primary after failover and the account is converted to LRS. In the case of a Planned Failover, the primary and secondary clusters are swapped after failover and the account remains geo-replicated. Failover should continue to be used in the event of availability issues as Planned failover is only available while the primary and secondary endpoints are available. The primary use case of a Planned Failover is disaster recovery testing drills. This type of failover is invoked by setting FailoverType parameter to 'Planned'. Learn more about the failover options here- https://learn.microsoft.com/azure/storage/common/storage-disaster-recovery-guidance Params: - resource_group_name::String (required) - account_name::String (required) - api_version::String (required) - subscription_id::String (required) +- failover_type::String Return: Nothing, OpenAPI.Clients.ApiResponse """ -function storage_accounts_failover(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_storage_accounts_failover(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) +function storage_accounts_failover(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; failover_type=nothing, _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_failover(_api, resource_group_name, account_name, api_version, subscription_id; failover_type=failover_type, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx) end -function storage_accounts_failover(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) - _ctx = _oacinternal_storage_accounts_failover(_api, resource_group_name, account_name, api_version, subscription_id; _mediaType=_mediaType) +function storage_accounts_failover(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; failover_type=nothing, _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_failover(_api, resource_group_name, account_name, api_version, subscription_id; failover_type=failover_type, _mediaType=_mediaType) return OpenAPI.Clients.exec(_ctx, response_stream) end @@ -193,9 +250,11 @@ const _returntypes_storage_accounts_get_properties_StorageAccountsApi = Dict{Reg function _oacinternal_storage_accounts_get_properties(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_get_properties", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_get_properties", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_get_properties", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_get_properties", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_get_properties", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_get_properties", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_get_properties", :minLength, api_version, 1) @@ -205,8 +264,8 @@ function _oacinternal_storage_accounts_get_properties(_api::StorageAccountsApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -233,6 +292,57 @@ function storage_accounts_get_properties(_api::StorageAccountsApi, response_stre return OpenAPI.Clients.exec(_ctx, response_stream) end +const _returntypes_storage_accounts_hierarchical_namespace_migration_StorageAccountsApi = Dict{Regex,Type}( + Regex("^" * replace("200", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("202", "x"=>".") * "\$") => Nothing, + Regex("^" * replace("0", "x"=>".") * "\$") => ErrorResponse, +) + +function _oacinternal_storage_accounts_hierarchical_namespace_migration(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, request_type::String; _mediaType=nothing) + OpenAPI.validate_param("resource_group_name", "storage_accounts_hierarchical_namespace_migration", :maxLength, resource_group_name, 90) + OpenAPI.validate_param("resource_group_name", "storage_accounts_hierarchical_namespace_migration", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_hierarchical_namespace_migration", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") + + OpenAPI.validate_param("account_name", "storage_accounts_hierarchical_namespace_migration", :maxLength, account_name, 24) + OpenAPI.validate_param("account_name", "storage_accounts_hierarchical_namespace_migration", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_hierarchical_namespace_migration", :pattern, account_name, r"^[a-z0-9]+$") + + OpenAPI.validate_param("api_version", "storage_accounts_hierarchical_namespace_migration", :minLength, api_version, 1) + + OpenAPI.validate_param("subscription_id", "storage_accounts_hierarchical_namespace_migration", :minLength, subscription_id, 1) + + _ctx = OpenAPI.Clients.Ctx(_api.client, "POST", _returntypes_storage_accounts_hierarchical_namespace_migration_StorageAccountsApi, "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/hnsonmigration", ["azure_auth", ]) + OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String + OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "requestType", request_type; style="", is_explode=false) # type String + OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) + OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) + return _ctx +end + +@doc raw"""Live Migration of storage account to enable Hns + +Params: +- resource_group_name::String (required) +- account_name::String (required) +- api_version::String (required) +- subscription_id::String (required) +- request_type::String (required) + +Return: Nothing, OpenAPI.Clients.ApiResponse +""" +function storage_accounts_hierarchical_namespace_migration(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, request_type::String; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_hierarchical_namespace_migration(_api, resource_group_name, account_name, api_version, subscription_id, request_type; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx) +end + +function storage_accounts_hierarchical_namespace_migration(_api::StorageAccountsApi, response_stream::Channel, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, request_type::String; _mediaType=nothing) + _ctx = _oacinternal_storage_accounts_hierarchical_namespace_migration(_api, resource_group_name, account_name, api_version, subscription_id, request_type; _mediaType=_mediaType) + return OpenAPI.Clients.exec(_ctx, response_stream) +end + const _returntypes_storage_accounts_list_StorageAccountsApi = Dict{Regex,Type}( Regex("^" * replace("200", "x"=>".") * "\$") => StorageAccountListResult, ) @@ -244,7 +354,7 @@ function _oacinternal_storage_accounts_list(_api::StorageAccountsApi, api_versio _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_storage_accounts_list_StorageAccountsApi, "/subscriptions/{subscriptionId}/providers/Microsoft.Storage/storageAccounts", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -275,9 +385,11 @@ const _returntypes_storage_accounts_list_account_s_a_s_StorageAccountsApi = Dict function _oacinternal_storage_accounts_list_account_s_a_s(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::AccountSasParameters; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_account_s_a_s", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_account_s_a_s", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_list_account_s_a_s", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_list_account_s_a_s", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_list_account_s_a_s", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_list_account_s_a_s", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_list_account_s_a_s", :minLength, api_version, 1) @@ -287,7 +399,7 @@ function _oacinternal_storage_accounts_list_account_s_a_s(_api::StorageAccountsA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -321,6 +433,7 @@ const _returntypes_storage_accounts_list_by_resource_group_StorageAccountsApi = function _oacinternal_storage_accounts_list_by_resource_group(_api::StorageAccountsApi, resource_group_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_by_resource_group", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_by_resource_group", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_list_by_resource_group", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("api_version", "storage_accounts_list_by_resource_group", :minLength, api_version, 1) @@ -329,7 +442,7 @@ function _oacinternal_storage_accounts_list_by_resource_group(_api::StorageAccou _ctx = OpenAPI.Clients.Ctx(_api.client, "GET", _returntypes_storage_accounts_list_by_resource_group_StorageAccountsApi, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts", ["azure_auth", ]) OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -361,9 +474,11 @@ const _returntypes_storage_accounts_list_keys_StorageAccountsApi = Dict{Regex,Ty function _oacinternal_storage_accounts_list_keys(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; expand=nothing, _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_keys", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_keys", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_list_keys", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_list_keys", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_list_keys", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_list_keys", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_list_keys", :minLength, api_version, 1) @@ -373,8 +488,8 @@ function _oacinternal_storage_accounts_list_keys(_api::StorageAccountsApi, resou OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String - OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String + OpenAPI.Clients.set_param(_ctx.query, "\$expand", expand; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -408,9 +523,11 @@ const _returntypes_storage_accounts_list_service_s_a_s_StorageAccountsApi = Dict function _oacinternal_storage_accounts_list_service_s_a_s(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::ServiceSasParameters; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_service_s_a_s", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_list_service_s_a_s", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_list_service_s_a_s", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_list_service_s_a_s", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_list_service_s_a_s", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_list_service_s_a_s", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_list_service_s_a_s", :minLength, api_version, 1) @@ -420,7 +537,7 @@ function _oacinternal_storage_accounts_list_service_s_a_s(_api::StorageAccountsA OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -454,9 +571,11 @@ const _returntypes_storage_accounts_regenerate_key_StorageAccountsApi = Dict{Reg function _oacinternal_storage_accounts_regenerate_key(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, regenerate_key::StorageAccountRegenerateKeyParameters; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_regenerate_key", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_regenerate_key", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_regenerate_key", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_regenerate_key", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_regenerate_key", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_regenerate_key", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_regenerate_key", :minLength, api_version, 1) @@ -466,7 +585,7 @@ function _oacinternal_storage_accounts_regenerate_key(_api::StorageAccountsApi, OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -501,9 +620,11 @@ const _returntypes_storage_accounts_restore_blob_ranges_StorageAccountsApi = Dic function _oacinternal_storage_accounts_restore_blob_ranges(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::BlobRestoreParameters; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_restore_blob_ranges", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_restore_blob_ranges", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_restore_blob_ranges", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_restore_blob_ranges", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_restore_blob_ranges", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_restore_blob_ranges", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_restore_blob_ranges", :minLength, api_version, 1) @@ -513,7 +634,7 @@ function _oacinternal_storage_accounts_restore_blob_ranges(_api::StorageAccounts OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -547,6 +668,7 @@ const _returntypes_storage_accounts_revoke_user_delegation_keys_StorageAccountsA function _oacinternal_storage_accounts_revoke_user_delegation_keys(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_revoke_user_delegation_keys", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_revoke_user_delegation_keys", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_revoke_user_delegation_keys", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_revoke_user_delegation_keys", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_revoke_user_delegation_keys", :minLength, account_name, 3) @@ -559,7 +681,7 @@ function _oacinternal_storage_accounts_revoke_user_delegation_keys(_api::Storage OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, []) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? [] : [_mediaType]) return _ctx @@ -592,9 +714,11 @@ const _returntypes_storage_accounts_update_StorageAccountsApi = Dict{Regex,Type} function _oacinternal_storage_accounts_update(_api::StorageAccountsApi, resource_group_name::String, account_name::String, api_version::String, subscription_id::String, parameters::StorageAccountUpdateParameters; _mediaType=nothing) OpenAPI.validate_param("resource_group_name", "storage_accounts_update", :maxLength, resource_group_name, 90) OpenAPI.validate_param("resource_group_name", "storage_accounts_update", :minLength, resource_group_name, 1) + OpenAPI.validate_param("resource_group_name", "storage_accounts_update", :pattern, resource_group_name, r"^[-\w\._\(\)]+$") OpenAPI.validate_param("account_name", "storage_accounts_update", :maxLength, account_name, 24) OpenAPI.validate_param("account_name", "storage_accounts_update", :minLength, account_name, 3) + OpenAPI.validate_param("account_name", "storage_accounts_update", :pattern, account_name, r"^[a-z0-9]+$") OpenAPI.validate_param("api_version", "storage_accounts_update", :minLength, api_version, 1) @@ -604,7 +728,7 @@ function _oacinternal_storage_accounts_update(_api::StorageAccountsApi, resource OpenAPI.Clients.set_param(_ctx.path, "resourceGroupName", resource_group_name) # type String OpenAPI.Clients.set_param(_ctx.path, "accountName", account_name) # type String OpenAPI.Clients.set_param(_ctx.path, "subscriptionId", subscription_id) # type String - OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version) # type String + OpenAPI.Clients.set_param(_ctx.query, "api-version", api_version; style="", is_explode=false) # type String OpenAPI.Clients.set_header_accept(_ctx, ["application/json", ]) OpenAPI.Clients.set_header_content_type(_ctx, (_mediaType === nothing) ? ["application/json", ] : [_mediaType]) return _ctx @@ -631,11 +755,13 @@ function storage_accounts_update(_api::StorageAccountsApi, response_stream::Chan return OpenAPI.Clients.exec(_ctx, response_stream) end +export storage_accounts_abort_hierarchical_namespace_migration export storage_accounts_check_name_availability export storage_accounts_create export storage_accounts_delete export storage_accounts_failover export storage_accounts_get_properties +export storage_accounts_hierarchical_namespace_migration export storage_accounts_list export storage_accounts_list_account_s_a_s export storage_accounts_list_by_resource_group diff --git a/src/Storage/StorageManagementClient/src/modelincludes.jl b/src/Storage/StorageManagementClient/src/modelincludes.jl index 88a8f78..019ee7f 100644 --- a/src/Storage/StorageManagementClient/src/modelincludes.jl +++ b/src/Storage/StorageManagementClient/src/modelincludes.jl @@ -1,18 +1,33 @@ # This file was generated by the Julia OpenAPI Code Generator # Do not modify this file directly. Modify the OpenAPI specification instead. +include("models/model_AccountImmutabilityPolicyProperties.jl") include("models/model_AccountSasParameters.jl") include("models/model_ActiveDirectoryProperties.jl") include("models/model_AzureFilesIdentityBasedAuthentication.jl") +include("models/model_BlobInventoryCreationTime.jl") +include("models/model_BlobInventoryPolicy.jl") +include("models/model_BlobInventoryPolicyDefinition.jl") +include("models/model_BlobInventoryPolicyFilter.jl") +include("models/model_BlobInventoryPolicyProperties.jl") +include("models/model_BlobInventoryPolicyRule.jl") +include("models/model_BlobInventoryPolicySchema.jl") include("models/model_BlobRestoreParameters.jl") include("models/model_BlobRestoreRange.jl") include("models/model_BlobRestoreStatus.jl") include("models/model_CheckNameAvailabilityResult.jl") +include("models/model_CloudError.jl") +include("models/model_CloudErrorBody.jl") include("models/model_CustomDomain.jl") include("models/model_DateAfterCreation.jl") include("models/model_DateAfterModification.jl") +include("models/model_DeletedAccount.jl") +include("models/model_DeletedAccountListResult.jl") +include("models/model_DeletedAccountProperties.jl") include("models/model_Dimension.jl") +include("models/model_DualStackEndpointPreference.jl") include("models/model_Encryption.jl") +include("models/model_EncryptionIdentity.jl") include("models/model_EncryptionScope.jl") include("models/model_EncryptionScopeKeyVaultProperties.jl") include("models/model_EncryptionScopeListResult.jl") @@ -20,13 +35,28 @@ include("models/model_EncryptionScopeProperties.jl") include("models/model_EncryptionService.jl") include("models/model_EncryptionServices.jl") include("models/model_Endpoints.jl") +include("models/model_ErrorAdditionalInfo.jl") +include("models/model_ErrorDetail.jl") include("models/model_ErrorResponse.jl") +include("models/model_ErrorResponse2.jl") +include("models/model_ErrorResponseBody.jl") +include("models/model_ExtendedLocation.jl") +include("models/model_ExtendedLocationType.jl") include("models/model_GeoReplicationStats.jl") include("models/model_IPRule.jl") include("models/model_Identity.jl") +include("models/model_ImmutableStorageAccount.jl") +include("models/model_KeyCreationTime.jl") +include("models/model_KeyPolicy.jl") include("models/model_KeyVaultProperties.jl") include("models/model_ListAccountSasResponse.jl") +include("models/model_ListBlobInventoryPolicy.jl") include("models/model_ListServiceSasResponse.jl") +include("models/model_LocalUser.jl") +include("models/model_LocalUserKeys.jl") +include("models/model_LocalUserProperties.jl") +include("models/model_LocalUserRegeneratePasswordResult.jl") +include("models/model_LocalUsers.jl") include("models/model_ManagementPolicy.jl") include("models/model_ManagementPolicyAction.jl") include("models/model_ManagementPolicyBaseBlob.jl") @@ -36,17 +66,21 @@ include("models/model_ManagementPolicyProperties.jl") include("models/model_ManagementPolicyRule.jl") include("models/model_ManagementPolicySchema.jl") include("models/model_ManagementPolicySnapShot.jl") +include("models/model_ManagementPolicyVersion.jl") include("models/model_MetricSpecification.jl") include("models/model_NetworkRuleSet.jl") include("models/model_ObjectReplicationPolicies.jl") include("models/model_ObjectReplicationPolicy.jl") include("models/model_ObjectReplicationPolicyFilter.jl") include("models/model_ObjectReplicationPolicyProperties.jl") +include("models/model_ObjectReplicationPolicyPropertiesMetrics.jl") include("models/model_ObjectReplicationPolicyRule.jl") include("models/model_Operation.jl") include("models/model_OperationDisplay.jl") include("models/model_OperationListResult.jl") include("models/model_OperationProperties.jl") +include("models/model_PermissionScope.jl") +include("models/model_Placement.jl") include("models/model_PrivateEndpoint.jl") include("models/model_PrivateEndpointConnection.jl") include("models/model_PrivateEndpointConnectionListResult.jl") @@ -57,33 +91,46 @@ include("models/model_PrivateLinkResource.jl") include("models/model_PrivateLinkResourceListResult.jl") include("models/model_PrivateLinkResourceProperties.jl") include("models/model_PrivateLinkServiceConnectionState.jl") +include("models/model_ProxyResource.jl") +include("models/model_PublicNetworkAccess.jl") include("models/model_Resource.jl") +include("models/model_ResourceAccessRule.jl") include("models/model_Restriction.jl") include("models/model_RoutingPreference.jl") include("models/model_SKUCapability.jl") +include("models/model_SasPolicy.jl") include("models/model_ServiceSasParameters.jl") include("models/model_ServiceSpecification.jl") include("models/model_Sku.jl") include("models/model_SkuInformation.jl") +include("models/model_SkuInformationLocationInfoInner.jl") include("models/model_SkuName.jl") +include("models/model_SmbOAuthSettings.jl") +include("models/model_SshPublicKey.jl") include("models/model_StorageAccount.jl") include("models/model_StorageAccountCheckNameAvailabilityParameters.jl") include("models/model_StorageAccountCreateParameters.jl") include("models/model_StorageAccountInternetEndpoints.jl") +include("models/model_StorageAccountIpv6Endpoints.jl") include("models/model_StorageAccountKey.jl") include("models/model_StorageAccountListKeysResult.jl") include("models/model_StorageAccountListResult.jl") include("models/model_StorageAccountMicrosoftEndpoints.jl") +include("models/model_StorageAccountMigration.jl") +include("models/model_StorageAccountMigrationProperties.jl") include("models/model_StorageAccountProperties.jl") include("models/model_StorageAccountPropertiesCreateParameters.jl") include("models/model_StorageAccountPropertiesUpdateParameters.jl") include("models/model_StorageAccountRegenerateKeyParameters.jl") +include("models/model_StorageAccountSkuConversionStatus.jl") include("models/model_StorageAccountUpdateParameters.jl") include("models/model_StorageSkuListResult.jl") +include("models/model_SystemData.jl") include("models/model_TagFilter.jl") include("models/model_Tier.jl") include("models/model_TrackedResource.jl") include("models/model_Usage.jl") include("models/model_UsageListResult.jl") include("models/model_UsageName.jl") +include("models/model_UserAssignedIdentity.jl") include("models/model_VirtualNetworkRule.jl") diff --git a/src/Storage/StorageManagementClient/src/models/model_AccountImmutabilityPolicyProperties.jl b/src/Storage/StorageManagementClient/src/models/model_AccountImmutabilityPolicyProperties.jl new file mode 100644 index 0000000..cbdf522 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_AccountImmutabilityPolicyProperties.jl @@ -0,0 +1,58 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""AccountImmutabilityPolicyProperties +This defines account-level immutability policy properties. + + AccountImmutabilityPolicyProperties(; + immutabilityPeriodSinceCreationInDays=nothing, + state=nothing, + allowProtectedAppendWrites=nothing, + ) + + - immutabilityPeriodSinceCreationInDays::Int64 : The immutability period for the blobs in the container since the policy creation, in days. + - state::String : The ImmutabilityPolicy state defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allowProtectedAppendWrites property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted. + - allowProtectedAppendWrites::Bool : This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted. +""" +Base.@kwdef mutable struct AccountImmutabilityPolicyProperties <: OpenAPI.APIModel + immutabilityPeriodSinceCreationInDays::Union{Nothing, Int64} = nothing + state::Union{Nothing, String} = nothing + allowProtectedAppendWrites::Union{Nothing, Bool} = nothing + + function AccountImmutabilityPolicyProperties(immutabilityPeriodSinceCreationInDays, state, allowProtectedAppendWrites, ) + o = new(immutabilityPeriodSinceCreationInDays, state, allowProtectedAppendWrites, ) + OpenAPI.validate_properties(o) + return o + end +end # type AccountImmutabilityPolicyProperties + +const _property_types_AccountImmutabilityPolicyProperties = Dict{Symbol,String}(Symbol("immutabilityPeriodSinceCreationInDays")=>"Int64", Symbol("state")=>"String", Symbol("allowProtectedAppendWrites")=>"Bool", ) +OpenAPI.property_type(::Type{ AccountImmutabilityPolicyProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AccountImmutabilityPolicyProperties[name]))} + +function OpenAPI.check_required(o::AccountImmutabilityPolicyProperties) + true +end + +function OpenAPI.validate_properties(o::AccountImmutabilityPolicyProperties) + OpenAPI.validate_property(AccountImmutabilityPolicyProperties, Symbol("immutabilityPeriodSinceCreationInDays"), o.immutabilityPeriodSinceCreationInDays) + OpenAPI.validate_property(AccountImmutabilityPolicyProperties, Symbol("state"), o.state) + OpenAPI.validate_property(AccountImmutabilityPolicyProperties, Symbol("allowProtectedAppendWrites"), o.allowProtectedAppendWrites) +end + +function OpenAPI.validate_property(::Type{ AccountImmutabilityPolicyProperties }, name::Symbol, val) + + if name === Symbol("immutabilityPeriodSinceCreationInDays") + OpenAPI.validate_param(name, "AccountImmutabilityPolicyProperties", :format, val, "int32") + end + if name === Symbol("immutabilityPeriodSinceCreationInDays") + OpenAPI.validate_param(name, "AccountImmutabilityPolicyProperties", :maximum, val, 146000, false) + OpenAPI.validate_param(name, "AccountImmutabilityPolicyProperties", :minimum, val, 1, false) + end + + if name === Symbol("state") + OpenAPI.validate_param(name, "AccountImmutabilityPolicyProperties", :enum, val, ["Unlocked", "Locked", "Disabled"]) + end + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_AccountSasParameters.jl b/src/Storage/StorageManagementClient/src/models/model_AccountSasParameters.jl index b647536..dd84c7d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_AccountSasParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_AccountSasParameters.jl @@ -36,22 +36,16 @@ Base.@kwdef mutable struct AccountSasParameters <: OpenAPI.APIModel keyToSign::Union{Nothing, String} = nothing function AccountSasParameters(signedServices, signedResourceTypes, signedPermission, signedIp, signedProtocol, signedStart, signedExpiry, keyToSign, ) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedServices"), signedServices) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedResourceTypes"), signedResourceTypes) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedPermission"), signedPermission) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedIp"), signedIp) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedProtocol"), signedProtocol) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedStart"), signedStart) - OpenAPI.validate_property(AccountSasParameters, Symbol("signedExpiry"), signedExpiry) - OpenAPI.validate_property(AccountSasParameters, Symbol("keyToSign"), keyToSign) - return new(signedServices, signedResourceTypes, signedPermission, signedIp, signedProtocol, signedStart, signedExpiry, keyToSign, ) + o = new(signedServices, signedResourceTypes, signedPermission, signedIp, signedProtocol, signedStart, signedExpiry, keyToSign, ) + OpenAPI.validate_properties(o) + return o end end # type AccountSasParameters const _property_types_AccountSasParameters = Dict{Symbol,String}(Symbol("signedServices")=>"String", Symbol("signedResourceTypes")=>"String", Symbol("signedPermission")=>"String", Symbol("signedIp")=>"String", Symbol("signedProtocol")=>"String", Symbol("signedStart")=>"ZonedDateTime", Symbol("signedExpiry")=>"ZonedDateTime", Symbol("keyToSign")=>"String", ) OpenAPI.property_type(::Type{ AccountSasParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AccountSasParameters[name]))} -function check_required(o::AccountSasParameters) +function OpenAPI.check_required(o::AccountSasParameters) o.signedServices === nothing && (return false) o.signedResourceTypes === nothing && (return false) o.signedPermission === nothing && (return false) @@ -59,23 +53,46 @@ function check_required(o::AccountSasParameters) true end +function OpenAPI.validate_properties(o::AccountSasParameters) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedServices"), o.signedServices) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedResourceTypes"), o.signedResourceTypes) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedPermission"), o.signedPermission) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedIp"), o.signedIp) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedProtocol"), o.signedProtocol) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedStart"), o.signedStart) + OpenAPI.validate_property(AccountSasParameters, Symbol("signedExpiry"), o.signedExpiry) + OpenAPI.validate_property(AccountSasParameters, Symbol("keyToSign"), o.keyToSign) +end + function OpenAPI.validate_property(::Type{ AccountSasParameters }, name::Symbol, val) + if name === Symbol("signedServices") OpenAPI.validate_param(name, "AccountSasParameters", :enum, val, ["b", "q", "t", "f"]) end + + if name === Symbol("signedResourceTypes") OpenAPI.validate_param(name, "AccountSasParameters", :enum, val, ["s", "c", "o"]) end + + if name === Symbol("signedPermission") OpenAPI.validate_param(name, "AccountSasParameters", :enum, val, ["r", "d", "w", "l", "a", "c", "u", "p"]) end + + + if name === Symbol("signedProtocol") OpenAPI.validate_param(name, "AccountSasParameters", :enum, val, ["https,http", "https"]) end + + if name === Symbol("signedStart") OpenAPI.validate_param(name, "AccountSasParameters", :format, val, "date-time") end + if name === Symbol("signedExpiry") OpenAPI.validate_param(name, "AccountSasParameters", :format, val, "date-time") end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ActiveDirectoryProperties.jl b/src/Storage/StorageManagementClient/src/models/model_ActiveDirectoryProperties.jl index 210e139..8ca4e34 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ActiveDirectoryProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ActiveDirectoryProperties.jl @@ -12,14 +12,18 @@ Settings properties for Active Directory (AD). domainGuid=nothing, domainSid=nothing, azureStorageSid=nothing, + samAccountName=nothing, + accountType=nothing, ) - - domainName::String : Specifies the primary domain that the AD DNS server is authoritative for. - - netBiosDomainName::String : Specifies the NetBIOS domain name. - - forestName::String : Specifies the Active Directory forest to get. - - domainGuid::String : Specifies the domain GUID. - - domainSid::String : Specifies the security identifier (SID). - - azureStorageSid::String : Specifies the security identifier (SID) for Azure Storage. + - domainName::String : Specifies the primary domain that the AD DNS server is authoritative for. This property is required if directoryServiceOptions is set to AD (AD DS authentication). If directoryServiceOptions is set to AADDS (Entra DS authentication), providing this property is optional, as it will be inferred automatically if omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication. + - netBiosDomainName::String : Specifies the NetBIOS domain name. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + - forestName::String : Specifies the Active Directory forest to get. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + - domainGuid::String : Specifies the domain GUID. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. If directoryServiceOptions is set to AADDS (Entra DS authentication), this property can be omitted. If directoryServiceOptions is set to AADKERB (Entra authentication), this property is optional; it is needed to support configuration of directory- and file-level permissions via Windows File Explorer, but is not required for authentication. + - domainSid::String : Specifies the security identifier (SID) of the AD domain. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + - azureStorageSid::String : Specifies the security identifier (SID) for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is required. Otherwise, it can be omitted. + - samAccountName::String : Specifies the Active Directory SAMAccountName for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, accountType should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. + - accountType::String : Specifies the Active Directory account type for Azure Storage. If directoryServiceOptions is set to AD (AD DS authentication), this property is optional. If provided, samAccountName should also be provided. For directoryServiceOptions AADDS (Entra DS authentication) or AADKERB (Entra authentication), this property can be omitted. """ Base.@kwdef mutable struct ActiveDirectoryProperties <: OpenAPI.APIModel domainName::Union{Nothing, String} = nothing @@ -28,30 +32,45 @@ Base.@kwdef mutable struct ActiveDirectoryProperties <: OpenAPI.APIModel domainGuid::Union{Nothing, String} = nothing domainSid::Union{Nothing, String} = nothing azureStorageSid::Union{Nothing, String} = nothing + samAccountName::Union{Nothing, String} = nothing + accountType::Union{Nothing, String} = nothing - function ActiveDirectoryProperties(domainName, netBiosDomainName, forestName, domainGuid, domainSid, azureStorageSid, ) - OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("domainName"), domainName) - OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("netBiosDomainName"), netBiosDomainName) - OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("forestName"), forestName) - OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("domainGuid"), domainGuid) - OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("domainSid"), domainSid) - OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("azureStorageSid"), azureStorageSid) - return new(domainName, netBiosDomainName, forestName, domainGuid, domainSid, azureStorageSid, ) + function ActiveDirectoryProperties(domainName, netBiosDomainName, forestName, domainGuid, domainSid, azureStorageSid, samAccountName, accountType, ) + o = new(domainName, netBiosDomainName, forestName, domainGuid, domainSid, azureStorageSid, samAccountName, accountType, ) + OpenAPI.validate_properties(o) + return o end end # type ActiveDirectoryProperties -const _property_types_ActiveDirectoryProperties = Dict{Symbol,String}(Symbol("domainName")=>"String", Symbol("netBiosDomainName")=>"String", Symbol("forestName")=>"String", Symbol("domainGuid")=>"String", Symbol("domainSid")=>"String", Symbol("azureStorageSid")=>"String", ) +const _property_types_ActiveDirectoryProperties = Dict{Symbol,String}(Symbol("domainName")=>"String", Symbol("netBiosDomainName")=>"String", Symbol("forestName")=>"String", Symbol("domainGuid")=>"String", Symbol("domainSid")=>"String", Symbol("azureStorageSid")=>"String", Symbol("samAccountName")=>"String", Symbol("accountType")=>"String", ) OpenAPI.property_type(::Type{ ActiveDirectoryProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ActiveDirectoryProperties[name]))} -function check_required(o::ActiveDirectoryProperties) - o.domainName === nothing && (return false) - o.netBiosDomainName === nothing && (return false) - o.forestName === nothing && (return false) - o.domainGuid === nothing && (return false) - o.domainSid === nothing && (return false) - o.azureStorageSid === nothing && (return false) +function OpenAPI.check_required(o::ActiveDirectoryProperties) true end +function OpenAPI.validate_properties(o::ActiveDirectoryProperties) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("domainName"), o.domainName) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("netBiosDomainName"), o.netBiosDomainName) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("forestName"), o.forestName) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("domainGuid"), o.domainGuid) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("domainSid"), o.domainSid) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("azureStorageSid"), o.azureStorageSid) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("samAccountName"), o.samAccountName) + OpenAPI.validate_property(ActiveDirectoryProperties, Symbol("accountType"), o.accountType) +end + function OpenAPI.validate_property(::Type{ ActiveDirectoryProperties }, name::Symbol, val) + + + + + + + + + if name === Symbol("accountType") + OpenAPI.validate_param(name, "ActiveDirectoryProperties", :enum, val, ["User", "Computer"]) + end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_AzureFilesIdentityBasedAuthentication.jl b/src/Storage/StorageManagementClient/src/models/model_AzureFilesIdentityBasedAuthentication.jl index 63460f6..776f6ab 100644 --- a/src/Storage/StorageManagementClient/src/models/model_AzureFilesIdentityBasedAuthentication.jl +++ b/src/Storage/StorageManagementClient/src/models/model_AzureFilesIdentityBasedAuthentication.jl @@ -8,32 +8,54 @@ Settings for Azure Files identity based authentication. AzureFilesIdentityBasedAuthentication(; directoryServiceOptions=nothing, activeDirectoryProperties=nothing, + defaultSharePermission=nothing, + smbOAuthSettings=nothing, ) - - directoryServiceOptions::String : Indicates the directory service used. + - directoryServiceOptions::String : Indicates the directory service used. Note that this enum may be extended in the future. - activeDirectoryProperties::ActiveDirectoryProperties + - defaultSharePermission::String : Default share permission for users using Kerberos authentication if RBAC role is not assigned. + - smbOAuthSettings::SmbOAuthSettings """ Base.@kwdef mutable struct AzureFilesIdentityBasedAuthentication <: OpenAPI.APIModel directoryServiceOptions::Union{Nothing, String} = nothing activeDirectoryProperties = nothing # spec type: Union{ Nothing, ActiveDirectoryProperties } + defaultSharePermission::Union{Nothing, String} = nothing + smbOAuthSettings = nothing # spec type: Union{ Nothing, SmbOAuthSettings } - function AzureFilesIdentityBasedAuthentication(directoryServiceOptions, activeDirectoryProperties, ) - OpenAPI.validate_property(AzureFilesIdentityBasedAuthentication, Symbol("directoryServiceOptions"), directoryServiceOptions) - OpenAPI.validate_property(AzureFilesIdentityBasedAuthentication, Symbol("activeDirectoryProperties"), activeDirectoryProperties) - return new(directoryServiceOptions, activeDirectoryProperties, ) + function AzureFilesIdentityBasedAuthentication(directoryServiceOptions, activeDirectoryProperties, defaultSharePermission, smbOAuthSettings, ) + o = new(directoryServiceOptions, activeDirectoryProperties, defaultSharePermission, smbOAuthSettings, ) + OpenAPI.validate_properties(o) + return o end end # type AzureFilesIdentityBasedAuthentication -const _property_types_AzureFilesIdentityBasedAuthentication = Dict{Symbol,String}(Symbol("directoryServiceOptions")=>"String", Symbol("activeDirectoryProperties")=>"ActiveDirectoryProperties", ) +const _property_types_AzureFilesIdentityBasedAuthentication = Dict{Symbol,String}(Symbol("directoryServiceOptions")=>"String", Symbol("activeDirectoryProperties")=>"ActiveDirectoryProperties", Symbol("defaultSharePermission")=>"String", Symbol("smbOAuthSettings")=>"SmbOAuthSettings", ) OpenAPI.property_type(::Type{ AzureFilesIdentityBasedAuthentication }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_AzureFilesIdentityBasedAuthentication[name]))} -function check_required(o::AzureFilesIdentityBasedAuthentication) +function OpenAPI.check_required(o::AzureFilesIdentityBasedAuthentication) o.directoryServiceOptions === nothing && (return false) true end +function OpenAPI.validate_properties(o::AzureFilesIdentityBasedAuthentication) + OpenAPI.validate_property(AzureFilesIdentityBasedAuthentication, Symbol("directoryServiceOptions"), o.directoryServiceOptions) + OpenAPI.validate_property(AzureFilesIdentityBasedAuthentication, Symbol("activeDirectoryProperties"), o.activeDirectoryProperties) + OpenAPI.validate_property(AzureFilesIdentityBasedAuthentication, Symbol("defaultSharePermission"), o.defaultSharePermission) + OpenAPI.validate_property(AzureFilesIdentityBasedAuthentication, Symbol("smbOAuthSettings"), o.smbOAuthSettings) +end + function OpenAPI.validate_property(::Type{ AzureFilesIdentityBasedAuthentication }, name::Symbol, val) + if name === Symbol("directoryServiceOptions") - OpenAPI.validate_param(name, "AzureFilesIdentityBasedAuthentication", :enum, val, ["None", "AADDS", "AD"]) + OpenAPI.validate_param(name, "AzureFilesIdentityBasedAuthentication", :enum, val, ["None", "AADDS", "AD", "AADKERB"]) end + + + + if name === Symbol("defaultSharePermission") + OpenAPI.validate_param(name, "AzureFilesIdentityBasedAuthentication", :enum, val, ["None", "StorageFileDataSmbShareReader", "StorageFileDataSmbShareContributor", "StorageFileDataSmbShareElevatedContributor"]) + end + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryCreationTime.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryCreationTime.jl new file mode 100644 index 0000000..4551401 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryCreationTime.jl @@ -0,0 +1,44 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryCreationTime +This property defines the creation time based filtering condition. Blob Inventory schema parameter 'Creation-Time' is mandatory with this filter. + + BlobInventoryCreationTime(; + lastNDays=nothing, + ) + + - lastNDays::Int64 : When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500. +""" +Base.@kwdef mutable struct BlobInventoryCreationTime <: OpenAPI.APIModel + lastNDays::Union{Nothing, Int64} = nothing + + function BlobInventoryCreationTime(lastNDays, ) + o = new(lastNDays, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryCreationTime + +const _property_types_BlobInventoryCreationTime = Dict{Symbol,String}(Symbol("lastNDays")=>"Int64", ) +OpenAPI.property_type(::Type{ BlobInventoryCreationTime }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryCreationTime[name]))} + +function OpenAPI.check_required(o::BlobInventoryCreationTime) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryCreationTime) + OpenAPI.validate_property(BlobInventoryCreationTime, Symbol("lastNDays"), o.lastNDays) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryCreationTime }, name::Symbol, val) + + if name === Symbol("lastNDays") + OpenAPI.validate_param(name, "BlobInventoryCreationTime", :format, val, "int32") + end + if name === Symbol("lastNDays") + OpenAPI.validate_param(name, "BlobInventoryCreationTime", :maximum, val, 36500, false) + OpenAPI.validate_param(name, "BlobInventoryCreationTime", :minimum, val, 1, false) + end +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicy.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicy.jl new file mode 100644 index 0000000..7ee6f18 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicy.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryPolicy +The storage account blob inventory policy. + + BlobInventoryPolicy(; + properties=nothing, + systemData=nothing, + id=nothing, + name=nothing, + type=nothing, + ) + + - properties::BlobInventoryPolicyProperties + - systemData::SystemData + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" +""" +Base.@kwdef mutable struct BlobInventoryPolicy <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, BlobInventoryPolicyProperties } + systemData = nothing # spec type: Union{ Nothing, SystemData } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function BlobInventoryPolicy(properties, systemData, id, name, type, ) + o = new(properties, systemData, id, name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryPolicy + +const _property_types_BlobInventoryPolicy = Dict{Symbol,String}(Symbol("properties")=>"BlobInventoryPolicyProperties", Symbol("systemData")=>"SystemData", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ BlobInventoryPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryPolicy[name]))} + +function OpenAPI.check_required(o::BlobInventoryPolicy) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryPolicy) + OpenAPI.validate_property(BlobInventoryPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(BlobInventoryPolicy, Symbol("systemData"), o.systemData) + OpenAPI.validate_property(BlobInventoryPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(BlobInventoryPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(BlobInventoryPolicy, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryPolicy }, name::Symbol, val) + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyDefinition.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyDefinition.jl new file mode 100644 index 0000000..3b6a1af --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyDefinition.jl @@ -0,0 +1,73 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryPolicyDefinition +An object that defines the blob inventory rule. + + BlobInventoryPolicyDefinition(; + filters=nothing, + format=nothing, + schedule=nothing, + objectType=nothing, + schemaFields=nothing, + ) + + - filters::BlobInventoryPolicyFilter + - format::String : This is a required field, it specifies the format for the inventory files. + - schedule::String : This is a required field. This field is used to schedule an inventory formation. + - objectType::String : This is a required field. This field specifies the scope of the inventory created either at the blob or container level. + - schemaFields::Vector{String} : This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts. +""" +Base.@kwdef mutable struct BlobInventoryPolicyDefinition <: OpenAPI.APIModel + filters = nothing # spec type: Union{ Nothing, BlobInventoryPolicyFilter } + format::Union{Nothing, String} = nothing + schedule::Union{Nothing, String} = nothing + objectType::Union{Nothing, String} = nothing + schemaFields::Union{Nothing, Vector{String}} = nothing + + function BlobInventoryPolicyDefinition(filters, format, schedule, objectType, schemaFields, ) + o = new(filters, format, schedule, objectType, schemaFields, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryPolicyDefinition + +const _property_types_BlobInventoryPolicyDefinition = Dict{Symbol,String}(Symbol("filters")=>"BlobInventoryPolicyFilter", Symbol("format")=>"String", Symbol("schedule")=>"String", Symbol("objectType")=>"String", Symbol("schemaFields")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ BlobInventoryPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryPolicyDefinition[name]))} + +function OpenAPI.check_required(o::BlobInventoryPolicyDefinition) + o.format === nothing && (return false) + o.schedule === nothing && (return false) + o.objectType === nothing && (return false) + o.schemaFields === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryPolicyDefinition) + OpenAPI.validate_property(BlobInventoryPolicyDefinition, Symbol("filters"), o.filters) + OpenAPI.validate_property(BlobInventoryPolicyDefinition, Symbol("format"), o.format) + OpenAPI.validate_property(BlobInventoryPolicyDefinition, Symbol("schedule"), o.schedule) + OpenAPI.validate_property(BlobInventoryPolicyDefinition, Symbol("objectType"), o.objectType) + OpenAPI.validate_property(BlobInventoryPolicyDefinition, Symbol("schemaFields"), o.schemaFields) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryPolicyDefinition }, name::Symbol, val) + + + if name === Symbol("format") + OpenAPI.validate_param(name, "BlobInventoryPolicyDefinition", :enum, val, ["Csv", "Parquet"]) + end + + + if name === Symbol("schedule") + OpenAPI.validate_param(name, "BlobInventoryPolicyDefinition", :enum, val, ["Daily", "Weekly"]) + end + + + if name === Symbol("objectType") + OpenAPI.validate_param(name, "BlobInventoryPolicyDefinition", :enum, val, ["Blob", "Container"]) + end + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyFilter.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyFilter.jl new file mode 100644 index 0000000..e5c5351 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyFilter.jl @@ -0,0 +1,67 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryPolicyFilter +An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional. + + BlobInventoryPolicyFilter(; + prefixMatch=nothing, + excludePrefix=nothing, + blobTypes=nothing, + includeBlobVersions=nothing, + includeSnapshots=nothing, + includeDeleted=nothing, + creationTime=nothing, + ) + + - prefixMatch::Vector{String} : An array of strings with maximum 10 blob prefixes to be included in the inventory. + - excludePrefix::Vector{String} : An array of strings with maximum 10 blob prefixes to be excluded from the inventory. + - blobTypes::Vector{String} : An array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'. + - includeBlobVersions::Bool : Includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded. + - includeSnapshots::Bool : Includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded. + - includeDeleted::Bool : For 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded. + - creationTime::BlobInventoryCreationTime +""" +Base.@kwdef mutable struct BlobInventoryPolicyFilter <: OpenAPI.APIModel + prefixMatch::Union{Nothing, Vector{String}} = nothing + excludePrefix::Union{Nothing, Vector{String}} = nothing + blobTypes::Union{Nothing, Vector{String}} = nothing + includeBlobVersions::Union{Nothing, Bool} = nothing + includeSnapshots::Union{Nothing, Bool} = nothing + includeDeleted::Union{Nothing, Bool} = nothing + creationTime = nothing # spec type: Union{ Nothing, BlobInventoryCreationTime } + + function BlobInventoryPolicyFilter(prefixMatch, excludePrefix, blobTypes, includeBlobVersions, includeSnapshots, includeDeleted, creationTime, ) + o = new(prefixMatch, excludePrefix, blobTypes, includeBlobVersions, includeSnapshots, includeDeleted, creationTime, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryPolicyFilter + +const _property_types_BlobInventoryPolicyFilter = Dict{Symbol,String}(Symbol("prefixMatch")=>"Vector{String}", Symbol("excludePrefix")=>"Vector{String}", Symbol("blobTypes")=>"Vector{String}", Symbol("includeBlobVersions")=>"Bool", Symbol("includeSnapshots")=>"Bool", Symbol("includeDeleted")=>"Bool", Symbol("creationTime")=>"BlobInventoryCreationTime", ) +OpenAPI.property_type(::Type{ BlobInventoryPolicyFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryPolicyFilter[name]))} + +function OpenAPI.check_required(o::BlobInventoryPolicyFilter) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryPolicyFilter) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("prefixMatch"), o.prefixMatch) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("excludePrefix"), o.excludePrefix) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("blobTypes"), o.blobTypes) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("includeBlobVersions"), o.includeBlobVersions) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("includeSnapshots"), o.includeSnapshots) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("includeDeleted"), o.includeDeleted) + OpenAPI.validate_property(BlobInventoryPolicyFilter, Symbol("creationTime"), o.creationTime) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryPolicyFilter }, name::Symbol, val) + + + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyProperties.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyProperties.jl new file mode 100644 index 0000000..c477cb3 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyProperties.jl @@ -0,0 +1,46 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryPolicyProperties +The storage account blob inventory policy properties. + + BlobInventoryPolicyProperties(; + lastModifiedTime=nothing, + policy=nothing, + ) + + - lastModifiedTime::ZonedDateTime : Returns the last modified date and time of the blob inventory policy. + - policy::BlobInventoryPolicySchema +""" +Base.@kwdef mutable struct BlobInventoryPolicyProperties <: OpenAPI.APIModel + lastModifiedTime::Union{Nothing, ZonedDateTime} = nothing + policy = nothing # spec type: Union{ Nothing, BlobInventoryPolicySchema } + + function BlobInventoryPolicyProperties(lastModifiedTime, policy, ) + o = new(lastModifiedTime, policy, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryPolicyProperties + +const _property_types_BlobInventoryPolicyProperties = Dict{Symbol,String}(Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("policy")=>"BlobInventoryPolicySchema", ) +OpenAPI.property_type(::Type{ BlobInventoryPolicyProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryPolicyProperties[name]))} + +function OpenAPI.check_required(o::BlobInventoryPolicyProperties) + o.policy === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryPolicyProperties) + OpenAPI.validate_property(BlobInventoryPolicyProperties, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(BlobInventoryPolicyProperties, Symbol("policy"), o.policy) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryPolicyProperties }, name::Symbol, val) + + if name === Symbol("lastModifiedTime") + OpenAPI.validate_param(name, "BlobInventoryPolicyProperties", :format, val, "date-time") + end + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyRule.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyRule.jl new file mode 100644 index 0000000..78ebdb9 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicyRule.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryPolicyRule +An object that wraps the blob inventory rule. Each rule is uniquely defined by name. + + BlobInventoryPolicyRule(; + enabled=nothing, + name=nothing, + destination=nothing, + definition=nothing, + ) + + - enabled::Bool : Rule is enabled when set to true. + - name::String : A rule name can contain any combination of alpha numeric characters. Rule name is case-sensitive. It must be unique within a policy. + - destination::String : Container name where blob inventory files are stored. Must be pre-created. + - definition::BlobInventoryPolicyDefinition +""" +Base.@kwdef mutable struct BlobInventoryPolicyRule <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + name::Union{Nothing, String} = nothing + destination::Union{Nothing, String} = nothing + definition = nothing # spec type: Union{ Nothing, BlobInventoryPolicyDefinition } + + function BlobInventoryPolicyRule(enabled, name, destination, definition, ) + o = new(enabled, name, destination, definition, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryPolicyRule + +const _property_types_BlobInventoryPolicyRule = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("name")=>"String", Symbol("destination")=>"String", Symbol("definition")=>"BlobInventoryPolicyDefinition", ) +OpenAPI.property_type(::Type{ BlobInventoryPolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryPolicyRule[name]))} + +function OpenAPI.check_required(o::BlobInventoryPolicyRule) + o.enabled === nothing && (return false) + o.name === nothing && (return false) + o.destination === nothing && (return false) + o.definition === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryPolicyRule) + OpenAPI.validate_property(BlobInventoryPolicyRule, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(BlobInventoryPolicyRule, Symbol("name"), o.name) + OpenAPI.validate_property(BlobInventoryPolicyRule, Symbol("destination"), o.destination) + OpenAPI.validate_property(BlobInventoryPolicyRule, Symbol("definition"), o.definition) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryPolicyRule }, name::Symbol, val) + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicySchema.jl b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicySchema.jl new file mode 100644 index 0000000..44414ba --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_BlobInventoryPolicySchema.jl @@ -0,0 +1,59 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""BlobInventoryPolicySchema +The storage account blob inventory policy rules. + + BlobInventoryPolicySchema(; + enabled=nothing, + destination=nothing, + type=nothing, + rules=nothing, + ) + + - enabled::Bool : Policy is enabled if set to true. + - destination::String : Deprecated Property from API version 2021-04-01 onwards, the required destination container name must be specified at the rule level 'policy.rule.destination' + - type::String : The valid value is Inventory + - rules::Vector{BlobInventoryPolicyRule} : The storage account blob inventory policy rules. The rule is applied when it is enabled. +""" +Base.@kwdef mutable struct BlobInventoryPolicySchema <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + destination::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BlobInventoryPolicyRule} } + + function BlobInventoryPolicySchema(enabled, destination, type, rules, ) + o = new(enabled, destination, type, rules, ) + OpenAPI.validate_properties(o) + return o + end +end # type BlobInventoryPolicySchema + +const _property_types_BlobInventoryPolicySchema = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("destination")=>"String", Symbol("type")=>"String", Symbol("rules")=>"Vector{BlobInventoryPolicyRule}", ) +OpenAPI.property_type(::Type{ BlobInventoryPolicySchema }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobInventoryPolicySchema[name]))} + +function OpenAPI.check_required(o::BlobInventoryPolicySchema) + o.enabled === nothing && (return false) + o.type === nothing && (return false) + o.rules === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::BlobInventoryPolicySchema) + OpenAPI.validate_property(BlobInventoryPolicySchema, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(BlobInventoryPolicySchema, Symbol("destination"), o.destination) + OpenAPI.validate_property(BlobInventoryPolicySchema, Symbol("type"), o.type) + OpenAPI.validate_property(BlobInventoryPolicySchema, Symbol("rules"), o.rules) +end + +function OpenAPI.validate_property(::Type{ BlobInventoryPolicySchema }, name::Symbol, val) + + + + if name === Symbol("type") + OpenAPI.validate_param(name, "BlobInventoryPolicySchema", :enum, val, ["Inventory"]) + end + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobRestoreParameters.jl b/src/Storage/StorageManagementClient/src/models/model_BlobRestoreParameters.jl index db7546e..1bfa250 100644 --- a/src/Storage/StorageManagementClient/src/models/model_BlobRestoreParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_BlobRestoreParameters.jl @@ -18,23 +18,30 @@ Base.@kwdef mutable struct BlobRestoreParameters <: OpenAPI.APIModel blobRanges::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BlobRestoreRange} } function BlobRestoreParameters(timeToRestore, blobRanges, ) - OpenAPI.validate_property(BlobRestoreParameters, Symbol("timeToRestore"), timeToRestore) - OpenAPI.validate_property(BlobRestoreParameters, Symbol("blobRanges"), blobRanges) - return new(timeToRestore, blobRanges, ) + o = new(timeToRestore, blobRanges, ) + OpenAPI.validate_properties(o) + return o end end # type BlobRestoreParameters const _property_types_BlobRestoreParameters = Dict{Symbol,String}(Symbol("timeToRestore")=>"ZonedDateTime", Symbol("blobRanges")=>"Vector{BlobRestoreRange}", ) OpenAPI.property_type(::Type{ BlobRestoreParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobRestoreParameters[name]))} -function check_required(o::BlobRestoreParameters) +function OpenAPI.check_required(o::BlobRestoreParameters) o.timeToRestore === nothing && (return false) o.blobRanges === nothing && (return false) true end +function OpenAPI.validate_properties(o::BlobRestoreParameters) + OpenAPI.validate_property(BlobRestoreParameters, Symbol("timeToRestore"), o.timeToRestore) + OpenAPI.validate_property(BlobRestoreParameters, Symbol("blobRanges"), o.blobRanges) +end + function OpenAPI.validate_property(::Type{ BlobRestoreParameters }, name::Symbol, val) + if name === Symbol("timeToRestore") OpenAPI.validate_param(name, "BlobRestoreParameters", :format, val, "date-time") end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobRestoreRange.jl b/src/Storage/StorageManagementClient/src/models/model_BlobRestoreRange.jl index 38d196b..18793f5 100644 --- a/src/Storage/StorageManagementClient/src/models/model_BlobRestoreRange.jl +++ b/src/Storage/StorageManagementClient/src/models/model_BlobRestoreRange.jl @@ -18,20 +18,27 @@ Base.@kwdef mutable struct BlobRestoreRange <: OpenAPI.APIModel endRange::Union{Nothing, String} = nothing function BlobRestoreRange(startRange, endRange, ) - OpenAPI.validate_property(BlobRestoreRange, Symbol("startRange"), startRange) - OpenAPI.validate_property(BlobRestoreRange, Symbol("endRange"), endRange) - return new(startRange, endRange, ) + o = new(startRange, endRange, ) + OpenAPI.validate_properties(o) + return o end end # type BlobRestoreRange const _property_types_BlobRestoreRange = Dict{Symbol,String}(Symbol("startRange")=>"String", Symbol("endRange")=>"String", ) OpenAPI.property_type(::Type{ BlobRestoreRange }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobRestoreRange[name]))} -function check_required(o::BlobRestoreRange) +function OpenAPI.check_required(o::BlobRestoreRange) o.startRange === nothing && (return false) o.endRange === nothing && (return false) true end +function OpenAPI.validate_properties(o::BlobRestoreRange) + OpenAPI.validate_property(BlobRestoreRange, Symbol("startRange"), o.startRange) + OpenAPI.validate_property(BlobRestoreRange, Symbol("endRange"), o.endRange) +end + function OpenAPI.validate_property(::Type{ BlobRestoreRange }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_BlobRestoreStatus.jl b/src/Storage/StorageManagementClient/src/models/model_BlobRestoreStatus.jl index b9faad0..7d873f7 100644 --- a/src/Storage/StorageManagementClient/src/models/model_BlobRestoreStatus.jl +++ b/src/Storage/StorageManagementClient/src/models/model_BlobRestoreStatus.jl @@ -24,23 +24,33 @@ Base.@kwdef mutable struct BlobRestoreStatus <: OpenAPI.APIModel parameters = nothing # spec type: Union{ Nothing, BlobRestoreParameters } function BlobRestoreStatus(status, failureReason, restoreId, parameters, ) - OpenAPI.validate_property(BlobRestoreStatus, Symbol("status"), status) - OpenAPI.validate_property(BlobRestoreStatus, Symbol("failureReason"), failureReason) - OpenAPI.validate_property(BlobRestoreStatus, Symbol("restoreId"), restoreId) - OpenAPI.validate_property(BlobRestoreStatus, Symbol("parameters"), parameters) - return new(status, failureReason, restoreId, parameters, ) + o = new(status, failureReason, restoreId, parameters, ) + OpenAPI.validate_properties(o) + return o end end # type BlobRestoreStatus const _property_types_BlobRestoreStatus = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("failureReason")=>"String", Symbol("restoreId")=>"String", Symbol("parameters")=>"BlobRestoreParameters", ) OpenAPI.property_type(::Type{ BlobRestoreStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_BlobRestoreStatus[name]))} -function check_required(o::BlobRestoreStatus) +function OpenAPI.check_required(o::BlobRestoreStatus) true end +function OpenAPI.validate_properties(o::BlobRestoreStatus) + OpenAPI.validate_property(BlobRestoreStatus, Symbol("status"), o.status) + OpenAPI.validate_property(BlobRestoreStatus, Symbol("failureReason"), o.failureReason) + OpenAPI.validate_property(BlobRestoreStatus, Symbol("restoreId"), o.restoreId) + OpenAPI.validate_property(BlobRestoreStatus, Symbol("parameters"), o.parameters) +end + function OpenAPI.validate_property(::Type{ BlobRestoreStatus }, name::Symbol, val) + if name === Symbol("status") OpenAPI.validate_param(name, "BlobRestoreStatus", :enum, val, ["InProgress", "Complete", "Failed"]) end + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_CheckNameAvailabilityResult.jl b/src/Storage/StorageManagementClient/src/models/model_CheckNameAvailabilityResult.jl index f7b96e8..84641fc 100644 --- a/src/Storage/StorageManagementClient/src/models/model_CheckNameAvailabilityResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_CheckNameAvailabilityResult.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct CheckNameAvailabilityResult <: OpenAPI.APIModel message::Union{Nothing, String} = nothing function CheckNameAvailabilityResult(nameAvailable, reason, message, ) - OpenAPI.validate_property(CheckNameAvailabilityResult, Symbol("nameAvailable"), nameAvailable) - OpenAPI.validate_property(CheckNameAvailabilityResult, Symbol("reason"), reason) - OpenAPI.validate_property(CheckNameAvailabilityResult, Symbol("message"), message) - return new(nameAvailable, reason, message, ) + o = new(nameAvailable, reason, message, ) + OpenAPI.validate_properties(o) + return o end end # type CheckNameAvailabilityResult const _property_types_CheckNameAvailabilityResult = Dict{Symbol,String}(Symbol("nameAvailable")=>"Bool", Symbol("reason")=>"String", Symbol("message")=>"String", ) OpenAPI.property_type(::Type{ CheckNameAvailabilityResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CheckNameAvailabilityResult[name]))} -function check_required(o::CheckNameAvailabilityResult) +function OpenAPI.check_required(o::CheckNameAvailabilityResult) true end +function OpenAPI.validate_properties(o::CheckNameAvailabilityResult) + OpenAPI.validate_property(CheckNameAvailabilityResult, Symbol("nameAvailable"), o.nameAvailable) + OpenAPI.validate_property(CheckNameAvailabilityResult, Symbol("reason"), o.reason) + OpenAPI.validate_property(CheckNameAvailabilityResult, Symbol("message"), o.message) +end + function OpenAPI.validate_property(::Type{ CheckNameAvailabilityResult }, name::Symbol, val) + + if name === Symbol("reason") OpenAPI.validate_param(name, "CheckNameAvailabilityResult", :enum, val, ["AccountNameInvalid", "AlreadyExists"]) end + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_CloudError.jl b/src/Storage/StorageManagementClient/src/models/model_CloudError.jl new file mode 100644 index 0000000..c76ca3f --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_CloudError.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CloudError +An error response from the Storage service. + + CloudError(; + error=nothing, + ) + + - error::CloudErrorBody +""" +Base.@kwdef mutable struct CloudError <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, CloudErrorBody } + + function CloudError(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type CloudError + +const _property_types_CloudError = Dict{Symbol,String}(Symbol("error")=>"CloudErrorBody", ) +OpenAPI.property_type(::Type{ CloudError }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudError[name]))} + +function OpenAPI.check_required(o::CloudError) + true +end + +function OpenAPI.validate_properties(o::CloudError) + OpenAPI.validate_property(CloudError, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ CloudError }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_CloudErrorBody.jl b/src/Storage/StorageManagementClient/src/models/model_CloudErrorBody.jl new file mode 100644 index 0000000..9e50f36 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_CloudErrorBody.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""CloudErrorBody +An error response from the Storage service. + + CloudErrorBody(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + ) + + - code::String : An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + - message::String : A message describing the error, intended to be suitable for display in a user interface. + - target::String : The target of the particular error. For example, the name of the property in error. + - details::Vector{CloudErrorBody} : A list of additional details about the error. +""" +Base.@kwdef mutable struct CloudErrorBody <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{CloudErrorBody} } + + function CloudErrorBody(code, message, target, details, ) + o = new(code, message, target, details, ) + OpenAPI.validate_properties(o) + return o + end +end # type CloudErrorBody + +const _property_types_CloudErrorBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{CloudErrorBody}", ) +OpenAPI.property_type(::Type{ CloudErrorBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CloudErrorBody[name]))} + +function OpenAPI.check_required(o::CloudErrorBody) + true +end + +function OpenAPI.validate_properties(o::CloudErrorBody) + OpenAPI.validate_property(CloudErrorBody, Symbol("code"), o.code) + OpenAPI.validate_property(CloudErrorBody, Symbol("message"), o.message) + OpenAPI.validate_property(CloudErrorBody, Symbol("target"), o.target) + OpenAPI.validate_property(CloudErrorBody, Symbol("details"), o.details) +end + +function OpenAPI.validate_property(::Type{ CloudErrorBody }, name::Symbol, val) + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_CustomDomain.jl b/src/Storage/StorageManagementClient/src/models/model_CustomDomain.jl index b74a092..40ccc98 100644 --- a/src/Storage/StorageManagementClient/src/models/model_CustomDomain.jl +++ b/src/Storage/StorageManagementClient/src/models/model_CustomDomain.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct CustomDomain <: OpenAPI.APIModel useSubDomainName::Union{Nothing, Bool} = nothing function CustomDomain(name, useSubDomainName, ) - OpenAPI.validate_property(CustomDomain, Symbol("name"), name) - OpenAPI.validate_property(CustomDomain, Symbol("useSubDomainName"), useSubDomainName) - return new(name, useSubDomainName, ) + o = new(name, useSubDomainName, ) + OpenAPI.validate_properties(o) + return o end end # type CustomDomain const _property_types_CustomDomain = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("useSubDomainName")=>"Bool", ) OpenAPI.property_type(::Type{ CustomDomain }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_CustomDomain[name]))} -function check_required(o::CustomDomain) +function OpenAPI.check_required(o::CustomDomain) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::CustomDomain) + OpenAPI.validate_property(CustomDomain, Symbol("name"), o.name) + OpenAPI.validate_property(CustomDomain, Symbol("useSubDomainName"), o.useSubDomainName) +end + function OpenAPI.validate_property(::Type{ CustomDomain }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_DateAfterCreation.jl b/src/Storage/StorageManagementClient/src/models/model_DateAfterCreation.jl index b0b336a..9fb8924 100644 --- a/src/Storage/StorageManagementClient/src/models/model_DateAfterCreation.jl +++ b/src/Storage/StorageManagementClient/src/models/model_DateAfterCreation.jl @@ -3,34 +3,49 @@ @doc raw"""DateAfterCreation -Object to define the number of days after creation. +Object to define snapshot and version action conditions. DateAfterCreation(; daysAfterCreationGreaterThan=nothing, + daysAfterLastTierChangeGreaterThan=nothing, ) - daysAfterCreationGreaterThan::Float64 : Value indicating the age in days after creation + - daysAfterLastTierChangeGreaterThan::Float64 : Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterCreationGreaterThan to be set for snapshots and blob version based actions. The blob will be archived if both the conditions are satisfied. """ Base.@kwdef mutable struct DateAfterCreation <: OpenAPI.APIModel daysAfterCreationGreaterThan::Union{Nothing, Float64} = nothing + daysAfterLastTierChangeGreaterThan::Union{Nothing, Float64} = nothing - function DateAfterCreation(daysAfterCreationGreaterThan, ) - OpenAPI.validate_property(DateAfterCreation, Symbol("daysAfterCreationGreaterThan"), daysAfterCreationGreaterThan) - return new(daysAfterCreationGreaterThan, ) + function DateAfterCreation(daysAfterCreationGreaterThan, daysAfterLastTierChangeGreaterThan, ) + o = new(daysAfterCreationGreaterThan, daysAfterLastTierChangeGreaterThan, ) + OpenAPI.validate_properties(o) + return o end end # type DateAfterCreation -const _property_types_DateAfterCreation = Dict{Symbol,String}(Symbol("daysAfterCreationGreaterThan")=>"Float64", ) +const _property_types_DateAfterCreation = Dict{Symbol,String}(Symbol("daysAfterCreationGreaterThan")=>"Float64", Symbol("daysAfterLastTierChangeGreaterThan")=>"Float64", ) OpenAPI.property_type(::Type{ DateAfterCreation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DateAfterCreation[name]))} -function check_required(o::DateAfterCreation) +function OpenAPI.check_required(o::DateAfterCreation) o.daysAfterCreationGreaterThan === nothing && (return false) true end +function OpenAPI.validate_properties(o::DateAfterCreation) + OpenAPI.validate_property(DateAfterCreation, Symbol("daysAfterCreationGreaterThan"), o.daysAfterCreationGreaterThan) + OpenAPI.validate_property(DateAfterCreation, Symbol("daysAfterLastTierChangeGreaterThan"), o.daysAfterLastTierChangeGreaterThan) +end + function OpenAPI.validate_property(::Type{ DateAfterCreation }, name::Symbol, val) + if name === Symbol("daysAfterCreationGreaterThan") OpenAPI.validate_param(name, "DateAfterCreation", :minimum, val, 0, false) OpenAPI.validate_param(name, "DateAfterCreation", :multipleOf, val, 1) end + + if name === Symbol("daysAfterLastTierChangeGreaterThan") + OpenAPI.validate_param(name, "DateAfterCreation", :minimum, val, 0, false) + OpenAPI.validate_param(name, "DateAfterCreation", :multipleOf, val, 1) + end end diff --git a/src/Storage/StorageManagementClient/src/models/model_DateAfterModification.jl b/src/Storage/StorageManagementClient/src/models/model_DateAfterModification.jl index 8786682..09ce8f3 100644 --- a/src/Storage/StorageManagementClient/src/models/model_DateAfterModification.jl +++ b/src/Storage/StorageManagementClient/src/models/model_DateAfterModification.jl @@ -3,34 +3,66 @@ @doc raw"""DateAfterModification -Object to define the number of days after last modification. +Object to define the base blob action conditions. Properties daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan and daysAfterCreationGreaterThan are mutually exclusive. The daysAfterLastTierChangeGreaterThan property is only applicable for tierToArchive actions which requires daysAfterModificationGreaterThan to be set, also it cannot be used in conjunction with daysAfterLastAccessTimeGreaterThan or daysAfterCreationGreaterThan. DateAfterModification(; daysAfterModificationGreaterThan=nothing, + daysAfterLastAccessTimeGreaterThan=nothing, + daysAfterLastTierChangeGreaterThan=nothing, + daysAfterCreationGreaterThan=nothing, ) - daysAfterModificationGreaterThan::Float64 : Value indicating the age in days after last modification + - daysAfterLastAccessTimeGreaterThan::Float64 : Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy + - daysAfterLastTierChangeGreaterThan::Float64 : Value indicating the age in days after last blob tier change time. This property is only applicable for tierToArchive actions and requires daysAfterModificationGreaterThan to be set for baseBlobs based actions. The blob will be archived if both the conditions are satisfied. + - daysAfterCreationGreaterThan::Float64 : Value indicating the age in days after blob creation. """ Base.@kwdef mutable struct DateAfterModification <: OpenAPI.APIModel daysAfterModificationGreaterThan::Union{Nothing, Float64} = nothing + daysAfterLastAccessTimeGreaterThan::Union{Nothing, Float64} = nothing + daysAfterLastTierChangeGreaterThan::Union{Nothing, Float64} = nothing + daysAfterCreationGreaterThan::Union{Nothing, Float64} = nothing - function DateAfterModification(daysAfterModificationGreaterThan, ) - OpenAPI.validate_property(DateAfterModification, Symbol("daysAfterModificationGreaterThan"), daysAfterModificationGreaterThan) - return new(daysAfterModificationGreaterThan, ) + function DateAfterModification(daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan, daysAfterLastTierChangeGreaterThan, daysAfterCreationGreaterThan, ) + o = new(daysAfterModificationGreaterThan, daysAfterLastAccessTimeGreaterThan, daysAfterLastTierChangeGreaterThan, daysAfterCreationGreaterThan, ) + OpenAPI.validate_properties(o) + return o end end # type DateAfterModification -const _property_types_DateAfterModification = Dict{Symbol,String}(Symbol("daysAfterModificationGreaterThan")=>"Float64", ) +const _property_types_DateAfterModification = Dict{Symbol,String}(Symbol("daysAfterModificationGreaterThan")=>"Float64", Symbol("daysAfterLastAccessTimeGreaterThan")=>"Float64", Symbol("daysAfterLastTierChangeGreaterThan")=>"Float64", Symbol("daysAfterCreationGreaterThan")=>"Float64", ) OpenAPI.property_type(::Type{ DateAfterModification }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DateAfterModification[name]))} -function check_required(o::DateAfterModification) - o.daysAfterModificationGreaterThan === nothing && (return false) +function OpenAPI.check_required(o::DateAfterModification) true end +function OpenAPI.validate_properties(o::DateAfterModification) + OpenAPI.validate_property(DateAfterModification, Symbol("daysAfterModificationGreaterThan"), o.daysAfterModificationGreaterThan) + OpenAPI.validate_property(DateAfterModification, Symbol("daysAfterLastAccessTimeGreaterThan"), o.daysAfterLastAccessTimeGreaterThan) + OpenAPI.validate_property(DateAfterModification, Symbol("daysAfterLastTierChangeGreaterThan"), o.daysAfterLastTierChangeGreaterThan) + OpenAPI.validate_property(DateAfterModification, Symbol("daysAfterCreationGreaterThan"), o.daysAfterCreationGreaterThan) +end + function OpenAPI.validate_property(::Type{ DateAfterModification }, name::Symbol, val) + if name === Symbol("daysAfterModificationGreaterThan") OpenAPI.validate_param(name, "DateAfterModification", :minimum, val, 0, false) OpenAPI.validate_param(name, "DateAfterModification", :multipleOf, val, 1) end + + if name === Symbol("daysAfterLastAccessTimeGreaterThan") + OpenAPI.validate_param(name, "DateAfterModification", :minimum, val, 0, false) + OpenAPI.validate_param(name, "DateAfterModification", :multipleOf, val, 1) + end + + if name === Symbol("daysAfterLastTierChangeGreaterThan") + OpenAPI.validate_param(name, "DateAfterModification", :minimum, val, 0, false) + OpenAPI.validate_param(name, "DateAfterModification", :multipleOf, val, 1) + end + + if name === Symbol("daysAfterCreationGreaterThan") + OpenAPI.validate_param(name, "DateAfterModification", :minimum, val, 0, false) + OpenAPI.validate_param(name, "DateAfterModification", :multipleOf, val, 1) + end end diff --git a/src/Storage/StorageManagementClient/src/models/model_DeletedAccount.jl b/src/Storage/StorageManagementClient/src/models/model_DeletedAccount.jl new file mode 100644 index 0000000..a07443a --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_DeletedAccount.jl @@ -0,0 +1,52 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DeletedAccount +Deleted storage account + + DeletedAccount(; + properties=nothing, + id=nothing, + name=nothing, + type=nothing, + ) + + - properties::DeletedAccountProperties + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" +""" +Base.@kwdef mutable struct DeletedAccount <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, DeletedAccountProperties } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function DeletedAccount(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type DeletedAccount + +const _property_types_DeletedAccount = Dict{Symbol,String}(Symbol("properties")=>"DeletedAccountProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ DeletedAccount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeletedAccount[name]))} + +function OpenAPI.check_required(o::DeletedAccount) + true +end + +function OpenAPI.validate_properties(o::DeletedAccount) + OpenAPI.validate_property(DeletedAccount, Symbol("properties"), o.properties) + OpenAPI.validate_property(DeletedAccount, Symbol("id"), o.id) + OpenAPI.validate_property(DeletedAccount, Symbol("name"), o.name) + OpenAPI.validate_property(DeletedAccount, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ DeletedAccount }, name::Symbol, val) + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_DeletedAccountListResult.jl b/src/Storage/StorageManagementClient/src/models/model_DeletedAccountListResult.jl new file mode 100644 index 0000000..3c47a4a --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_DeletedAccountListResult.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DeletedAccountListResult +The response from the List Deleted Accounts operation. + + DeletedAccountListResult(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{DeletedAccount} : Gets the list of deleted accounts and their properties. + - nextLink::String : Request URL that can be used to query next page of deleted accounts. Returned when total number of requested deleted accounts exceed maximum page size. +""" +Base.@kwdef mutable struct DeletedAccountListResult <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{DeletedAccount} } + nextLink::Union{Nothing, String} = nothing + + function DeletedAccountListResult(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type DeletedAccountListResult + +const _property_types_DeletedAccountListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{DeletedAccount}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ DeletedAccountListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeletedAccountListResult[name]))} + +function OpenAPI.check_required(o::DeletedAccountListResult) + true +end + +function OpenAPI.validate_properties(o::DeletedAccountListResult) + OpenAPI.validate_property(DeletedAccountListResult, Symbol("value"), o.value) + OpenAPI.validate_property(DeletedAccountListResult, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ DeletedAccountListResult }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_DeletedAccountProperties.jl b/src/Storage/StorageManagementClient/src/models/model_DeletedAccountProperties.jl new file mode 100644 index 0000000..530aac7 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_DeletedAccountProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DeletedAccountProperties +Attributes of a deleted storage account. + + DeletedAccountProperties(; + storageAccountResourceId=nothing, + location=nothing, + restoreReference=nothing, + creationTime=nothing, + deletionTime=nothing, + ) + + - storageAccountResourceId::String : Full resource id of the original storage account. + - location::String : Location of the deleted account. + - restoreReference::String : Can be used to attempt recovering this deleted account via PutStorageAccount API. + - creationTime::String : Creation time of the deleted account. + - deletionTime::String : Deletion time of the deleted account. +""" +Base.@kwdef mutable struct DeletedAccountProperties <: OpenAPI.APIModel + storageAccountResourceId::Union{Nothing, String} = nothing + location::Union{Nothing, String} = nothing + restoreReference::Union{Nothing, String} = nothing + creationTime::Union{Nothing, String} = nothing + deletionTime::Union{Nothing, String} = nothing + + function DeletedAccountProperties(storageAccountResourceId, location, restoreReference, creationTime, deletionTime, ) + o = new(storageAccountResourceId, location, restoreReference, creationTime, deletionTime, ) + OpenAPI.validate_properties(o) + return o + end +end # type DeletedAccountProperties + +const _property_types_DeletedAccountProperties = Dict{Symbol,String}(Symbol("storageAccountResourceId")=>"String", Symbol("location")=>"String", Symbol("restoreReference")=>"String", Symbol("creationTime")=>"String", Symbol("deletionTime")=>"String", ) +OpenAPI.property_type(::Type{ DeletedAccountProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DeletedAccountProperties[name]))} + +function OpenAPI.check_required(o::DeletedAccountProperties) + true +end + +function OpenAPI.validate_properties(o::DeletedAccountProperties) + OpenAPI.validate_property(DeletedAccountProperties, Symbol("storageAccountResourceId"), o.storageAccountResourceId) + OpenAPI.validate_property(DeletedAccountProperties, Symbol("location"), o.location) + OpenAPI.validate_property(DeletedAccountProperties, Symbol("restoreReference"), o.restoreReference) + OpenAPI.validate_property(DeletedAccountProperties, Symbol("creationTime"), o.creationTime) + OpenAPI.validate_property(DeletedAccountProperties, Symbol("deletionTime"), o.deletionTime) +end + +function OpenAPI.validate_property(::Type{ DeletedAccountProperties }, name::Symbol, val) + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_Dimension.jl b/src/Storage/StorageManagementClient/src/models/model_Dimension.jl index 1e5a20f..0c946df 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Dimension.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Dimension.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct Dimension <: OpenAPI.APIModel displayName::Union{Nothing, String} = nothing function Dimension(name, displayName, ) - OpenAPI.validate_property(Dimension, Symbol("name"), name) - OpenAPI.validate_property(Dimension, Symbol("displayName"), displayName) - return new(name, displayName, ) + o = new(name, displayName, ) + OpenAPI.validate_properties(o) + return o end end # type Dimension const _property_types_Dimension = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("displayName")=>"String", ) OpenAPI.property_type(::Type{ Dimension }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Dimension[name]))} -function check_required(o::Dimension) +function OpenAPI.check_required(o::Dimension) true end +function OpenAPI.validate_properties(o::Dimension) + OpenAPI.validate_property(Dimension, Symbol("name"), o.name) + OpenAPI.validate_property(Dimension, Symbol("displayName"), o.displayName) +end + function OpenAPI.validate_property(::Type{ Dimension }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_DualStackEndpointPreference.jl b/src/Storage/StorageManagementClient/src/models/model_DualStackEndpointPreference.jl new file mode 100644 index 0000000..a37ddfa --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_DualStackEndpointPreference.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""DualStackEndpointPreference +Dual-stack endpoint preference defines whether IPv6 endpoints are going to be published. + + DualStackEndpointPreference(; + publishIpv6Endpoint=nothing, + ) + + - publishIpv6Endpoint::Bool : A boolean flag which indicates whether IPv6 storage endpoints are to be published. +""" +Base.@kwdef mutable struct DualStackEndpointPreference <: OpenAPI.APIModel + publishIpv6Endpoint::Union{Nothing, Bool} = nothing + + function DualStackEndpointPreference(publishIpv6Endpoint, ) + o = new(publishIpv6Endpoint, ) + OpenAPI.validate_properties(o) + return o + end +end # type DualStackEndpointPreference + +const _property_types_DualStackEndpointPreference = Dict{Symbol,String}(Symbol("publishIpv6Endpoint")=>"Bool", ) +OpenAPI.property_type(::Type{ DualStackEndpointPreference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_DualStackEndpointPreference[name]))} + +function OpenAPI.check_required(o::DualStackEndpointPreference) + true +end + +function OpenAPI.validate_properties(o::DualStackEndpointPreference) + OpenAPI.validate_property(DualStackEndpointPreference, Symbol("publishIpv6Endpoint"), o.publishIpv6Endpoint) +end + +function OpenAPI.validate_property(::Type{ DualStackEndpointPreference }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_Encryption.jl b/src/Storage/StorageManagementClient/src/models/model_Encryption.jl index 8990298..498ad80 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Encryption.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Encryption.jl @@ -7,41 +7,55 @@ The encryption settings on the storage account. Encryption(; services=nothing, - keySource=Microsoft.Storage, + keySource="Microsoft.Storage", requireInfrastructureEncryption=nothing, keyvaultproperties=nothing, + identity=nothing, ) - services::EncryptionServices - keySource::String : The encryption keySource (provider). Possible values (case-insensitive): Microsoft.Storage, Microsoft.Keyvault - requireInfrastructureEncryption::Bool : A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. - keyvaultproperties::KeyVaultProperties + - identity::EncryptionIdentity """ Base.@kwdef mutable struct Encryption <: OpenAPI.APIModel services = nothing # spec type: Union{ Nothing, EncryptionServices } - keySource::Union{Nothing, String} = Microsoft.Storage + keySource::Union{Nothing, String} = "Microsoft.Storage" requireInfrastructureEncryption::Union{Nothing, Bool} = nothing keyvaultproperties = nothing # spec type: Union{ Nothing, KeyVaultProperties } + identity = nothing # spec type: Union{ Nothing, EncryptionIdentity } - function Encryption(services, keySource, requireInfrastructureEncryption, keyvaultproperties, ) - OpenAPI.validate_property(Encryption, Symbol("services"), services) - OpenAPI.validate_property(Encryption, Symbol("keySource"), keySource) - OpenAPI.validate_property(Encryption, Symbol("requireInfrastructureEncryption"), requireInfrastructureEncryption) - OpenAPI.validate_property(Encryption, Symbol("keyvaultproperties"), keyvaultproperties) - return new(services, keySource, requireInfrastructureEncryption, keyvaultproperties, ) + function Encryption(services, keySource, requireInfrastructureEncryption, keyvaultproperties, identity, ) + o = new(services, keySource, requireInfrastructureEncryption, keyvaultproperties, identity, ) + OpenAPI.validate_properties(o) + return o end end # type Encryption -const _property_types_Encryption = Dict{Symbol,String}(Symbol("services")=>"EncryptionServices", Symbol("keySource")=>"String", Symbol("requireInfrastructureEncryption")=>"Bool", Symbol("keyvaultproperties")=>"KeyVaultProperties", ) +const _property_types_Encryption = Dict{Symbol,String}(Symbol("services")=>"EncryptionServices", Symbol("keySource")=>"String", Symbol("requireInfrastructureEncryption")=>"Bool", Symbol("keyvaultproperties")=>"KeyVaultProperties", Symbol("identity")=>"EncryptionIdentity", ) OpenAPI.property_type(::Type{ Encryption }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Encryption[name]))} -function check_required(o::Encryption) - o.keySource === nothing && (return false) +function OpenAPI.check_required(o::Encryption) true end +function OpenAPI.validate_properties(o::Encryption) + OpenAPI.validate_property(Encryption, Symbol("services"), o.services) + OpenAPI.validate_property(Encryption, Symbol("keySource"), o.keySource) + OpenAPI.validate_property(Encryption, Symbol("requireInfrastructureEncryption"), o.requireInfrastructureEncryption) + OpenAPI.validate_property(Encryption, Symbol("keyvaultproperties"), o.keyvaultproperties) + OpenAPI.validate_property(Encryption, Symbol("identity"), o.identity) +end + function OpenAPI.validate_property(::Type{ Encryption }, name::Symbol, val) + + if name === Symbol("keySource") OpenAPI.validate_param(name, "Encryption", :enum, val, ["Microsoft.Storage", "Microsoft.Keyvault"]) end + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionIdentity.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionIdentity.jl new file mode 100644 index 0000000..8d03b0f --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionIdentity.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""EncryptionIdentity +Encryption identity for the storage account. + + EncryptionIdentity(; + userAssignedIdentity=nothing, + federatedIdentityClientId=nothing, + ) + + - userAssignedIdentity::String : Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account. + - federatedIdentityClientId::String : ClientId of the multi-tenant application to be used in conjunction with the user-assigned identity for cross-tenant customer-managed-keys server-side encryption on the storage account. +""" +Base.@kwdef mutable struct EncryptionIdentity <: OpenAPI.APIModel + userAssignedIdentity::Union{Nothing, String} = nothing + federatedIdentityClientId::Union{Nothing, String} = nothing + + function EncryptionIdentity(userAssignedIdentity, federatedIdentityClientId, ) + o = new(userAssignedIdentity, federatedIdentityClientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type EncryptionIdentity + +const _property_types_EncryptionIdentity = Dict{Symbol,String}(Symbol("userAssignedIdentity")=>"String", Symbol("federatedIdentityClientId")=>"String", ) +OpenAPI.property_type(::Type{ EncryptionIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionIdentity[name]))} + +function OpenAPI.check_required(o::EncryptionIdentity) + true +end + +function OpenAPI.validate_properties(o::EncryptionIdentity) + OpenAPI.validate_property(EncryptionIdentity, Symbol("userAssignedIdentity"), o.userAssignedIdentity) + OpenAPI.validate_property(EncryptionIdentity, Symbol("federatedIdentityClientId"), o.federatedIdentityClientId) +end + +function OpenAPI.validate_property(::Type{ EncryptionIdentity }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionScope.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionScope.jl index 9ff8465..4b46f98 100644 --- a/src/Storage/StorageManagementClient/src/models/model_EncryptionScope.jl +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionScope.jl @@ -13,9 +13,9 @@ The Encryption Scope resource. ) - properties::EncryptionScopeProperties - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct EncryptionScope <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, EncryptionScopeProperties } @@ -24,20 +24,29 @@ Base.@kwdef mutable struct EncryptionScope <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function EncryptionScope(properties, id, name, type, ) - OpenAPI.validate_property(EncryptionScope, Symbol("properties"), properties) - OpenAPI.validate_property(EncryptionScope, Symbol("id"), id) - OpenAPI.validate_property(EncryptionScope, Symbol("name"), name) - OpenAPI.validate_property(EncryptionScope, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionScope const _property_types_EncryptionScope = Dict{Symbol,String}(Symbol("properties")=>"EncryptionScopeProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ EncryptionScope }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionScope[name]))} -function check_required(o::EncryptionScope) +function OpenAPI.check_required(o::EncryptionScope) true end +function OpenAPI.validate_properties(o::EncryptionScope) + OpenAPI.validate_property(EncryptionScope, Symbol("properties"), o.properties) + OpenAPI.validate_property(EncryptionScope, Symbol("id"), o.id) + OpenAPI.validate_property(EncryptionScope, Symbol("name"), o.name) + OpenAPI.validate_property(EncryptionScope, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ EncryptionScope }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeKeyVaultProperties.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeKeyVaultProperties.jl index 139998d..aa855a1 100644 --- a/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeKeyVaultProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeKeyVaultProperties.jl @@ -7,25 +7,44 @@ The key vault properties for the encryption scope. This is a required field if e EncryptionScopeKeyVaultProperties(; keyUri=nothing, + currentVersionedKeyIdentifier=nothing, + lastKeyRotationTimestamp=nothing, ) - keyUri::String : The object identifier for a key vault key object. When applied, the encryption scope will use the key referenced by the identifier to enable customer-managed key support on this encryption scope. + - currentVersionedKeyIdentifier::String : The object identifier of the current versioned Key Vault Key in use. + - lastKeyRotationTimestamp::ZonedDateTime : Timestamp of last rotation of the Key Vault Key. """ Base.@kwdef mutable struct EncryptionScopeKeyVaultProperties <: OpenAPI.APIModel keyUri::Union{Nothing, String} = nothing + currentVersionedKeyIdentifier::Union{Nothing, String} = nothing + lastKeyRotationTimestamp::Union{Nothing, ZonedDateTime} = nothing - function EncryptionScopeKeyVaultProperties(keyUri, ) - OpenAPI.validate_property(EncryptionScopeKeyVaultProperties, Symbol("keyUri"), keyUri) - return new(keyUri, ) + function EncryptionScopeKeyVaultProperties(keyUri, currentVersionedKeyIdentifier, lastKeyRotationTimestamp, ) + o = new(keyUri, currentVersionedKeyIdentifier, lastKeyRotationTimestamp, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionScopeKeyVaultProperties -const _property_types_EncryptionScopeKeyVaultProperties = Dict{Symbol,String}(Symbol("keyUri")=>"String", ) +const _property_types_EncryptionScopeKeyVaultProperties = Dict{Symbol,String}(Symbol("keyUri")=>"String", Symbol("currentVersionedKeyIdentifier")=>"String", Symbol("lastKeyRotationTimestamp")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ EncryptionScopeKeyVaultProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionScopeKeyVaultProperties[name]))} -function check_required(o::EncryptionScopeKeyVaultProperties) +function OpenAPI.check_required(o::EncryptionScopeKeyVaultProperties) true end +function OpenAPI.validate_properties(o::EncryptionScopeKeyVaultProperties) + OpenAPI.validate_property(EncryptionScopeKeyVaultProperties, Symbol("keyUri"), o.keyUri) + OpenAPI.validate_property(EncryptionScopeKeyVaultProperties, Symbol("currentVersionedKeyIdentifier"), o.currentVersionedKeyIdentifier) + OpenAPI.validate_property(EncryptionScopeKeyVaultProperties, Symbol("lastKeyRotationTimestamp"), o.lastKeyRotationTimestamp) +end + function OpenAPI.validate_property(::Type{ EncryptionScopeKeyVaultProperties }, name::Symbol, val) + + + + if name === Symbol("lastKeyRotationTimestamp") + OpenAPI.validate_param(name, "EncryptionScopeKeyVaultProperties", :format, val, "date-time") + end end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeListResult.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeListResult.jl index b2d247c..58ad947 100644 --- a/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct EncryptionScopeListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function EncryptionScopeListResult(value, nextLink, ) - OpenAPI.validate_property(EncryptionScopeListResult, Symbol("value"), value) - OpenAPI.validate_property(EncryptionScopeListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionScopeListResult const _property_types_EncryptionScopeListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{EncryptionScope}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ EncryptionScopeListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionScopeListResult[name]))} -function check_required(o::EncryptionScopeListResult) +function OpenAPI.check_required(o::EncryptionScopeListResult) true end +function OpenAPI.validate_properties(o::EncryptionScopeListResult) + OpenAPI.validate_property(EncryptionScopeListResult, Symbol("value"), o.value) + OpenAPI.validate_property(EncryptionScopeListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ EncryptionScopeListResult }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeProperties.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeProperties.jl index 4de3d1b..3c61a05 100644 --- a/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionScopeProperties.jl @@ -11,6 +11,7 @@ Properties of the encryption scope. creationTime=nothing, lastModifiedTime=nothing, keyVaultProperties=nothing, + requireInfrastructureEncryption=nothing, ) - source::String : The provider for the encryption scope. Possible values (case-insensitive): Microsoft.Storage, Microsoft.KeyVault. @@ -18,6 +19,7 @@ Properties of the encryption scope. - creationTime::ZonedDateTime : Gets the creation date and time of the encryption scope in UTC. - lastModifiedTime::ZonedDateTime : Gets the last modification date and time of the encryption scope in UTC. - keyVaultProperties::EncryptionScopeKeyVaultProperties + - requireInfrastructureEncryption::Bool : A boolean indicating whether or not the service applies a secondary layer of encryption with platform managed keys for data at rest. """ Base.@kwdef mutable struct EncryptionScopeProperties <: OpenAPI.APIModel source::Union{Nothing, String} = nothing @@ -25,35 +27,50 @@ Base.@kwdef mutable struct EncryptionScopeProperties <: OpenAPI.APIModel creationTime::Union{Nothing, ZonedDateTime} = nothing lastModifiedTime::Union{Nothing, ZonedDateTime} = nothing keyVaultProperties = nothing # spec type: Union{ Nothing, EncryptionScopeKeyVaultProperties } + requireInfrastructureEncryption::Union{Nothing, Bool} = nothing - function EncryptionScopeProperties(source, state, creationTime, lastModifiedTime, keyVaultProperties, ) - OpenAPI.validate_property(EncryptionScopeProperties, Symbol("source"), source) - OpenAPI.validate_property(EncryptionScopeProperties, Symbol("state"), state) - OpenAPI.validate_property(EncryptionScopeProperties, Symbol("creationTime"), creationTime) - OpenAPI.validate_property(EncryptionScopeProperties, Symbol("lastModifiedTime"), lastModifiedTime) - OpenAPI.validate_property(EncryptionScopeProperties, Symbol("keyVaultProperties"), keyVaultProperties) - return new(source, state, creationTime, lastModifiedTime, keyVaultProperties, ) + function EncryptionScopeProperties(source, state, creationTime, lastModifiedTime, keyVaultProperties, requireInfrastructureEncryption, ) + o = new(source, state, creationTime, lastModifiedTime, keyVaultProperties, requireInfrastructureEncryption, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionScopeProperties -const _property_types_EncryptionScopeProperties = Dict{Symbol,String}(Symbol("source")=>"String", Symbol("state")=>"String", Symbol("creationTime")=>"ZonedDateTime", Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("keyVaultProperties")=>"EncryptionScopeKeyVaultProperties", ) +const _property_types_EncryptionScopeProperties = Dict{Symbol,String}(Symbol("source")=>"String", Symbol("state")=>"String", Symbol("creationTime")=>"ZonedDateTime", Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("keyVaultProperties")=>"EncryptionScopeKeyVaultProperties", Symbol("requireInfrastructureEncryption")=>"Bool", ) OpenAPI.property_type(::Type{ EncryptionScopeProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionScopeProperties[name]))} -function check_required(o::EncryptionScopeProperties) +function OpenAPI.check_required(o::EncryptionScopeProperties) true end +function OpenAPI.validate_properties(o::EncryptionScopeProperties) + OpenAPI.validate_property(EncryptionScopeProperties, Symbol("source"), o.source) + OpenAPI.validate_property(EncryptionScopeProperties, Symbol("state"), o.state) + OpenAPI.validate_property(EncryptionScopeProperties, Symbol("creationTime"), o.creationTime) + OpenAPI.validate_property(EncryptionScopeProperties, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(EncryptionScopeProperties, Symbol("keyVaultProperties"), o.keyVaultProperties) + OpenAPI.validate_property(EncryptionScopeProperties, Symbol("requireInfrastructureEncryption"), o.requireInfrastructureEncryption) +end + function OpenAPI.validate_property(::Type{ EncryptionScopeProperties }, name::Symbol, val) + if name === Symbol("source") OpenAPI.validate_param(name, "EncryptionScopeProperties", :enum, val, ["Microsoft.Storage", "Microsoft.KeyVault"]) end + + if name === Symbol("state") OpenAPI.validate_param(name, "EncryptionScopeProperties", :enum, val, ["Enabled", "Disabled"]) end + + if name === Symbol("creationTime") OpenAPI.validate_param(name, "EncryptionScopeProperties", :format, val, "date-time") end + if name === Symbol("lastModifiedTime") OpenAPI.validate_param(name, "EncryptionScopeProperties", :format, val, "date-time") end + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionService.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionService.jl index f9c899a..5f56059 100644 --- a/src/Storage/StorageManagementClient/src/models/model_EncryptionService.jl +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionService.jl @@ -11,8 +11,8 @@ A service that allows server-side encryption to be used. keyType=nothing, ) - - enabled::Bool : A boolean indicating whether or not the service encrypts the data as it is stored. - - lastEnabledTime::ZonedDateTime : Gets a rough estimate of the date/time when the encryption was last enabled by the user. Only returned when encryption is enabled. There might be some unencrypted blobs which were written after this time, as it is just a rough estimate. + - enabled::Bool : A boolean indicating whether or not the service encrypts the data as it is stored. Encryption at rest is enabled by default today and cannot be disabled. + - lastEnabledTime::ZonedDateTime : Gets a rough estimate of the date/time when the encryption was last enabled by the user. Data is encrypted at rest by default today and cannot be disabled. - keyType::String : Encryption key type to be used for the encryption service. 'Account' key type implies that an account-scoped encryption key will be used. 'Service' key type implies that a default service key is used. """ Base.@kwdef mutable struct EncryptionService <: OpenAPI.APIModel @@ -21,25 +21,34 @@ Base.@kwdef mutable struct EncryptionService <: OpenAPI.APIModel keyType::Union{Nothing, String} = nothing function EncryptionService(enabled, lastEnabledTime, keyType, ) - OpenAPI.validate_property(EncryptionService, Symbol("enabled"), enabled) - OpenAPI.validate_property(EncryptionService, Symbol("lastEnabledTime"), lastEnabledTime) - OpenAPI.validate_property(EncryptionService, Symbol("keyType"), keyType) - return new(enabled, lastEnabledTime, keyType, ) + o = new(enabled, lastEnabledTime, keyType, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionService const _property_types_EncryptionService = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("lastEnabledTime")=>"ZonedDateTime", Symbol("keyType")=>"String", ) OpenAPI.property_type(::Type{ EncryptionService }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionService[name]))} -function check_required(o::EncryptionService) +function OpenAPI.check_required(o::EncryptionService) true end +function OpenAPI.validate_properties(o::EncryptionService) + OpenAPI.validate_property(EncryptionService, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(EncryptionService, Symbol("lastEnabledTime"), o.lastEnabledTime) + OpenAPI.validate_property(EncryptionService, Symbol("keyType"), o.keyType) +end + function OpenAPI.validate_property(::Type{ EncryptionService }, name::Symbol, val) + + if name === Symbol("lastEnabledTime") OpenAPI.validate_param(name, "EncryptionService", :format, val, "date-time") end + if name === Symbol("keyType") OpenAPI.validate_param(name, "EncryptionService", :enum, val, ["Service", "Account"]) end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_EncryptionServices.jl b/src/Storage/StorageManagementClient/src/models/model_EncryptionServices.jl index 59e2e75..780c301 100644 --- a/src/Storage/StorageManagementClient/src/models/model_EncryptionServices.jl +++ b/src/Storage/StorageManagementClient/src/models/model_EncryptionServices.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct EncryptionServices <: OpenAPI.APIModel queue = nothing # spec type: Union{ Nothing, EncryptionService } function EncryptionServices(blob, file, table, queue, ) - OpenAPI.validate_property(EncryptionServices, Symbol("blob"), blob) - OpenAPI.validate_property(EncryptionServices, Symbol("file"), file) - OpenAPI.validate_property(EncryptionServices, Symbol("table"), table) - OpenAPI.validate_property(EncryptionServices, Symbol("queue"), queue) - return new(blob, file, table, queue, ) + o = new(blob, file, table, queue, ) + OpenAPI.validate_properties(o) + return o end end # type EncryptionServices const _property_types_EncryptionServices = Dict{Symbol,String}(Symbol("blob")=>"EncryptionService", Symbol("file")=>"EncryptionService", Symbol("table")=>"EncryptionService", Symbol("queue")=>"EncryptionService", ) OpenAPI.property_type(::Type{ EncryptionServices }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_EncryptionServices[name]))} -function check_required(o::EncryptionServices) +function OpenAPI.check_required(o::EncryptionServices) true end +function OpenAPI.validate_properties(o::EncryptionServices) + OpenAPI.validate_property(EncryptionServices, Symbol("blob"), o.blob) + OpenAPI.validate_property(EncryptionServices, Symbol("file"), o.file) + OpenAPI.validate_property(EncryptionServices, Symbol("table"), o.table) + OpenAPI.validate_property(EncryptionServices, Symbol("queue"), o.queue) +end + function OpenAPI.validate_property(::Type{ EncryptionServices }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_Endpoints.jl b/src/Storage/StorageManagementClient/src/models/model_Endpoints.jl index e007e79..984ebfb 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Endpoints.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Endpoints.jl @@ -14,6 +14,7 @@ The URIs that are used to perform a retrieval of a public blob, queue, table, we dfs=nothing, microsoftEndpoints=nothing, internetEndpoints=nothing, + ipv6Endpoints=nothing, ) - blob::String : Gets the blob endpoint. @@ -24,6 +25,7 @@ The URIs that are used to perform a retrieval of a public blob, queue, table, we - dfs::String : Gets the dfs endpoint. - microsoftEndpoints::StorageAccountMicrosoftEndpoints - internetEndpoints::StorageAccountInternetEndpoints + - ipv6Endpoints::StorageAccountIpv6Endpoints """ Base.@kwdef mutable struct Endpoints <: OpenAPI.APIModel blob::Union{Nothing, String} = nothing @@ -34,26 +36,42 @@ Base.@kwdef mutable struct Endpoints <: OpenAPI.APIModel dfs::Union{Nothing, String} = nothing microsoftEndpoints = nothing # spec type: Union{ Nothing, StorageAccountMicrosoftEndpoints } internetEndpoints = nothing # spec type: Union{ Nothing, StorageAccountInternetEndpoints } + ipv6Endpoints = nothing # spec type: Union{ Nothing, StorageAccountIpv6Endpoints } - function Endpoints(blob, queue, table, file, web, dfs, microsoftEndpoints, internetEndpoints, ) - OpenAPI.validate_property(Endpoints, Symbol("blob"), blob) - OpenAPI.validate_property(Endpoints, Symbol("queue"), queue) - OpenAPI.validate_property(Endpoints, Symbol("table"), table) - OpenAPI.validate_property(Endpoints, Symbol("file"), file) - OpenAPI.validate_property(Endpoints, Symbol("web"), web) - OpenAPI.validate_property(Endpoints, Symbol("dfs"), dfs) - OpenAPI.validate_property(Endpoints, Symbol("microsoftEndpoints"), microsoftEndpoints) - OpenAPI.validate_property(Endpoints, Symbol("internetEndpoints"), internetEndpoints) - return new(blob, queue, table, file, web, dfs, microsoftEndpoints, internetEndpoints, ) + function Endpoints(blob, queue, table, file, web, dfs, microsoftEndpoints, internetEndpoints, ipv6Endpoints, ) + o = new(blob, queue, table, file, web, dfs, microsoftEndpoints, internetEndpoints, ipv6Endpoints, ) + OpenAPI.validate_properties(o) + return o end end # type Endpoints -const _property_types_Endpoints = Dict{Symbol,String}(Symbol("blob")=>"String", Symbol("queue")=>"String", Symbol("table")=>"String", Symbol("file")=>"String", Symbol("web")=>"String", Symbol("dfs")=>"String", Symbol("microsoftEndpoints")=>"StorageAccountMicrosoftEndpoints", Symbol("internetEndpoints")=>"StorageAccountInternetEndpoints", ) +const _property_types_Endpoints = Dict{Symbol,String}(Symbol("blob")=>"String", Symbol("queue")=>"String", Symbol("table")=>"String", Symbol("file")=>"String", Symbol("web")=>"String", Symbol("dfs")=>"String", Symbol("microsoftEndpoints")=>"StorageAccountMicrosoftEndpoints", Symbol("internetEndpoints")=>"StorageAccountInternetEndpoints", Symbol("ipv6Endpoints")=>"StorageAccountIpv6Endpoints", ) OpenAPI.property_type(::Type{ Endpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Endpoints[name]))} -function check_required(o::Endpoints) +function OpenAPI.check_required(o::Endpoints) true end +function OpenAPI.validate_properties(o::Endpoints) + OpenAPI.validate_property(Endpoints, Symbol("blob"), o.blob) + OpenAPI.validate_property(Endpoints, Symbol("queue"), o.queue) + OpenAPI.validate_property(Endpoints, Symbol("table"), o.table) + OpenAPI.validate_property(Endpoints, Symbol("file"), o.file) + OpenAPI.validate_property(Endpoints, Symbol("web"), o.web) + OpenAPI.validate_property(Endpoints, Symbol("dfs"), o.dfs) + OpenAPI.validate_property(Endpoints, Symbol("microsoftEndpoints"), o.microsoftEndpoints) + OpenAPI.validate_property(Endpoints, Symbol("internetEndpoints"), o.internetEndpoints) + OpenAPI.validate_property(Endpoints, Symbol("ipv6Endpoints"), o.ipv6Endpoints) +end + function OpenAPI.validate_property(::Type{ Endpoints }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ErrorAdditionalInfo.jl b/src/Storage/StorageManagementClient/src/models/model_ErrorAdditionalInfo.jl new file mode 100644 index 0000000..134690a --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ErrorAdditionalInfo.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorAdditionalInfo +The resource management error additional info. + + ErrorAdditionalInfo(; + type=nothing, + info=nothing, + ) + + - type::String : The additional info type. + - info::Any : The additional info. +""" +Base.@kwdef mutable struct ErrorAdditionalInfo <: OpenAPI.APIModel + type::Union{Nothing, String} = nothing + info::Union{Nothing, Any} = nothing + + function ErrorAdditionalInfo(type, info, ) + o = new(type, info, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorAdditionalInfo + +const _property_types_ErrorAdditionalInfo = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("info")=>"Any", ) +OpenAPI.property_type(::Type{ ErrorAdditionalInfo }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorAdditionalInfo[name]))} + +function OpenAPI.check_required(o::ErrorAdditionalInfo) + true +end + +function OpenAPI.validate_properties(o::ErrorAdditionalInfo) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("type"), o.type) + OpenAPI.validate_property(ErrorAdditionalInfo, Symbol("info"), o.info) +end + +function OpenAPI.validate_property(::Type{ ErrorAdditionalInfo }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ErrorDetail.jl b/src/Storage/StorageManagementClient/src/models/model_ErrorDetail.jl new file mode 100644 index 0000000..a2d4570 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ErrorDetail.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorDetail +The error detail. + + ErrorDetail(; + code=nothing, + message=nothing, + target=nothing, + details=nothing, + additionalInfo=nothing, + ) + + - code::String : The error code. + - message::String : The error message. + - target::String : The error target. + - details::Vector{ErrorDetail} : The error details. + - additionalInfo::Vector{ErrorAdditionalInfo} : The error additional info. +""" +Base.@kwdef mutable struct ErrorDetail <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + target::Union{Nothing, String} = nothing + details::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorDetail} } + additionalInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ErrorAdditionalInfo} } + + function ErrorDetail(code, message, target, details, additionalInfo, ) + o = new(code, message, target, details, additionalInfo, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorDetail + +const _property_types_ErrorDetail = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", Symbol("target")=>"String", Symbol("details")=>"Vector{ErrorDetail}", Symbol("additionalInfo")=>"Vector{ErrorAdditionalInfo}", ) +OpenAPI.property_type(::Type{ ErrorDetail }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorDetail[name]))} + +function OpenAPI.check_required(o::ErrorDetail) + true +end + +function OpenAPI.validate_properties(o::ErrorDetail) + OpenAPI.validate_property(ErrorDetail, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorDetail, Symbol("message"), o.message) + OpenAPI.validate_property(ErrorDetail, Symbol("target"), o.target) + OpenAPI.validate_property(ErrorDetail, Symbol("details"), o.details) + OpenAPI.validate_property(ErrorDetail, Symbol("additionalInfo"), o.additionalInfo) +end + +function OpenAPI.validate_property(::Type{ ErrorDetail }, name::Symbol, val) + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ErrorResponse.jl b/src/Storage/StorageManagementClient/src/models/model_ErrorResponse.jl index fc5ee64..d9d1ccd 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ErrorResponse.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ErrorResponse.jl @@ -6,30 +6,32 @@ An error response from the storage resource provider. ErrorResponse(; - code=nothing, - message=nothing, + error=nothing, ) - - code::String : An identifier for the error. Codes are invariant and are intended to be consumed programmatically. - - message::String : A message describing the error, intended to be suitable for display in a user interface. + - error::ErrorResponseBody """ Base.@kwdef mutable struct ErrorResponse <: OpenAPI.APIModel - code::Union{Nothing, String} = nothing - message::Union{Nothing, String} = nothing + error = nothing # spec type: Union{ Nothing, ErrorResponseBody } - function ErrorResponse(code, message, ) - OpenAPI.validate_property(ErrorResponse, Symbol("code"), code) - OpenAPI.validate_property(ErrorResponse, Symbol("message"), message) - return new(code, message, ) + function ErrorResponse(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o end end # type ErrorResponse -const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", ) +const _property_types_ErrorResponse = Dict{Symbol,String}(Symbol("error")=>"ErrorResponseBody", ) OpenAPI.property_type(::Type{ ErrorResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse[name]))} -function check_required(o::ErrorResponse) +function OpenAPI.check_required(o::ErrorResponse) true end +function OpenAPI.validate_properties(o::ErrorResponse) + OpenAPI.validate_property(ErrorResponse, Symbol("error"), o.error) +end + function OpenAPI.validate_property(::Type{ ErrorResponse }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ErrorResponse2.jl b/src/Storage/StorageManagementClient/src/models/model_ErrorResponse2.jl new file mode 100644 index 0000000..570ed85 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ErrorResponse2.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorResponse_2 +Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). + + ErrorResponse2(; + error=nothing, + ) + + - error::ErrorDetail +""" +Base.@kwdef mutable struct ErrorResponse2 <: OpenAPI.APIModel + error = nothing # spec type: Union{ Nothing, ErrorDetail } + + function ErrorResponse2(error, ) + o = new(error, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorResponse2 + +const _property_types_ErrorResponse2 = Dict{Symbol,String}(Symbol("error")=>"ErrorDetail", ) +OpenAPI.property_type(::Type{ ErrorResponse2 }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponse2[name]))} + +function OpenAPI.check_required(o::ErrorResponse2) + true +end + +function OpenAPI.validate_properties(o::ErrorResponse2) + OpenAPI.validate_property(ErrorResponse2, Symbol("error"), o.error) +end + +function OpenAPI.validate_property(::Type{ ErrorResponse2 }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ErrorResponseBody.jl b/src/Storage/StorageManagementClient/src/models/model_ErrorResponseBody.jl new file mode 100644 index 0000000..3359cb8 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ErrorResponseBody.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ErrorResponseBody +Error response body contract. + + ErrorResponseBody(; + code=nothing, + message=nothing, + ) + + - code::String : An identifier for the error. Codes are invariant and are intended to be consumed programmatically. + - message::String : A message describing the error, intended to be suitable for display in a user interface. +""" +Base.@kwdef mutable struct ErrorResponseBody <: OpenAPI.APIModel + code::Union{Nothing, String} = nothing + message::Union{Nothing, String} = nothing + + function ErrorResponseBody(code, message, ) + o = new(code, message, ) + OpenAPI.validate_properties(o) + return o + end +end # type ErrorResponseBody + +const _property_types_ErrorResponseBody = Dict{Symbol,String}(Symbol("code")=>"String", Symbol("message")=>"String", ) +OpenAPI.property_type(::Type{ ErrorResponseBody }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ErrorResponseBody[name]))} + +function OpenAPI.check_required(o::ErrorResponseBody) + true +end + +function OpenAPI.validate_properties(o::ErrorResponseBody) + OpenAPI.validate_property(ErrorResponseBody, Symbol("code"), o.code) + OpenAPI.validate_property(ErrorResponseBody, Symbol("message"), o.message) +end + +function OpenAPI.validate_property(::Type{ ErrorResponseBody }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ExtendedLocation.jl b/src/Storage/StorageManagementClient/src/models/model_ExtendedLocation.jl new file mode 100644 index 0000000..6efe5c5 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ExtendedLocation.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ExtendedLocation +The complex type of the extended location. + + ExtendedLocation(; + name=nothing, + type=nothing, + ) + + - name::String : The name of the extended location. + - type::ExtendedLocationType +""" +Base.@kwdef mutable struct ExtendedLocation <: OpenAPI.APIModel + name::Union{Nothing, String} = nothing + type = nothing # spec type: Union{ Nothing, ExtendedLocationType } + + function ExtendedLocation(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ExtendedLocation + +const _property_types_ExtendedLocation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"ExtendedLocationType", ) +OpenAPI.property_type(::Type{ ExtendedLocation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ExtendedLocation[name]))} + +function OpenAPI.check_required(o::ExtendedLocation) + true +end + +function OpenAPI.validate_properties(o::ExtendedLocation) + OpenAPI.validate_property(ExtendedLocation, Symbol("name"), o.name) + OpenAPI.validate_property(ExtendedLocation, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ExtendedLocation }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ExtendedLocationType.jl b/src/Storage/StorageManagementClient/src/models/model_ExtendedLocationType.jl new file mode 100644 index 0000000..dce88a2 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ExtendedLocationType.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :ExtendedLocationType) + const ExtendedLocationType = String +else + @warn("Skipping redefinition of ExtendedLocationType to String") +end diff --git a/src/Storage/StorageManagementClient/src/models/model_GeoReplicationStats.jl b/src/Storage/StorageManagementClient/src/models/model_GeoReplicationStats.jl index 680e3eb..1addb1a 100644 --- a/src/Storage/StorageManagementClient/src/models/model_GeoReplicationStats.jl +++ b/src/Storage/StorageManagementClient/src/models/model_GeoReplicationStats.jl @@ -9,37 +9,69 @@ Statistics related to replication for storage account's Blob, Table, Queue a status=nothing, lastSyncTime=nothing, canFailover=nothing, + canPlannedFailover=nothing, + postFailoverRedundancy=nothing, + postPlannedFailoverRedundancy=nothing, ) - status::String : The status of the secondary location. Possible values are: - Live: Indicates that the secondary location is active and operational. - Bootstrap: Indicates initial synchronization from the primary location to the secondary location is in progress.This typically occurs when replication is first enabled. - Unavailable: Indicates that the secondary location is temporarily unavailable. - lastSyncTime::ZonedDateTime : All primary writes preceding this UTC date/time value are guaranteed to be available for read operations. Primary writes following this point in time may or may not be available for reads. Element may be default value if value of LastSyncTime is not available, this can happen if secondary is offline or we are in bootstrap. - canFailover::Bool : A boolean flag which indicates whether or not account failover is supported for the account. + - canPlannedFailover::Bool : A boolean flag which indicates whether or not planned account failover is supported for the account. + - postFailoverRedundancy::String : The redundancy type of the account after an account failover is performed. + - postPlannedFailoverRedundancy::String : The redundancy type of the account after a planned account failover is performed. """ Base.@kwdef mutable struct GeoReplicationStats <: OpenAPI.APIModel status::Union{Nothing, String} = nothing lastSyncTime::Union{Nothing, ZonedDateTime} = nothing canFailover::Union{Nothing, Bool} = nothing + canPlannedFailover::Union{Nothing, Bool} = nothing + postFailoverRedundancy::Union{Nothing, String} = nothing + postPlannedFailoverRedundancy::Union{Nothing, String} = nothing - function GeoReplicationStats(status, lastSyncTime, canFailover, ) - OpenAPI.validate_property(GeoReplicationStats, Symbol("status"), status) - OpenAPI.validate_property(GeoReplicationStats, Symbol("lastSyncTime"), lastSyncTime) - OpenAPI.validate_property(GeoReplicationStats, Symbol("canFailover"), canFailover) - return new(status, lastSyncTime, canFailover, ) + function GeoReplicationStats(status, lastSyncTime, canFailover, canPlannedFailover, postFailoverRedundancy, postPlannedFailoverRedundancy, ) + o = new(status, lastSyncTime, canFailover, canPlannedFailover, postFailoverRedundancy, postPlannedFailoverRedundancy, ) + OpenAPI.validate_properties(o) + return o end end # type GeoReplicationStats -const _property_types_GeoReplicationStats = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("lastSyncTime")=>"ZonedDateTime", Symbol("canFailover")=>"Bool", ) +const _property_types_GeoReplicationStats = Dict{Symbol,String}(Symbol("status")=>"String", Symbol("lastSyncTime")=>"ZonedDateTime", Symbol("canFailover")=>"Bool", Symbol("canPlannedFailover")=>"Bool", Symbol("postFailoverRedundancy")=>"String", Symbol("postPlannedFailoverRedundancy")=>"String", ) OpenAPI.property_type(::Type{ GeoReplicationStats }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_GeoReplicationStats[name]))} -function check_required(o::GeoReplicationStats) +function OpenAPI.check_required(o::GeoReplicationStats) true end +function OpenAPI.validate_properties(o::GeoReplicationStats) + OpenAPI.validate_property(GeoReplicationStats, Symbol("status"), o.status) + OpenAPI.validate_property(GeoReplicationStats, Symbol("lastSyncTime"), o.lastSyncTime) + OpenAPI.validate_property(GeoReplicationStats, Symbol("canFailover"), o.canFailover) + OpenAPI.validate_property(GeoReplicationStats, Symbol("canPlannedFailover"), o.canPlannedFailover) + OpenAPI.validate_property(GeoReplicationStats, Symbol("postFailoverRedundancy"), o.postFailoverRedundancy) + OpenAPI.validate_property(GeoReplicationStats, Symbol("postPlannedFailoverRedundancy"), o.postPlannedFailoverRedundancy) +end + function OpenAPI.validate_property(::Type{ GeoReplicationStats }, name::Symbol, val) + if name === Symbol("status") OpenAPI.validate_param(name, "GeoReplicationStats", :enum, val, ["Live", "Bootstrap", "Unavailable"]) end + + if name === Symbol("lastSyncTime") OpenAPI.validate_param(name, "GeoReplicationStats", :format, val, "date-time") end + + + + if name === Symbol("postFailoverRedundancy") + OpenAPI.validate_param(name, "GeoReplicationStats", :enum, val, ["Standard_LRS", "Standard_ZRS"]) + end + + + if name === Symbol("postPlannedFailoverRedundancy") + OpenAPI.validate_param(name, "GeoReplicationStats", :enum, val, ["Standard_GRS", "Standard_GZRS", "Standard_RAGRS", "Standard_RAGZRS"]) + end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_IPRule.jl b/src/Storage/StorageManagementClient/src/models/model_IPRule.jl index 0b42c2f..eff64e8 100644 --- a/src/Storage/StorageManagementClient/src/models/model_IPRule.jl +++ b/src/Storage/StorageManagementClient/src/models/model_IPRule.jl @@ -7,33 +7,41 @@ IP rule with specific IP or IP range in CIDR format. IPRule(; value=nothing, - action=Allow, + action="Allow", ) - - value::String : Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. + - value::String : Specifies the IP or IP range in CIDR format. - action::String : The action of IP ACL rule. """ Base.@kwdef mutable struct IPRule <: OpenAPI.APIModel value::Union{Nothing, String} = nothing - action::Union{Nothing, String} = Allow + action::Union{Nothing, String} = "Allow" function IPRule(value, action, ) - OpenAPI.validate_property(IPRule, Symbol("value"), value) - OpenAPI.validate_property(IPRule, Symbol("action"), action) - return new(value, action, ) + o = new(value, action, ) + OpenAPI.validate_properties(o) + return o end end # type IPRule const _property_types_IPRule = Dict{Symbol,String}(Symbol("value")=>"String", Symbol("action")=>"String", ) OpenAPI.property_type(::Type{ IPRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_IPRule[name]))} -function check_required(o::IPRule) +function OpenAPI.check_required(o::IPRule) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::IPRule) + OpenAPI.validate_property(IPRule, Symbol("value"), o.value) + OpenAPI.validate_property(IPRule, Symbol("action"), o.action) +end + function OpenAPI.validate_property(::Type{ IPRule }, name::Symbol, val) + + if name === Symbol("action") OpenAPI.validate_param(name, "IPRule", :enum, val, ["Allow"]) end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_Identity.jl b/src/Storage/StorageManagementClient/src/models/model_Identity.jl index bb6a0c5..e805d64 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Identity.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Identity.jl @@ -9,35 +9,49 @@ Identity for the resource. principalId=nothing, tenantId=nothing, type=nothing, + userAssignedIdentities=nothing, ) - principalId::String : The principal ID of resource identity. - tenantId::String : The tenant ID of resource. - type::String : The identity type. + - userAssignedIdentities::Dict{String, UserAssignedIdentity} : Gets or sets a list of key value pairs that describe the set of User Assigned identities that will be used with this storage account. The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here. """ Base.@kwdef mutable struct Identity <: OpenAPI.APIModel principalId::Union{Nothing, String} = nothing tenantId::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing + userAssignedIdentities::Union{Nothing, Dict} = nothing # spec type: Union{ Nothing, Dict{String, UserAssignedIdentity} } - function Identity(principalId, tenantId, type, ) - OpenAPI.validate_property(Identity, Symbol("principalId"), principalId) - OpenAPI.validate_property(Identity, Symbol("tenantId"), tenantId) - OpenAPI.validate_property(Identity, Symbol("type"), type) - return new(principalId, tenantId, type, ) + function Identity(principalId, tenantId, type, userAssignedIdentities, ) + o = new(principalId, tenantId, type, userAssignedIdentities, ) + OpenAPI.validate_properties(o) + return o end end # type Identity -const _property_types_Identity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", ) +const _property_types_Identity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("tenantId")=>"String", Symbol("type")=>"String", Symbol("userAssignedIdentities")=>"Dict{String, UserAssignedIdentity}", ) OpenAPI.property_type(::Type{ Identity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Identity[name]))} -function check_required(o::Identity) +function OpenAPI.check_required(o::Identity) o.type === nothing && (return false) true end +function OpenAPI.validate_properties(o::Identity) + OpenAPI.validate_property(Identity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(Identity, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(Identity, Symbol("type"), o.type) + OpenAPI.validate_property(Identity, Symbol("userAssignedIdentities"), o.userAssignedIdentities) +end + function OpenAPI.validate_property(::Type{ Identity }, name::Symbol, val) + + + if name === Symbol("type") - OpenAPI.validate_param(name, "Identity", :enum, val, ["SystemAssigned"]) + OpenAPI.validate_param(name, "Identity", :enum, val, ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]) end + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ImmutableStorageAccount.jl b/src/Storage/StorageManagementClient/src/models/model_ImmutableStorageAccount.jl new file mode 100644 index 0000000..af56647 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ImmutableStorageAccount.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ImmutableStorageAccount +This property enables and defines account-level immutability. Enabling the feature auto-enables Blob Versioning. + + ImmutableStorageAccount(; + enabled=nothing, + immutabilityPolicy=nothing, + ) + + - enabled::Bool : A boolean flag which enables account-level immutability. All the containers under such an account have object-level immutability enabled by default. + - immutabilityPolicy::AccountImmutabilityPolicyProperties +""" +Base.@kwdef mutable struct ImmutableStorageAccount <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + immutabilityPolicy = nothing # spec type: Union{ Nothing, AccountImmutabilityPolicyProperties } + + function ImmutableStorageAccount(enabled, immutabilityPolicy, ) + o = new(enabled, immutabilityPolicy, ) + OpenAPI.validate_properties(o) + return o + end +end # type ImmutableStorageAccount + +const _property_types_ImmutableStorageAccount = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("immutabilityPolicy")=>"AccountImmutabilityPolicyProperties", ) +OpenAPI.property_type(::Type{ ImmutableStorageAccount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ImmutableStorageAccount[name]))} + +function OpenAPI.check_required(o::ImmutableStorageAccount) + true +end + +function OpenAPI.validate_properties(o::ImmutableStorageAccount) + OpenAPI.validate_property(ImmutableStorageAccount, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(ImmutableStorageAccount, Symbol("immutabilityPolicy"), o.immutabilityPolicy) +end + +function OpenAPI.validate_property(::Type{ ImmutableStorageAccount }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_KeyCreationTime.jl b/src/Storage/StorageManagementClient/src/models/model_KeyCreationTime.jl new file mode 100644 index 0000000..cd00887 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_KeyCreationTime.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""KeyCreationTime +Storage account keys creation time. + + KeyCreationTime(; + key1=nothing, + key2=nothing, + ) + + - key1::ZonedDateTime + - key2::ZonedDateTime +""" +Base.@kwdef mutable struct KeyCreationTime <: OpenAPI.APIModel + key1::Union{Nothing, ZonedDateTime} = nothing + key2::Union{Nothing, ZonedDateTime} = nothing + + function KeyCreationTime(key1, key2, ) + o = new(key1, key2, ) + OpenAPI.validate_properties(o) + return o + end +end # type KeyCreationTime + +const _property_types_KeyCreationTime = Dict{Symbol,String}(Symbol("key1")=>"ZonedDateTime", Symbol("key2")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ KeyCreationTime }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyCreationTime[name]))} + +function OpenAPI.check_required(o::KeyCreationTime) + true +end + +function OpenAPI.validate_properties(o::KeyCreationTime) + OpenAPI.validate_property(KeyCreationTime, Symbol("key1"), o.key1) + OpenAPI.validate_property(KeyCreationTime, Symbol("key2"), o.key2) +end + +function OpenAPI.validate_property(::Type{ KeyCreationTime }, name::Symbol, val) + + if name === Symbol("key1") + OpenAPI.validate_param(name, "KeyCreationTime", :format, val, "date-time") + end + + if name === Symbol("key2") + OpenAPI.validate_param(name, "KeyCreationTime", :format, val, "date-time") + end +end diff --git a/src/Storage/StorageManagementClient/src/models/model_KeyPolicy.jl b/src/Storage/StorageManagementClient/src/models/model_KeyPolicy.jl new file mode 100644 index 0000000..fb3af1c --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_KeyPolicy.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""KeyPolicy +KeyPolicy assigned to the storage account. + + KeyPolicy(; + keyExpirationPeriodInDays=nothing, + ) + + - keyExpirationPeriodInDays::Int64 : The key expiration period in days. +""" +Base.@kwdef mutable struct KeyPolicy <: OpenAPI.APIModel + keyExpirationPeriodInDays::Union{Nothing, Int64} = nothing + + function KeyPolicy(keyExpirationPeriodInDays, ) + o = new(keyExpirationPeriodInDays, ) + OpenAPI.validate_properties(o) + return o + end +end # type KeyPolicy + +const _property_types_KeyPolicy = Dict{Symbol,String}(Symbol("keyExpirationPeriodInDays")=>"Int64", ) +OpenAPI.property_type(::Type{ KeyPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyPolicy[name]))} + +function OpenAPI.check_required(o::KeyPolicy) + o.keyExpirationPeriodInDays === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::KeyPolicy) + OpenAPI.validate_property(KeyPolicy, Symbol("keyExpirationPeriodInDays"), o.keyExpirationPeriodInDays) +end + +function OpenAPI.validate_property(::Type{ KeyPolicy }, name::Symbol, val) + + if name === Symbol("keyExpirationPeriodInDays") + OpenAPI.validate_param(name, "KeyPolicy", :format, val, "int32") + end +end diff --git a/src/Storage/StorageManagementClient/src/models/model_KeyVaultProperties.jl b/src/Storage/StorageManagementClient/src/models/model_KeyVaultProperties.jl index cc18796..47a2c5d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_KeyVaultProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_KeyVaultProperties.jl @@ -11,6 +11,7 @@ Properties of key vault. keyvaulturi=nothing, currentVersionedKeyIdentifier=nothing, lastKeyRotationTimestamp=nothing, + currentVersionedKeyExpirationTimestamp=nothing, ) - keyname::String : The name of KeyVault key. @@ -18,6 +19,7 @@ Properties of key vault. - keyvaulturi::String : The Uri of KeyVault. - currentVersionedKeyIdentifier::String : The object identifier of the current versioned Key Vault Key in use. - lastKeyRotationTimestamp::ZonedDateTime : Timestamp of last rotation of the Key Vault Key. + - currentVersionedKeyExpirationTimestamp::ZonedDateTime : This is a read only property that represents the expiration time of the current version of the customer managed key used for encryption. """ Base.@kwdef mutable struct KeyVaultProperties <: OpenAPI.APIModel keyname::Union{Nothing, String} = nothing @@ -25,26 +27,42 @@ Base.@kwdef mutable struct KeyVaultProperties <: OpenAPI.APIModel keyvaulturi::Union{Nothing, String} = nothing currentVersionedKeyIdentifier::Union{Nothing, String} = nothing lastKeyRotationTimestamp::Union{Nothing, ZonedDateTime} = nothing + currentVersionedKeyExpirationTimestamp::Union{Nothing, ZonedDateTime} = nothing - function KeyVaultProperties(keyname, keyversion, keyvaulturi, currentVersionedKeyIdentifier, lastKeyRotationTimestamp, ) - OpenAPI.validate_property(KeyVaultProperties, Symbol("keyname"), keyname) - OpenAPI.validate_property(KeyVaultProperties, Symbol("keyversion"), keyversion) - OpenAPI.validate_property(KeyVaultProperties, Symbol("keyvaulturi"), keyvaulturi) - OpenAPI.validate_property(KeyVaultProperties, Symbol("currentVersionedKeyIdentifier"), currentVersionedKeyIdentifier) - OpenAPI.validate_property(KeyVaultProperties, Symbol("lastKeyRotationTimestamp"), lastKeyRotationTimestamp) - return new(keyname, keyversion, keyvaulturi, currentVersionedKeyIdentifier, lastKeyRotationTimestamp, ) + function KeyVaultProperties(keyname, keyversion, keyvaulturi, currentVersionedKeyIdentifier, lastKeyRotationTimestamp, currentVersionedKeyExpirationTimestamp, ) + o = new(keyname, keyversion, keyvaulturi, currentVersionedKeyIdentifier, lastKeyRotationTimestamp, currentVersionedKeyExpirationTimestamp, ) + OpenAPI.validate_properties(o) + return o end end # type KeyVaultProperties -const _property_types_KeyVaultProperties = Dict{Symbol,String}(Symbol("keyname")=>"String", Symbol("keyversion")=>"String", Symbol("keyvaulturi")=>"String", Symbol("currentVersionedKeyIdentifier")=>"String", Symbol("lastKeyRotationTimestamp")=>"ZonedDateTime", ) +const _property_types_KeyVaultProperties = Dict{Symbol,String}(Symbol("keyname")=>"String", Symbol("keyversion")=>"String", Symbol("keyvaulturi")=>"String", Symbol("currentVersionedKeyIdentifier")=>"String", Symbol("lastKeyRotationTimestamp")=>"ZonedDateTime", Symbol("currentVersionedKeyExpirationTimestamp")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ KeyVaultProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_KeyVaultProperties[name]))} -function check_required(o::KeyVaultProperties) +function OpenAPI.check_required(o::KeyVaultProperties) true end +function OpenAPI.validate_properties(o::KeyVaultProperties) + OpenAPI.validate_property(KeyVaultProperties, Symbol("keyname"), o.keyname) + OpenAPI.validate_property(KeyVaultProperties, Symbol("keyversion"), o.keyversion) + OpenAPI.validate_property(KeyVaultProperties, Symbol("keyvaulturi"), o.keyvaulturi) + OpenAPI.validate_property(KeyVaultProperties, Symbol("currentVersionedKeyIdentifier"), o.currentVersionedKeyIdentifier) + OpenAPI.validate_property(KeyVaultProperties, Symbol("lastKeyRotationTimestamp"), o.lastKeyRotationTimestamp) + OpenAPI.validate_property(KeyVaultProperties, Symbol("currentVersionedKeyExpirationTimestamp"), o.currentVersionedKeyExpirationTimestamp) +end + function OpenAPI.validate_property(::Type{ KeyVaultProperties }, name::Symbol, val) + + + + + if name === Symbol("lastKeyRotationTimestamp") OpenAPI.validate_param(name, "KeyVaultProperties", :format, val, "date-time") end + + if name === Symbol("currentVersionedKeyExpirationTimestamp") + OpenAPI.validate_param(name, "KeyVaultProperties", :format, val, "date-time") + end end diff --git a/src/Storage/StorageManagementClient/src/models/model_ListAccountSasResponse.jl b/src/Storage/StorageManagementClient/src/models/model_ListAccountSasResponse.jl index e42e47d..df6860e 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ListAccountSasResponse.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ListAccountSasResponse.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ListAccountSasResponse <: OpenAPI.APIModel accountSasToken::Union{Nothing, String} = nothing function ListAccountSasResponse(accountSasToken, ) - OpenAPI.validate_property(ListAccountSasResponse, Symbol("accountSasToken"), accountSasToken) - return new(accountSasToken, ) + o = new(accountSasToken, ) + OpenAPI.validate_properties(o) + return o end end # type ListAccountSasResponse const _property_types_ListAccountSasResponse = Dict{Symbol,String}(Symbol("accountSasToken")=>"String", ) OpenAPI.property_type(::Type{ ListAccountSasResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ListAccountSasResponse[name]))} -function check_required(o::ListAccountSasResponse) +function OpenAPI.check_required(o::ListAccountSasResponse) true end +function OpenAPI.validate_properties(o::ListAccountSasResponse) + OpenAPI.validate_property(ListAccountSasResponse, Symbol("accountSasToken"), o.accountSasToken) +end + function OpenAPI.validate_property(::Type{ ListAccountSasResponse }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ListBlobInventoryPolicy.jl b/src/Storage/StorageManagementClient/src/models/model_ListBlobInventoryPolicy.jl new file mode 100644 index 0000000..ad1b223 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ListBlobInventoryPolicy.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ListBlobInventoryPolicy +List of blob inventory policies returned. + + ListBlobInventoryPolicy(; + value=nothing, + ) + + - value::Vector{BlobInventoryPolicy} : List of blob inventory policies. +""" +Base.@kwdef mutable struct ListBlobInventoryPolicy <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{BlobInventoryPolicy} } + + function ListBlobInventoryPolicy(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o + end +end # type ListBlobInventoryPolicy + +const _property_types_ListBlobInventoryPolicy = Dict{Symbol,String}(Symbol("value")=>"Vector{BlobInventoryPolicy}", ) +OpenAPI.property_type(::Type{ ListBlobInventoryPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ListBlobInventoryPolicy[name]))} + +function OpenAPI.check_required(o::ListBlobInventoryPolicy) + true +end + +function OpenAPI.validate_properties(o::ListBlobInventoryPolicy) + OpenAPI.validate_property(ListBlobInventoryPolicy, Symbol("value"), o.value) +end + +function OpenAPI.validate_property(::Type{ ListBlobInventoryPolicy }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ListServiceSasResponse.jl b/src/Storage/StorageManagementClient/src/models/model_ListServiceSasResponse.jl index 5a70970..70f9f2b 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ListServiceSasResponse.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ListServiceSasResponse.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ListServiceSasResponse <: OpenAPI.APIModel serviceSasToken::Union{Nothing, String} = nothing function ListServiceSasResponse(serviceSasToken, ) - OpenAPI.validate_property(ListServiceSasResponse, Symbol("serviceSasToken"), serviceSasToken) - return new(serviceSasToken, ) + o = new(serviceSasToken, ) + OpenAPI.validate_properties(o) + return o end end # type ListServiceSasResponse const _property_types_ListServiceSasResponse = Dict{Symbol,String}(Symbol("serviceSasToken")=>"String", ) OpenAPI.property_type(::Type{ ListServiceSasResponse }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ListServiceSasResponse[name]))} -function check_required(o::ListServiceSasResponse) +function OpenAPI.check_required(o::ListServiceSasResponse) true end +function OpenAPI.validate_properties(o::ListServiceSasResponse) + OpenAPI.validate_property(ListServiceSasResponse, Symbol("serviceSasToken"), o.serviceSasToken) +end + function OpenAPI.validate_property(::Type{ ListServiceSasResponse }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_LocalUser.jl b/src/Storage/StorageManagementClient/src/models/model_LocalUser.jl new file mode 100644 index 0000000..b90c8e7 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_LocalUser.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LocalUser +The local user associated with the storage accounts. + + LocalUser(; + properties=nothing, + systemData=nothing, + id=nothing, + name=nothing, + type=nothing, + ) + + - properties::LocalUserProperties + - systemData::SystemData + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" +""" +Base.@kwdef mutable struct LocalUser <: OpenAPI.APIModel + properties = nothing # spec type: Union{ Nothing, LocalUserProperties } + systemData = nothing # spec type: Union{ Nothing, SystemData } + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function LocalUser(properties, systemData, id, name, type, ) + o = new(properties, systemData, id, name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type LocalUser + +const _property_types_LocalUser = Dict{Symbol,String}(Symbol("properties")=>"LocalUserProperties", Symbol("systemData")=>"SystemData", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ LocalUser }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalUser[name]))} + +function OpenAPI.check_required(o::LocalUser) + true +end + +function OpenAPI.validate_properties(o::LocalUser) + OpenAPI.validate_property(LocalUser, Symbol("properties"), o.properties) + OpenAPI.validate_property(LocalUser, Symbol("systemData"), o.systemData) + OpenAPI.validate_property(LocalUser, Symbol("id"), o.id) + OpenAPI.validate_property(LocalUser, Symbol("name"), o.name) + OpenAPI.validate_property(LocalUser, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ LocalUser }, name::Symbol, val) + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_LocalUserKeys.jl b/src/Storage/StorageManagementClient/src/models/model_LocalUserKeys.jl new file mode 100644 index 0000000..9bb2888 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_LocalUserKeys.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LocalUserKeys +The Storage Account Local User keys. + + LocalUserKeys(; + sshAuthorizedKeys=nothing, + sharedKey=nothing, + ) + + - sshAuthorizedKeys::Vector{SshPublicKey} : Optional, local user ssh authorized keys for SFTP. + - sharedKey::String : Auto generated by the server for SMB authentication. +""" +Base.@kwdef mutable struct LocalUserKeys <: OpenAPI.APIModel + sshAuthorizedKeys::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SshPublicKey} } + sharedKey::Union{Nothing, String} = nothing + + function LocalUserKeys(sshAuthorizedKeys, sharedKey, ) + o = new(sshAuthorizedKeys, sharedKey, ) + OpenAPI.validate_properties(o) + return o + end +end # type LocalUserKeys + +const _property_types_LocalUserKeys = Dict{Symbol,String}(Symbol("sshAuthorizedKeys")=>"Vector{SshPublicKey}", Symbol("sharedKey")=>"String", ) +OpenAPI.property_type(::Type{ LocalUserKeys }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalUserKeys[name]))} + +function OpenAPI.check_required(o::LocalUserKeys) + true +end + +function OpenAPI.validate_properties(o::LocalUserKeys) + OpenAPI.validate_property(LocalUserKeys, Symbol("sshAuthorizedKeys"), o.sshAuthorizedKeys) + OpenAPI.validate_property(LocalUserKeys, Symbol("sharedKey"), o.sharedKey) +end + +function OpenAPI.validate_property(::Type{ LocalUserKeys }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_LocalUserProperties.jl b/src/Storage/StorageManagementClient/src/models/model_LocalUserProperties.jl new file mode 100644 index 0000000..dec4c42 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_LocalUserProperties.jl @@ -0,0 +1,98 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LocalUserProperties +The Storage Account Local User properties. + + LocalUserProperties(; + permissionScopes=nothing, + homeDirectory=nothing, + sshAuthorizedKeys=nothing, + sid=nothing, + hasSharedKey=nothing, + hasSshKey=nothing, + hasSshPassword=nothing, + userId=nothing, + groupId=nothing, + allowAclAuthorization=nothing, + extendedGroups=nothing, + isNFSv3Enabled=nothing, + ) + + - permissionScopes::Vector{PermissionScope} : The permission scopes of the local user. + - homeDirectory::String : Optional, local user home directory. + - sshAuthorizedKeys::Vector{SshPublicKey} : Optional, local user ssh authorized keys for SFTP. + - sid::String : A unique Security Identifier that is generated by the server. + - hasSharedKey::Bool : Indicates whether shared key exists. Set it to false to remove existing shared key. + - hasSshKey::Bool : Indicates whether ssh key exists. Set it to false to remove existing SSH key. + - hasSshPassword::Bool : Indicates whether ssh password exists. Set it to false to remove existing SSH password. + - userId::Int64 : A unique Identifier that is generated by the server. + - groupId::Int64 : An identifier for associating a group of users. + - allowAclAuthorization::Bool : Indicates whether ACL authorization is allowed for this user. Set it to false to disallow using ACL authorization. + - extendedGroups::Vector{Int64} : Supplementary group membership. Only applicable for local users enabled for NFSv3 access. + - isNFSv3Enabled::Bool : Indicates if the local user is enabled for access with NFSv3 protocol. +""" +Base.@kwdef mutable struct LocalUserProperties <: OpenAPI.APIModel + permissionScopes::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PermissionScope} } + homeDirectory::Union{Nothing, String} = nothing + sshAuthorizedKeys::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SshPublicKey} } + sid::Union{Nothing, String} = nothing + hasSharedKey::Union{Nothing, Bool} = nothing + hasSshKey::Union{Nothing, Bool} = nothing + hasSshPassword::Union{Nothing, Bool} = nothing + userId::Union{Nothing, Int64} = nothing + groupId::Union{Nothing, Int64} = nothing + allowAclAuthorization::Union{Nothing, Bool} = nothing + extendedGroups::Union{Nothing, Vector{Int64}} = nothing + isNFSv3Enabled::Union{Nothing, Bool} = nothing + + function LocalUserProperties(permissionScopes, homeDirectory, sshAuthorizedKeys, sid, hasSharedKey, hasSshKey, hasSshPassword, userId, groupId, allowAclAuthorization, extendedGroups, isNFSv3Enabled, ) + o = new(permissionScopes, homeDirectory, sshAuthorizedKeys, sid, hasSharedKey, hasSshKey, hasSshPassword, userId, groupId, allowAclAuthorization, extendedGroups, isNFSv3Enabled, ) + OpenAPI.validate_properties(o) + return o + end +end # type LocalUserProperties + +const _property_types_LocalUserProperties = Dict{Symbol,String}(Symbol("permissionScopes")=>"Vector{PermissionScope}", Symbol("homeDirectory")=>"String", Symbol("sshAuthorizedKeys")=>"Vector{SshPublicKey}", Symbol("sid")=>"String", Symbol("hasSharedKey")=>"Bool", Symbol("hasSshKey")=>"Bool", Symbol("hasSshPassword")=>"Bool", Symbol("userId")=>"Int64", Symbol("groupId")=>"Int64", Symbol("allowAclAuthorization")=>"Bool", Symbol("extendedGroups")=>"Vector{Int64}", Symbol("isNFSv3Enabled")=>"Bool", ) +OpenAPI.property_type(::Type{ LocalUserProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalUserProperties[name]))} + +function OpenAPI.check_required(o::LocalUserProperties) + true +end + +function OpenAPI.validate_properties(o::LocalUserProperties) + OpenAPI.validate_property(LocalUserProperties, Symbol("permissionScopes"), o.permissionScopes) + OpenAPI.validate_property(LocalUserProperties, Symbol("homeDirectory"), o.homeDirectory) + OpenAPI.validate_property(LocalUserProperties, Symbol("sshAuthorizedKeys"), o.sshAuthorizedKeys) + OpenAPI.validate_property(LocalUserProperties, Symbol("sid"), o.sid) + OpenAPI.validate_property(LocalUserProperties, Symbol("hasSharedKey"), o.hasSharedKey) + OpenAPI.validate_property(LocalUserProperties, Symbol("hasSshKey"), o.hasSshKey) + OpenAPI.validate_property(LocalUserProperties, Symbol("hasSshPassword"), o.hasSshPassword) + OpenAPI.validate_property(LocalUserProperties, Symbol("userId"), o.userId) + OpenAPI.validate_property(LocalUserProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(LocalUserProperties, Symbol("allowAclAuthorization"), o.allowAclAuthorization) + OpenAPI.validate_property(LocalUserProperties, Symbol("extendedGroups"), o.extendedGroups) + OpenAPI.validate_property(LocalUserProperties, Symbol("isNFSv3Enabled"), o.isNFSv3Enabled) +end + +function OpenAPI.validate_property(::Type{ LocalUserProperties }, name::Symbol, val) + + + + + + + + + if name === Symbol("userId") + OpenAPI.validate_param(name, "LocalUserProperties", :format, val, "int32") + end + + if name === Symbol("groupId") + OpenAPI.validate_param(name, "LocalUserProperties", :format, val, "int32") + end + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_LocalUserRegeneratePasswordResult.jl b/src/Storage/StorageManagementClient/src/models/model_LocalUserRegeneratePasswordResult.jl new file mode 100644 index 0000000..3cad988 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_LocalUserRegeneratePasswordResult.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LocalUserRegeneratePasswordResult +The secrets of Storage Account Local User. + + LocalUserRegeneratePasswordResult(; + sshPassword=nothing, + ) + + - sshPassword::String : Auto generated password by the server for SSH authentication if hasSshPassword is set to true on the creation of local user. +""" +Base.@kwdef mutable struct LocalUserRegeneratePasswordResult <: OpenAPI.APIModel + sshPassword::Union{Nothing, String} = nothing + + function LocalUserRegeneratePasswordResult(sshPassword, ) + o = new(sshPassword, ) + OpenAPI.validate_properties(o) + return o + end +end # type LocalUserRegeneratePasswordResult + +const _property_types_LocalUserRegeneratePasswordResult = Dict{Symbol,String}(Symbol("sshPassword")=>"String", ) +OpenAPI.property_type(::Type{ LocalUserRegeneratePasswordResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalUserRegeneratePasswordResult[name]))} + +function OpenAPI.check_required(o::LocalUserRegeneratePasswordResult) + true +end + +function OpenAPI.validate_properties(o::LocalUserRegeneratePasswordResult) + OpenAPI.validate_property(LocalUserRegeneratePasswordResult, Symbol("sshPassword"), o.sshPassword) +end + +function OpenAPI.validate_property(::Type{ LocalUserRegeneratePasswordResult }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_LocalUsers.jl b/src/Storage/StorageManagementClient/src/models/model_LocalUsers.jl new file mode 100644 index 0000000..424d8e9 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_LocalUsers.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""LocalUsers +List of local users requested, and if paging is required, a URL to the next page of local users. + + LocalUsers(; + value=nothing, + nextLink=nothing, + ) + + - value::Vector{LocalUser} : The list of local users associated with the storage account. + - nextLink::String : Request URL that can be used to query next page of local users. Returned when total number of requested local users exceeds the maximum page size. +""" +Base.@kwdef mutable struct LocalUsers <: OpenAPI.APIModel + value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{LocalUser} } + nextLink::Union{Nothing, String} = nothing + + function LocalUsers(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o + end +end # type LocalUsers + +const _property_types_LocalUsers = Dict{Symbol,String}(Symbol("value")=>"Vector{LocalUser}", Symbol("nextLink")=>"String", ) +OpenAPI.property_type(::Type{ LocalUsers }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_LocalUsers[name]))} + +function OpenAPI.check_required(o::LocalUsers) + true +end + +function OpenAPI.validate_properties(o::LocalUsers) + OpenAPI.validate_property(LocalUsers, Symbol("value"), o.value) + OpenAPI.validate_property(LocalUsers, Symbol("nextLink"), o.nextLink) +end + +function OpenAPI.validate_property(::Type{ LocalUsers }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicy.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicy.jl index 26fcf51..7d56296 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicy.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicy.jl @@ -13,9 +13,9 @@ The Get Storage Account ManagementPolicies operation response. ) - properties::ManagementPolicyProperties - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct ManagementPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ManagementPolicyProperties } @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ManagementPolicy <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ManagementPolicy(properties, id, name, type, ) - OpenAPI.validate_property(ManagementPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ManagementPolicy, Symbol("id"), id) - OpenAPI.validate_property(ManagementPolicy, Symbol("name"), name) - OpenAPI.validate_property(ManagementPolicy, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicy const _property_types_ManagementPolicy = Dict{Symbol,String}(Symbol("properties")=>"ManagementPolicyProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ManagementPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicy[name]))} -function check_required(o::ManagementPolicy) +function OpenAPI.check_required(o::ManagementPolicy) true end +function OpenAPI.validate_properties(o::ManagementPolicy) + OpenAPI.validate_property(ManagementPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ManagementPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ManagementPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ManagementPolicy, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ManagementPolicy }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyAction.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyAction.jl index 7964521..27611b4 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyAction.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyAction.jl @@ -8,28 +8,40 @@ Actions are applied to the filtered blobs when the execution condition is met. ManagementPolicyAction(; baseBlob=nothing, snapshot=nothing, + version=nothing, ) - baseBlob::ManagementPolicyBaseBlob - snapshot::ManagementPolicySnapShot + - version::ManagementPolicyVersion """ Base.@kwdef mutable struct ManagementPolicyAction <: OpenAPI.APIModel baseBlob = nothing # spec type: Union{ Nothing, ManagementPolicyBaseBlob } snapshot = nothing # spec type: Union{ Nothing, ManagementPolicySnapShot } + version = nothing # spec type: Union{ Nothing, ManagementPolicyVersion } - function ManagementPolicyAction(baseBlob, snapshot, ) - OpenAPI.validate_property(ManagementPolicyAction, Symbol("baseBlob"), baseBlob) - OpenAPI.validate_property(ManagementPolicyAction, Symbol("snapshot"), snapshot) - return new(baseBlob, snapshot, ) + function ManagementPolicyAction(baseBlob, snapshot, version, ) + o = new(baseBlob, snapshot, version, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicyAction -const _property_types_ManagementPolicyAction = Dict{Symbol,String}(Symbol("baseBlob")=>"ManagementPolicyBaseBlob", Symbol("snapshot")=>"ManagementPolicySnapShot", ) +const _property_types_ManagementPolicyAction = Dict{Symbol,String}(Symbol("baseBlob")=>"ManagementPolicyBaseBlob", Symbol("snapshot")=>"ManagementPolicySnapShot", Symbol("version")=>"ManagementPolicyVersion", ) OpenAPI.property_type(::Type{ ManagementPolicyAction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyAction[name]))} -function check_required(o::ManagementPolicyAction) +function OpenAPI.check_required(o::ManagementPolicyAction) true end +function OpenAPI.validate_properties(o::ManagementPolicyAction) + OpenAPI.validate_property(ManagementPolicyAction, Symbol("baseBlob"), o.baseBlob) + OpenAPI.validate_property(ManagementPolicyAction, Symbol("snapshot"), o.snapshot) + OpenAPI.validate_property(ManagementPolicyAction, Symbol("version"), o.version) +end + function OpenAPI.validate_property(::Type{ ManagementPolicyAction }, name::Symbol, val) + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyBaseBlob.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyBaseBlob.jl index d40d4d2..b9a9494 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyBaseBlob.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyBaseBlob.jl @@ -8,32 +8,55 @@ Management policy action for base blob. ManagementPolicyBaseBlob(; tierToCool=nothing, tierToArchive=nothing, + tierToCold=nothing, + tierToHot=nothing, delete=nothing, + enableAutoTierToHotFromCool=nothing, ) - tierToCool::DateAfterModification - tierToArchive::DateAfterModification + - tierToCold::DateAfterModification + - tierToHot::DateAfterModification - delete::DateAfterModification + - enableAutoTierToHotFromCool::Bool : This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan. """ Base.@kwdef mutable struct ManagementPolicyBaseBlob <: OpenAPI.APIModel tierToCool = nothing # spec type: Union{ Nothing, DateAfterModification } tierToArchive = nothing # spec type: Union{ Nothing, DateAfterModification } + tierToCold = nothing # spec type: Union{ Nothing, DateAfterModification } + tierToHot = nothing # spec type: Union{ Nothing, DateAfterModification } delete = nothing # spec type: Union{ Nothing, DateAfterModification } + enableAutoTierToHotFromCool::Union{Nothing, Bool} = nothing - function ManagementPolicyBaseBlob(tierToCool, tierToArchive, delete, ) - OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("tierToCool"), tierToCool) - OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("tierToArchive"), tierToArchive) - OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("delete"), delete) - return new(tierToCool, tierToArchive, delete, ) + function ManagementPolicyBaseBlob(tierToCool, tierToArchive, tierToCold, tierToHot, delete, enableAutoTierToHotFromCool, ) + o = new(tierToCool, tierToArchive, tierToCold, tierToHot, delete, enableAutoTierToHotFromCool, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicyBaseBlob -const _property_types_ManagementPolicyBaseBlob = Dict{Symbol,String}(Symbol("tierToCool")=>"DateAfterModification", Symbol("tierToArchive")=>"DateAfterModification", Symbol("delete")=>"DateAfterModification", ) +const _property_types_ManagementPolicyBaseBlob = Dict{Symbol,String}(Symbol("tierToCool")=>"DateAfterModification", Symbol("tierToArchive")=>"DateAfterModification", Symbol("tierToCold")=>"DateAfterModification", Symbol("tierToHot")=>"DateAfterModification", Symbol("delete")=>"DateAfterModification", Symbol("enableAutoTierToHotFromCool")=>"Bool", ) OpenAPI.property_type(::Type{ ManagementPolicyBaseBlob }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyBaseBlob[name]))} -function check_required(o::ManagementPolicyBaseBlob) +function OpenAPI.check_required(o::ManagementPolicyBaseBlob) true end +function OpenAPI.validate_properties(o::ManagementPolicyBaseBlob) + OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("tierToCool"), o.tierToCool) + OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("tierToArchive"), o.tierToArchive) + OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("tierToCold"), o.tierToCold) + OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("tierToHot"), o.tierToHot) + OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("delete"), o.delete) + OpenAPI.validate_property(ManagementPolicyBaseBlob, Symbol("enableAutoTierToHotFromCool"), o.enableAutoTierToHotFromCool) +end + function OpenAPI.validate_property(::Type{ ManagementPolicyBaseBlob }, name::Symbol, val) + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyDefinition.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyDefinition.jl index 12e34b6..74faf6f 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyDefinition.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyDefinition.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct ManagementPolicyDefinition <: OpenAPI.APIModel filters = nothing # spec type: Union{ Nothing, ManagementPolicyFilter } function ManagementPolicyDefinition(actions, filters, ) - OpenAPI.validate_property(ManagementPolicyDefinition, Symbol("actions"), actions) - OpenAPI.validate_property(ManagementPolicyDefinition, Symbol("filters"), filters) - return new(actions, filters, ) + o = new(actions, filters, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicyDefinition const _property_types_ManagementPolicyDefinition = Dict{Symbol,String}(Symbol("actions")=>"ManagementPolicyAction", Symbol("filters")=>"ManagementPolicyFilter", ) OpenAPI.property_type(::Type{ ManagementPolicyDefinition }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyDefinition[name]))} -function check_required(o::ManagementPolicyDefinition) +function OpenAPI.check_required(o::ManagementPolicyDefinition) o.actions === nothing && (return false) true end +function OpenAPI.validate_properties(o::ManagementPolicyDefinition) + OpenAPI.validate_property(ManagementPolicyDefinition, Symbol("actions"), o.actions) + OpenAPI.validate_property(ManagementPolicyDefinition, Symbol("filters"), o.filters) +end + function OpenAPI.validate_property(::Type{ ManagementPolicyDefinition }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyFilter.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyFilter.jl index 594a6e6..c133272 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyFilter.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyFilter.jl @@ -12,7 +12,7 @@ Filters limit rule actions to a subset of blobs within the storage account. If m ) - prefixMatch::Vector{String} : An array of strings for prefixes to be match. - - blobTypes::Vector{String} : An array of predefined enum values. Only blockBlob is supported. + - blobTypes::Vector{String} : An array of predefined enum values. Currently blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob. - blobIndexMatch::Vector{TagFilter} : An array of blob index tag based filters, there can be at most 10 tag filters """ Base.@kwdef mutable struct ManagementPolicyFilter <: OpenAPI.APIModel @@ -21,20 +21,28 @@ Base.@kwdef mutable struct ManagementPolicyFilter <: OpenAPI.APIModel blobIndexMatch::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{TagFilter} } function ManagementPolicyFilter(prefixMatch, blobTypes, blobIndexMatch, ) - OpenAPI.validate_property(ManagementPolicyFilter, Symbol("prefixMatch"), prefixMatch) - OpenAPI.validate_property(ManagementPolicyFilter, Symbol("blobTypes"), blobTypes) - OpenAPI.validate_property(ManagementPolicyFilter, Symbol("blobIndexMatch"), blobIndexMatch) - return new(prefixMatch, blobTypes, blobIndexMatch, ) + o = new(prefixMatch, blobTypes, blobIndexMatch, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicyFilter const _property_types_ManagementPolicyFilter = Dict{Symbol,String}(Symbol("prefixMatch")=>"Vector{String}", Symbol("blobTypes")=>"Vector{String}", Symbol("blobIndexMatch")=>"Vector{TagFilter}", ) OpenAPI.property_type(::Type{ ManagementPolicyFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyFilter[name]))} -function check_required(o::ManagementPolicyFilter) +function OpenAPI.check_required(o::ManagementPolicyFilter) o.blobTypes === nothing && (return false) true end +function OpenAPI.validate_properties(o::ManagementPolicyFilter) + OpenAPI.validate_property(ManagementPolicyFilter, Symbol("prefixMatch"), o.prefixMatch) + OpenAPI.validate_property(ManagementPolicyFilter, Symbol("blobTypes"), o.blobTypes) + OpenAPI.validate_property(ManagementPolicyFilter, Symbol("blobIndexMatch"), o.blobIndexMatch) +end + function OpenAPI.validate_property(::Type{ ManagementPolicyFilter }, name::Symbol, val) + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyProperties.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyProperties.jl index 680bda9..c7d5d9d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyProperties.jl @@ -18,22 +18,29 @@ Base.@kwdef mutable struct ManagementPolicyProperties <: OpenAPI.APIModel policy = nothing # spec type: Union{ Nothing, ManagementPolicySchema } function ManagementPolicyProperties(lastModifiedTime, policy, ) - OpenAPI.validate_property(ManagementPolicyProperties, Symbol("lastModifiedTime"), lastModifiedTime) - OpenAPI.validate_property(ManagementPolicyProperties, Symbol("policy"), policy) - return new(lastModifiedTime, policy, ) + o = new(lastModifiedTime, policy, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicyProperties const _property_types_ManagementPolicyProperties = Dict{Symbol,String}(Symbol("lastModifiedTime")=>"ZonedDateTime", Symbol("policy")=>"ManagementPolicySchema", ) OpenAPI.property_type(::Type{ ManagementPolicyProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyProperties[name]))} -function check_required(o::ManagementPolicyProperties) +function OpenAPI.check_required(o::ManagementPolicyProperties) o.policy === nothing && (return false) true end +function OpenAPI.validate_properties(o::ManagementPolicyProperties) + OpenAPI.validate_property(ManagementPolicyProperties, Symbol("lastModifiedTime"), o.lastModifiedTime) + OpenAPI.validate_property(ManagementPolicyProperties, Symbol("policy"), o.policy) +end + function OpenAPI.validate_property(::Type{ ManagementPolicyProperties }, name::Symbol, val) + if name === Symbol("lastModifiedTime") OpenAPI.validate_param(name, "ManagementPolicyProperties", :format, val, "date-time") end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyRule.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyRule.jl index b29c452..965d0d5 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyRule.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyRule.jl @@ -24,26 +24,36 @@ Base.@kwdef mutable struct ManagementPolicyRule <: OpenAPI.APIModel definition = nothing # spec type: Union{ Nothing, ManagementPolicyDefinition } function ManagementPolicyRule(enabled, name, type, definition, ) - OpenAPI.validate_property(ManagementPolicyRule, Symbol("enabled"), enabled) - OpenAPI.validate_property(ManagementPolicyRule, Symbol("name"), name) - OpenAPI.validate_property(ManagementPolicyRule, Symbol("type"), type) - OpenAPI.validate_property(ManagementPolicyRule, Symbol("definition"), definition) - return new(enabled, name, type, definition, ) + o = new(enabled, name, type, definition, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicyRule const _property_types_ManagementPolicyRule = Dict{Symbol,String}(Symbol("enabled")=>"Bool", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("definition")=>"ManagementPolicyDefinition", ) OpenAPI.property_type(::Type{ ManagementPolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyRule[name]))} -function check_required(o::ManagementPolicyRule) +function OpenAPI.check_required(o::ManagementPolicyRule) o.name === nothing && (return false) o.type === nothing && (return false) o.definition === nothing && (return false) true end +function OpenAPI.validate_properties(o::ManagementPolicyRule) + OpenAPI.validate_property(ManagementPolicyRule, Symbol("enabled"), o.enabled) + OpenAPI.validate_property(ManagementPolicyRule, Symbol("name"), o.name) + OpenAPI.validate_property(ManagementPolicyRule, Symbol("type"), o.type) + OpenAPI.validate_property(ManagementPolicyRule, Symbol("definition"), o.definition) +end + function OpenAPI.validate_property(::Type{ ManagementPolicyRule }, name::Symbol, val) + + + if name === Symbol("type") OpenAPI.validate_param(name, "ManagementPolicyRule", :enum, val, ["Lifecycle"]) end + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySchema.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySchema.jl index 5444966..b470f2f 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySchema.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySchema.jl @@ -3,30 +3,36 @@ @doc raw"""ManagementPolicySchema -The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. +The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. ManagementPolicySchema(; rules=nothing, ) - - rules::Vector{ManagementPolicyRule} : The Storage Account ManagementPolicies Rules. See more details in: https://docs.microsoft.com/en-us/azure/storage/common/storage-lifecycle-managment-concepts. + - rules::Vector{ManagementPolicyRule} : The Storage Account ManagementPolicies Rules. See more details in: https://learn.microsoft.com/azure/storage/blobs/lifecycle-management-overview. """ Base.@kwdef mutable struct ManagementPolicySchema <: OpenAPI.APIModel rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ManagementPolicyRule} } function ManagementPolicySchema(rules, ) - OpenAPI.validate_property(ManagementPolicySchema, Symbol("rules"), rules) - return new(rules, ) + o = new(rules, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicySchema const _property_types_ManagementPolicySchema = Dict{Symbol,String}(Symbol("rules")=>"Vector{ManagementPolicyRule}", ) OpenAPI.property_type(::Type{ ManagementPolicySchema }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicySchema[name]))} -function check_required(o::ManagementPolicySchema) +function OpenAPI.check_required(o::ManagementPolicySchema) o.rules === nothing && (return false) true end +function OpenAPI.validate_properties(o::ManagementPolicySchema) + OpenAPI.validate_property(ManagementPolicySchema, Symbol("rules"), o.rules) +end + function OpenAPI.validate_property(::Type{ ManagementPolicySchema }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySnapShot.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySnapShot.jl index 8edbfd6..114c81e 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySnapShot.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicySnapShot.jl @@ -6,26 +6,52 @@ Management policy action for snapshot. ManagementPolicySnapShot(; + tierToCool=nothing, + tierToArchive=nothing, + tierToCold=nothing, + tierToHot=nothing, delete=nothing, ) + - tierToCool::DateAfterCreation + - tierToArchive::DateAfterCreation + - tierToCold::DateAfterCreation + - tierToHot::DateAfterCreation - delete::DateAfterCreation """ Base.@kwdef mutable struct ManagementPolicySnapShot <: OpenAPI.APIModel + tierToCool = nothing # spec type: Union{ Nothing, DateAfterCreation } + tierToArchive = nothing # spec type: Union{ Nothing, DateAfterCreation } + tierToCold = nothing # spec type: Union{ Nothing, DateAfterCreation } + tierToHot = nothing # spec type: Union{ Nothing, DateAfterCreation } delete = nothing # spec type: Union{ Nothing, DateAfterCreation } - function ManagementPolicySnapShot(delete, ) - OpenAPI.validate_property(ManagementPolicySnapShot, Symbol("delete"), delete) - return new(delete, ) + function ManagementPolicySnapShot(tierToCool, tierToArchive, tierToCold, tierToHot, delete, ) + o = new(tierToCool, tierToArchive, tierToCold, tierToHot, delete, ) + OpenAPI.validate_properties(o) + return o end end # type ManagementPolicySnapShot -const _property_types_ManagementPolicySnapShot = Dict{Symbol,String}(Symbol("delete")=>"DateAfterCreation", ) +const _property_types_ManagementPolicySnapShot = Dict{Symbol,String}(Symbol("tierToCool")=>"DateAfterCreation", Symbol("tierToArchive")=>"DateAfterCreation", Symbol("tierToCold")=>"DateAfterCreation", Symbol("tierToHot")=>"DateAfterCreation", Symbol("delete")=>"DateAfterCreation", ) OpenAPI.property_type(::Type{ ManagementPolicySnapShot }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicySnapShot[name]))} -function check_required(o::ManagementPolicySnapShot) +function OpenAPI.check_required(o::ManagementPolicySnapShot) true end +function OpenAPI.validate_properties(o::ManagementPolicySnapShot) + OpenAPI.validate_property(ManagementPolicySnapShot, Symbol("tierToCool"), o.tierToCool) + OpenAPI.validate_property(ManagementPolicySnapShot, Symbol("tierToArchive"), o.tierToArchive) + OpenAPI.validate_property(ManagementPolicySnapShot, Symbol("tierToCold"), o.tierToCold) + OpenAPI.validate_property(ManagementPolicySnapShot, Symbol("tierToHot"), o.tierToHot) + OpenAPI.validate_property(ManagementPolicySnapShot, Symbol("delete"), o.delete) +end + function OpenAPI.validate_property(::Type{ ManagementPolicySnapShot }, name::Symbol, val) + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyVersion.jl b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyVersion.jl new file mode 100644 index 0000000..afdd0e9 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ManagementPolicyVersion.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ManagementPolicyVersion +Management policy action for blob version. + + ManagementPolicyVersion(; + tierToCool=nothing, + tierToArchive=nothing, + tierToCold=nothing, + tierToHot=nothing, + delete=nothing, + ) + + - tierToCool::DateAfterCreation + - tierToArchive::DateAfterCreation + - tierToCold::DateAfterCreation + - tierToHot::DateAfterCreation + - delete::DateAfterCreation +""" +Base.@kwdef mutable struct ManagementPolicyVersion <: OpenAPI.APIModel + tierToCool = nothing # spec type: Union{ Nothing, DateAfterCreation } + tierToArchive = nothing # spec type: Union{ Nothing, DateAfterCreation } + tierToCold = nothing # spec type: Union{ Nothing, DateAfterCreation } + tierToHot = nothing # spec type: Union{ Nothing, DateAfterCreation } + delete = nothing # spec type: Union{ Nothing, DateAfterCreation } + + function ManagementPolicyVersion(tierToCool, tierToArchive, tierToCold, tierToHot, delete, ) + o = new(tierToCool, tierToArchive, tierToCold, tierToHot, delete, ) + OpenAPI.validate_properties(o) + return o + end +end # type ManagementPolicyVersion + +const _property_types_ManagementPolicyVersion = Dict{Symbol,String}(Symbol("tierToCool")=>"DateAfterCreation", Symbol("tierToArchive")=>"DateAfterCreation", Symbol("tierToCold")=>"DateAfterCreation", Symbol("tierToHot")=>"DateAfterCreation", Symbol("delete")=>"DateAfterCreation", ) +OpenAPI.property_type(::Type{ ManagementPolicyVersion }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ManagementPolicyVersion[name]))} + +function OpenAPI.check_required(o::ManagementPolicyVersion) + true +end + +function OpenAPI.validate_properties(o::ManagementPolicyVersion) + OpenAPI.validate_property(ManagementPolicyVersion, Symbol("tierToCool"), o.tierToCool) + OpenAPI.validate_property(ManagementPolicyVersion, Symbol("tierToArchive"), o.tierToArchive) + OpenAPI.validate_property(ManagementPolicyVersion, Symbol("tierToCold"), o.tierToCold) + OpenAPI.validate_property(ManagementPolicyVersion, Symbol("tierToHot"), o.tierToHot) + OpenAPI.validate_property(ManagementPolicyVersion, Symbol("delete"), o.delete) +end + +function OpenAPI.validate_property(::Type{ ManagementPolicyVersion }, name::Symbol, val) + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_MetricSpecification.jl b/src/Storage/StorageManagementClient/src/models/model_MetricSpecification.jl index 4e725d8..244263b 100644 --- a/src/Storage/StorageManagementClient/src/models/model_MetricSpecification.jl +++ b/src/Storage/StorageManagementClient/src/models/model_MetricSpecification.jl @@ -39,25 +39,39 @@ Base.@kwdef mutable struct MetricSpecification <: OpenAPI.APIModel resourceIdDimensionNameOverride::Union{Nothing, String} = nothing function MetricSpecification(name, displayName, displayDescription, unit, dimensions, aggregationType, fillGapWithZero, category, resourceIdDimensionNameOverride, ) - OpenAPI.validate_property(MetricSpecification, Symbol("name"), name) - OpenAPI.validate_property(MetricSpecification, Symbol("displayName"), displayName) - OpenAPI.validate_property(MetricSpecification, Symbol("displayDescription"), displayDescription) - OpenAPI.validate_property(MetricSpecification, Symbol("unit"), unit) - OpenAPI.validate_property(MetricSpecification, Symbol("dimensions"), dimensions) - OpenAPI.validate_property(MetricSpecification, Symbol("aggregationType"), aggregationType) - OpenAPI.validate_property(MetricSpecification, Symbol("fillGapWithZero"), fillGapWithZero) - OpenAPI.validate_property(MetricSpecification, Symbol("category"), category) - OpenAPI.validate_property(MetricSpecification, Symbol("resourceIdDimensionNameOverride"), resourceIdDimensionNameOverride) - return new(name, displayName, displayDescription, unit, dimensions, aggregationType, fillGapWithZero, category, resourceIdDimensionNameOverride, ) + o = new(name, displayName, displayDescription, unit, dimensions, aggregationType, fillGapWithZero, category, resourceIdDimensionNameOverride, ) + OpenAPI.validate_properties(o) + return o end end # type MetricSpecification const _property_types_MetricSpecification = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("displayName")=>"String", Symbol("displayDescription")=>"String", Symbol("unit")=>"String", Symbol("dimensions")=>"Vector{Dimension}", Symbol("aggregationType")=>"String", Symbol("fillGapWithZero")=>"Bool", Symbol("category")=>"String", Symbol("resourceIdDimensionNameOverride")=>"String", ) OpenAPI.property_type(::Type{ MetricSpecification }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_MetricSpecification[name]))} -function check_required(o::MetricSpecification) +function OpenAPI.check_required(o::MetricSpecification) true end +function OpenAPI.validate_properties(o::MetricSpecification) + OpenAPI.validate_property(MetricSpecification, Symbol("name"), o.name) + OpenAPI.validate_property(MetricSpecification, Symbol("displayName"), o.displayName) + OpenAPI.validate_property(MetricSpecification, Symbol("displayDescription"), o.displayDescription) + OpenAPI.validate_property(MetricSpecification, Symbol("unit"), o.unit) + OpenAPI.validate_property(MetricSpecification, Symbol("dimensions"), o.dimensions) + OpenAPI.validate_property(MetricSpecification, Symbol("aggregationType"), o.aggregationType) + OpenAPI.validate_property(MetricSpecification, Symbol("fillGapWithZero"), o.fillGapWithZero) + OpenAPI.validate_property(MetricSpecification, Symbol("category"), o.category) + OpenAPI.validate_property(MetricSpecification, Symbol("resourceIdDimensionNameOverride"), o.resourceIdDimensionNameOverride) +end + function OpenAPI.validate_property(::Type{ MetricSpecification }, name::Symbol, val) + + + + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_NetworkRuleSet.jl b/src/Storage/StorageManagementClient/src/models/model_NetworkRuleSet.jl index 10a4836..8a779a4 100644 --- a/src/Storage/StorageManagementClient/src/models/model_NetworkRuleSet.jl +++ b/src/Storage/StorageManagementClient/src/models/model_NetworkRuleSet.jl @@ -6,45 +6,66 @@ Network rule set NetworkRuleSet(; - bypass=AzureServices, + bypass="AzureServices", + resourceAccessRules=nothing, virtualNetworkRules=nothing, ipRules=nothing, - defaultAction=Allow, + ipv6Rules=nothing, + defaultAction="Allow", ) - bypass::String : Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of Logging|Metrics|AzureServices (For example, \"Logging, Metrics\"), or None to bypass none of those traffics. + - resourceAccessRules::Vector{ResourceAccessRule} : Sets the resource access rules - virtualNetworkRules::Vector{VirtualNetworkRule} : Sets the virtual network rules - ipRules::Vector{IPRule} : Sets the IP ACL rules + - ipv6Rules::Vector{IPRule} : Sets the IPv6 ACL rules. - defaultAction::String : Specifies the default action of allow or deny when no other rules match. """ Base.@kwdef mutable struct NetworkRuleSet <: OpenAPI.APIModel - bypass::Union{Nothing, String} = AzureServices + bypass::Union{Nothing, String} = "AzureServices" + resourceAccessRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ResourceAccessRule} } virtualNetworkRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{VirtualNetworkRule} } ipRules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IPRule} } - defaultAction::Union{Nothing, String} = Allow - - function NetworkRuleSet(bypass, virtualNetworkRules, ipRules, defaultAction, ) - OpenAPI.validate_property(NetworkRuleSet, Symbol("bypass"), bypass) - OpenAPI.validate_property(NetworkRuleSet, Symbol("virtualNetworkRules"), virtualNetworkRules) - OpenAPI.validate_property(NetworkRuleSet, Symbol("ipRules"), ipRules) - OpenAPI.validate_property(NetworkRuleSet, Symbol("defaultAction"), defaultAction) - return new(bypass, virtualNetworkRules, ipRules, defaultAction, ) + ipv6Rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{IPRule} } + defaultAction::Union{Nothing, String} = "Allow" + + function NetworkRuleSet(bypass, resourceAccessRules, virtualNetworkRules, ipRules, ipv6Rules, defaultAction, ) + o = new(bypass, resourceAccessRules, virtualNetworkRules, ipRules, ipv6Rules, defaultAction, ) + OpenAPI.validate_properties(o) + return o end end # type NetworkRuleSet -const _property_types_NetworkRuleSet = Dict{Symbol,String}(Symbol("bypass")=>"String", Symbol("virtualNetworkRules")=>"Vector{VirtualNetworkRule}", Symbol("ipRules")=>"Vector{IPRule}", Symbol("defaultAction")=>"String", ) +const _property_types_NetworkRuleSet = Dict{Symbol,String}(Symbol("bypass")=>"String", Symbol("resourceAccessRules")=>"Vector{ResourceAccessRule}", Symbol("virtualNetworkRules")=>"Vector{VirtualNetworkRule}", Symbol("ipRules")=>"Vector{IPRule}", Symbol("ipv6Rules")=>"Vector{IPRule}", Symbol("defaultAction")=>"String", ) OpenAPI.property_type(::Type{ NetworkRuleSet }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_NetworkRuleSet[name]))} -function check_required(o::NetworkRuleSet) +function OpenAPI.check_required(o::NetworkRuleSet) o.defaultAction === nothing && (return false) true end +function OpenAPI.validate_properties(o::NetworkRuleSet) + OpenAPI.validate_property(NetworkRuleSet, Symbol("bypass"), o.bypass) + OpenAPI.validate_property(NetworkRuleSet, Symbol("resourceAccessRules"), o.resourceAccessRules) + OpenAPI.validate_property(NetworkRuleSet, Symbol("virtualNetworkRules"), o.virtualNetworkRules) + OpenAPI.validate_property(NetworkRuleSet, Symbol("ipRules"), o.ipRules) + OpenAPI.validate_property(NetworkRuleSet, Symbol("ipv6Rules"), o.ipv6Rules) + OpenAPI.validate_property(NetworkRuleSet, Symbol("defaultAction"), o.defaultAction) +end + function OpenAPI.validate_property(::Type{ NetworkRuleSet }, name::Symbol, val) + if name === Symbol("bypass") OpenAPI.validate_param(name, "NetworkRuleSet", :enum, val, ["None", "Logging", "Metrics", "AzureServices"]) end + + + + + + if name === Symbol("defaultAction") OpenAPI.validate_param(name, "NetworkRuleSet", :enum, val, ["Allow", "Deny"]) end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicies.jl b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicies.jl index 9d2b0ed..5714609 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicies.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicies.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ObjectReplicationPolicies <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ObjectReplicationPolicy} } function ObjectReplicationPolicies(value, ) - OpenAPI.validate_property(ObjectReplicationPolicies, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type ObjectReplicationPolicies const _property_types_ObjectReplicationPolicies = Dict{Symbol,String}(Symbol("value")=>"Vector{ObjectReplicationPolicy}", ) OpenAPI.property_type(::Type{ ObjectReplicationPolicies }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ObjectReplicationPolicies[name]))} -function check_required(o::ObjectReplicationPolicies) +function OpenAPI.check_required(o::ObjectReplicationPolicies) true end +function OpenAPI.validate_properties(o::ObjectReplicationPolicies) + OpenAPI.validate_property(ObjectReplicationPolicies, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ ObjectReplicationPolicies }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicy.jl b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicy.jl index efcfc56..6df7a4b 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicy.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicy.jl @@ -13,9 +13,9 @@ The replication policy between two storage accounts. Multiple rules can be defin ) - properties::ObjectReplicationPolicyProperties - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct ObjectReplicationPolicy <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, ObjectReplicationPolicyProperties } @@ -24,20 +24,29 @@ Base.@kwdef mutable struct ObjectReplicationPolicy <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function ObjectReplicationPolicy(properties, id, name, type, ) - OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("properties"), properties) - OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("id"), id) - OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("name"), name) - OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type ObjectReplicationPolicy const _property_types_ObjectReplicationPolicy = Dict{Symbol,String}(Symbol("properties")=>"ObjectReplicationPolicyProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ ObjectReplicationPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ObjectReplicationPolicy[name]))} -function check_required(o::ObjectReplicationPolicy) +function OpenAPI.check_required(o::ObjectReplicationPolicy) true end +function OpenAPI.validate_properties(o::ObjectReplicationPolicy) + OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("properties"), o.properties) + OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("id"), o.id) + OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("name"), o.name) + OpenAPI.validate_property(ObjectReplicationPolicy, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ ObjectReplicationPolicy }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyFilter.jl b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyFilter.jl index 9d0963b..d3135d5 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyFilter.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyFilter.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct ObjectReplicationPolicyFilter <: OpenAPI.APIModel minCreationTime::Union{Nothing, String} = nothing function ObjectReplicationPolicyFilter(prefixMatch, minCreationTime, ) - OpenAPI.validate_property(ObjectReplicationPolicyFilter, Symbol("prefixMatch"), prefixMatch) - OpenAPI.validate_property(ObjectReplicationPolicyFilter, Symbol("minCreationTime"), minCreationTime) - return new(prefixMatch, minCreationTime, ) + o = new(prefixMatch, minCreationTime, ) + OpenAPI.validate_properties(o) + return o end end # type ObjectReplicationPolicyFilter const _property_types_ObjectReplicationPolicyFilter = Dict{Symbol,String}(Symbol("prefixMatch")=>"Vector{String}", Symbol("minCreationTime")=>"String", ) OpenAPI.property_type(::Type{ ObjectReplicationPolicyFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ObjectReplicationPolicyFilter[name]))} -function check_required(o::ObjectReplicationPolicyFilter) +function OpenAPI.check_required(o::ObjectReplicationPolicyFilter) true end +function OpenAPI.validate_properties(o::ObjectReplicationPolicyFilter) + OpenAPI.validate_property(ObjectReplicationPolicyFilter, Symbol("prefixMatch"), o.prefixMatch) + OpenAPI.validate_property(ObjectReplicationPolicyFilter, Symbol("minCreationTime"), o.minCreationTime) +end + function OpenAPI.validate_property(::Type{ ObjectReplicationPolicyFilter }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyProperties.jl b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyProperties.jl index dac8f13..848af7f 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyProperties.jl @@ -11,13 +11,15 @@ The Storage Account ObjectReplicationPolicy properties. sourceAccount=nothing, destinationAccount=nothing, rules=nothing, + metrics=nothing, ) - policyId::String : A unique id for object replication policy. - enabledTime::ZonedDateTime : Indicates when the policy is enabled on the source account. - - sourceAccount::String : Required. Source account name. - - destinationAccount::String : Required. Destination account name. + - sourceAccount::String : Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false. + - destinationAccount::String : Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false. - rules::Vector{ObjectReplicationPolicyRule} : The storage account object replication rules. + - metrics::ObjectReplicationPolicyPropertiesMetrics """ Base.@kwdef mutable struct ObjectReplicationPolicyProperties <: OpenAPI.APIModel policyId::Union{Nothing, String} = nothing @@ -25,28 +27,41 @@ Base.@kwdef mutable struct ObjectReplicationPolicyProperties <: OpenAPI.APIModel sourceAccount::Union{Nothing, String} = nothing destinationAccount::Union{Nothing, String} = nothing rules::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{ObjectReplicationPolicyRule} } + metrics = nothing # spec type: Union{ Nothing, ObjectReplicationPolicyPropertiesMetrics } - function ObjectReplicationPolicyProperties(policyId, enabledTime, sourceAccount, destinationAccount, rules, ) - OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("policyId"), policyId) - OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("enabledTime"), enabledTime) - OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("sourceAccount"), sourceAccount) - OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("destinationAccount"), destinationAccount) - OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("rules"), rules) - return new(policyId, enabledTime, sourceAccount, destinationAccount, rules, ) + function ObjectReplicationPolicyProperties(policyId, enabledTime, sourceAccount, destinationAccount, rules, metrics, ) + o = new(policyId, enabledTime, sourceAccount, destinationAccount, rules, metrics, ) + OpenAPI.validate_properties(o) + return o end end # type ObjectReplicationPolicyProperties -const _property_types_ObjectReplicationPolicyProperties = Dict{Symbol,String}(Symbol("policyId")=>"String", Symbol("enabledTime")=>"ZonedDateTime", Symbol("sourceAccount")=>"String", Symbol("destinationAccount")=>"String", Symbol("rules")=>"Vector{ObjectReplicationPolicyRule}", ) +const _property_types_ObjectReplicationPolicyProperties = Dict{Symbol,String}(Symbol("policyId")=>"String", Symbol("enabledTime")=>"ZonedDateTime", Symbol("sourceAccount")=>"String", Symbol("destinationAccount")=>"String", Symbol("rules")=>"Vector{ObjectReplicationPolicyRule}", Symbol("metrics")=>"ObjectReplicationPolicyPropertiesMetrics", ) OpenAPI.property_type(::Type{ ObjectReplicationPolicyProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ObjectReplicationPolicyProperties[name]))} -function check_required(o::ObjectReplicationPolicyProperties) +function OpenAPI.check_required(o::ObjectReplicationPolicyProperties) o.sourceAccount === nothing && (return false) o.destinationAccount === nothing && (return false) true end +function OpenAPI.validate_properties(o::ObjectReplicationPolicyProperties) + OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("policyId"), o.policyId) + OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("enabledTime"), o.enabledTime) + OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("sourceAccount"), o.sourceAccount) + OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("destinationAccount"), o.destinationAccount) + OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("rules"), o.rules) + OpenAPI.validate_property(ObjectReplicationPolicyProperties, Symbol("metrics"), o.metrics) +end + function OpenAPI.validate_property(::Type{ ObjectReplicationPolicyProperties }, name::Symbol, val) + + if name === Symbol("enabledTime") OpenAPI.validate_param(name, "ObjectReplicationPolicyProperties", :format, val, "date-time") end + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyPropertiesMetrics.jl b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyPropertiesMetrics.jl new file mode 100644 index 0000000..a8f919f --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyPropertiesMetrics.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ObjectReplicationPolicyProperties_metrics +Optional. The object replication policy metrics feature options. + + ObjectReplicationPolicyPropertiesMetrics(; + enabled=nothing, + ) + + - enabled::Bool : Indicates whether object replication metrics feature is enabled for the policy. +""" +Base.@kwdef mutable struct ObjectReplicationPolicyPropertiesMetrics <: OpenAPI.APIModel + enabled::Union{Nothing, Bool} = nothing + + function ObjectReplicationPolicyPropertiesMetrics(enabled, ) + o = new(enabled, ) + OpenAPI.validate_properties(o) + return o + end +end # type ObjectReplicationPolicyPropertiesMetrics + +const _property_types_ObjectReplicationPolicyPropertiesMetrics = Dict{Symbol,String}(Symbol("enabled")=>"Bool", ) +OpenAPI.property_type(::Type{ ObjectReplicationPolicyPropertiesMetrics }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ObjectReplicationPolicyPropertiesMetrics[name]))} + +function OpenAPI.check_required(o::ObjectReplicationPolicyPropertiesMetrics) + true +end + +function OpenAPI.validate_properties(o::ObjectReplicationPolicyPropertiesMetrics) + OpenAPI.validate_property(ObjectReplicationPolicyPropertiesMetrics, Symbol("enabled"), o.enabled) +end + +function OpenAPI.validate_property(::Type{ ObjectReplicationPolicyPropertiesMetrics }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyRule.jl b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyRule.jl index edf9300..db7854f 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyRule.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ObjectReplicationPolicyRule.jl @@ -24,22 +24,31 @@ Base.@kwdef mutable struct ObjectReplicationPolicyRule <: OpenAPI.APIModel filters = nothing # spec type: Union{ Nothing, ObjectReplicationPolicyFilter } function ObjectReplicationPolicyRule(ruleId, sourceContainer, destinationContainer, filters, ) - OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("ruleId"), ruleId) - OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("sourceContainer"), sourceContainer) - OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("destinationContainer"), destinationContainer) - OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("filters"), filters) - return new(ruleId, sourceContainer, destinationContainer, filters, ) + o = new(ruleId, sourceContainer, destinationContainer, filters, ) + OpenAPI.validate_properties(o) + return o end end # type ObjectReplicationPolicyRule const _property_types_ObjectReplicationPolicyRule = Dict{Symbol,String}(Symbol("ruleId")=>"String", Symbol("sourceContainer")=>"String", Symbol("destinationContainer")=>"String", Symbol("filters")=>"ObjectReplicationPolicyFilter", ) OpenAPI.property_type(::Type{ ObjectReplicationPolicyRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ObjectReplicationPolicyRule[name]))} -function check_required(o::ObjectReplicationPolicyRule) +function OpenAPI.check_required(o::ObjectReplicationPolicyRule) o.sourceContainer === nothing && (return false) o.destinationContainer === nothing && (return false) true end +function OpenAPI.validate_properties(o::ObjectReplicationPolicyRule) + OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("ruleId"), o.ruleId) + OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("sourceContainer"), o.sourceContainer) + OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("destinationContainer"), o.destinationContainer) + OpenAPI.validate_property(ObjectReplicationPolicyRule, Symbol("filters"), o.filters) +end + function OpenAPI.validate_property(::Type{ ObjectReplicationPolicyRule }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_Operation.jl b/src/Storage/StorageManagementClient/src/models/model_Operation.jl index da04c9e..097cdda 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Operation.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Operation.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct Operation <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, OperationProperties } function Operation(name, display, origin, properties, ) - OpenAPI.validate_property(Operation, Symbol("name"), name) - OpenAPI.validate_property(Operation, Symbol("display"), display) - OpenAPI.validate_property(Operation, Symbol("origin"), origin) - OpenAPI.validate_property(Operation, Symbol("properties"), properties) - return new(name, display, origin, properties, ) + o = new(name, display, origin, properties, ) + OpenAPI.validate_properties(o) + return o end end # type Operation const _property_types_Operation = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("display")=>"OperationDisplay", Symbol("origin")=>"String", Symbol("properties")=>"OperationProperties", ) OpenAPI.property_type(::Type{ Operation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Operation[name]))} -function check_required(o::Operation) +function OpenAPI.check_required(o::Operation) true end +function OpenAPI.validate_properties(o::Operation) + OpenAPI.validate_property(Operation, Symbol("name"), o.name) + OpenAPI.validate_property(Operation, Symbol("display"), o.display) + OpenAPI.validate_property(Operation, Symbol("origin"), o.origin) + OpenAPI.validate_property(Operation, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ Operation }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_OperationDisplay.jl b/src/Storage/StorageManagementClient/src/models/model_OperationDisplay.jl index ea8abc8..5b0aa3c 100644 --- a/src/Storage/StorageManagementClient/src/models/model_OperationDisplay.jl +++ b/src/Storage/StorageManagementClient/src/models/model_OperationDisplay.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct OperationDisplay <: OpenAPI.APIModel description::Union{Nothing, String} = nothing function OperationDisplay(provider, resource, operation, description, ) - OpenAPI.validate_property(OperationDisplay, Symbol("provider"), provider) - OpenAPI.validate_property(OperationDisplay, Symbol("resource"), resource) - OpenAPI.validate_property(OperationDisplay, Symbol("operation"), operation) - OpenAPI.validate_property(OperationDisplay, Symbol("description"), description) - return new(provider, resource, operation, description, ) + o = new(provider, resource, operation, description, ) + OpenAPI.validate_properties(o) + return o end end # type OperationDisplay const _property_types_OperationDisplay = Dict{Symbol,String}(Symbol("provider")=>"String", Symbol("resource")=>"String", Symbol("operation")=>"String", Symbol("description")=>"String", ) OpenAPI.property_type(::Type{ OperationDisplay }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationDisplay[name]))} -function check_required(o::OperationDisplay) +function OpenAPI.check_required(o::OperationDisplay) true end +function OpenAPI.validate_properties(o::OperationDisplay) + OpenAPI.validate_property(OperationDisplay, Symbol("provider"), o.provider) + OpenAPI.validate_property(OperationDisplay, Symbol("resource"), o.resource) + OpenAPI.validate_property(OperationDisplay, Symbol("operation"), o.operation) + OpenAPI.validate_property(OperationDisplay, Symbol("description"), o.description) +end + function OpenAPI.validate_property(::Type{ OperationDisplay }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_OperationListResult.jl b/src/Storage/StorageManagementClient/src/models/model_OperationListResult.jl index 83205e1..b34c06f 100644 --- a/src/Storage/StorageManagementClient/src/models/model_OperationListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_OperationListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct OperationListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Operation} } function OperationListResult(value, ) - OpenAPI.validate_property(OperationListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type OperationListResult const _property_types_OperationListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Operation}", ) OpenAPI.property_type(::Type{ OperationListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationListResult[name]))} -function check_required(o::OperationListResult) +function OpenAPI.check_required(o::OperationListResult) true end +function OpenAPI.validate_properties(o::OperationListResult) + OpenAPI.validate_property(OperationListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ OperationListResult }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_OperationProperties.jl b/src/Storage/StorageManagementClient/src/models/model_OperationProperties.jl index a287895..860396d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_OperationProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_OperationProperties.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct OperationProperties <: OpenAPI.APIModel serviceSpecification = nothing # spec type: Union{ Nothing, ServiceSpecification } function OperationProperties(serviceSpecification, ) - OpenAPI.validate_property(OperationProperties, Symbol("serviceSpecification"), serviceSpecification) - return new(serviceSpecification, ) + o = new(serviceSpecification, ) + OpenAPI.validate_properties(o) + return o end end # type OperationProperties const _property_types_OperationProperties = Dict{Symbol,String}(Symbol("serviceSpecification")=>"ServiceSpecification", ) OpenAPI.property_type(::Type{ OperationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_OperationProperties[name]))} -function check_required(o::OperationProperties) +function OpenAPI.check_required(o::OperationProperties) true end +function OpenAPI.validate_properties(o::OperationProperties) + OpenAPI.validate_property(OperationProperties, Symbol("serviceSpecification"), o.serviceSpecification) +end + function OpenAPI.validate_property(::Type{ OperationProperties }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PermissionScope.jl b/src/Storage/StorageManagementClient/src/models/model_PermissionScope.jl new file mode 100644 index 0000000..0fe6f75 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_PermissionScope.jl @@ -0,0 +1,49 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""PermissionScope + + PermissionScope(; + permissions=nothing, + service=nothing, + resourceName=nothing, + ) + + - permissions::String : The permissions for the local user. Possible values include: Read (r), Write (w), Delete (d), List (l), Create (c), Modify Ownership (o), and Modify Permissions (p). + - service::String : The service used by the local user, e.g. blob, file. + - resourceName::String : The name of resource, normally the container name or the file share name, used by the local user. +""" +Base.@kwdef mutable struct PermissionScope <: OpenAPI.APIModel + permissions::Union{Nothing, String} = nothing + service::Union{Nothing, String} = nothing + resourceName::Union{Nothing, String} = nothing + + function PermissionScope(permissions, service, resourceName, ) + o = new(permissions, service, resourceName, ) + OpenAPI.validate_properties(o) + return o + end +end # type PermissionScope + +const _property_types_PermissionScope = Dict{Symbol,String}(Symbol("permissions")=>"String", Symbol("service")=>"String", Symbol("resourceName")=>"String", ) +OpenAPI.property_type(::Type{ PermissionScope }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PermissionScope[name]))} + +function OpenAPI.check_required(o::PermissionScope) + o.permissions === nothing && (return false) + o.service === nothing && (return false) + o.resourceName === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::PermissionScope) + OpenAPI.validate_property(PermissionScope, Symbol("permissions"), o.permissions) + OpenAPI.validate_property(PermissionScope, Symbol("service"), o.service) + OpenAPI.validate_property(PermissionScope, Symbol("resourceName"), o.resourceName) +end + +function OpenAPI.validate_property(::Type{ PermissionScope }, name::Symbol, val) + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_Placement.jl b/src/Storage/StorageManagementClient/src/models/model_Placement.jl new file mode 100644 index 0000000..1954d38 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_Placement.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""Placement +The complex type of the zonal placement details. + + Placement(; + zonePlacementPolicy=nothing, + ) + + - zonePlacementPolicy::String : The availability zone pinning policy for the storage account. +""" +Base.@kwdef mutable struct Placement <: OpenAPI.APIModel + zonePlacementPolicy::Union{Nothing, String} = nothing + + function Placement(zonePlacementPolicy, ) + o = new(zonePlacementPolicy, ) + OpenAPI.validate_properties(o) + return o + end +end # type Placement + +const _property_types_Placement = Dict{Symbol,String}(Symbol("zonePlacementPolicy")=>"String", ) +OpenAPI.property_type(::Type{ Placement }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Placement[name]))} + +function OpenAPI.check_required(o::Placement) + true +end + +function OpenAPI.validate_properties(o::Placement) + OpenAPI.validate_property(Placement, Symbol("zonePlacementPolicy"), o.zonePlacementPolicy) +end + +function OpenAPI.validate_property(::Type{ Placement }, name::Symbol, val) + + if name === Symbol("zonePlacementPolicy") + OpenAPI.validate_param(name, "Placement", :enum, val, ["Any", "None"]) + end + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpoint.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpoint.jl index 7ba0917..e119c67 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpoint.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpoint.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct PrivateEndpoint <: OpenAPI.APIModel id::Union{Nothing, String} = nothing function PrivateEndpoint(id, ) - OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), id) - return new(id, ) + o = new(id, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpoint const _property_types_PrivateEndpoint = Dict{Symbol,String}(Symbol("id")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpoint }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpoint[name]))} -function check_required(o::PrivateEndpoint) +function OpenAPI.check_required(o::PrivateEndpoint) true end +function OpenAPI.validate_properties(o::PrivateEndpoint) + OpenAPI.validate_property(PrivateEndpoint, Symbol("id"), o.id) +end + function OpenAPI.validate_property(::Type{ PrivateEndpoint }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnection.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnection.jl index f280b0c..3d0cdd1 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnection.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnection.jl @@ -13,9 +13,9 @@ The Private Endpoint Connection resource. ) - properties::PrivateEndpointConnectionProperties - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProperties } @@ -24,20 +24,29 @@ Base.@kwdef mutable struct PrivateEndpointConnection <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function PrivateEndpointConnection(properties, id, name, type, ) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), id) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), name) - OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointConnection const _property_types_PrivateEndpointConnection = Dict{Symbol,String}(Symbol("properties")=>"PrivateEndpointConnectionProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ PrivateEndpointConnection }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnection[name]))} -function check_required(o::PrivateEndpointConnection) +function OpenAPI.check_required(o::PrivateEndpointConnection) true end +function OpenAPI.validate_properties(o::PrivateEndpointConnection) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateEndpointConnection, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointConnection }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionListResult.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionListResult.jl index 038e8f4..3e5850e 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct PrivateEndpointConnectionListResult <: OpenAPI.APIMod value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } function PrivateEndpointConnectionListResult(value, ) - OpenAPI.validate_property(PrivateEndpointConnectionListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointConnectionListResult const _property_types_PrivateEndpointConnectionListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PrivateEndpointConnection}", ) OpenAPI.property_type(::Type{ PrivateEndpointConnectionListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionListResult[name]))} -function check_required(o::PrivateEndpointConnectionListResult) +function OpenAPI.check_required(o::PrivateEndpointConnectionListResult) true end +function OpenAPI.validate_properties(o::PrivateEndpointConnectionListResult) + OpenAPI.validate_property(PrivateEndpointConnectionListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionListResult }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionProperties.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionProperties.jl index a54ebee..1c0bc8b 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateEndpointConnectionProperties.jl @@ -21,20 +21,28 @@ Base.@kwdef mutable struct PrivateEndpointConnectionProperties <: OpenAPI.APIMod provisioningState = nothing # spec type: Union{ Nothing, PrivateEndpointConnectionProvisioningState } function PrivateEndpointConnectionProperties(privateEndpoint, privateLinkServiceConnectionState, provisioningState, ) - OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), privateEndpoint) - OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), privateLinkServiceConnectionState) - OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), provisioningState) - return new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, ) + o = new(privateEndpoint, privateLinkServiceConnectionState, provisioningState, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateEndpointConnectionProperties const _property_types_PrivateEndpointConnectionProperties = Dict{Symbol,String}(Symbol("privateEndpoint")=>"PrivateEndpoint", Symbol("privateLinkServiceConnectionState")=>"PrivateLinkServiceConnectionState", Symbol("provisioningState")=>"PrivateEndpointConnectionProvisioningState", ) OpenAPI.property_type(::Type{ PrivateEndpointConnectionProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateEndpointConnectionProperties[name]))} -function check_required(o::PrivateEndpointConnectionProperties) +function OpenAPI.check_required(o::PrivateEndpointConnectionProperties) o.privateLinkServiceConnectionState === nothing && (return false) true end +function OpenAPI.validate_properties(o::PrivateEndpointConnectionProperties) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateEndpoint"), o.privateEndpoint) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("privateLinkServiceConnectionState"), o.privateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateEndpointConnectionProperties, Symbol("provisioningState"), o.provisioningState) +end + function OpenAPI.validate_property(::Type{ PrivateEndpointConnectionProperties }, name::Symbol, val) + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResource.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResource.jl index c0f6610..a3aaedf 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResource.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResource.jl @@ -13,9 +13,9 @@ A private link resource ) - properties::PrivateLinkResourceProperties - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct PrivateLinkResource <: OpenAPI.APIModel properties = nothing # spec type: Union{ Nothing, PrivateLinkResourceProperties } @@ -24,20 +24,29 @@ Base.@kwdef mutable struct PrivateLinkResource <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function PrivateLinkResource(properties, id, name, type, ) - OpenAPI.validate_property(PrivateLinkResource, Symbol("properties"), properties) - OpenAPI.validate_property(PrivateLinkResource, Symbol("id"), id) - OpenAPI.validate_property(PrivateLinkResource, Symbol("name"), name) - OpenAPI.validate_property(PrivateLinkResource, Symbol("type"), type) - return new(properties, id, name, type, ) + o = new(properties, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkResource const _property_types_PrivateLinkResource = Dict{Symbol,String}(Symbol("properties")=>"PrivateLinkResourceProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkResource[name]))} -function check_required(o::PrivateLinkResource) +function OpenAPI.check_required(o::PrivateLinkResource) true end +function OpenAPI.validate_properties(o::PrivateLinkResource) + OpenAPI.validate_property(PrivateLinkResource, Symbol("properties"), o.properties) + OpenAPI.validate_property(PrivateLinkResource, Symbol("id"), o.id) + OpenAPI.validate_property(PrivateLinkResource, Symbol("name"), o.name) + OpenAPI.validate_property(PrivateLinkResource, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ PrivateLinkResource }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceListResult.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceListResult.jl index fb563ef..d12e723 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct PrivateLinkResourceListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateLinkResource} } function PrivateLinkResourceListResult(value, ) - OpenAPI.validate_property(PrivateLinkResourceListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkResourceListResult const _property_types_PrivateLinkResourceListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{PrivateLinkResource}", ) OpenAPI.property_type(::Type{ PrivateLinkResourceListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkResourceListResult[name]))} -function check_required(o::PrivateLinkResourceListResult) +function OpenAPI.check_required(o::PrivateLinkResourceListResult) true end +function OpenAPI.validate_properties(o::PrivateLinkResourceListResult) + OpenAPI.validate_property(PrivateLinkResourceListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ PrivateLinkResourceListResult }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceProperties.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceProperties.jl index af9e561..bb0c6c9 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkResourceProperties.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkResourceProperties <: OpenAPI.APIModel requiredZoneNames::Union{Nothing, Vector{String}} = nothing function PrivateLinkResourceProperties(groupId, requiredMembers, requiredZoneNames, ) - OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("groupId"), groupId) - OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("requiredMembers"), requiredMembers) - OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("requiredZoneNames"), requiredZoneNames) - return new(groupId, requiredMembers, requiredZoneNames, ) + o = new(groupId, requiredMembers, requiredZoneNames, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkResourceProperties const _property_types_PrivateLinkResourceProperties = Dict{Symbol,String}(Symbol("groupId")=>"String", Symbol("requiredMembers")=>"Vector{String}", Symbol("requiredZoneNames")=>"Vector{String}", ) OpenAPI.property_type(::Type{ PrivateLinkResourceProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkResourceProperties[name]))} -function check_required(o::PrivateLinkResourceProperties) +function OpenAPI.check_required(o::PrivateLinkResourceProperties) true end +function OpenAPI.validate_properties(o::PrivateLinkResourceProperties) + OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("groupId"), o.groupId) + OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("requiredMembers"), o.requiredMembers) + OpenAPI.validate_property(PrivateLinkResourceProperties, Symbol("requiredZoneNames"), o.requiredZoneNames) +end + function OpenAPI.validate_property(::Type{ PrivateLinkResourceProperties }, name::Symbol, val) + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkServiceConnectionState.jl b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkServiceConnectionState.jl index 98b6a58..81313dd 100644 --- a/src/Storage/StorageManagementClient/src/models/model_PrivateLinkServiceConnectionState.jl +++ b/src/Storage/StorageManagementClient/src/models/model_PrivateLinkServiceConnectionState.jl @@ -21,19 +21,27 @@ Base.@kwdef mutable struct PrivateLinkServiceConnectionState <: OpenAPI.APIModel actionRequired::Union{Nothing, String} = nothing function PrivateLinkServiceConnectionState(status, description, actionRequired, ) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), status) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), description) - OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionRequired"), actionRequired) - return new(status, description, actionRequired, ) + o = new(status, description, actionRequired, ) + OpenAPI.validate_properties(o) + return o end end # type PrivateLinkServiceConnectionState const _property_types_PrivateLinkServiceConnectionState = Dict{Symbol,String}(Symbol("status")=>"PrivateEndpointServiceConnectionStatus", Symbol("description")=>"String", Symbol("actionRequired")=>"String", ) OpenAPI.property_type(::Type{ PrivateLinkServiceConnectionState }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_PrivateLinkServiceConnectionState[name]))} -function check_required(o::PrivateLinkServiceConnectionState) +function OpenAPI.check_required(o::PrivateLinkServiceConnectionState) true end +function OpenAPI.validate_properties(o::PrivateLinkServiceConnectionState) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("status"), o.status) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("description"), o.description) + OpenAPI.validate_property(PrivateLinkServiceConnectionState, Symbol("actionRequired"), o.actionRequired) +end + function OpenAPI.validate_property(::Type{ PrivateLinkServiceConnectionState }, name::Symbol, val) + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ProxyResource.jl b/src/Storage/StorageManagementClient/src/models/model_ProxyResource.jl new file mode 100644 index 0000000..50fcb10 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ProxyResource.jl @@ -0,0 +1,47 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ProxyResource +The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location + + ProxyResource(; + id=nothing, + name=nothing, + type=nothing, + ) + + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - name::String : The name of the resource + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" +""" +Base.@kwdef mutable struct ProxyResource <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + + function ProxyResource(id, name, type, ) + o = new(id, name, type, ) + OpenAPI.validate_properties(o) + return o + end +end # type ProxyResource + +const _property_types_ProxyResource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +OpenAPI.property_type(::Type{ ProxyResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ProxyResource[name]))} + +function OpenAPI.check_required(o::ProxyResource) + true +end + +function OpenAPI.validate_properties(o::ProxyResource) + OpenAPI.validate_property(ProxyResource, Symbol("id"), o.id) + OpenAPI.validate_property(ProxyResource, Symbol("name"), o.name) + OpenAPI.validate_property(ProxyResource, Symbol("type"), o.type) +end + +function OpenAPI.validate_property(::Type{ ProxyResource }, name::Symbol, val) + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_PublicNetworkAccess.jl b/src/Storage/StorageManagementClient/src/models/model_PublicNetworkAccess.jl new file mode 100644 index 0000000..846ec32 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_PublicNetworkAccess.jl @@ -0,0 +1,9 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +if !isdefined(@__MODULE__, :PublicNetworkAccess) + const PublicNetworkAccess = String +else + @warn("Skipping redefinition of PublicNetworkAccess to String") +end diff --git a/src/Storage/StorageManagementClient/src/models/model_Resource.jl b/src/Storage/StorageManagementClient/src/models/model_Resource.jl index 768af88..8ee0f4d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Resource.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Resource.jl @@ -3,6 +3,7 @@ @doc raw"""Resource +Common fields that are returned in the response for all Azure Resource Manager resources Resource(; id=nothing, @@ -10,9 +11,9 @@ type=nothing, ) - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel id::Union{Nothing, String} = nothing @@ -20,19 +21,27 @@ Base.@kwdef mutable struct Resource <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function Resource(id, name, type, ) - OpenAPI.validate_property(Resource, Symbol("id"), id) - OpenAPI.validate_property(Resource, Symbol("name"), name) - OpenAPI.validate_property(Resource, Symbol("type"), type) - return new(id, name, type, ) + o = new(id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type Resource const _property_types_Resource = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ Resource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Resource[name]))} -function check_required(o::Resource) +function OpenAPI.check_required(o::Resource) true end +function OpenAPI.validate_properties(o::Resource) + OpenAPI.validate_property(Resource, Symbol("id"), o.id) + OpenAPI.validate_property(Resource, Symbol("name"), o.name) + OpenAPI.validate_property(Resource, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ Resource }, name::Symbol, val) + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ResourceAccessRule.jl b/src/Storage/StorageManagementClient/src/models/model_ResourceAccessRule.jl new file mode 100644 index 0000000..c8b199c --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_ResourceAccessRule.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""ResourceAccessRule +Resource Access Rule. + + ResourceAccessRule(; + tenantId=nothing, + resourceId=nothing, + ) + + - tenantId::String : Tenant Id + - resourceId::String : Resource Id +""" +Base.@kwdef mutable struct ResourceAccessRule <: OpenAPI.APIModel + tenantId::Union{Nothing, String} = nothing + resourceId::Union{Nothing, String} = nothing + + function ResourceAccessRule(tenantId, resourceId, ) + o = new(tenantId, resourceId, ) + OpenAPI.validate_properties(o) + return o + end +end # type ResourceAccessRule + +const _property_types_ResourceAccessRule = Dict{Symbol,String}(Symbol("tenantId")=>"String", Symbol("resourceId")=>"String", ) +OpenAPI.property_type(::Type{ ResourceAccessRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ResourceAccessRule[name]))} + +function OpenAPI.check_required(o::ResourceAccessRule) + true +end + +function OpenAPI.validate_properties(o::ResourceAccessRule) + OpenAPI.validate_property(ResourceAccessRule, Symbol("tenantId"), o.tenantId) + OpenAPI.validate_property(ResourceAccessRule, Symbol("resourceId"), o.resourceId) +end + +function OpenAPI.validate_property(::Type{ ResourceAccessRule }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_Restriction.jl b/src/Storage/StorageManagementClient/src/models/model_Restriction.jl index 95c2ce5..64a21be 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Restriction.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Restriction.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct Restriction <: OpenAPI.APIModel reasonCode::Union{Nothing, String} = nothing function Restriction(type, values, reasonCode, ) - OpenAPI.validate_property(Restriction, Symbol("type"), type) - OpenAPI.validate_property(Restriction, Symbol("values"), values) - OpenAPI.validate_property(Restriction, Symbol("reasonCode"), reasonCode) - return new(type, values, reasonCode, ) + o = new(type, values, reasonCode, ) + OpenAPI.validate_properties(o) + return o end end # type Restriction const _property_types_Restriction = Dict{Symbol,String}(Symbol("type")=>"String", Symbol("values")=>"Vector{String}", Symbol("reasonCode")=>"String", ) OpenAPI.property_type(::Type{ Restriction }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Restriction[name]))} -function check_required(o::Restriction) +function OpenAPI.check_required(o::Restriction) true end +function OpenAPI.validate_properties(o::Restriction) + OpenAPI.validate_property(Restriction, Symbol("type"), o.type) + OpenAPI.validate_property(Restriction, Symbol("values"), o.values) + OpenAPI.validate_property(Restriction, Symbol("reasonCode"), o.reasonCode) +end + function OpenAPI.validate_property(::Type{ Restriction }, name::Symbol, val) + + + if name === Symbol("reasonCode") OpenAPI.validate_param(name, "Restriction", :enum, val, ["QuotaId", "NotAvailableForSubscription"]) end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_RoutingPreference.jl b/src/Storage/StorageManagementClient/src/models/model_RoutingPreference.jl index 54ad11f..bf7fc63 100644 --- a/src/Storage/StorageManagementClient/src/models/model_RoutingPreference.jl +++ b/src/Storage/StorageManagementClient/src/models/model_RoutingPreference.jl @@ -21,22 +21,31 @@ Base.@kwdef mutable struct RoutingPreference <: OpenAPI.APIModel publishInternetEndpoints::Union{Nothing, Bool} = nothing function RoutingPreference(routingChoice, publishMicrosoftEndpoints, publishInternetEndpoints, ) - OpenAPI.validate_property(RoutingPreference, Symbol("routingChoice"), routingChoice) - OpenAPI.validate_property(RoutingPreference, Symbol("publishMicrosoftEndpoints"), publishMicrosoftEndpoints) - OpenAPI.validate_property(RoutingPreference, Symbol("publishInternetEndpoints"), publishInternetEndpoints) - return new(routingChoice, publishMicrosoftEndpoints, publishInternetEndpoints, ) + o = new(routingChoice, publishMicrosoftEndpoints, publishInternetEndpoints, ) + OpenAPI.validate_properties(o) + return o end end # type RoutingPreference const _property_types_RoutingPreference = Dict{Symbol,String}(Symbol("routingChoice")=>"String", Symbol("publishMicrosoftEndpoints")=>"Bool", Symbol("publishInternetEndpoints")=>"Bool", ) OpenAPI.property_type(::Type{ RoutingPreference }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_RoutingPreference[name]))} -function check_required(o::RoutingPreference) +function OpenAPI.check_required(o::RoutingPreference) true end +function OpenAPI.validate_properties(o::RoutingPreference) + OpenAPI.validate_property(RoutingPreference, Symbol("routingChoice"), o.routingChoice) + OpenAPI.validate_property(RoutingPreference, Symbol("publishMicrosoftEndpoints"), o.publishMicrosoftEndpoints) + OpenAPI.validate_property(RoutingPreference, Symbol("publishInternetEndpoints"), o.publishInternetEndpoints) +end + function OpenAPI.validate_property(::Type{ RoutingPreference }, name::Symbol, val) + if name === Symbol("routingChoice") OpenAPI.validate_param(name, "RoutingPreference", :enum, val, ["MicrosoftRouting", "InternetRouting"]) end + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_SKUCapability.jl b/src/Storage/StorageManagementClient/src/models/model_SKUCapability.jl index 00c9c7f..89ff1f3 100644 --- a/src/Storage/StorageManagementClient/src/models/model_SKUCapability.jl +++ b/src/Storage/StorageManagementClient/src/models/model_SKUCapability.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct SKUCapability <: OpenAPI.APIModel value::Union{Nothing, String} = nothing function SKUCapability(name, value, ) - OpenAPI.validate_property(SKUCapability, Symbol("name"), name) - OpenAPI.validate_property(SKUCapability, Symbol("value"), value) - return new(name, value, ) + o = new(name, value, ) + OpenAPI.validate_properties(o) + return o end end # type SKUCapability const _property_types_SKUCapability = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("value")=>"String", ) OpenAPI.property_type(::Type{ SKUCapability }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SKUCapability[name]))} -function check_required(o::SKUCapability) +function OpenAPI.check_required(o::SKUCapability) true end +function OpenAPI.validate_properties(o::SKUCapability) + OpenAPI.validate_property(SKUCapability, Symbol("name"), o.name) + OpenAPI.validate_property(SKUCapability, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ SKUCapability }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_SasPolicy.jl b/src/Storage/StorageManagementClient/src/models/model_SasPolicy.jl new file mode 100644 index 0000000..ea0cb5f --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_SasPolicy.jl @@ -0,0 +1,48 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SasPolicy +SasPolicy assigned to the storage account. + + SasPolicy(; + sasExpirationPeriod=nothing, + expirationAction="Log", + ) + + - sasExpirationPeriod::String : The SAS expiration period, DD.HH:MM:SS. + - expirationAction::String : The SAS Expiration Action defines the action to be performed when sasPolicy.sasExpirationPeriod is violated. The 'Log' action can be used for audit purposes and the 'Block' action can be used to block and deny the usage of SAS tokens that do not adhere to the sas policy expiration period. +""" +Base.@kwdef mutable struct SasPolicy <: OpenAPI.APIModel + sasExpirationPeriod::Union{Nothing, String} = nothing + expirationAction::Union{Nothing, String} = "Log" + + function SasPolicy(sasExpirationPeriod, expirationAction, ) + o = new(sasExpirationPeriod, expirationAction, ) + OpenAPI.validate_properties(o) + return o + end +end # type SasPolicy + +const _property_types_SasPolicy = Dict{Symbol,String}(Symbol("sasExpirationPeriod")=>"String", Symbol("expirationAction")=>"String", ) +OpenAPI.property_type(::Type{ SasPolicy }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SasPolicy[name]))} + +function OpenAPI.check_required(o::SasPolicy) + o.sasExpirationPeriod === nothing && (return false) + o.expirationAction === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::SasPolicy) + OpenAPI.validate_property(SasPolicy, Symbol("sasExpirationPeriod"), o.sasExpirationPeriod) + OpenAPI.validate_property(SasPolicy, Symbol("expirationAction"), o.expirationAction) +end + +function OpenAPI.validate_property(::Type{ SasPolicy }, name::Symbol, val) + + + if name === Symbol("expirationAction") + OpenAPI.validate_param(name, "SasPolicy", :enum, val, ["Log", "Block"]) + end + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_ServiceSasParameters.jl b/src/Storage/StorageManagementClient/src/models/model_ServiceSasParameters.jl index f23dd64..186742a 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ServiceSasParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ServiceSasParameters.jl @@ -66,53 +66,79 @@ Base.@kwdef mutable struct ServiceSasParameters <: OpenAPI.APIModel rsct::Union{Nothing, String} = nothing function ServiceSasParameters(canonicalizedResource, signedResource, signedPermission, signedIp, signedProtocol, signedStart, signedExpiry, signedIdentifier, startPk, endPk, startRk, endRk, keyToSign, rscc, rscd, rsce, rscl, rsct, ) - OpenAPI.validate_property(ServiceSasParameters, Symbol("canonicalizedResource"), canonicalizedResource) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedResource"), signedResource) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedPermission"), signedPermission) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedIp"), signedIp) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedProtocol"), signedProtocol) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedStart"), signedStart) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedExpiry"), signedExpiry) - OpenAPI.validate_property(ServiceSasParameters, Symbol("signedIdentifier"), signedIdentifier) - OpenAPI.validate_property(ServiceSasParameters, Symbol("startPk"), startPk) - OpenAPI.validate_property(ServiceSasParameters, Symbol("endPk"), endPk) - OpenAPI.validate_property(ServiceSasParameters, Symbol("startRk"), startRk) - OpenAPI.validate_property(ServiceSasParameters, Symbol("endRk"), endRk) - OpenAPI.validate_property(ServiceSasParameters, Symbol("keyToSign"), keyToSign) - OpenAPI.validate_property(ServiceSasParameters, Symbol("rscc"), rscc) - OpenAPI.validate_property(ServiceSasParameters, Symbol("rscd"), rscd) - OpenAPI.validate_property(ServiceSasParameters, Symbol("rsce"), rsce) - OpenAPI.validate_property(ServiceSasParameters, Symbol("rscl"), rscl) - OpenAPI.validate_property(ServiceSasParameters, Symbol("rsct"), rsct) - return new(canonicalizedResource, signedResource, signedPermission, signedIp, signedProtocol, signedStart, signedExpiry, signedIdentifier, startPk, endPk, startRk, endRk, keyToSign, rscc, rscd, rsce, rscl, rsct, ) + o = new(canonicalizedResource, signedResource, signedPermission, signedIp, signedProtocol, signedStart, signedExpiry, signedIdentifier, startPk, endPk, startRk, endRk, keyToSign, rscc, rscd, rsce, rscl, rsct, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceSasParameters const _property_types_ServiceSasParameters = Dict{Symbol,String}(Symbol("canonicalizedResource")=>"String", Symbol("signedResource")=>"String", Symbol("signedPermission")=>"String", Symbol("signedIp")=>"String", Symbol("signedProtocol")=>"String", Symbol("signedStart")=>"ZonedDateTime", Symbol("signedExpiry")=>"ZonedDateTime", Symbol("signedIdentifier")=>"String", Symbol("startPk")=>"String", Symbol("endPk")=>"String", Symbol("startRk")=>"String", Symbol("endRk")=>"String", Symbol("keyToSign")=>"String", Symbol("rscc")=>"String", Symbol("rscd")=>"String", Symbol("rsce")=>"String", Symbol("rscl")=>"String", Symbol("rsct")=>"String", ) OpenAPI.property_type(::Type{ ServiceSasParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceSasParameters[name]))} -function check_required(o::ServiceSasParameters) +function OpenAPI.check_required(o::ServiceSasParameters) o.canonicalizedResource === nothing && (return false) true end +function OpenAPI.validate_properties(o::ServiceSasParameters) + OpenAPI.validate_property(ServiceSasParameters, Symbol("canonicalizedResource"), o.canonicalizedResource) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedResource"), o.signedResource) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedPermission"), o.signedPermission) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedIp"), o.signedIp) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedProtocol"), o.signedProtocol) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedStart"), o.signedStart) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedExpiry"), o.signedExpiry) + OpenAPI.validate_property(ServiceSasParameters, Symbol("signedIdentifier"), o.signedIdentifier) + OpenAPI.validate_property(ServiceSasParameters, Symbol("startPk"), o.startPk) + OpenAPI.validate_property(ServiceSasParameters, Symbol("endPk"), o.endPk) + OpenAPI.validate_property(ServiceSasParameters, Symbol("startRk"), o.startRk) + OpenAPI.validate_property(ServiceSasParameters, Symbol("endRk"), o.endRk) + OpenAPI.validate_property(ServiceSasParameters, Symbol("keyToSign"), o.keyToSign) + OpenAPI.validate_property(ServiceSasParameters, Symbol("rscc"), o.rscc) + OpenAPI.validate_property(ServiceSasParameters, Symbol("rscd"), o.rscd) + OpenAPI.validate_property(ServiceSasParameters, Symbol("rsce"), o.rsce) + OpenAPI.validate_property(ServiceSasParameters, Symbol("rscl"), o.rscl) + OpenAPI.validate_property(ServiceSasParameters, Symbol("rsct"), o.rsct) +end + function OpenAPI.validate_property(::Type{ ServiceSasParameters }, name::Symbol, val) + + if name === Symbol("signedResource") OpenAPI.validate_param(name, "ServiceSasParameters", :enum, val, ["b", "c", "f", "s"]) end + + if name === Symbol("signedPermission") OpenAPI.validate_param(name, "ServiceSasParameters", :enum, val, ["r", "d", "w", "l", "a", "c", "u", "p"]) end + + + if name === Symbol("signedProtocol") OpenAPI.validate_param(name, "ServiceSasParameters", :enum, val, ["https,http", "https"]) end + + if name === Symbol("signedStart") OpenAPI.validate_param(name, "ServiceSasParameters", :format, val, "date-time") end + if name === Symbol("signedExpiry") OpenAPI.validate_param(name, "ServiceSasParameters", :format, val, "date-time") end + if name === Symbol("signedIdentifier") OpenAPI.validate_param(name, "ServiceSasParameters", :maxLength, val, 64) end + + + + + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_ServiceSpecification.jl b/src/Storage/StorageManagementClient/src/models/model_ServiceSpecification.jl index c96e483..1460647 100644 --- a/src/Storage/StorageManagementClient/src/models/model_ServiceSpecification.jl +++ b/src/Storage/StorageManagementClient/src/models/model_ServiceSpecification.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct ServiceSpecification <: OpenAPI.APIModel metricSpecifications::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{MetricSpecification} } function ServiceSpecification(metricSpecifications, ) - OpenAPI.validate_property(ServiceSpecification, Symbol("metricSpecifications"), metricSpecifications) - return new(metricSpecifications, ) + o = new(metricSpecifications, ) + OpenAPI.validate_properties(o) + return o end end # type ServiceSpecification const _property_types_ServiceSpecification = Dict{Symbol,String}(Symbol("metricSpecifications")=>"Vector{MetricSpecification}", ) OpenAPI.property_type(::Type{ ServiceSpecification }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_ServiceSpecification[name]))} -function check_required(o::ServiceSpecification) +function OpenAPI.check_required(o::ServiceSpecification) true end +function OpenAPI.validate_properties(o::ServiceSpecification) + OpenAPI.validate_property(ServiceSpecification, Symbol("metricSpecifications"), o.metricSpecifications) +end + function OpenAPI.validate_property(::Type{ ServiceSpecification }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_Sku.jl b/src/Storage/StorageManagementClient/src/models/model_Sku.jl index 616f596..0a54767 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Sku.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Sku.jl @@ -18,19 +18,26 @@ Base.@kwdef mutable struct Sku <: OpenAPI.APIModel tier = nothing # spec type: Union{ Nothing, Tier } function Sku(name, tier, ) - OpenAPI.validate_property(Sku, Symbol("name"), name) - OpenAPI.validate_property(Sku, Symbol("tier"), tier) - return new(name, tier, ) + o = new(name, tier, ) + OpenAPI.validate_properties(o) + return o end end # type Sku const _property_types_Sku = Dict{Symbol,String}(Symbol("name")=>"SkuName", Symbol("tier")=>"Tier", ) OpenAPI.property_type(::Type{ Sku }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Sku[name]))} -function check_required(o::Sku) +function OpenAPI.check_required(o::Sku) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::Sku) + OpenAPI.validate_property(Sku, Symbol("name"), o.name) + OpenAPI.validate_property(Sku, Symbol("tier"), o.tier) +end + function OpenAPI.validate_property(::Type{ Sku }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_SkuInformation.jl b/src/Storage/StorageManagementClient/src/models/model_SkuInformation.jl index c3776ae..4456900 100644 --- a/src/Storage/StorageManagementClient/src/models/model_SkuInformation.jl +++ b/src/Storage/StorageManagementClient/src/models/model_SkuInformation.jl @@ -11,6 +11,7 @@ Storage SKU and its properties resourceType=nothing, kind=nothing, locations=nothing, + locationInfo=nothing, capabilities=nothing, restrictions=nothing, ) @@ -20,6 +21,7 @@ Storage SKU and its properties - resourceType::String : The type of the resource, usually it is 'storageAccounts'. - kind::String : Indicates the type of storage account. - locations::Vector{String} : The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). + - locationInfo::Vector{SkuInformationLocationInfoInner} - capabilities::Vector{SKUCapability} : The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc. - restrictions::Vector{Restriction} : The restrictions because of which SKU cannot be used. This is empty if there are no restrictions. """ @@ -29,31 +31,47 @@ Base.@kwdef mutable struct SkuInformation <: OpenAPI.APIModel resourceType::Union{Nothing, String} = nothing kind::Union{Nothing, String} = nothing locations::Union{Nothing, Vector{String}} = nothing + locationInfo::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SkuInformationLocationInfoInner} } capabilities::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SKUCapability} } restrictions::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Restriction} } - function SkuInformation(name, tier, resourceType, kind, locations, capabilities, restrictions, ) - OpenAPI.validate_property(SkuInformation, Symbol("name"), name) - OpenAPI.validate_property(SkuInformation, Symbol("tier"), tier) - OpenAPI.validate_property(SkuInformation, Symbol("resourceType"), resourceType) - OpenAPI.validate_property(SkuInformation, Symbol("kind"), kind) - OpenAPI.validate_property(SkuInformation, Symbol("locations"), locations) - OpenAPI.validate_property(SkuInformation, Symbol("capabilities"), capabilities) - OpenAPI.validate_property(SkuInformation, Symbol("restrictions"), restrictions) - return new(name, tier, resourceType, kind, locations, capabilities, restrictions, ) + function SkuInformation(name, tier, resourceType, kind, locations, locationInfo, capabilities, restrictions, ) + o = new(name, tier, resourceType, kind, locations, locationInfo, capabilities, restrictions, ) + OpenAPI.validate_properties(o) + return o end end # type SkuInformation -const _property_types_SkuInformation = Dict{Symbol,String}(Symbol("name")=>"SkuName", Symbol("tier")=>"Tier", Symbol("resourceType")=>"String", Symbol("kind")=>"String", Symbol("locations")=>"Vector{String}", Symbol("capabilities")=>"Vector{SKUCapability}", Symbol("restrictions")=>"Vector{Restriction}", ) +const _property_types_SkuInformation = Dict{Symbol,String}(Symbol("name")=>"SkuName", Symbol("tier")=>"Tier", Symbol("resourceType")=>"String", Symbol("kind")=>"String", Symbol("locations")=>"Vector{String}", Symbol("locationInfo")=>"Vector{SkuInformationLocationInfoInner}", Symbol("capabilities")=>"Vector{SKUCapability}", Symbol("restrictions")=>"Vector{Restriction}", ) OpenAPI.property_type(::Type{ SkuInformation }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SkuInformation[name]))} -function check_required(o::SkuInformation) +function OpenAPI.check_required(o::SkuInformation) o.name === nothing && (return false) true end +function OpenAPI.validate_properties(o::SkuInformation) + OpenAPI.validate_property(SkuInformation, Symbol("name"), o.name) + OpenAPI.validate_property(SkuInformation, Symbol("tier"), o.tier) + OpenAPI.validate_property(SkuInformation, Symbol("resourceType"), o.resourceType) + OpenAPI.validate_property(SkuInformation, Symbol("kind"), o.kind) + OpenAPI.validate_property(SkuInformation, Symbol("locations"), o.locations) + OpenAPI.validate_property(SkuInformation, Symbol("locationInfo"), o.locationInfo) + OpenAPI.validate_property(SkuInformation, Symbol("capabilities"), o.capabilities) + OpenAPI.validate_property(SkuInformation, Symbol("restrictions"), o.restrictions) +end + function OpenAPI.validate_property(::Type{ SkuInformation }, name::Symbol, val) + + + + if name === Symbol("kind") OpenAPI.validate_param(name, "SkuInformation", :enum, val, ["Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage"]) end + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_SkuInformationLocationInfoInner.jl b/src/Storage/StorageManagementClient/src/models/model_SkuInformationLocationInfoInner.jl new file mode 100644 index 0000000..979bb6d --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_SkuInformationLocationInfoInner.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SkuInformation_locationInfo_inner + + SkuInformationLocationInfoInner(; + location=nothing, + zones=nothing, + ) + + - location::String : Describes the location for the product where storage account resource can be created. + - zones::Vector{String} : Describes the available zones for the product where storage account resource can be created. +""" +Base.@kwdef mutable struct SkuInformationLocationInfoInner <: OpenAPI.APIModel + location::Union{Nothing, String} = nothing + zones::Union{Nothing, Vector{String}} = nothing + + function SkuInformationLocationInfoInner(location, zones, ) + o = new(location, zones, ) + OpenAPI.validate_properties(o) + return o + end +end # type SkuInformationLocationInfoInner + +const _property_types_SkuInformationLocationInfoInner = Dict{Symbol,String}(Symbol("location")=>"String", Symbol("zones")=>"Vector{String}", ) +OpenAPI.property_type(::Type{ SkuInformationLocationInfoInner }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SkuInformationLocationInfoInner[name]))} + +function OpenAPI.check_required(o::SkuInformationLocationInfoInner) + true +end + +function OpenAPI.validate_properties(o::SkuInformationLocationInfoInner) + OpenAPI.validate_property(SkuInformationLocationInfoInner, Symbol("location"), o.location) + OpenAPI.validate_property(SkuInformationLocationInfoInner, Symbol("zones"), o.zones) +end + +function OpenAPI.validate_property(::Type{ SkuInformationLocationInfoInner }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_SmbOAuthSettings.jl b/src/Storage/StorageManagementClient/src/models/model_SmbOAuthSettings.jl new file mode 100644 index 0000000..2951549 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_SmbOAuthSettings.jl @@ -0,0 +1,37 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SmbOAuthSettings +Setting property for Managed Identity access over SMB using OAuth + + SmbOAuthSettings(; + isSmbOAuthEnabled=nothing, + ) + + - isSmbOAuthEnabled::Bool : Specifies if managed identities can access SMB shares using OAuth. The default interpretation is false for this property. +""" +Base.@kwdef mutable struct SmbOAuthSettings <: OpenAPI.APIModel + isSmbOAuthEnabled::Union{Nothing, Bool} = nothing + + function SmbOAuthSettings(isSmbOAuthEnabled, ) + o = new(isSmbOAuthEnabled, ) + OpenAPI.validate_properties(o) + return o + end +end # type SmbOAuthSettings + +const _property_types_SmbOAuthSettings = Dict{Symbol,String}(Symbol("isSmbOAuthEnabled")=>"Bool", ) +OpenAPI.property_type(::Type{ SmbOAuthSettings }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SmbOAuthSettings[name]))} + +function OpenAPI.check_required(o::SmbOAuthSettings) + true +end + +function OpenAPI.validate_properties(o::SmbOAuthSettings) + OpenAPI.validate_property(SmbOAuthSettings, Symbol("isSmbOAuthEnabled"), o.isSmbOAuthEnabled) +end + +function OpenAPI.validate_property(::Type{ SmbOAuthSettings }, name::Symbol, val) + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_SshPublicKey.jl b/src/Storage/StorageManagementClient/src/models/model_SshPublicKey.jl new file mode 100644 index 0000000..40a6890 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_SshPublicKey.jl @@ -0,0 +1,41 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""SshPublicKey + + SshPublicKey(; + description=nothing, + key=nothing, + ) + + - description::String : Optional. It is used to store the function/usage of the key + - key::String : Ssh public key base64 encoded. The format should be: '<keyType> <keyData>', e.g. ssh-rsa AAAABBBB +""" +Base.@kwdef mutable struct SshPublicKey <: OpenAPI.APIModel + description::Union{Nothing, String} = nothing + key::Union{Nothing, String} = nothing + + function SshPublicKey(description, key, ) + o = new(description, key, ) + OpenAPI.validate_properties(o) + return o + end +end # type SshPublicKey + +const _property_types_SshPublicKey = Dict{Symbol,String}(Symbol("description")=>"String", Symbol("key")=>"String", ) +OpenAPI.property_type(::Type{ SshPublicKey }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SshPublicKey[name]))} + +function OpenAPI.check_required(o::SshPublicKey) + true +end + +function OpenAPI.validate_properties(o::SshPublicKey) + OpenAPI.validate_property(SshPublicKey, Symbol("description"), o.description) + OpenAPI.validate_property(SshPublicKey, Symbol("key"), o.key) +end + +function OpenAPI.validate_property(::Type{ SshPublicKey }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccount.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccount.jl index 0d71c9f..3bd6978 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccount.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccount.jl @@ -9,50 +9,89 @@ The storage account. sku=nothing, kind=nothing, identity=nothing, + extendedLocation=nothing, + zones=nothing, + placement=nothing, properties=nothing, + tags=nothing, + location=nothing, id=nothing, name=nothing, type=nothing, ) - - sku::Any + - sku::Sku - kind::String : Gets the Kind. - identity::Identity + - extendedLocation::ExtendedLocation + - zones::Vector{String} : Optional. Gets or sets the pinned logical availability zone for the storage account. + - placement::Placement - properties::StorageAccountProperties - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - tags::Dict{String, String} : Resource tags. + - location::String : The geo-location where the resource lives + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct StorageAccount <: OpenAPI.APIModel - sku::Union{Nothing, Any} = nothing + sku = nothing # spec type: Union{ Nothing, Sku } kind::Union{Nothing, String} = nothing identity = nothing # spec type: Union{ Nothing, Identity } + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + zones::Union{Nothing, Vector{String}} = nothing + placement = nothing # spec type: Union{ Nothing, Placement } properties = nothing # spec type: Union{ Nothing, StorageAccountProperties } + tags::Union{Nothing, Dict{String, String}} = nothing + location::Union{Nothing, String} = nothing id::Union{Nothing, String} = nothing name::Union{Nothing, String} = nothing type::Union{Nothing, String} = nothing - function StorageAccount(sku, kind, identity, properties, id, name, type, ) - OpenAPI.validate_property(StorageAccount, Symbol("sku"), sku) - OpenAPI.validate_property(StorageAccount, Symbol("kind"), kind) - OpenAPI.validate_property(StorageAccount, Symbol("identity"), identity) - OpenAPI.validate_property(StorageAccount, Symbol("properties"), properties) - OpenAPI.validate_property(StorageAccount, Symbol("id"), id) - OpenAPI.validate_property(StorageAccount, Symbol("name"), name) - OpenAPI.validate_property(StorageAccount, Symbol("type"), type) - return new(sku, kind, identity, properties, id, name, type, ) + function StorageAccount(sku, kind, identity, extendedLocation, zones, placement, properties, tags, location, id, name, type, ) + o = new(sku, kind, identity, extendedLocation, zones, placement, properties, tags, location, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccount -const _property_types_StorageAccount = Dict{Symbol,String}(Symbol("sku")=>"Any", Symbol("kind")=>"String", Symbol("identity")=>"Identity", Symbol("properties")=>"StorageAccountProperties", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) +const _property_types_StorageAccount = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("kind")=>"String", Symbol("identity")=>"Identity", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("zones")=>"Vector{String}", Symbol("placement")=>"Placement", Symbol("properties")=>"StorageAccountProperties", Symbol("tags")=>"Dict{String, String}", Symbol("location")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ StorageAccount }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccount[name]))} -function check_required(o::StorageAccount) +function OpenAPI.check_required(o::StorageAccount) + o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::StorageAccount) + OpenAPI.validate_property(StorageAccount, Symbol("sku"), o.sku) + OpenAPI.validate_property(StorageAccount, Symbol("kind"), o.kind) + OpenAPI.validate_property(StorageAccount, Symbol("identity"), o.identity) + OpenAPI.validate_property(StorageAccount, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(StorageAccount, Symbol("zones"), o.zones) + OpenAPI.validate_property(StorageAccount, Symbol("placement"), o.placement) + OpenAPI.validate_property(StorageAccount, Symbol("properties"), o.properties) + OpenAPI.validate_property(StorageAccount, Symbol("tags"), o.tags) + OpenAPI.validate_property(StorageAccount, Symbol("location"), o.location) + OpenAPI.validate_property(StorageAccount, Symbol("id"), o.id) + OpenAPI.validate_property(StorageAccount, Symbol("name"), o.name) + OpenAPI.validate_property(StorageAccount, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ StorageAccount }, name::Symbol, val) + + if name === Symbol("kind") OpenAPI.validate_param(name, "StorageAccount", :enum, val, ["Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage"]) end + + + + + + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountCheckNameAvailabilityParameters.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountCheckNameAvailabilityParameters.jl index d14cc53..5560048 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountCheckNameAvailabilityParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountCheckNameAvailabilityParameters.jl @@ -18,23 +18,31 @@ Base.@kwdef mutable struct StorageAccountCheckNameAvailabilityParameters <: Open type::Union{Nothing, String} = nothing function StorageAccountCheckNameAvailabilityParameters(name, type, ) - OpenAPI.validate_property(StorageAccountCheckNameAvailabilityParameters, Symbol("name"), name) - OpenAPI.validate_property(StorageAccountCheckNameAvailabilityParameters, Symbol("type"), type) - return new(name, type, ) + o = new(name, type, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountCheckNameAvailabilityParameters const _property_types_StorageAccountCheckNameAvailabilityParameters = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountCheckNameAvailabilityParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountCheckNameAvailabilityParameters[name]))} -function check_required(o::StorageAccountCheckNameAvailabilityParameters) +function OpenAPI.check_required(o::StorageAccountCheckNameAvailabilityParameters) o.name === nothing && (return false) o.type === nothing && (return false) true end +function OpenAPI.validate_properties(o::StorageAccountCheckNameAvailabilityParameters) + OpenAPI.validate_property(StorageAccountCheckNameAvailabilityParameters, Symbol("name"), o.name) + OpenAPI.validate_property(StorageAccountCheckNameAvailabilityParameters, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ StorageAccountCheckNameAvailabilityParameters }, name::Symbol, val) + + if name === Symbol("type") OpenAPI.validate_param(name, "StorageAccountCheckNameAvailabilityParameters", :enum, val, ["Microsoft.Storage/storageAccounts"]) end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountCreateParameters.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountCreateParameters.jl index 3770ca8..b2b3426 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountCreateParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountCreateParameters.jl @@ -9,6 +9,9 @@ The parameters used when creating a storage account. sku=nothing, kind=nothing, location=nothing, + extendedLocation=nothing, + zones=nothing, + placement=nothing, tags=nothing, identity=nothing, properties=nothing, @@ -17,6 +20,9 @@ The parameters used when creating a storage account. - sku::Sku - kind::String : Required. Indicates the type of storage account. - location::String : Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed. + - extendedLocation::ExtendedLocation + - zones::Vector{String} : Optional. Gets or sets the pinned logical availability zone for the storage account. + - placement::Placement - tags::Dict{String, String} : Gets or sets a list of key value pairs that describe the resource. These tags can be used for viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key with a length no greater than 128 characters and a value with a length no greater than 256 characters. - identity::Identity - properties::StorageAccountPropertiesCreateParameters @@ -25,33 +31,54 @@ Base.@kwdef mutable struct StorageAccountCreateParameters <: OpenAPI.APIModel sku = nothing # spec type: Union{ Nothing, Sku } kind::Union{Nothing, String} = nothing location::Union{Nothing, String} = nothing + extendedLocation = nothing # spec type: Union{ Nothing, ExtendedLocation } + zones::Union{Nothing, Vector{String}} = nothing + placement = nothing # spec type: Union{ Nothing, Placement } tags::Union{Nothing, Dict{String, String}} = nothing identity = nothing # spec type: Union{ Nothing, Identity } properties = nothing # spec type: Union{ Nothing, StorageAccountPropertiesCreateParameters } - function StorageAccountCreateParameters(sku, kind, location, tags, identity, properties, ) - OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("sku"), sku) - OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("kind"), kind) - OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("location"), location) - OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("tags"), tags) - OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("identity"), identity) - OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("properties"), properties) - return new(sku, kind, location, tags, identity, properties, ) + function StorageAccountCreateParameters(sku, kind, location, extendedLocation, zones, placement, tags, identity, properties, ) + o = new(sku, kind, location, extendedLocation, zones, placement, tags, identity, properties, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountCreateParameters -const _property_types_StorageAccountCreateParameters = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("kind")=>"String", Symbol("location")=>"String", Symbol("tags")=>"Dict{String, String}", Symbol("identity")=>"Identity", Symbol("properties")=>"StorageAccountPropertiesCreateParameters", ) +const _property_types_StorageAccountCreateParameters = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("kind")=>"String", Symbol("location")=>"String", Symbol("extendedLocation")=>"ExtendedLocation", Symbol("zones")=>"Vector{String}", Symbol("placement")=>"Placement", Symbol("tags")=>"Dict{String, String}", Symbol("identity")=>"Identity", Symbol("properties")=>"StorageAccountPropertiesCreateParameters", ) OpenAPI.property_type(::Type{ StorageAccountCreateParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountCreateParameters[name]))} -function check_required(o::StorageAccountCreateParameters) +function OpenAPI.check_required(o::StorageAccountCreateParameters) o.sku === nothing && (return false) o.kind === nothing && (return false) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::StorageAccountCreateParameters) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("sku"), o.sku) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("kind"), o.kind) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("location"), o.location) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("extendedLocation"), o.extendedLocation) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("zones"), o.zones) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("placement"), o.placement) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("tags"), o.tags) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("identity"), o.identity) + OpenAPI.validate_property(StorageAccountCreateParameters, Symbol("properties"), o.properties) +end + function OpenAPI.validate_property(::Type{ StorageAccountCreateParameters }, name::Symbol, val) + + if name === Symbol("kind") OpenAPI.validate_param(name, "StorageAccountCreateParameters", :enum, val, ["Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage"]) end + + + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountInternetEndpoints.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountInternetEndpoints.jl index 755b6c2..ea53acc 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountInternetEndpoints.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountInternetEndpoints.jl @@ -24,20 +24,29 @@ Base.@kwdef mutable struct StorageAccountInternetEndpoints <: OpenAPI.APIModel dfs::Union{Nothing, String} = nothing function StorageAccountInternetEndpoints(blob, file, web, dfs, ) - OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("blob"), blob) - OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("file"), file) - OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("web"), web) - OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("dfs"), dfs) - return new(blob, file, web, dfs, ) + o = new(blob, file, web, dfs, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountInternetEndpoints const _property_types_StorageAccountInternetEndpoints = Dict{Symbol,String}(Symbol("blob")=>"String", Symbol("file")=>"String", Symbol("web")=>"String", Symbol("dfs")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountInternetEndpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountInternetEndpoints[name]))} -function check_required(o::StorageAccountInternetEndpoints) +function OpenAPI.check_required(o::StorageAccountInternetEndpoints) true end +function OpenAPI.validate_properties(o::StorageAccountInternetEndpoints) + OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("blob"), o.blob) + OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("file"), o.file) + OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("web"), o.web) + OpenAPI.validate_property(StorageAccountInternetEndpoints, Symbol("dfs"), o.dfs) +end + function OpenAPI.validate_property(::Type{ StorageAccountInternetEndpoints }, name::Symbol, val) + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountIpv6Endpoints.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountIpv6Endpoints.jl new file mode 100644 index 0000000..658c326 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountIpv6Endpoints.jl @@ -0,0 +1,72 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""StorageAccountIpv6Endpoints +The URIs that are used to perform a retrieval of a public blob, queue, table, web or dfs object via an IPv6 endpoint. + + StorageAccountIpv6Endpoints(; + blob=nothing, + queue=nothing, + table=nothing, + file=nothing, + web=nothing, + dfs=nothing, + microsoftEndpoints=nothing, + internetEndpoints=nothing, + ) + + - blob::String : Gets the blob endpoint. + - queue::String : Gets the queue endpoint. + - table::String : Gets the table endpoint. + - file::String : Gets the file endpoint. + - web::String : Gets the web endpoint. + - dfs::String : Gets the dfs endpoint. + - microsoftEndpoints::StorageAccountMicrosoftEndpoints + - internetEndpoints::StorageAccountInternetEndpoints +""" +Base.@kwdef mutable struct StorageAccountIpv6Endpoints <: OpenAPI.APIModel + blob::Union{Nothing, String} = nothing + queue::Union{Nothing, String} = nothing + table::Union{Nothing, String} = nothing + file::Union{Nothing, String} = nothing + web::Union{Nothing, String} = nothing + dfs::Union{Nothing, String} = nothing + microsoftEndpoints = nothing # spec type: Union{ Nothing, StorageAccountMicrosoftEndpoints } + internetEndpoints = nothing # spec type: Union{ Nothing, StorageAccountInternetEndpoints } + + function StorageAccountIpv6Endpoints(blob, queue, table, file, web, dfs, microsoftEndpoints, internetEndpoints, ) + o = new(blob, queue, table, file, web, dfs, microsoftEndpoints, internetEndpoints, ) + OpenAPI.validate_properties(o) + return o + end +end # type StorageAccountIpv6Endpoints + +const _property_types_StorageAccountIpv6Endpoints = Dict{Symbol,String}(Symbol("blob")=>"String", Symbol("queue")=>"String", Symbol("table")=>"String", Symbol("file")=>"String", Symbol("web")=>"String", Symbol("dfs")=>"String", Symbol("microsoftEndpoints")=>"StorageAccountMicrosoftEndpoints", Symbol("internetEndpoints")=>"StorageAccountInternetEndpoints", ) +OpenAPI.property_type(::Type{ StorageAccountIpv6Endpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountIpv6Endpoints[name]))} + +function OpenAPI.check_required(o::StorageAccountIpv6Endpoints) + true +end + +function OpenAPI.validate_properties(o::StorageAccountIpv6Endpoints) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("blob"), o.blob) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("queue"), o.queue) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("table"), o.table) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("file"), o.file) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("web"), o.web) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("dfs"), o.dfs) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("microsoftEndpoints"), o.microsoftEndpoints) + OpenAPI.validate_property(StorageAccountIpv6Endpoints, Symbol("internetEndpoints"), o.internetEndpoints) +end + +function OpenAPI.validate_property(::Type{ StorageAccountIpv6Endpoints }, name::Symbol, val) + + + + + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountKey.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountKey.jl index c736d94..b12a569 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountKey.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountKey.jl @@ -9,34 +9,51 @@ An access key for the storage account. keyName=nothing, value=nothing, permissions=nothing, + creationTime=nothing, ) - keyName::String : Name of the key. - value::String : Base 64-encoded value of the key. - permissions::String : Permissions for the key -- read-only or full permissions. + - creationTime::ZonedDateTime : Creation time of the key, in round trip date format. """ Base.@kwdef mutable struct StorageAccountKey <: OpenAPI.APIModel keyName::Union{Nothing, String} = nothing value::Union{Nothing, String} = nothing permissions::Union{Nothing, String} = nothing + creationTime::Union{Nothing, ZonedDateTime} = nothing - function StorageAccountKey(keyName, value, permissions, ) - OpenAPI.validate_property(StorageAccountKey, Symbol("keyName"), keyName) - OpenAPI.validate_property(StorageAccountKey, Symbol("value"), value) - OpenAPI.validate_property(StorageAccountKey, Symbol("permissions"), permissions) - return new(keyName, value, permissions, ) + function StorageAccountKey(keyName, value, permissions, creationTime, ) + o = new(keyName, value, permissions, creationTime, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountKey -const _property_types_StorageAccountKey = Dict{Symbol,String}(Symbol("keyName")=>"String", Symbol("value")=>"String", Symbol("permissions")=>"String", ) +const _property_types_StorageAccountKey = Dict{Symbol,String}(Symbol("keyName")=>"String", Symbol("value")=>"String", Symbol("permissions")=>"String", Symbol("creationTime")=>"ZonedDateTime", ) OpenAPI.property_type(::Type{ StorageAccountKey }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountKey[name]))} -function check_required(o::StorageAccountKey) +function OpenAPI.check_required(o::StorageAccountKey) true end +function OpenAPI.validate_properties(o::StorageAccountKey) + OpenAPI.validate_property(StorageAccountKey, Symbol("keyName"), o.keyName) + OpenAPI.validate_property(StorageAccountKey, Symbol("value"), o.value) + OpenAPI.validate_property(StorageAccountKey, Symbol("permissions"), o.permissions) + OpenAPI.validate_property(StorageAccountKey, Symbol("creationTime"), o.creationTime) +end + function OpenAPI.validate_property(::Type{ StorageAccountKey }, name::Symbol, val) + + + if name === Symbol("permissions") OpenAPI.validate_param(name, "StorageAccountKey", :enum, val, ["Read", "Full"]) end + + + if name === Symbol("creationTime") + OpenAPI.validate_param(name, "StorageAccountKey", :format, val, "date-time") + end end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountListKeysResult.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountListKeysResult.jl index 04431c5..cbc3090 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountListKeysResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountListKeysResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct StorageAccountListKeysResult <: OpenAPI.APIModel keys::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{StorageAccountKey} } function StorageAccountListKeysResult(keys, ) - OpenAPI.validate_property(StorageAccountListKeysResult, Symbol("keys"), keys) - return new(keys, ) + o = new(keys, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountListKeysResult const _property_types_StorageAccountListKeysResult = Dict{Symbol,String}(Symbol("keys")=>"Vector{StorageAccountKey}", ) OpenAPI.property_type(::Type{ StorageAccountListKeysResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountListKeysResult[name]))} -function check_required(o::StorageAccountListKeysResult) +function OpenAPI.check_required(o::StorageAccountListKeysResult) true end +function OpenAPI.validate_properties(o::StorageAccountListKeysResult) + OpenAPI.validate_property(StorageAccountListKeysResult, Symbol("keys"), o.keys) +end + function OpenAPI.validate_property(::Type{ StorageAccountListKeysResult }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountListResult.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountListResult.jl index 0bd6034..b188d2a 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountListResult.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct StorageAccountListResult <: OpenAPI.APIModel nextLink::Union{Nothing, String} = nothing function StorageAccountListResult(value, nextLink, ) - OpenAPI.validate_property(StorageAccountListResult, Symbol("value"), value) - OpenAPI.validate_property(StorageAccountListResult, Symbol("nextLink"), nextLink) - return new(value, nextLink, ) + o = new(value, nextLink, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountListResult const _property_types_StorageAccountListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{StorageAccount}", Symbol("nextLink")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountListResult[name]))} -function check_required(o::StorageAccountListResult) +function OpenAPI.check_required(o::StorageAccountListResult) true end +function OpenAPI.validate_properties(o::StorageAccountListResult) + OpenAPI.validate_property(StorageAccountListResult, Symbol("value"), o.value) + OpenAPI.validate_property(StorageAccountListResult, Symbol("nextLink"), o.nextLink) +end + function OpenAPI.validate_property(::Type{ StorageAccountListResult }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountMicrosoftEndpoints.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountMicrosoftEndpoints.jl index 3714db9..995b425 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountMicrosoftEndpoints.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountMicrosoftEndpoints.jl @@ -30,22 +30,33 @@ Base.@kwdef mutable struct StorageAccountMicrosoftEndpoints <: OpenAPI.APIModel dfs::Union{Nothing, String} = nothing function StorageAccountMicrosoftEndpoints(blob, queue, table, file, web, dfs, ) - OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("blob"), blob) - OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("queue"), queue) - OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("table"), table) - OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("file"), file) - OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("web"), web) - OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("dfs"), dfs) - return new(blob, queue, table, file, web, dfs, ) + o = new(blob, queue, table, file, web, dfs, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountMicrosoftEndpoints const _property_types_StorageAccountMicrosoftEndpoints = Dict{Symbol,String}(Symbol("blob")=>"String", Symbol("queue")=>"String", Symbol("table")=>"String", Symbol("file")=>"String", Symbol("web")=>"String", Symbol("dfs")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountMicrosoftEndpoints }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountMicrosoftEndpoints[name]))} -function check_required(o::StorageAccountMicrosoftEndpoints) +function OpenAPI.check_required(o::StorageAccountMicrosoftEndpoints) true end +function OpenAPI.validate_properties(o::StorageAccountMicrosoftEndpoints) + OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("blob"), o.blob) + OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("queue"), o.queue) + OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("table"), o.table) + OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("file"), o.file) + OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("web"), o.web) + OpenAPI.validate_property(StorageAccountMicrosoftEndpoints, Symbol("dfs"), o.dfs) +end + function OpenAPI.validate_property(::Type{ StorageAccountMicrosoftEndpoints }, name::Symbol, val) + + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountMigration.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountMigration.jl new file mode 100644 index 0000000..50360bd --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountMigration.jl @@ -0,0 +1,53 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""StorageAccountMigration +The parameters or status associated with an ongoing or enqueued storage account migration in order to update its current SKU or region. + + StorageAccountMigration(; + id=nothing, + name=nothing, + type=nothing, + properties=nothing, + ) + + - id::String : Migration Resource Id + - name::String : current value is 'default' for customer initiated migration + - type::String : SrpAccountMigrationType in ARM contract which is 'accountMigrations' + - properties::StorageAccountMigrationProperties +""" +Base.@kwdef mutable struct StorageAccountMigration <: OpenAPI.APIModel + id::Union{Nothing, String} = nothing + name::Union{Nothing, String} = nothing + type::Union{Nothing, String} = nothing + properties = nothing # spec type: Union{ Nothing, StorageAccountMigrationProperties } + + function StorageAccountMigration(id, name, type, properties, ) + o = new(id, name, type, properties, ) + OpenAPI.validate_properties(o) + return o + end +end # type StorageAccountMigration + +const _property_types_StorageAccountMigration = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", Symbol("properties")=>"StorageAccountMigrationProperties", ) +OpenAPI.property_type(::Type{ StorageAccountMigration }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountMigration[name]))} + +function OpenAPI.check_required(o::StorageAccountMigration) + o.properties === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::StorageAccountMigration) + OpenAPI.validate_property(StorageAccountMigration, Symbol("id"), o.id) + OpenAPI.validate_property(StorageAccountMigration, Symbol("name"), o.name) + OpenAPI.validate_property(StorageAccountMigration, Symbol("type"), o.type) + OpenAPI.validate_property(StorageAccountMigration, Symbol("properties"), o.properties) +end + +function OpenAPI.validate_property(::Type{ StorageAccountMigration }, name::Symbol, val) + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountMigrationProperties.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountMigrationProperties.jl new file mode 100644 index 0000000..3bde3b7 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountMigrationProperties.jl @@ -0,0 +1,57 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""StorageAccountMigration_properties +The properties of a storage account's ongoing or enqueued migration. + + StorageAccountMigrationProperties(; + targetSkuName=nothing, + migrationStatus=nothing, + migrationFailedReason=nothing, + migrationFailedDetailedReason=nothing, + ) + + - targetSkuName::SkuName + - migrationStatus::String : Current status of migration + - migrationFailedReason::String : Error code for migration failure + - migrationFailedDetailedReason::String : Reason for migration failure +""" +Base.@kwdef mutable struct StorageAccountMigrationProperties <: OpenAPI.APIModel + targetSkuName = nothing # spec type: Union{ Nothing, SkuName } + migrationStatus::Union{Nothing, String} = nothing + migrationFailedReason::Union{Nothing, String} = nothing + migrationFailedDetailedReason::Union{Nothing, String} = nothing + + function StorageAccountMigrationProperties(targetSkuName, migrationStatus, migrationFailedReason, migrationFailedDetailedReason, ) + o = new(targetSkuName, migrationStatus, migrationFailedReason, migrationFailedDetailedReason, ) + OpenAPI.validate_properties(o) + return o + end +end # type StorageAccountMigrationProperties + +const _property_types_StorageAccountMigrationProperties = Dict{Symbol,String}(Symbol("targetSkuName")=>"SkuName", Symbol("migrationStatus")=>"String", Symbol("migrationFailedReason")=>"String", Symbol("migrationFailedDetailedReason")=>"String", ) +OpenAPI.property_type(::Type{ StorageAccountMigrationProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountMigrationProperties[name]))} + +function OpenAPI.check_required(o::StorageAccountMigrationProperties) + o.targetSkuName === nothing && (return false) + true +end + +function OpenAPI.validate_properties(o::StorageAccountMigrationProperties) + OpenAPI.validate_property(StorageAccountMigrationProperties, Symbol("targetSkuName"), o.targetSkuName) + OpenAPI.validate_property(StorageAccountMigrationProperties, Symbol("migrationStatus"), o.migrationStatus) + OpenAPI.validate_property(StorageAccountMigrationProperties, Symbol("migrationFailedReason"), o.migrationFailedReason) + OpenAPI.validate_property(StorageAccountMigrationProperties, Symbol("migrationFailedDetailedReason"), o.migrationFailedDetailedReason) +end + +function OpenAPI.validate_property(::Type{ StorageAccountMigrationProperties }, name::Symbol, val) + + + if name === Symbol("migrationStatus") + OpenAPI.validate_param(name, "StorageAccountMigrationProperties", :enum, val, ["Invalid", "SubmittedForConversion", "InProgress", "Complete", "Failed"]) + end + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountProperties.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountProperties.jl index adb6164..7e328a9 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountProperties.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountProperties.jl @@ -15,21 +15,39 @@ Properties of the storage account. statusOfSecondary=nothing, creationTime=nothing, customDomain=nothing, + sasPolicy=nothing, + keyPolicy=nothing, + keyCreationTime=nothing, secondaryEndpoints=nothing, encryption=nothing, accessTier=nothing, azureFilesIdentityBasedAuthentication=nothing, supportsHttpsTrafficOnly=nothing, networkAcls=nothing, + isSftpEnabled=nothing, + isLocalUserEnabled=nothing, + enableExtendedGroups=nothing, isHnsEnabled=nothing, geoReplicationStats=nothing, failoverInProgress=nothing, largeFileSharesState=nothing, privateEndpointConnections=nothing, routingPreference=nothing, + dualStackEndpointPreference=nothing, blobRestoreStatus=nothing, allowBlobPublicAccess=nothing, minimumTlsVersion=nothing, + allowSharedKeyAccess=nothing, + isNfsV3Enabled=nothing, + allowCrossTenantReplication=nothing, + defaultToOAuthAuthentication=nothing, + publicNetworkAccess=nothing, + immutableStorageWithVersioning=nothing, + allowedCopyScope=nothing, + storageAccountSkuConversionStatus=nothing, + dnsEndpointType=nothing, + isSkuConversionBlocked=nothing, + accountMigrationInProgress=nothing, ) - provisioningState::String : Gets the status of the storage account at the time the operation was called. @@ -41,21 +59,39 @@ Properties of the storage account. - statusOfSecondary::String : Gets the status indicating whether the secondary location of the storage account is available or unavailable. Only available if the SKU name is Standard_GRS or Standard_RAGRS. - creationTime::ZonedDateTime : Gets the creation date and time of the storage account in UTC. - customDomain::CustomDomain + - sasPolicy::SasPolicy + - keyPolicy::KeyPolicy + - keyCreationTime::KeyCreationTime - secondaryEndpoints::Endpoints - encryption::Encryption - - accessTier::String : Required for storage accounts where kind = BlobStorage. The access tier used for billing. + - accessTier::String : Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. - azureFilesIdentityBasedAuthentication::AzureFilesIdentityBasedAuthentication - supportsHttpsTrafficOnly::Bool : Allows https traffic only to storage service if sets to true. - networkAcls::NetworkRuleSet + - isSftpEnabled::Bool : Enables Secure File Transfer Protocol, if set to true + - isLocalUserEnabled::Bool : Enables local users feature, if set to true + - enableExtendedGroups::Bool : Enables extended group support with local users feature, if set to true - isHnsEnabled::Bool : Account HierarchicalNamespace enabled if sets to true. - geoReplicationStats::GeoReplicationStats - failoverInProgress::Bool : If the failover is in progress, the value will be true, otherwise, it will be null. - largeFileSharesState::String : Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. - privateEndpointConnections::Vector{PrivateEndpointConnection} : List of private endpoint connection associated with the specified storage account - routingPreference::RoutingPreference + - dualStackEndpointPreference::DualStackEndpointPreference - blobRestoreStatus::BlobRestoreStatus - - allowBlobPublicAccess::Bool : Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. + - allowBlobPublicAccess::Bool : Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. - minimumTlsVersion::String : Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + - allowSharedKeyAccess::Bool : Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + - isNfsV3Enabled::Bool : NFS 3.0 protocol support enabled if set to true. + - allowCrossTenantReplication::Bool : Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. + - defaultToOAuthAuthentication::Bool : A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. + - publicNetworkAccess::PublicNetworkAccess + - immutableStorageWithVersioning::ImmutableStorageAccount + - allowedCopyScope::String : Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + - storageAccountSkuConversionStatus::StorageAccountSkuConversionStatus + - dnsEndpointType::String : Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. + - isSkuConversionBlocked::Bool : This property will be set to true or false on an event of ongoing migration. Default value is null. + - accountMigrationInProgress::Bool : If customer initiated account migration is in progress, the value will be true else it will be null. """ Base.@kwdef mutable struct StorageAccountProperties <: OpenAPI.APIModel provisioningState::Union{Nothing, String} = nothing @@ -67,81 +103,178 @@ Base.@kwdef mutable struct StorageAccountProperties <: OpenAPI.APIModel statusOfSecondary::Union{Nothing, String} = nothing creationTime::Union{Nothing, ZonedDateTime} = nothing customDomain = nothing # spec type: Union{ Nothing, CustomDomain } + sasPolicy = nothing # spec type: Union{ Nothing, SasPolicy } + keyPolicy = nothing # spec type: Union{ Nothing, KeyPolicy } + keyCreationTime = nothing # spec type: Union{ Nothing, KeyCreationTime } secondaryEndpoints = nothing # spec type: Union{ Nothing, Endpoints } encryption = nothing # spec type: Union{ Nothing, Encryption } accessTier::Union{Nothing, String} = nothing azureFilesIdentityBasedAuthentication = nothing # spec type: Union{ Nothing, AzureFilesIdentityBasedAuthentication } supportsHttpsTrafficOnly::Union{Nothing, Bool} = nothing networkAcls = nothing # spec type: Union{ Nothing, NetworkRuleSet } + isSftpEnabled::Union{Nothing, Bool} = nothing + isLocalUserEnabled::Union{Nothing, Bool} = nothing + enableExtendedGroups::Union{Nothing, Bool} = nothing isHnsEnabled::Union{Nothing, Bool} = nothing geoReplicationStats = nothing # spec type: Union{ Nothing, GeoReplicationStats } failoverInProgress::Union{Nothing, Bool} = nothing largeFileSharesState::Union{Nothing, String} = nothing privateEndpointConnections::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{PrivateEndpointConnection} } routingPreference = nothing # spec type: Union{ Nothing, RoutingPreference } + dualStackEndpointPreference = nothing # spec type: Union{ Nothing, DualStackEndpointPreference } blobRestoreStatus = nothing # spec type: Union{ Nothing, BlobRestoreStatus } allowBlobPublicAccess::Union{Nothing, Bool} = nothing minimumTlsVersion::Union{Nothing, String} = nothing + allowSharedKeyAccess::Union{Nothing, Bool} = nothing + isNfsV3Enabled::Union{Nothing, Bool} = nothing + allowCrossTenantReplication::Union{Nothing, Bool} = nothing + defaultToOAuthAuthentication::Union{Nothing, Bool} = nothing + publicNetworkAccess = nothing # spec type: Union{ Nothing, PublicNetworkAccess } + immutableStorageWithVersioning = nothing # spec type: Union{ Nothing, ImmutableStorageAccount } + allowedCopyScope::Union{Nothing, String} = nothing + storageAccountSkuConversionStatus = nothing # spec type: Union{ Nothing, StorageAccountSkuConversionStatus } + dnsEndpointType::Union{Nothing, String} = nothing + isSkuConversionBlocked::Union{Nothing, Bool} = nothing + accountMigrationInProgress::Union{Nothing, Bool} = nothing - function StorageAccountProperties(provisioningState, primaryEndpoints, primaryLocation, statusOfPrimary, lastGeoFailoverTime, secondaryLocation, statusOfSecondary, creationTime, customDomain, secondaryEndpoints, encryption, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, networkAcls, isHnsEnabled, geoReplicationStats, failoverInProgress, largeFileSharesState, privateEndpointConnections, routingPreference, blobRestoreStatus, allowBlobPublicAccess, minimumTlsVersion, ) - OpenAPI.validate_property(StorageAccountProperties, Symbol("provisioningState"), provisioningState) - OpenAPI.validate_property(StorageAccountProperties, Symbol("primaryEndpoints"), primaryEndpoints) - OpenAPI.validate_property(StorageAccountProperties, Symbol("primaryLocation"), primaryLocation) - OpenAPI.validate_property(StorageAccountProperties, Symbol("statusOfPrimary"), statusOfPrimary) - OpenAPI.validate_property(StorageAccountProperties, Symbol("lastGeoFailoverTime"), lastGeoFailoverTime) - OpenAPI.validate_property(StorageAccountProperties, Symbol("secondaryLocation"), secondaryLocation) - OpenAPI.validate_property(StorageAccountProperties, Symbol("statusOfSecondary"), statusOfSecondary) - OpenAPI.validate_property(StorageAccountProperties, Symbol("creationTime"), creationTime) - OpenAPI.validate_property(StorageAccountProperties, Symbol("customDomain"), customDomain) - OpenAPI.validate_property(StorageAccountProperties, Symbol("secondaryEndpoints"), secondaryEndpoints) - OpenAPI.validate_property(StorageAccountProperties, Symbol("encryption"), encryption) - OpenAPI.validate_property(StorageAccountProperties, Symbol("accessTier"), accessTier) - OpenAPI.validate_property(StorageAccountProperties, Symbol("azureFilesIdentityBasedAuthentication"), azureFilesIdentityBasedAuthentication) - OpenAPI.validate_property(StorageAccountProperties, Symbol("supportsHttpsTrafficOnly"), supportsHttpsTrafficOnly) - OpenAPI.validate_property(StorageAccountProperties, Symbol("networkAcls"), networkAcls) - OpenAPI.validate_property(StorageAccountProperties, Symbol("isHnsEnabled"), isHnsEnabled) - OpenAPI.validate_property(StorageAccountProperties, Symbol("geoReplicationStats"), geoReplicationStats) - OpenAPI.validate_property(StorageAccountProperties, Symbol("failoverInProgress"), failoverInProgress) - OpenAPI.validate_property(StorageAccountProperties, Symbol("largeFileSharesState"), largeFileSharesState) - OpenAPI.validate_property(StorageAccountProperties, Symbol("privateEndpointConnections"), privateEndpointConnections) - OpenAPI.validate_property(StorageAccountProperties, Symbol("routingPreference"), routingPreference) - OpenAPI.validate_property(StorageAccountProperties, Symbol("blobRestoreStatus"), blobRestoreStatus) - OpenAPI.validate_property(StorageAccountProperties, Symbol("allowBlobPublicAccess"), allowBlobPublicAccess) - OpenAPI.validate_property(StorageAccountProperties, Symbol("minimumTlsVersion"), minimumTlsVersion) - return new(provisioningState, primaryEndpoints, primaryLocation, statusOfPrimary, lastGeoFailoverTime, secondaryLocation, statusOfSecondary, creationTime, customDomain, secondaryEndpoints, encryption, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, networkAcls, isHnsEnabled, geoReplicationStats, failoverInProgress, largeFileSharesState, privateEndpointConnections, routingPreference, blobRestoreStatus, allowBlobPublicAccess, minimumTlsVersion, ) + function StorageAccountProperties(provisioningState, primaryEndpoints, primaryLocation, statusOfPrimary, lastGeoFailoverTime, secondaryLocation, statusOfSecondary, creationTime, customDomain, sasPolicy, keyPolicy, keyCreationTime, secondaryEndpoints, encryption, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, networkAcls, isSftpEnabled, isLocalUserEnabled, enableExtendedGroups, isHnsEnabled, geoReplicationStats, failoverInProgress, largeFileSharesState, privateEndpointConnections, routingPreference, dualStackEndpointPreference, blobRestoreStatus, allowBlobPublicAccess, minimumTlsVersion, allowSharedKeyAccess, isNfsV3Enabled, allowCrossTenantReplication, defaultToOAuthAuthentication, publicNetworkAccess, immutableStorageWithVersioning, allowedCopyScope, storageAccountSkuConversionStatus, dnsEndpointType, isSkuConversionBlocked, accountMigrationInProgress, ) + o = new(provisioningState, primaryEndpoints, primaryLocation, statusOfPrimary, lastGeoFailoverTime, secondaryLocation, statusOfSecondary, creationTime, customDomain, sasPolicy, keyPolicy, keyCreationTime, secondaryEndpoints, encryption, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, networkAcls, isSftpEnabled, isLocalUserEnabled, enableExtendedGroups, isHnsEnabled, geoReplicationStats, failoverInProgress, largeFileSharesState, privateEndpointConnections, routingPreference, dualStackEndpointPreference, blobRestoreStatus, allowBlobPublicAccess, minimumTlsVersion, allowSharedKeyAccess, isNfsV3Enabled, allowCrossTenantReplication, defaultToOAuthAuthentication, publicNetworkAccess, immutableStorageWithVersioning, allowedCopyScope, storageAccountSkuConversionStatus, dnsEndpointType, isSkuConversionBlocked, accountMigrationInProgress, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountProperties -const _property_types_StorageAccountProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"String", Symbol("primaryEndpoints")=>"Endpoints", Symbol("primaryLocation")=>"String", Symbol("statusOfPrimary")=>"String", Symbol("lastGeoFailoverTime")=>"ZonedDateTime", Symbol("secondaryLocation")=>"String", Symbol("statusOfSecondary")=>"String", Symbol("creationTime")=>"ZonedDateTime", Symbol("customDomain")=>"CustomDomain", Symbol("secondaryEndpoints")=>"Endpoints", Symbol("encryption")=>"Encryption", Symbol("accessTier")=>"String", Symbol("azureFilesIdentityBasedAuthentication")=>"AzureFilesIdentityBasedAuthentication", Symbol("supportsHttpsTrafficOnly")=>"Bool", Symbol("networkAcls")=>"NetworkRuleSet", Symbol("isHnsEnabled")=>"Bool", Symbol("geoReplicationStats")=>"GeoReplicationStats", Symbol("failoverInProgress")=>"Bool", Symbol("largeFileSharesState")=>"String", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("routingPreference")=>"RoutingPreference", Symbol("blobRestoreStatus")=>"BlobRestoreStatus", Symbol("allowBlobPublicAccess")=>"Bool", Symbol("minimumTlsVersion")=>"String", ) +const _property_types_StorageAccountProperties = Dict{Symbol,String}(Symbol("provisioningState")=>"String", Symbol("primaryEndpoints")=>"Endpoints", Symbol("primaryLocation")=>"String", Symbol("statusOfPrimary")=>"String", Symbol("lastGeoFailoverTime")=>"ZonedDateTime", Symbol("secondaryLocation")=>"String", Symbol("statusOfSecondary")=>"String", Symbol("creationTime")=>"ZonedDateTime", Symbol("customDomain")=>"CustomDomain", Symbol("sasPolicy")=>"SasPolicy", Symbol("keyPolicy")=>"KeyPolicy", Symbol("keyCreationTime")=>"KeyCreationTime", Symbol("secondaryEndpoints")=>"Endpoints", Symbol("encryption")=>"Encryption", Symbol("accessTier")=>"String", Symbol("azureFilesIdentityBasedAuthentication")=>"AzureFilesIdentityBasedAuthentication", Symbol("supportsHttpsTrafficOnly")=>"Bool", Symbol("networkAcls")=>"NetworkRuleSet", Symbol("isSftpEnabled")=>"Bool", Symbol("isLocalUserEnabled")=>"Bool", Symbol("enableExtendedGroups")=>"Bool", Symbol("isHnsEnabled")=>"Bool", Symbol("geoReplicationStats")=>"GeoReplicationStats", Symbol("failoverInProgress")=>"Bool", Symbol("largeFileSharesState")=>"String", Symbol("privateEndpointConnections")=>"Vector{PrivateEndpointConnection}", Symbol("routingPreference")=>"RoutingPreference", Symbol("dualStackEndpointPreference")=>"DualStackEndpointPreference", Symbol("blobRestoreStatus")=>"BlobRestoreStatus", Symbol("allowBlobPublicAccess")=>"Bool", Symbol("minimumTlsVersion")=>"String", Symbol("allowSharedKeyAccess")=>"Bool", Symbol("isNfsV3Enabled")=>"Bool", Symbol("allowCrossTenantReplication")=>"Bool", Symbol("defaultToOAuthAuthentication")=>"Bool", Symbol("publicNetworkAccess")=>"PublicNetworkAccess", Symbol("immutableStorageWithVersioning")=>"ImmutableStorageAccount", Symbol("allowedCopyScope")=>"String", Symbol("storageAccountSkuConversionStatus")=>"StorageAccountSkuConversionStatus", Symbol("dnsEndpointType")=>"String", Symbol("isSkuConversionBlocked")=>"Bool", Symbol("accountMigrationInProgress")=>"Bool", ) OpenAPI.property_type(::Type{ StorageAccountProperties }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountProperties[name]))} -function check_required(o::StorageAccountProperties) +function OpenAPI.check_required(o::StorageAccountProperties) true end +function OpenAPI.validate_properties(o::StorageAccountProperties) + OpenAPI.validate_property(StorageAccountProperties, Symbol("provisioningState"), o.provisioningState) + OpenAPI.validate_property(StorageAccountProperties, Symbol("primaryEndpoints"), o.primaryEndpoints) + OpenAPI.validate_property(StorageAccountProperties, Symbol("primaryLocation"), o.primaryLocation) + OpenAPI.validate_property(StorageAccountProperties, Symbol("statusOfPrimary"), o.statusOfPrimary) + OpenAPI.validate_property(StorageAccountProperties, Symbol("lastGeoFailoverTime"), o.lastGeoFailoverTime) + OpenAPI.validate_property(StorageAccountProperties, Symbol("secondaryLocation"), o.secondaryLocation) + OpenAPI.validate_property(StorageAccountProperties, Symbol("statusOfSecondary"), o.statusOfSecondary) + OpenAPI.validate_property(StorageAccountProperties, Symbol("creationTime"), o.creationTime) + OpenAPI.validate_property(StorageAccountProperties, Symbol("customDomain"), o.customDomain) + OpenAPI.validate_property(StorageAccountProperties, Symbol("sasPolicy"), o.sasPolicy) + OpenAPI.validate_property(StorageAccountProperties, Symbol("keyPolicy"), o.keyPolicy) + OpenAPI.validate_property(StorageAccountProperties, Symbol("keyCreationTime"), o.keyCreationTime) + OpenAPI.validate_property(StorageAccountProperties, Symbol("secondaryEndpoints"), o.secondaryEndpoints) + OpenAPI.validate_property(StorageAccountProperties, Symbol("encryption"), o.encryption) + OpenAPI.validate_property(StorageAccountProperties, Symbol("accessTier"), o.accessTier) + OpenAPI.validate_property(StorageAccountProperties, Symbol("azureFilesIdentityBasedAuthentication"), o.azureFilesIdentityBasedAuthentication) + OpenAPI.validate_property(StorageAccountProperties, Symbol("supportsHttpsTrafficOnly"), o.supportsHttpsTrafficOnly) + OpenAPI.validate_property(StorageAccountProperties, Symbol("networkAcls"), o.networkAcls) + OpenAPI.validate_property(StorageAccountProperties, Symbol("isSftpEnabled"), o.isSftpEnabled) + OpenAPI.validate_property(StorageAccountProperties, Symbol("isLocalUserEnabled"), o.isLocalUserEnabled) + OpenAPI.validate_property(StorageAccountProperties, Symbol("enableExtendedGroups"), o.enableExtendedGroups) + OpenAPI.validate_property(StorageAccountProperties, Symbol("isHnsEnabled"), o.isHnsEnabled) + OpenAPI.validate_property(StorageAccountProperties, Symbol("geoReplicationStats"), o.geoReplicationStats) + OpenAPI.validate_property(StorageAccountProperties, Symbol("failoverInProgress"), o.failoverInProgress) + OpenAPI.validate_property(StorageAccountProperties, Symbol("largeFileSharesState"), o.largeFileSharesState) + OpenAPI.validate_property(StorageAccountProperties, Symbol("privateEndpointConnections"), o.privateEndpointConnections) + OpenAPI.validate_property(StorageAccountProperties, Symbol("routingPreference"), o.routingPreference) + OpenAPI.validate_property(StorageAccountProperties, Symbol("dualStackEndpointPreference"), o.dualStackEndpointPreference) + OpenAPI.validate_property(StorageAccountProperties, Symbol("blobRestoreStatus"), o.blobRestoreStatus) + OpenAPI.validate_property(StorageAccountProperties, Symbol("allowBlobPublicAccess"), o.allowBlobPublicAccess) + OpenAPI.validate_property(StorageAccountProperties, Symbol("minimumTlsVersion"), o.minimumTlsVersion) + OpenAPI.validate_property(StorageAccountProperties, Symbol("allowSharedKeyAccess"), o.allowSharedKeyAccess) + OpenAPI.validate_property(StorageAccountProperties, Symbol("isNfsV3Enabled"), o.isNfsV3Enabled) + OpenAPI.validate_property(StorageAccountProperties, Symbol("allowCrossTenantReplication"), o.allowCrossTenantReplication) + OpenAPI.validate_property(StorageAccountProperties, Symbol("defaultToOAuthAuthentication"), o.defaultToOAuthAuthentication) + OpenAPI.validate_property(StorageAccountProperties, Symbol("publicNetworkAccess"), o.publicNetworkAccess) + OpenAPI.validate_property(StorageAccountProperties, Symbol("immutableStorageWithVersioning"), o.immutableStorageWithVersioning) + OpenAPI.validate_property(StorageAccountProperties, Symbol("allowedCopyScope"), o.allowedCopyScope) + OpenAPI.validate_property(StorageAccountProperties, Symbol("storageAccountSkuConversionStatus"), o.storageAccountSkuConversionStatus) + OpenAPI.validate_property(StorageAccountProperties, Symbol("dnsEndpointType"), o.dnsEndpointType) + OpenAPI.validate_property(StorageAccountProperties, Symbol("isSkuConversionBlocked"), o.isSkuConversionBlocked) + OpenAPI.validate_property(StorageAccountProperties, Symbol("accountMigrationInProgress"), o.accountMigrationInProgress) +end + function OpenAPI.validate_property(::Type{ StorageAccountProperties }, name::Symbol, val) + if name === Symbol("provisioningState") OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["Creating", "ResolvingDNS", "Succeeded"]) end + + + + if name === Symbol("statusOfPrimary") OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["available", "unavailable"]) end + + if name === Symbol("lastGeoFailoverTime") OpenAPI.validate_param(name, "StorageAccountProperties", :format, val, "date-time") end + + if name === Symbol("statusOfSecondary") OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["available", "unavailable"]) end + + if name === Symbol("creationTime") OpenAPI.validate_param(name, "StorageAccountProperties", :format, val, "date-time") end + + + + + + + if name === Symbol("accessTier") - OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["Hot", "Cool"]) + OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["Hot", "Cool", "Premium", "Cold"]) end + + + + + + + + + + + if name === Symbol("largeFileSharesState") OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["Disabled", "Enabled"]) end + + + + + + + if name === Symbol("minimumTlsVersion") - OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["TLS1_0", "TLS1_1", "TLS1_2"]) + OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["TLS1_0", "TLS1_1", "TLS1_2", "TLS1_3"]) end + + + + + + + + + if name === Symbol("allowedCopyScope") + OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["PrivateLink", "AAD"]) + end + + + + if name === Symbol("dnsEndpointType") + OpenAPI.validate_param(name, "StorageAccountProperties", :enum, val, ["Standard", "AzureDnsZone"]) + end + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesCreateParameters.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesCreateParameters.jl index 7dfdeef..a64603d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesCreateParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesCreateParameters.jl @@ -6,75 +6,172 @@ The parameters used to create the storage account. StorageAccountPropertiesCreateParameters(; + allowedCopyScope=nothing, + publicNetworkAccess=nothing, + sasPolicy=nothing, + keyPolicy=nothing, customDomain=nothing, encryption=nothing, networkAcls=nothing, accessTier=nothing, azureFilesIdentityBasedAuthentication=nothing, supportsHttpsTrafficOnly=nothing, + isSftpEnabled=nothing, + isLocalUserEnabled=nothing, + enableExtendedGroups=nothing, isHnsEnabled=nothing, largeFileSharesState=nothing, routingPreference=nothing, + dualStackEndpointPreference=nothing, allowBlobPublicAccess=nothing, minimumTlsVersion=nothing, + allowSharedKeyAccess=nothing, + isNfsV3Enabled=nothing, + allowCrossTenantReplication=nothing, + defaultToOAuthAuthentication=nothing, + immutableStorageWithVersioning=nothing, + dnsEndpointType=nothing, ) + - allowedCopyScope::String : Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + - publicNetworkAccess::PublicNetworkAccess + - sasPolicy::SasPolicy + - keyPolicy::KeyPolicy - customDomain::CustomDomain - encryption::Encryption - networkAcls::NetworkRuleSet - - accessTier::String : Required for storage accounts where kind = BlobStorage. The access tier used for billing. + - accessTier::String : Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. - azureFilesIdentityBasedAuthentication::AzureFilesIdentityBasedAuthentication - supportsHttpsTrafficOnly::Bool : Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01. + - isSftpEnabled::Bool : Enables Secure File Transfer Protocol, if set to true + - isLocalUserEnabled::Bool : Enables local users feature, if set to true + - enableExtendedGroups::Bool : Enables extended group support with local users feature, if set to true - isHnsEnabled::Bool : Account HierarchicalNamespace enabled if sets to true. - largeFileSharesState::String : Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. - routingPreference::RoutingPreference - - allowBlobPublicAccess::Bool : Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. + - dualStackEndpointPreference::DualStackEndpointPreference + - allowBlobPublicAccess::Bool : Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. - minimumTlsVersion::String : Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + - allowSharedKeyAccess::Bool : Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + - isNfsV3Enabled::Bool : NFS 3.0 protocol support enabled if set to true. + - allowCrossTenantReplication::Bool : Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. + - defaultToOAuthAuthentication::Bool : A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. + - immutableStorageWithVersioning::ImmutableStorageAccount + - dnsEndpointType::String : Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. """ Base.@kwdef mutable struct StorageAccountPropertiesCreateParameters <: OpenAPI.APIModel + allowedCopyScope::Union{Nothing, String} = nothing + publicNetworkAccess = nothing # spec type: Union{ Nothing, PublicNetworkAccess } + sasPolicy = nothing # spec type: Union{ Nothing, SasPolicy } + keyPolicy = nothing # spec type: Union{ Nothing, KeyPolicy } customDomain = nothing # spec type: Union{ Nothing, CustomDomain } encryption = nothing # spec type: Union{ Nothing, Encryption } networkAcls = nothing # spec type: Union{ Nothing, NetworkRuleSet } accessTier::Union{Nothing, String} = nothing azureFilesIdentityBasedAuthentication = nothing # spec type: Union{ Nothing, AzureFilesIdentityBasedAuthentication } supportsHttpsTrafficOnly::Union{Nothing, Bool} = nothing + isSftpEnabled::Union{Nothing, Bool} = nothing + isLocalUserEnabled::Union{Nothing, Bool} = nothing + enableExtendedGroups::Union{Nothing, Bool} = nothing isHnsEnabled::Union{Nothing, Bool} = nothing largeFileSharesState::Union{Nothing, String} = nothing routingPreference = nothing # spec type: Union{ Nothing, RoutingPreference } + dualStackEndpointPreference = nothing # spec type: Union{ Nothing, DualStackEndpointPreference } allowBlobPublicAccess::Union{Nothing, Bool} = nothing minimumTlsVersion::Union{Nothing, String} = nothing + allowSharedKeyAccess::Union{Nothing, Bool} = nothing + isNfsV3Enabled::Union{Nothing, Bool} = nothing + allowCrossTenantReplication::Union{Nothing, Bool} = nothing + defaultToOAuthAuthentication::Union{Nothing, Bool} = nothing + immutableStorageWithVersioning = nothing # spec type: Union{ Nothing, ImmutableStorageAccount } + dnsEndpointType::Union{Nothing, String} = nothing - function StorageAccountPropertiesCreateParameters(customDomain, encryption, networkAcls, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, isHnsEnabled, largeFileSharesState, routingPreference, allowBlobPublicAccess, minimumTlsVersion, ) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("customDomain"), customDomain) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("encryption"), encryption) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("networkAcls"), networkAcls) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("accessTier"), accessTier) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("azureFilesIdentityBasedAuthentication"), azureFilesIdentityBasedAuthentication) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("supportsHttpsTrafficOnly"), supportsHttpsTrafficOnly) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("isHnsEnabled"), isHnsEnabled) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("largeFileSharesState"), largeFileSharesState) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("routingPreference"), routingPreference) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("allowBlobPublicAccess"), allowBlobPublicAccess) - OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("minimumTlsVersion"), minimumTlsVersion) - return new(customDomain, encryption, networkAcls, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, isHnsEnabled, largeFileSharesState, routingPreference, allowBlobPublicAccess, minimumTlsVersion, ) + function StorageAccountPropertiesCreateParameters(allowedCopyScope, publicNetworkAccess, sasPolicy, keyPolicy, customDomain, encryption, networkAcls, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, isSftpEnabled, isLocalUserEnabled, enableExtendedGroups, isHnsEnabled, largeFileSharesState, routingPreference, dualStackEndpointPreference, allowBlobPublicAccess, minimumTlsVersion, allowSharedKeyAccess, isNfsV3Enabled, allowCrossTenantReplication, defaultToOAuthAuthentication, immutableStorageWithVersioning, dnsEndpointType, ) + o = new(allowedCopyScope, publicNetworkAccess, sasPolicy, keyPolicy, customDomain, encryption, networkAcls, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, isSftpEnabled, isLocalUserEnabled, enableExtendedGroups, isHnsEnabled, largeFileSharesState, routingPreference, dualStackEndpointPreference, allowBlobPublicAccess, minimumTlsVersion, allowSharedKeyAccess, isNfsV3Enabled, allowCrossTenantReplication, defaultToOAuthAuthentication, immutableStorageWithVersioning, dnsEndpointType, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountPropertiesCreateParameters -const _property_types_StorageAccountPropertiesCreateParameters = Dict{Symbol,String}(Symbol("customDomain")=>"CustomDomain", Symbol("encryption")=>"Encryption", Symbol("networkAcls")=>"NetworkRuleSet", Symbol("accessTier")=>"String", Symbol("azureFilesIdentityBasedAuthentication")=>"AzureFilesIdentityBasedAuthentication", Symbol("supportsHttpsTrafficOnly")=>"Bool", Symbol("isHnsEnabled")=>"Bool", Symbol("largeFileSharesState")=>"String", Symbol("routingPreference")=>"RoutingPreference", Symbol("allowBlobPublicAccess")=>"Bool", Symbol("minimumTlsVersion")=>"String", ) +const _property_types_StorageAccountPropertiesCreateParameters = Dict{Symbol,String}(Symbol("allowedCopyScope")=>"String", Symbol("publicNetworkAccess")=>"PublicNetworkAccess", Symbol("sasPolicy")=>"SasPolicy", Symbol("keyPolicy")=>"KeyPolicy", Symbol("customDomain")=>"CustomDomain", Symbol("encryption")=>"Encryption", Symbol("networkAcls")=>"NetworkRuleSet", Symbol("accessTier")=>"String", Symbol("azureFilesIdentityBasedAuthentication")=>"AzureFilesIdentityBasedAuthentication", Symbol("supportsHttpsTrafficOnly")=>"Bool", Symbol("isSftpEnabled")=>"Bool", Symbol("isLocalUserEnabled")=>"Bool", Symbol("enableExtendedGroups")=>"Bool", Symbol("isHnsEnabled")=>"Bool", Symbol("largeFileSharesState")=>"String", Symbol("routingPreference")=>"RoutingPreference", Symbol("dualStackEndpointPreference")=>"DualStackEndpointPreference", Symbol("allowBlobPublicAccess")=>"Bool", Symbol("minimumTlsVersion")=>"String", Symbol("allowSharedKeyAccess")=>"Bool", Symbol("isNfsV3Enabled")=>"Bool", Symbol("allowCrossTenantReplication")=>"Bool", Symbol("defaultToOAuthAuthentication")=>"Bool", Symbol("immutableStorageWithVersioning")=>"ImmutableStorageAccount", Symbol("dnsEndpointType")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountPropertiesCreateParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountPropertiesCreateParameters[name]))} -function check_required(o::StorageAccountPropertiesCreateParameters) +function OpenAPI.check_required(o::StorageAccountPropertiesCreateParameters) true end +function OpenAPI.validate_properties(o::StorageAccountPropertiesCreateParameters) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("allowedCopyScope"), o.allowedCopyScope) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("publicNetworkAccess"), o.publicNetworkAccess) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("sasPolicy"), o.sasPolicy) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("keyPolicy"), o.keyPolicy) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("customDomain"), o.customDomain) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("encryption"), o.encryption) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("networkAcls"), o.networkAcls) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("accessTier"), o.accessTier) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("azureFilesIdentityBasedAuthentication"), o.azureFilesIdentityBasedAuthentication) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("supportsHttpsTrafficOnly"), o.supportsHttpsTrafficOnly) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("isSftpEnabled"), o.isSftpEnabled) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("isLocalUserEnabled"), o.isLocalUserEnabled) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("enableExtendedGroups"), o.enableExtendedGroups) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("isHnsEnabled"), o.isHnsEnabled) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("largeFileSharesState"), o.largeFileSharesState) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("routingPreference"), o.routingPreference) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("dualStackEndpointPreference"), o.dualStackEndpointPreference) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("allowBlobPublicAccess"), o.allowBlobPublicAccess) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("minimumTlsVersion"), o.minimumTlsVersion) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("allowSharedKeyAccess"), o.allowSharedKeyAccess) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("isNfsV3Enabled"), o.isNfsV3Enabled) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("allowCrossTenantReplication"), o.allowCrossTenantReplication) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("defaultToOAuthAuthentication"), o.defaultToOAuthAuthentication) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("immutableStorageWithVersioning"), o.immutableStorageWithVersioning) + OpenAPI.validate_property(StorageAccountPropertiesCreateParameters, Symbol("dnsEndpointType"), o.dnsEndpointType) +end + function OpenAPI.validate_property(::Type{ StorageAccountPropertiesCreateParameters }, name::Symbol, val) + + if name === Symbol("allowedCopyScope") + OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["PrivateLink", "AAD"]) + end + + + + + + + + if name === Symbol("accessTier") - OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["Hot", "Cool"]) + OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["Hot", "Cool", "Premium", "Cold"]) end + + + + + + + + if name === Symbol("largeFileSharesState") OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["Disabled", "Enabled"]) end + + + + + if name === Symbol("minimumTlsVersion") - OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["TLS1_0", "TLS1_1", "TLS1_2"]) + OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["TLS1_0", "TLS1_1", "TLS1_2", "TLS1_3"]) end + + + + + + + + if name === Symbol("dnsEndpointType") + OpenAPI.validate_param(name, "StorageAccountPropertiesCreateParameters", :enum, val, ["Standard", "AzureDnsZone"]) + end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesUpdateParameters.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesUpdateParameters.jl index 04c89eb..9221369 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesUpdateParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountPropertiesUpdateParameters.jl @@ -8,69 +8,160 @@ The parameters used when updating a storage account. StorageAccountPropertiesUpdateParameters(; customDomain=nothing, encryption=nothing, + sasPolicy=nothing, + keyPolicy=nothing, accessTier=nothing, azureFilesIdentityBasedAuthentication=nothing, supportsHttpsTrafficOnly=nothing, + isSftpEnabled=nothing, + isLocalUserEnabled=nothing, + enableExtendedGroups=nothing, networkAcls=nothing, largeFileSharesState=nothing, routingPreference=nothing, + dualStackEndpointPreference=nothing, allowBlobPublicAccess=nothing, minimumTlsVersion=nothing, + allowSharedKeyAccess=nothing, + allowCrossTenantReplication=nothing, + defaultToOAuthAuthentication=nothing, + publicNetworkAccess=nothing, + immutableStorageWithVersioning=nothing, + allowedCopyScope=nothing, + dnsEndpointType=nothing, ) - customDomain::CustomDomain - encryption::Encryption - - accessTier::String : Required for storage accounts where kind = BlobStorage. The access tier used for billing. + - sasPolicy::SasPolicy + - keyPolicy::KeyPolicy + - accessTier::String : Required for storage accounts where kind = BlobStorage. The access tier is used for billing. The 'Premium' access tier is the default value for premium block blobs storage account type and it cannot be changed for the premium block blobs storage account type. - azureFilesIdentityBasedAuthentication::AzureFilesIdentityBasedAuthentication - supportsHttpsTrafficOnly::Bool : Allows https traffic only to storage service if sets to true. + - isSftpEnabled::Bool : Enables Secure File Transfer Protocol, if set to true + - isLocalUserEnabled::Bool : Enables local users feature, if set to true + - enableExtendedGroups::Bool : Enables extended group support with local users feature, if set to true - networkAcls::NetworkRuleSet - largeFileSharesState::String : Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. - routingPreference::RoutingPreference - - allowBlobPublicAccess::Bool : Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property. + - dualStackEndpointPreference::DualStackEndpointPreference + - allowBlobPublicAccess::Bool : Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is false for this property. - minimumTlsVersion::String : Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. + - allowSharedKeyAccess::Bool : Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true. + - allowCrossTenantReplication::Bool : Allow or disallow cross AAD tenant object replication. Set this property to true for new or existing accounts only if object replication policies will involve storage accounts in different AAD tenants. The default interpretation is false for new accounts to follow best security practices by default. + - defaultToOAuthAuthentication::Bool : A boolean flag which indicates whether the default authentication is OAuth or not. The default interpretation is false for this property. + - publicNetworkAccess::PublicNetworkAccess + - immutableStorageWithVersioning::ImmutableStorageAccount + - allowedCopyScope::String : Restrict copy to and from Storage Accounts within an AAD tenant or with Private Links to the same VNet. + - dnsEndpointType::String : Allows you to specify the type of endpoint. Set this to AzureDNSZone to create a large number of accounts in a single subscription, which creates accounts in an Azure DNS Zone and the endpoint URL will have an alphanumeric DNS Zone identifier. """ Base.@kwdef mutable struct StorageAccountPropertiesUpdateParameters <: OpenAPI.APIModel customDomain = nothing # spec type: Union{ Nothing, CustomDomain } encryption = nothing # spec type: Union{ Nothing, Encryption } + sasPolicy = nothing # spec type: Union{ Nothing, SasPolicy } + keyPolicy = nothing # spec type: Union{ Nothing, KeyPolicy } accessTier::Union{Nothing, String} = nothing azureFilesIdentityBasedAuthentication = nothing # spec type: Union{ Nothing, AzureFilesIdentityBasedAuthentication } supportsHttpsTrafficOnly::Union{Nothing, Bool} = nothing + isSftpEnabled::Union{Nothing, Bool} = nothing + isLocalUserEnabled::Union{Nothing, Bool} = nothing + enableExtendedGroups::Union{Nothing, Bool} = nothing networkAcls = nothing # spec type: Union{ Nothing, NetworkRuleSet } largeFileSharesState::Union{Nothing, String} = nothing routingPreference = nothing # spec type: Union{ Nothing, RoutingPreference } + dualStackEndpointPreference = nothing # spec type: Union{ Nothing, DualStackEndpointPreference } allowBlobPublicAccess::Union{Nothing, Bool} = nothing minimumTlsVersion::Union{Nothing, String} = nothing + allowSharedKeyAccess::Union{Nothing, Bool} = nothing + allowCrossTenantReplication::Union{Nothing, Bool} = nothing + defaultToOAuthAuthentication::Union{Nothing, Bool} = nothing + publicNetworkAccess = nothing # spec type: Union{ Nothing, PublicNetworkAccess } + immutableStorageWithVersioning = nothing # spec type: Union{ Nothing, ImmutableStorageAccount } + allowedCopyScope::Union{Nothing, String} = nothing + dnsEndpointType::Union{Nothing, String} = nothing - function StorageAccountPropertiesUpdateParameters(customDomain, encryption, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, networkAcls, largeFileSharesState, routingPreference, allowBlobPublicAccess, minimumTlsVersion, ) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("customDomain"), customDomain) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("encryption"), encryption) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("accessTier"), accessTier) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("azureFilesIdentityBasedAuthentication"), azureFilesIdentityBasedAuthentication) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("supportsHttpsTrafficOnly"), supportsHttpsTrafficOnly) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("networkAcls"), networkAcls) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("largeFileSharesState"), largeFileSharesState) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("routingPreference"), routingPreference) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("allowBlobPublicAccess"), allowBlobPublicAccess) - OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("minimumTlsVersion"), minimumTlsVersion) - return new(customDomain, encryption, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, networkAcls, largeFileSharesState, routingPreference, allowBlobPublicAccess, minimumTlsVersion, ) + function StorageAccountPropertiesUpdateParameters(customDomain, encryption, sasPolicy, keyPolicy, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, isSftpEnabled, isLocalUserEnabled, enableExtendedGroups, networkAcls, largeFileSharesState, routingPreference, dualStackEndpointPreference, allowBlobPublicAccess, minimumTlsVersion, allowSharedKeyAccess, allowCrossTenantReplication, defaultToOAuthAuthentication, publicNetworkAccess, immutableStorageWithVersioning, allowedCopyScope, dnsEndpointType, ) + o = new(customDomain, encryption, sasPolicy, keyPolicy, accessTier, azureFilesIdentityBasedAuthentication, supportsHttpsTrafficOnly, isSftpEnabled, isLocalUserEnabled, enableExtendedGroups, networkAcls, largeFileSharesState, routingPreference, dualStackEndpointPreference, allowBlobPublicAccess, minimumTlsVersion, allowSharedKeyAccess, allowCrossTenantReplication, defaultToOAuthAuthentication, publicNetworkAccess, immutableStorageWithVersioning, allowedCopyScope, dnsEndpointType, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountPropertiesUpdateParameters -const _property_types_StorageAccountPropertiesUpdateParameters = Dict{Symbol,String}(Symbol("customDomain")=>"CustomDomain", Symbol("encryption")=>"Encryption", Symbol("accessTier")=>"String", Symbol("azureFilesIdentityBasedAuthentication")=>"AzureFilesIdentityBasedAuthentication", Symbol("supportsHttpsTrafficOnly")=>"Bool", Symbol("networkAcls")=>"NetworkRuleSet", Symbol("largeFileSharesState")=>"String", Symbol("routingPreference")=>"RoutingPreference", Symbol("allowBlobPublicAccess")=>"Bool", Symbol("minimumTlsVersion")=>"String", ) +const _property_types_StorageAccountPropertiesUpdateParameters = Dict{Symbol,String}(Symbol("customDomain")=>"CustomDomain", Symbol("encryption")=>"Encryption", Symbol("sasPolicy")=>"SasPolicy", Symbol("keyPolicy")=>"KeyPolicy", Symbol("accessTier")=>"String", Symbol("azureFilesIdentityBasedAuthentication")=>"AzureFilesIdentityBasedAuthentication", Symbol("supportsHttpsTrafficOnly")=>"Bool", Symbol("isSftpEnabled")=>"Bool", Symbol("isLocalUserEnabled")=>"Bool", Symbol("enableExtendedGroups")=>"Bool", Symbol("networkAcls")=>"NetworkRuleSet", Symbol("largeFileSharesState")=>"String", Symbol("routingPreference")=>"RoutingPreference", Symbol("dualStackEndpointPreference")=>"DualStackEndpointPreference", Symbol("allowBlobPublicAccess")=>"Bool", Symbol("minimumTlsVersion")=>"String", Symbol("allowSharedKeyAccess")=>"Bool", Symbol("allowCrossTenantReplication")=>"Bool", Symbol("defaultToOAuthAuthentication")=>"Bool", Symbol("publicNetworkAccess")=>"PublicNetworkAccess", Symbol("immutableStorageWithVersioning")=>"ImmutableStorageAccount", Symbol("allowedCopyScope")=>"String", Symbol("dnsEndpointType")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountPropertiesUpdateParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountPropertiesUpdateParameters[name]))} -function check_required(o::StorageAccountPropertiesUpdateParameters) +function OpenAPI.check_required(o::StorageAccountPropertiesUpdateParameters) true end +function OpenAPI.validate_properties(o::StorageAccountPropertiesUpdateParameters) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("customDomain"), o.customDomain) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("encryption"), o.encryption) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("sasPolicy"), o.sasPolicy) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("keyPolicy"), o.keyPolicy) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("accessTier"), o.accessTier) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("azureFilesIdentityBasedAuthentication"), o.azureFilesIdentityBasedAuthentication) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("supportsHttpsTrafficOnly"), o.supportsHttpsTrafficOnly) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("isSftpEnabled"), o.isSftpEnabled) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("isLocalUserEnabled"), o.isLocalUserEnabled) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("enableExtendedGroups"), o.enableExtendedGroups) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("networkAcls"), o.networkAcls) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("largeFileSharesState"), o.largeFileSharesState) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("routingPreference"), o.routingPreference) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("dualStackEndpointPreference"), o.dualStackEndpointPreference) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("allowBlobPublicAccess"), o.allowBlobPublicAccess) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("minimumTlsVersion"), o.minimumTlsVersion) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("allowSharedKeyAccess"), o.allowSharedKeyAccess) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("allowCrossTenantReplication"), o.allowCrossTenantReplication) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("defaultToOAuthAuthentication"), o.defaultToOAuthAuthentication) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("publicNetworkAccess"), o.publicNetworkAccess) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("immutableStorageWithVersioning"), o.immutableStorageWithVersioning) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("allowedCopyScope"), o.allowedCopyScope) + OpenAPI.validate_property(StorageAccountPropertiesUpdateParameters, Symbol("dnsEndpointType"), o.dnsEndpointType) +end + function OpenAPI.validate_property(::Type{ StorageAccountPropertiesUpdateParameters }, name::Symbol, val) + + + + + if name === Symbol("accessTier") - OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["Hot", "Cool"]) + OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["Hot", "Cool", "Premium", "Cold"]) end + + + + + + + + if name === Symbol("largeFileSharesState") OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["Disabled", "Enabled"]) end + + + + + if name === Symbol("minimumTlsVersion") - OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["TLS1_0", "TLS1_1", "TLS1_2"]) + OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["TLS1_0", "TLS1_1", "TLS1_2", "TLS1_3"]) + end + + + + + + + + if name === Symbol("allowedCopyScope") + OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["PrivateLink", "AAD"]) end + + + if name === Symbol("dnsEndpointType") + OpenAPI.validate_param(name, "StorageAccountPropertiesUpdateParameters", :enum, val, ["Standard", "AzureDnsZone"]) + end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountRegenerateKeyParameters.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountRegenerateKeyParameters.jl index cc60d86..16169a5 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountRegenerateKeyParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountRegenerateKeyParameters.jl @@ -15,18 +15,24 @@ Base.@kwdef mutable struct StorageAccountRegenerateKeyParameters <: OpenAPI.APIM keyName::Union{Nothing, String} = nothing function StorageAccountRegenerateKeyParameters(keyName, ) - OpenAPI.validate_property(StorageAccountRegenerateKeyParameters, Symbol("keyName"), keyName) - return new(keyName, ) + o = new(keyName, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountRegenerateKeyParameters const _property_types_StorageAccountRegenerateKeyParameters = Dict{Symbol,String}(Symbol("keyName")=>"String", ) OpenAPI.property_type(::Type{ StorageAccountRegenerateKeyParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountRegenerateKeyParameters[name]))} -function check_required(o::StorageAccountRegenerateKeyParameters) +function OpenAPI.check_required(o::StorageAccountRegenerateKeyParameters) o.keyName === nothing && (return false) true end +function OpenAPI.validate_properties(o::StorageAccountRegenerateKeyParameters) + OpenAPI.validate_property(StorageAccountRegenerateKeyParameters, Symbol("keyName"), o.keyName) +end + function OpenAPI.validate_property(::Type{ StorageAccountRegenerateKeyParameters }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountSkuConversionStatus.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountSkuConversionStatus.jl new file mode 100644 index 0000000..0f94977 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountSkuConversionStatus.jl @@ -0,0 +1,56 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""StorageAccountSkuConversionStatus +This defines the sku conversion status object for asynchronous sku conversions. + + StorageAccountSkuConversionStatus(; + skuConversionStatus=nothing, + targetSkuName=nothing, + startTime=nothing, + endTime=nothing, + ) + + - skuConversionStatus::String : This property indicates the current sku conversion status. + - targetSkuName::SkuName + - startTime::String : This property represents the sku conversion start time. + - endTime::String : This property represents the sku conversion end time. +""" +Base.@kwdef mutable struct StorageAccountSkuConversionStatus <: OpenAPI.APIModel + skuConversionStatus::Union{Nothing, String} = nothing + targetSkuName = nothing # spec type: Union{ Nothing, SkuName } + startTime::Union{Nothing, String} = nothing + endTime::Union{Nothing, String} = nothing + + function StorageAccountSkuConversionStatus(skuConversionStatus, targetSkuName, startTime, endTime, ) + o = new(skuConversionStatus, targetSkuName, startTime, endTime, ) + OpenAPI.validate_properties(o) + return o + end +end # type StorageAccountSkuConversionStatus + +const _property_types_StorageAccountSkuConversionStatus = Dict{Symbol,String}(Symbol("skuConversionStatus")=>"String", Symbol("targetSkuName")=>"SkuName", Symbol("startTime")=>"String", Symbol("endTime")=>"String", ) +OpenAPI.property_type(::Type{ StorageAccountSkuConversionStatus }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountSkuConversionStatus[name]))} + +function OpenAPI.check_required(o::StorageAccountSkuConversionStatus) + true +end + +function OpenAPI.validate_properties(o::StorageAccountSkuConversionStatus) + OpenAPI.validate_property(StorageAccountSkuConversionStatus, Symbol("skuConversionStatus"), o.skuConversionStatus) + OpenAPI.validate_property(StorageAccountSkuConversionStatus, Symbol("targetSkuName"), o.targetSkuName) + OpenAPI.validate_property(StorageAccountSkuConversionStatus, Symbol("startTime"), o.startTime) + OpenAPI.validate_property(StorageAccountSkuConversionStatus, Symbol("endTime"), o.endTime) +end + +function OpenAPI.validate_property(::Type{ StorageAccountSkuConversionStatus }, name::Symbol, val) + + if name === Symbol("skuConversionStatus") + OpenAPI.validate_param(name, "StorageAccountSkuConversionStatus", :enum, val, ["InProgress", "Succeeded", "Failed"]) + end + + + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageAccountUpdateParameters.jl b/src/Storage/StorageManagementClient/src/models/model_StorageAccountUpdateParameters.jl index f4eeeba..42b9fe8 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageAccountUpdateParameters.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageAccountUpdateParameters.jl @@ -11,6 +11,8 @@ The parameters that can be provided when updating the storage account properties identity=nothing, properties=nothing, kind=nothing, + zones=nothing, + placement=nothing, ) - sku::Sku @@ -18,6 +20,8 @@ The parameters that can be provided when updating the storage account properties - identity::Identity - properties::StorageAccountPropertiesUpdateParameters - kind::String : Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. + - zones::Vector{String} : Optional. Gets or sets the pinned logical availability zone for the storage account. + - placement::Placement """ Base.@kwdef mutable struct StorageAccountUpdateParameters <: OpenAPI.APIModel sku = nothing # spec type: Union{ Nothing, Sku } @@ -25,26 +29,43 @@ Base.@kwdef mutable struct StorageAccountUpdateParameters <: OpenAPI.APIModel identity = nothing # spec type: Union{ Nothing, Identity } properties = nothing # spec type: Union{ Nothing, StorageAccountPropertiesUpdateParameters } kind::Union{Nothing, String} = nothing + zones::Union{Nothing, Vector{String}} = nothing + placement = nothing # spec type: Union{ Nothing, Placement } - function StorageAccountUpdateParameters(sku, tags, identity, properties, kind, ) - OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("sku"), sku) - OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("tags"), tags) - OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("identity"), identity) - OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("properties"), properties) - OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("kind"), kind) - return new(sku, tags, identity, properties, kind, ) + function StorageAccountUpdateParameters(sku, tags, identity, properties, kind, zones, placement, ) + o = new(sku, tags, identity, properties, kind, zones, placement, ) + OpenAPI.validate_properties(o) + return o end end # type StorageAccountUpdateParameters -const _property_types_StorageAccountUpdateParameters = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("tags")=>"Dict{String, String}", Symbol("identity")=>"Identity", Symbol("properties")=>"StorageAccountPropertiesUpdateParameters", Symbol("kind")=>"String", ) +const _property_types_StorageAccountUpdateParameters = Dict{Symbol,String}(Symbol("sku")=>"Sku", Symbol("tags")=>"Dict{String, String}", Symbol("identity")=>"Identity", Symbol("properties")=>"StorageAccountPropertiesUpdateParameters", Symbol("kind")=>"String", Symbol("zones")=>"Vector{String}", Symbol("placement")=>"Placement", ) OpenAPI.property_type(::Type{ StorageAccountUpdateParameters }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageAccountUpdateParameters[name]))} -function check_required(o::StorageAccountUpdateParameters) +function OpenAPI.check_required(o::StorageAccountUpdateParameters) true end +function OpenAPI.validate_properties(o::StorageAccountUpdateParameters) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("sku"), o.sku) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("tags"), o.tags) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("identity"), o.identity) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("properties"), o.properties) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("kind"), o.kind) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("zones"), o.zones) + OpenAPI.validate_property(StorageAccountUpdateParameters, Symbol("placement"), o.placement) +end + function OpenAPI.validate_property(::Type{ StorageAccountUpdateParameters }, name::Symbol, val) + + + + + if name === Symbol("kind") OpenAPI.validate_param(name, "StorageAccountUpdateParameters", :enum, val, ["Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage"]) end + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_StorageSkuListResult.jl b/src/Storage/StorageManagementClient/src/models/model_StorageSkuListResult.jl index bf4f077..453a457 100644 --- a/src/Storage/StorageManagementClient/src/models/model_StorageSkuListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_StorageSkuListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct StorageSkuListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{SkuInformation} } function StorageSkuListResult(value, ) - OpenAPI.validate_property(StorageSkuListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type StorageSkuListResult const _property_types_StorageSkuListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{SkuInformation}", ) OpenAPI.property_type(::Type{ StorageSkuListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_StorageSkuListResult[name]))} -function check_required(o::StorageSkuListResult) +function OpenAPI.check_required(o::StorageSkuListResult) true end +function OpenAPI.validate_properties(o::StorageSkuListResult) + OpenAPI.validate_property(StorageSkuListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ StorageSkuListResult }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_SystemData.jl b/src/Storage/StorageManagementClient/src/models/model_SystemData.jl new file mode 100644 index 0000000..cdf4b92 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_SystemData.jl @@ -0,0 +1,76 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""systemData +Metadata pertaining to creation and last modification of the resource. + + SystemData(; + createdBy=nothing, + createdByType=nothing, + createdAt=nothing, + lastModifiedBy=nothing, + lastModifiedByType=nothing, + lastModifiedAt=nothing, + ) + + - createdBy::String : The identity that created the resource. + - createdByType::String : The type of identity that created the resource. + - createdAt::ZonedDateTime : The timestamp of resource creation (UTC). + - lastModifiedBy::String : The identity that last modified the resource. + - lastModifiedByType::String : The type of identity that last modified the resource. + - lastModifiedAt::ZonedDateTime : The timestamp of resource last modification (UTC) +""" +Base.@kwdef mutable struct SystemData <: OpenAPI.APIModel + createdBy::Union{Nothing, String} = nothing + createdByType::Union{Nothing, String} = nothing + createdAt::Union{Nothing, ZonedDateTime} = nothing + lastModifiedBy::Union{Nothing, String} = nothing + lastModifiedByType::Union{Nothing, String} = nothing + lastModifiedAt::Union{Nothing, ZonedDateTime} = nothing + + function SystemData(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + o = new(createdBy, createdByType, createdAt, lastModifiedBy, lastModifiedByType, lastModifiedAt, ) + OpenAPI.validate_properties(o) + return o + end +end # type SystemData + +const _property_types_SystemData = Dict{Symbol,String}(Symbol("createdBy")=>"String", Symbol("createdByType")=>"String", Symbol("createdAt")=>"ZonedDateTime", Symbol("lastModifiedBy")=>"String", Symbol("lastModifiedByType")=>"String", Symbol("lastModifiedAt")=>"ZonedDateTime", ) +OpenAPI.property_type(::Type{ SystemData }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_SystemData[name]))} + +function OpenAPI.check_required(o::SystemData) + true +end + +function OpenAPI.validate_properties(o::SystemData) + OpenAPI.validate_property(SystemData, Symbol("createdBy"), o.createdBy) + OpenAPI.validate_property(SystemData, Symbol("createdByType"), o.createdByType) + OpenAPI.validate_property(SystemData, Symbol("createdAt"), o.createdAt) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedBy"), o.lastModifiedBy) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedByType"), o.lastModifiedByType) + OpenAPI.validate_property(SystemData, Symbol("lastModifiedAt"), o.lastModifiedAt) +end + +function OpenAPI.validate_property(::Type{ SystemData }, name::Symbol, val) + + + if name === Symbol("createdByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("createdAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end + + + if name === Symbol("lastModifiedByType") + OpenAPI.validate_param(name, "SystemData", :enum, val, ["User", "Application", "ManagedIdentity", "Key"]) + end + + + if name === Symbol("lastModifiedAt") + OpenAPI.validate_param(name, "SystemData", :format, val, "date-time") + end +end diff --git a/src/Storage/StorageManagementClient/src/models/model_TagFilter.jl b/src/Storage/StorageManagementClient/src/models/model_TagFilter.jl index 1a09d5f..f3d238d 100644 --- a/src/Storage/StorageManagementClient/src/models/model_TagFilter.jl +++ b/src/Storage/StorageManagementClient/src/models/model_TagFilter.jl @@ -21,28 +21,36 @@ Base.@kwdef mutable struct TagFilter <: OpenAPI.APIModel value::Union{Nothing, String} = nothing function TagFilter(name, op, value, ) - OpenAPI.validate_property(TagFilter, Symbol("name"), name) - OpenAPI.validate_property(TagFilter, Symbol("op"), op) - OpenAPI.validate_property(TagFilter, Symbol("value"), value) - return new(name, op, value, ) + o = new(name, op, value, ) + OpenAPI.validate_properties(o) + return o end end # type TagFilter const _property_types_TagFilter = Dict{Symbol,String}(Symbol("name")=>"String", Symbol("op")=>"String", Symbol("value")=>"String", ) OpenAPI.property_type(::Type{ TagFilter }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TagFilter[name]))} -function check_required(o::TagFilter) +function OpenAPI.check_required(o::TagFilter) o.name === nothing && (return false) o.op === nothing && (return false) o.value === nothing && (return false) true end +function OpenAPI.validate_properties(o::TagFilter) + OpenAPI.validate_property(TagFilter, Symbol("name"), o.name) + OpenAPI.validate_property(TagFilter, Symbol("op"), o.op) + OpenAPI.validate_property(TagFilter, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ TagFilter }, name::Symbol, val) + if name === Symbol("name") OpenAPI.validate_param(name, "TagFilter", :maxLength, val, 128) OpenAPI.validate_param(name, "TagFilter", :minLength, val, 1) end + + if name === Symbol("value") OpenAPI.validate_param(name, "TagFilter", :maxLength, val, 256) OpenAPI.validate_param(name, "TagFilter", :minLength, val, 0) diff --git a/src/Storage/StorageManagementClient/src/models/model_TrackedResource.jl b/src/Storage/StorageManagementClient/src/models/model_TrackedResource.jl index 30d1936..531512c 100644 --- a/src/Storage/StorageManagementClient/src/models/model_TrackedResource.jl +++ b/src/Storage/StorageManagementClient/src/models/model_TrackedResource.jl @@ -3,7 +3,7 @@ @doc raw"""TrackedResource -The resource model definition for a ARM tracked top level resource +The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' TrackedResource(; tags=nothing, @@ -15,9 +15,9 @@ The resource model definition for a ARM tracked top level resource - tags::Dict{String, String} : Resource tags. - location::String : The geo-location where the resource lives - - id::String : Fully qualified resource Id for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} + - id::String : Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} - name::String : The name of the resource - - type::String : The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts. + - type::String : The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\" """ Base.@kwdef mutable struct TrackedResource <: OpenAPI.APIModel tags::Union{Nothing, Dict{String, String}} = nothing @@ -27,22 +27,32 @@ Base.@kwdef mutable struct TrackedResource <: OpenAPI.APIModel type::Union{Nothing, String} = nothing function TrackedResource(tags, location, id, name, type, ) - OpenAPI.validate_property(TrackedResource, Symbol("tags"), tags) - OpenAPI.validate_property(TrackedResource, Symbol("location"), location) - OpenAPI.validate_property(TrackedResource, Symbol("id"), id) - OpenAPI.validate_property(TrackedResource, Symbol("name"), name) - OpenAPI.validate_property(TrackedResource, Symbol("type"), type) - return new(tags, location, id, name, type, ) + o = new(tags, location, id, name, type, ) + OpenAPI.validate_properties(o) + return o end end # type TrackedResource const _property_types_TrackedResource = Dict{Symbol,String}(Symbol("tags")=>"Dict{String, String}", Symbol("location")=>"String", Symbol("id")=>"String", Symbol("name")=>"String", Symbol("type")=>"String", ) OpenAPI.property_type(::Type{ TrackedResource }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_TrackedResource[name]))} -function check_required(o::TrackedResource) +function OpenAPI.check_required(o::TrackedResource) o.location === nothing && (return false) true end +function OpenAPI.validate_properties(o::TrackedResource) + OpenAPI.validate_property(TrackedResource, Symbol("tags"), o.tags) + OpenAPI.validate_property(TrackedResource, Symbol("location"), o.location) + OpenAPI.validate_property(TrackedResource, Symbol("id"), o.id) + OpenAPI.validate_property(TrackedResource, Symbol("name"), o.name) + OpenAPI.validate_property(TrackedResource, Symbol("type"), o.type) +end + function OpenAPI.validate_property(::Type{ TrackedResource }, name::Symbol, val) + + + + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_Usage.jl b/src/Storage/StorageManagementClient/src/models/model_Usage.jl index af715df..84d0c57 100644 --- a/src/Storage/StorageManagementClient/src/models/model_Usage.jl +++ b/src/Storage/StorageManagementClient/src/models/model_Usage.jl @@ -24,29 +24,39 @@ Base.@kwdef mutable struct Usage <: OpenAPI.APIModel name = nothing # spec type: Union{ Nothing, UsageName } function Usage(unit, currentValue, limit, name, ) - OpenAPI.validate_property(Usage, Symbol("unit"), unit) - OpenAPI.validate_property(Usage, Symbol("currentValue"), currentValue) - OpenAPI.validate_property(Usage, Symbol("limit"), limit) - OpenAPI.validate_property(Usage, Symbol("name"), name) - return new(unit, currentValue, limit, name, ) + o = new(unit, currentValue, limit, name, ) + OpenAPI.validate_properties(o) + return o end end # type Usage const _property_types_Usage = Dict{Symbol,String}(Symbol("unit")=>"String", Symbol("currentValue")=>"Int64", Symbol("limit")=>"Int64", Symbol("name")=>"UsageName", ) OpenAPI.property_type(::Type{ Usage }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_Usage[name]))} -function check_required(o::Usage) +function OpenAPI.check_required(o::Usage) true end +function OpenAPI.validate_properties(o::Usage) + OpenAPI.validate_property(Usage, Symbol("unit"), o.unit) + OpenAPI.validate_property(Usage, Symbol("currentValue"), o.currentValue) + OpenAPI.validate_property(Usage, Symbol("limit"), o.limit) + OpenAPI.validate_property(Usage, Symbol("name"), o.name) +end + function OpenAPI.validate_property(::Type{ Usage }, name::Symbol, val) + if name === Symbol("unit") OpenAPI.validate_param(name, "Usage", :enum, val, ["Count", "Bytes", "Seconds", "Percent", "CountsPerSecond", "BytesPerSecond"]) end + + if name === Symbol("currentValue") OpenAPI.validate_param(name, "Usage", :format, val, "int32") end + if name === Symbol("limit") OpenAPI.validate_param(name, "Usage", :format, val, "int32") end + end diff --git a/src/Storage/StorageManagementClient/src/models/model_UsageListResult.jl b/src/Storage/StorageManagementClient/src/models/model_UsageListResult.jl index ddad8ac..a6fa9fd 100644 --- a/src/Storage/StorageManagementClient/src/models/model_UsageListResult.jl +++ b/src/Storage/StorageManagementClient/src/models/model_UsageListResult.jl @@ -15,17 +15,23 @@ Base.@kwdef mutable struct UsageListResult <: OpenAPI.APIModel value::Union{Nothing, Vector} = nothing # spec type: Union{ Nothing, Vector{Usage} } function UsageListResult(value, ) - OpenAPI.validate_property(UsageListResult, Symbol("value"), value) - return new(value, ) + o = new(value, ) + OpenAPI.validate_properties(o) + return o end end # type UsageListResult const _property_types_UsageListResult = Dict{Symbol,String}(Symbol("value")=>"Vector{Usage}", ) OpenAPI.property_type(::Type{ UsageListResult }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageListResult[name]))} -function check_required(o::UsageListResult) +function OpenAPI.check_required(o::UsageListResult) true end +function OpenAPI.validate_properties(o::UsageListResult) + OpenAPI.validate_property(UsageListResult, Symbol("value"), o.value) +end + function OpenAPI.validate_property(::Type{ UsageListResult }, name::Symbol, val) + end diff --git a/src/Storage/StorageManagementClient/src/models/model_UsageName.jl b/src/Storage/StorageManagementClient/src/models/model_UsageName.jl index e5ca3ee..1d645d5 100644 --- a/src/Storage/StorageManagementClient/src/models/model_UsageName.jl +++ b/src/Storage/StorageManagementClient/src/models/model_UsageName.jl @@ -18,18 +18,25 @@ Base.@kwdef mutable struct UsageName <: OpenAPI.APIModel localizedValue::Union{Nothing, String} = nothing function UsageName(value, localizedValue, ) - OpenAPI.validate_property(UsageName, Symbol("value"), value) - OpenAPI.validate_property(UsageName, Symbol("localizedValue"), localizedValue) - return new(value, localizedValue, ) + o = new(value, localizedValue, ) + OpenAPI.validate_properties(o) + return o end end # type UsageName const _property_types_UsageName = Dict{Symbol,String}(Symbol("value")=>"String", Symbol("localizedValue")=>"String", ) OpenAPI.property_type(::Type{ UsageName }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UsageName[name]))} -function check_required(o::UsageName) +function OpenAPI.check_required(o::UsageName) true end +function OpenAPI.validate_properties(o::UsageName) + OpenAPI.validate_property(UsageName, Symbol("value"), o.value) + OpenAPI.validate_property(UsageName, Symbol("localizedValue"), o.localizedValue) +end + function OpenAPI.validate_property(::Type{ UsageName }, name::Symbol, val) + + end diff --git a/src/Storage/StorageManagementClient/src/models/model_UserAssignedIdentity.jl b/src/Storage/StorageManagementClient/src/models/model_UserAssignedIdentity.jl new file mode 100644 index 0000000..21f8c01 --- /dev/null +++ b/src/Storage/StorageManagementClient/src/models/model_UserAssignedIdentity.jl @@ -0,0 +1,42 @@ +# This file was generated by the Julia OpenAPI Code Generator +# Do not modify this file directly. Modify the OpenAPI specification instead. + + +@doc raw"""UserAssignedIdentity +UserAssignedIdentity for the resource. + + UserAssignedIdentity(; + principalId=nothing, + clientId=nothing, + ) + + - principalId::String : The principal ID of the identity. + - clientId::String : The client ID of the identity. +""" +Base.@kwdef mutable struct UserAssignedIdentity <: OpenAPI.APIModel + principalId::Union{Nothing, String} = nothing + clientId::Union{Nothing, String} = nothing + + function UserAssignedIdentity(principalId, clientId, ) + o = new(principalId, clientId, ) + OpenAPI.validate_properties(o) + return o + end +end # type UserAssignedIdentity + +const _property_types_UserAssignedIdentity = Dict{Symbol,String}(Symbol("principalId")=>"String", Symbol("clientId")=>"String", ) +OpenAPI.property_type(::Type{ UserAssignedIdentity }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_UserAssignedIdentity[name]))} + +function OpenAPI.check_required(o::UserAssignedIdentity) + true +end + +function OpenAPI.validate_properties(o::UserAssignedIdentity) + OpenAPI.validate_property(UserAssignedIdentity, Symbol("principalId"), o.principalId) + OpenAPI.validate_property(UserAssignedIdentity, Symbol("clientId"), o.clientId) +end + +function OpenAPI.validate_property(::Type{ UserAssignedIdentity }, name::Symbol, val) + + +end diff --git a/src/Storage/StorageManagementClient/src/models/model_VirtualNetworkRule.jl b/src/Storage/StorageManagementClient/src/models/model_VirtualNetworkRule.jl index c329265..8c4f89a 100644 --- a/src/Storage/StorageManagementClient/src/models/model_VirtualNetworkRule.jl +++ b/src/Storage/StorageManagementClient/src/models/model_VirtualNetworkRule.jl @@ -7,7 +7,7 @@ Virtual Network rule. VirtualNetworkRule(; id=nothing, - action=Allow, + action="Allow", state=nothing, ) @@ -17,30 +17,40 @@ Virtual Network rule. """ Base.@kwdef mutable struct VirtualNetworkRule <: OpenAPI.APIModel id::Union{Nothing, String} = nothing - action::Union{Nothing, String} = Allow + action::Union{Nothing, String} = "Allow" state::Union{Nothing, String} = nothing function VirtualNetworkRule(id, action, state, ) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("id"), id) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("action"), action) - OpenAPI.validate_property(VirtualNetworkRule, Symbol("state"), state) - return new(id, action, state, ) + o = new(id, action, state, ) + OpenAPI.validate_properties(o) + return o end end # type VirtualNetworkRule const _property_types_VirtualNetworkRule = Dict{Symbol,String}(Symbol("id")=>"String", Symbol("action")=>"String", Symbol("state")=>"String", ) OpenAPI.property_type(::Type{ VirtualNetworkRule }, name::Symbol) = Union{Nothing,eval(Base.Meta.parse(_property_types_VirtualNetworkRule[name]))} -function check_required(o::VirtualNetworkRule) +function OpenAPI.check_required(o::VirtualNetworkRule) o.id === nothing && (return false) true end +function OpenAPI.validate_properties(o::VirtualNetworkRule) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("id"), o.id) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("action"), o.action) + OpenAPI.validate_property(VirtualNetworkRule, Symbol("state"), o.state) +end + function OpenAPI.validate_property(::Type{ VirtualNetworkRule }, name::Symbol, val) + + if name === Symbol("action") OpenAPI.validate_param(name, "VirtualNetworkRule", :enum, val, ["Allow"]) end + + if name === Symbol("state") - OpenAPI.validate_param(name, "VirtualNetworkRule", :enum, val, ["provisioning", "deprovisioning", "succeeded", "failed", "networkSourceDeleted"]) + OpenAPI.validate_param(name, "VirtualNetworkRule", :enum, val, ["Provisioning", "Deprovisioning", "Succeeded", "Failed", "NetworkSourceDeleted"]) end + end